Function at 0x410f50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc8
mov eax, dword [0x487fb0]
xor eax, esp
mov dword [esp + 0xc4], eax
push ebx
xor ebx, ebx
push ebp
push esi
mov esi, ecx
mov cl, 0xcc
mov al, 0x48
mov dl, 0xb8
mov byte [esp + 0x77], cl
mov byte [esp + 0x78], cl
mov byte [esp + 0x79], cl
mov byte [esp + 0x7a], cl
mov cl, 0x49
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x14], ebx
mov byte [esp + 0x68], al
mov byte [esp + 0x69], 0x89
mov byte [esp + 0x6a], 0x4c
mov byte [esp + 0x6b], 0x24
mov byte [esp + 0x6c], 8
mov byte [esp + 0x6d], 0x57
mov byte [esp + 0x6e], al
mov byte [esp + 0x6f], 0x83
mov byte [esp + 0x70], 0xec
mov byte [esp + 0x71], 0x20
mov byte [esp + 0x72], al
mov byte [esp + 0x73], 0x8b
mov byte [esp + 0x74], 0xfc
mov byte [esp + 0x75], 0xb9
mov byte [esp + 0x76], 8
mov byte [esp + 0x77], bl
mov byte [esp + 0x78], bl
mov byte [esp + 0x79], bl
mov byte [esp + 0x7a], dl
mov byte [esp + 0x7f], 0xf3
mov byte [esp + 0x80], 0xab
mov byte [esp + 0x81], al
mov byte [esp + 0x82], 0x8b
mov byte [esp + 0x83], 0x4c
mov byte [esp + 0x84], 0x24
mov byte [esp + 0x85], 0x30
mov byte [esp + 0x86], cl
mov byte [esp + 0x87], 0xb9
mov byte [esp + 0x88], bl
mov byte [esp + 0x89], bl
mov byte [esp + 0x8a], bl
mov byte [esp + 0x8b], bl
mov byte [esp + 0x8c], bl
mov byte [esp + 0x8d], bl
mov byte [esp + 0x8e], bl
mov byte [esp + 0x8f], bl
mov byte [esp + 0x90], cl
mov byte [esp + 0x91], dl
mov byte [esp + 0x92], bl
mov byte [esp + 0x93], bl
mov byte [esp + 0x94], bl
mov byte [esp + 0x95], bl
mov byte [esp + 0x96], bl
mov byte [esp + 0x97], bl
mov byte [esp + 0x98], bl
mov byte [esp + 0x99], bl
mov byte [esp + 0x9a], al
mov byte [esp + 0x9b], 0xba
mov byte [esp + 0x9c], bl
mov byte [esp + 0x9d], bl
mov byte [esp + 0x9e], bl
mov byte [esp + 0x9f], bl
mov byte [esp + 0xa0], bl
mov byte [esp + 0xa1], bl
mov byte [esp + 0xa2], bl
mov byte [esp + 0xa3], bl
mov byte [esp + 0xa4], al
mov byte [esp + 0xa5], 0xb9
mov byte [esp + 0xa6], bl
mov byte [esp + 0xa7], bl
mov byte [esp + 0xa8], bl
mov byte [esp + 0xa9], bl
mov byte [esp + 0xaa], bl
mov byte [esp + 0xae], al
mov byte [esp + 0xba], al
mov byte [esp + 0xc4], al
mov eax, dword [esp + 0xdc]
push eax
mov cl, 0xd0
push ebx
push 0x43a
mov byte [esp + 0xb7], bl
mov byte [esp + 0xb8], bl
mov byte [esp + 0xb9], bl
mov byte [esp + 0xbb], dl
mov byte [esp + 0xbc], bl
mov byte [esp + 0xbd], bl
mov byte [esp + 0xbe], bl
mov byte [esp + 0xbf], bl
mov byte [esp + 0xc0], bl
mov byte [esp + 0xc1], bl
mov byte [esp + 0xc2], bl
mov byte [esp + 0xc3], bl
mov byte [esp + 0xc4], 0xff
mov byte [esp + 0xc5], cl
mov byte [esp + 0xc7], 0xb9
mov byte [esp + 0xc8], bl
mov byte [esp + 0xc9], bl
mov byte [esp + 0xca], bl
mov byte [esp + 0xcb], bl
mov byte [esp + 0xcc], bl
mov byte [esp + 0xcd], bl
mov byte [esp + 0xce], bl
mov byte [esp + 0xcf], bl
mov byte [esp + 0xd1], dl
mov byte [esp + 0xd2], bl
mov byte [esp + 0xd3], bl
mov byte [esp + 0xd4], bl
mov byte [esp + 0xd5], bl
mov byte [esp + 0xd6], bl
mov byte [esp + 0xd7], bl
mov byte [esp + 0xd8], bl
mov byte [esp + 0xd9], bl
mov byte [esp + 0xda], 0xff
mov byte [esp + 0xdb], cl
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x411475
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411251
sub eax, edx
push 0x40
sar eax, 1
lea ebp, [eax + eax + 0x1a]
push 0x68
push edi
mov dword [esp + 0x28], ebp
call fcn.00411eb0
add esp, 0xc
push 4
mov esi, eax
push ebp
push edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edx
call fcn.00411eb0
add esp, 0xc
or esi, dword [esp + 0x2c]
mov ebp, eax
mov dword [esp + 0x54], edx
je 0x411475
mov ecx, ebp
or ecx, edx
je 0x411475
call fcn.00411740
push str.LdrLoadDll
mov esi, eax
push edx
push esi
mov dword [esp + 0x30], edx
call fcn.00411de0
add esp, 0xc
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
push str.RtlExitUserThread
push edx
push esi
mov dword [esp + 0x3c], eax
call fcn.00411de0
add esp, 0xc
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
push str.RtlCreateUserThread
push eax
push esi
mov dword [esp + 0x48], edx
call fcn.00411de0
mov ecx, dword [esp + 0x3c]
add esp, 0xc
or ecx, dword [esp + 0x34]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
je 0x411475
mov ecx, dword [esp + 0x38]
or ecx, dword [esp + 0x3c]
je 0x411475
or eax, edx
je 0x411475
mov eax, dword [esp + 0x1c]
add eax, 2
push eax
call fcn.0041206b
mov esi, eax
mov eax, dword [esp + 0x20]
add esp, 4
add eax, 2
push eax
push ebx
push esi
call fcn.00453a00
mov eax, dword [esp + 0x24]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411350
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
mov eax, dword [esp + 0x18]
lea edx, [eax + 2]
mov word [esi + 8], cx
mov dword [esp + 0x4c], edx
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x411371
sub eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
sar eax, 1
movzx ecx, cx
lea eax, [eax + eax + 2]
push ecx
mov word [esi + 0xa], ax
push edx
lea eax, [esi + 0x18]
push eax
call fcn.00453d50
mov eax, dword [esp + 0x60]
add esp, 0xc
mov edx, eax
mov ecx, ebp
add ecx, 0x18
mov dword [esi + 0x10], ecx
adc edx, ebx
mov dword [esi + 0x14], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x8c], eax
mov ecx, ebp
add ecx, 8
adc eax, ebx
mov dword [esp + 0x96], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x92], ecx
mov ecx, dword [esp + 0x38]
push 0x68
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0xce], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xd2], edx
mov edx, dword [esp + 0x30]
push ecx
push edx
push edi
mov dword [esp + 0x9c], ebp
call fcn.00411fa0
add esp, 0x14
test eax, eax
je 0x411475
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
push eax
push esi
push ecx
push ebp
push edi
call fcn.00411fa0
add esp, 0x14
test eax, eax
je 0x411475
lea eax, [esp + 0x58]
cdq
push edx
push eax
lea eax, [esp + 0x48]
cdq
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ebx
push ebx
push edx
push eax
push ebx
push ebx
mov ecx, dword [esp + 0x4c]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov eax, edi
cdq
push edx
mov edx, dword [esp + 0x6c]
push eax
push 0xa
push ecx
push edx
call fcn.004114f0
add esp, 0x5c
mov eax, dword [esp + 0x40]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, eax
or ecx, dword [esp + 0x44]
je 0x411492
push eax
call esi
mov dword [esp + 0x14], 1
cmp edi, ebx
je 0x411499
push edi
call esi
mov ecx, dword [esp + 0xd4]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00451380
add esp, 0xc8
ret