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

Disassembly:
push 0xffffffffffffffff
push 0x461cae
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x47b748]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47b748]
xor eax, esp
push eax
lea eax, [esp + 0xfc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
xor ebp, ebp
mov dword [esp + 0x104], ebp
mov eax, dword [0x484718]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.004083b0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0040ca80
push eax
push ebp
push 0x1f0fff
mov dword [esi + 0xdc], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp dword [esp + 0x124], 0x10
mov dword [esi + 0xe0], eax
mov eax, dword [esp + 0x110]
jae 0x40d78b
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x20]
call fcn.004085e0
push 0x46d118
push 0x46d120
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x110], 1
call fcn.0040ed70
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x78]
mov dword [esp + 0x74], ecx
call dword [0x47d418]
push eax
push edi
lea eax, [esp + 0x7c]
call fcn.00411d80
mov byte [esp + 0x104], 2
mov ecx, dword [esp + 0x74]
mov eax, ecx
lea edi, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40d7e0
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x114]
call fcn.004019d0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x130]
mov edi, 0xf
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebp
push edx
mov byte [ecx + 4], 0
call fcn.00401810
lea ecx, [esp + 0x74]
call fcn.0040d000
sub esp, 0x1c
mov byte [esp + 0x120], 3
mov ebp, dword [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x3c], esp
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x7c]
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], 0
push eax
shr ebp, 1
mov byte [ecx + 4], 0
call fcn.00401810
mov ecx, esi
call fcn.0040cd40
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x46d41c
mov edi, eax
call fcn.004087a0
push 0
push esi
call fcn.0040d360
mov ecx, dword [esp + 0x128]
cmp ecx, 0x4000
mov dword [esp + 0x14], eax
jbe 0x40d89d
mov dword [esp + 0x14], ecx
mov eax, ecx
jmp 0x40d8a4
mov dword [esp + 0x128], eax
lea ecx, [eax + 0x1fffffff]
cmp ecx, 0x7fff0000
mov dword [esp + 0x18], ecx
jbe 0x40d8be
mov dword [esp + 0x18], 0x7fff0000
cmp ebx, 0x4000
jbe 0x40d8ca
mov dword [esp + 0x18], ebx
xor ecx, ecx
mov dword [0x484134], ecx
mov dword [0x484130], ecx
mov ecx, 0x1000
sub ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0xe0]
push 0
push 0x1000
push 0x481040
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x40da09
mov bl, byte [edi]
mov ecx, dword [0x484130]
xor edx, edx
nop
cmp bl, byte [edx + 0x481040]
je 0x40d921
cmp bl, 0x99
jne 0x40d9fc
mov eax, 1
cmp ebp, eax
jbe 0x40d9f4
mov dword [0x484130], eax
mov cl, byte [eax + edi]
cmp cl, 0x99
je 0x40d948
cmp byte [edx + eax + 0x481040], cl
jne 0x40d9ea
add eax, 1
cmp eax, ebp
jb 0x40d933
mov eax, dword [esp + 0x14]
mov edi, 0x10
cmp dword [esp + 0x70], edi
mov dword [0x484134], 1
lea esi, [edx + eax]
jb 0x40d978
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00416dc5
add esp, 4
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x78]
cmp eax, edx
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
je 0x40d9a2
push eax
call fcn.0043369d
add esp, 4
mov byte [esp + 0x104], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d9ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x124], edi
jb 0x40d9e3
mov ecx, dword [esp + 0x110]
push ecx
call fcn.00416dc5
add esp, 4
mov eax, esi
jmp 0x40df09
xor ecx, ecx
mov dword [0x484130], ecx
jmp 0x40d9fc
test ecx, ecx
jne 0x40d94f
add edx, 1
cmp edx, dword [esp + 0x24]
jbe 0x40d910
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x14], ebx
ja 0x40da31
mov edx, dword [esp + 0x24]
add dword [esp + 0x14], edx
cmp dword [0x484134], 0
jne 0x40de84
mov eax, dword [esp + 0x14]
jmp 0x40d8e3
cmp dword [esp + 0x12c], 0
je 0x40de24
mov ecx, dword [esp + 0x6c]
push edi
lea edx, [esp + 0x24]
shr ecx, 1
push edx
call fcn.0040d180
mov edi, eax
push ebx
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x10c], 4
call fcn.00409bc0
mov ebp, eax
mov ecx, dword [esp + 0x128]
push ecx
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x10c], 5
call fcn.00409bc0
mov ebx, eax
mov byte [esp + 0x104], 6
mov eax, dword [esi + 0xdc]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00409bc0
mov dword [esp + 0x24], eax
push 0x46d124
lea edx, [esi + 0x94]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x110], 7
call fcn.004076a0
lea ecx, [esi + 0xa0]
push ecx
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x11c], 8
call fcn.004075e0
mov ecx, dword [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x128], 9
call fcn.004075e0
push 0x46d004
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x134], 0xa
call fcn.004076a0
lea ecx, [esi + 0x98]
push ecx
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x140], 0xb
call fcn.004075e0
push ebx
push eax
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0x14c], 0xc
call fcn.004075e0
add esp, 0x48
push 0x46d12c
mov byte [esp + 0x108], 0xd
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004076a0
push ebp
push eax
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x11c], 0xe
call fcn.004075e0
push 0x46d124
push eax
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x128], 0xf
call fcn.004076a0
lea ecx, [esi + 0x9c]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x134], 0x10
call fcn.004075e0
push edi
push eax
lea eax, [esp + 0x50]
mov bl, 0x11
push eax
mov byte [esp + 0x140], bl
call fcn.004075e0
add esp, 0x3c
mov byte [esp + 0x104], 0x12
mov ecx, dword [esi + 0x90]
mov eax, dword [eax]
push 0x30
push ecx
push eax
mov ecx, esi
call fcn.0041df65
mov byte [esp + 0x104], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dbf4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x104], 0x10
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dc1c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x104], 0xf
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dc44
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x104], 0xe
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dc6c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x104], 0xd
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dc94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x104], 0xc
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dcbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x104], 0xb
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dce4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x104], 0xa
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dd0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x104], 9
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dd34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x104], 8
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dd5c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x104], 7
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dd84
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x104], 6
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ddac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x104], 5
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ddd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x104], 4
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ddfc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x104], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40de24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, 0x10
cmp dword [esp + 0x70], esi
jb 0x40de3c
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00416dc5
add esp, 4
mov eax, dword [esp + 0x74]
lea edx, [esp + 0x78]
cmp eax, edx
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
je 0x40de66
push eax
call fcn.0043369d
add esp, 4
mov byte [esp + 0x104], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40dee2
mov esi, 0x10
cmp dword [esp + 0x70], esi
jb 0x40de9c
mov edx, dword [esp + 0x5c]
push edx
call fcn.00416dc5
add esp, 4
mov eax, dword [esp + 0x74]
lea ecx, [esp + 0x78]
cmp eax, ecx
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
je 0x40dec6
push eax
call fcn.0043369d
add esp, 4
mov byte [esp + 0x104], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40deee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x124], esi
jb 0x40df07
mov ecx, dword [esp + 0x110]
push ecx
call fcn.00416dc5
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xfc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.00431e76
add esp, 0xf4
ret 0x24