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

Disassembly:
push 0xffffffffffffffff
push 0x4625ee
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x47c748]
xor eax, esp
mov dword [esp + 0xe4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47c748]
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 [0x485720]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.00408420
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0040cf70
push eax
push ebp
push 0x1f0fff
mov dword [esi + 0xd8], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp dword [esp + 0x124], 0x10
mov dword [esi + 0xdc], eax
mov eax, dword [esp + 0x110]
jae 0x40dcbb
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x20]
call fcn.00408660
push 0x46de28
push 0x46de30
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x110], 1
call fcn.0040f6d0
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x78]
mov dword [esp + 0x74], ecx
call dword [0x47e418]
push eax
push edi
lea eax, [esp + 0x7c]
call fcn.004126c0
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 0x40dd10
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x114]
call fcn.00401a00
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.00401840
lea ecx, [esp + 0x74]
call fcn.0040d4f0
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.00401840
mov ecx, esi
call fcn.0040d230
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x46e174
mov edi, eax
call fcn.00408820
push 0
push esi
call fcn.0040d850
mov ecx, dword [esp + 0x128]
cmp ecx, 0x4000
mov dword [esp + 0x14], eax
jbe 0x40ddcd
mov dword [esp + 0x14], ecx
mov eax, ecx
jmp 0x40ddd4
mov dword [esp + 0x128], eax
lea ecx, [eax + 0x1fffffff]
cmp ecx, 0x7fff0000
mov dword [esp + 0x18], ecx
jbe 0x40ddee
mov dword [esp + 0x18], 0x7fff0000
cmp ebx, 0x4000
jbe 0x40ddfa
mov dword [esp + 0x18], ebx
xor ecx, ecx
mov dword [0x485134], ecx
mov dword [0x485130], ecx
mov ecx, 0x1000
sub ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0xdc]
push 0
push 0x1000
push 0x482040
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x40df39
mov bl, byte [edi]
mov ecx, dword [0x485130]
xor edx, edx
nop
cmp bl, byte [edx + 0x482040]
je 0x40de51
cmp bl, 0x99
jne 0x40df2c
mov eax, 1
cmp ebp, eax
jbe 0x40df24
mov dword [0x485130], eax
mov cl, byte [eax + edi]
cmp cl, 0x99
je 0x40de78
cmp byte [edx + eax + 0x482040], cl
jne 0x40df1a
add eax, 1
cmp eax, ebp
jb 0x40de63
mov eax, dword [esp + 0x14]
mov edi, 0x10
cmp dword [esp + 0x70], edi
mov dword [0x485134], 1
lea esi, [edx + eax]
jb 0x40dea8
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00417700
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 0x40ded2
push eax
call fcn.00433fdd
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 0x40defa
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x124], edi
jb 0x40df13
mov ecx, dword [esp + 0x110]
push ecx
call fcn.00417700
add esp, 4
mov eax, esi
jmp 0x40e439
xor ecx, ecx
mov dword [0x485130], ecx
jmp 0x40df2c
test ecx, ecx
jne 0x40de7f
add edx, 1
cmp edx, dword [esp + 0x24]
jbe 0x40de40
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x14], ebx
ja 0x40df61
mov edx, dword [esp + 0x24]
add dword [esp + 0x14], edx
cmp dword [0x485134], 0
jne 0x40e3b4
mov eax, dword [esp + 0x14]
jmp 0x40de13
cmp dword [esp + 0x12c], 0
je 0x40e354
mov ecx, dword [esp + 0x6c]
push edi
lea edx, [esp + 0x24]
shr ecx, 1
push edx
call fcn.0040d670
mov edi, eax
push ebx
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x10c], 4
call fcn.00409bf0
mov ebp, eax
mov ecx, dword [esp + 0x128]
push ecx
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x10c], 5
call fcn.00409bf0
mov ebx, eax
mov byte [esp + 0x104], 6
mov eax, dword [esi + 0xd8]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00409bf0
mov dword [esp + 0x24], eax
push 0x46de34
lea edx, [esi + 0x90]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x110], 7
call fcn.00407710
lea ecx, [esi + 0x9c]
push ecx
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x11c], 8
call fcn.00407650
mov ecx, dword [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x128], 9
call fcn.00407650
push 0x46dce4
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x134], 0xa
call fcn.00407710
lea ecx, [esi + 0x94]
push ecx
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x140], 0xb
call fcn.00407650
push ebx
push eax
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0x14c], 0xc
call fcn.00407650
add esp, 0x48
push 0x46de3c
mov byte [esp + 0x108], 0xd
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00407710
push ebp
push eax
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x11c], 0xe
call fcn.00407650
push 0x46de34
push eax
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x128], 0xf
call fcn.00407710
lea ecx, [esi + 0x98]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x134], 0x10
call fcn.00407650
push edi
push eax
lea eax, [esp + 0x50]
mov bl, 0x11
push eax
mov byte [esp + 0x140], bl
call fcn.00407650
add esp, 0x3c
mov byte [esp + 0x104], 0x12
mov ecx, dword [esi + 0x8c]
mov eax, dword [eax]
push 0x30
push ecx
push eax
mov ecx, esi
call fcn.0041e8b1
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 0x40e124
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 0x40e14c
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 0x40e174
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 0x40e19c
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 0x40e1c4
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 0x40e1ec
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 0x40e214
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 0x40e23c
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 0x40e264
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 0x40e28c
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 0x40e2b4
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 0x40e2dc
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 0x40e304
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 0x40e32c
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 0x40e354
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 0x40e36c
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00417700
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 0x40e396
push eax
call fcn.00433fdd
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 0x40e412
mov esi, 0x10
cmp dword [esp + 0x70], esi
jb 0x40e3cc
mov edx, dword [esp + 0x5c]
push edx
call fcn.00417700
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 0x40e3f6
push eax
call fcn.00433fdd
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 0x40e41e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x124], esi
jb 0x40e437
mov ecx, dword [esp + 0x110]
push ecx
call fcn.00417700
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.004327b6
add esp, 0xf4
ret 0x24