Function at 0x10009114
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
push str._AhnUpP2P__RunDuriAhn_Start__
mov esi, ecx
push 1
call fcn.1000b21a
pop ecx
xor ebx, ebx
pop ecx
xor eax, eax
push 0x40
lea edi, [ebp - 0x127]
pop ecx
mov byte [ebp - 0x128], bl
rep stosd dword es:[edi], eax
or dword [esi + 0x10], 0xffffffff
or dword [ebp - 8], 0xffffffff
stosw word es:[edi], ax
push 0x100583f4
mov ecx, esi
stosb byte es:[edi], al
mov dword [ebp - 4], ebx
mov dword [esi + 0x38], ebx
call fcn.1001dc14
test eax, eax
jne 0x10009343
push ebx
push ebx
lea eax, [ebp - 0x128]
push 0x104
push eax
mov ecx, esi
call fcn.10008e46
push ebx
mov ecx, esi
call fcn.10007b2e
cmp eax, ebx
jne 0x10009348
lea eax, [ebp - 0x128]
push 2
push eax
mov ecx, esi
call fcn.10008d9d
cmp eax, ebx
jne 0x10009348
push dword [esi + 0x44]
lea eax, [ebp - 0x128]
push eax
push str._AhnUpP2P__RunDuriAhn_duri.ahn_pipe_s__pid_d
push 1
pop edi
push edi
call fcn.1000b21a
add esp, 0x10
lea eax, [ebp - 0x24]
mov dword [esi + 0x38], ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push ebx
push ebx
push edi
push ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x10], eax
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x10005b69
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x10009350
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
imul eax, eax, 0x3e8
mov ecx, dword [esi + 0x10]
push eax
lea eax, [ebp - 0x14]
push ebx
push eax
push 2
mov dword [esi + 0x4c], edi
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, ebx
je 0x100092dd
cmp eax, 0x102
jne 0x10009245
mov dword [ebp - 4], 7
push str._AhnUpP2P__ThreadMonP2P___is_WAIT_TIMEOUT
push edi
call fcn.1000b21a
pop ecx
pop ecx
jmp 0x10009280
cmp eax, edi
jne 0x1000926a
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x13
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov eax, dword [ebp + 8]
push str._AhnUpP2P__ThreadMonP2P___is_unusually_finished
mov dword [ebp - 4], eax
jmp 0x1000923b
push eax
push str._AhnUpP2P__ThreadMonP2P___:_WaitForSingleObject___Error_:__d
push edi
mov dword [ebp - 4], 0x11
call fcn.1000b21a
add esp, 0xc
lea eax, [ebp - 0x128]
mov ecx, esi
push eax
call fcn.100087db
test eax, eax
je 0x100092ab
push str._AhnUpP2P__ThreadMonP2P___timeout_or_unusually_finished__duriahn_closed
push edi
call fcn.1000b21a
pop ecx
pop ecx
push dword [esi + 0x44]
mov ecx, esi
call fcn.10008bc0
jmp 0x100092cd
push ebx
push dword [esi + 0x3c]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x100092c0
push str._AhnUpP2P__ThreadMonP2P___timeout_or_unusually_finished__duriahn_force_closed_success
jmp 0x100092c5
push str._AhnUpP2P__ThreadMonP2P___timeout_or_unusually_finished__duriahn_force_closed_fail
push edi
call fcn.1000b21a
pop ecx
pop ecx
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.10008f71
jmp 0x10009382
cmp dword [esi + 0x18], 0xffffffff
je 0x10009359
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.10008f71
mov eax, dword [esi + 4]
cmp dword [eax + 0x40c], ebx
jbe 0x10009311
push dword [esi + 0x29448]
lea eax, [esi + 0x2944c]
mov ecx, esi
push eax
call fcn.10007206
test eax, eax
je 0x10009372
mov eax, dword [esi + 4]
cmp dword [eax + 0x40c], ebx
jbe 0x10009382
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
test al, 0x20
je 0x10009382
test al, 2
jne 0x10009382
push dword [esi + 0x29448]
lea eax, [esi + 0x2944c]
mov ecx, esi
push eax
call fcn.1000945f
test eax, eax
je 0x1000937b
jmp 0x10009382
push 8
pop eax
jmp 0x100093c7
push 1
mov dword [ebp - 4], eax
pop edi
jmp 0x10009382
mov dword [ebp - 4], 0xf
jmp 0x10009382
push str._AhnUpP2P__ThreadMonP2P___is_User_Stop
push edi
call fcn.1000b21a
pop ecx
mov dword [ebp - 4], 8
pop ecx
jmp 0x100092cd
mov dword [ebp - 4], 0x14
jmp 0x10009382
mov dword [ebp - 4], 0x15
mov eax, dword [esi + 0x3c]
cmp eax, ebx
je 0x10009397
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call ebx
push dword [esi + 0x40]
call ebx
push dword [ebp - 8]
mov ecx, esi
call fcn.10009408
mov ecx, esi
call fcn.100093ce
push dword [ebp - 4]
mov ecx, esi
call fcn.10009451
push eax
push dword [ebp - 4]
push str._AhnUpP2P__RunDuriAhn_return___d_:__s_
push edi
call fcn.1000b21a
mov eax, dword [ebp - 4]
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret 4