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

Disassembly:
push 0xffffffffffffffff
push 0x462d9e
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 [0x485768]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.00408510
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0040d8c0
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 0x40e5cb
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x20]
call fcn.00408750
push 0x46e498
push 0x46e4a0
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x110], 1
call fcn.0040fec0
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.00412e70
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 0x40e620
sub eax, edi
push eax
push ecx
lea ecx, [esp + 0x114]
call fcn.00401ac0
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.00401900
lea ecx, [esp + 0x74]
call fcn.0040de40
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.00401900
mov ecx, esi
call fcn.0040db80
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x46e7d4
mov edi, eax
call fcn.00408910
push 0
push esi
call fcn.0040e1a0
mov ecx, dword [esp + 0x128]
cmp ecx, 0x4000
mov dword [esp + 0x14], eax
jbe 0x40e6dd
mov dword [esp + 0x14], ecx
mov eax, ecx
jmp 0x40e6e4
mov dword [esp + 0x128], eax
lea ecx, [eax + 0x1fffffff]
cmp ecx, 0x7fff0000
mov dword [esp + 0x18], ecx
jbe 0x40e6fe
mov dword [esp + 0x18], 0x7fff0000
cmp ebx, 0x4000
jbe 0x40e70a
mov dword [esp + 0x18], ebx
xor ecx, ecx
mov dword [0x485174], ecx
mov dword [0x485170], ecx
mov ecx, 0x1000
sub ecx, ebp
mov dword [esp + 0x24], ecx
mov ecx, dword [esi + 0xdc]
push 0
push 0x1000
push 0x482080
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x40e849
mov bl, byte [edi]
mov ecx, dword [0x485170]
xor edx, edx
nop
cmp bl, byte [edx + 0x482080]
je 0x40e761
cmp bl, 0x99
jne 0x40e83c
mov eax, 1
cmp ebp, eax
jbe 0x40e834
mov dword [0x485170], eax
mov cl, byte [eax + edi]
cmp cl, 0x99
je 0x40e788
cmp byte [edx + eax + 0x482080], cl
jne 0x40e82a
add eax, 1
cmp eax, ebp
jb 0x40e773
mov eax, dword [esp + 0x14]
mov edi, 0x10
cmp dword [esp + 0x70], edi
mov dword [0x485174], 1
lea esi, [edx + eax]
jb 0x40e7b8
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00417eb0
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 0x40e7e2
push eax
call fcn.0043478d
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 0x40e80a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x124], edi
jb 0x40e823
mov ecx, dword [esp + 0x110]
push ecx
call fcn.00417eb0
add esp, 4
mov eax, esi
jmp 0x40ed49
xor ecx, ecx
mov dword [0x485170], ecx
jmp 0x40e83c
test ecx, ecx
jne 0x40e78f
add edx, 1
cmp edx, dword [esp + 0x24]
jbe 0x40e750
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x14], ebx
ja 0x40e871
mov edx, dword [esp + 0x24]
add dword [esp + 0x14], edx
cmp dword [0x485174], 0
jne 0x40ecc4
mov eax, dword [esp + 0x14]
jmp 0x40e723
cmp dword [esp + 0x12c], 0
je 0x40ec64
mov ecx, dword [esp + 0x6c]
push edi
lea edx, [esp + 0x24]
shr ecx, 1
push edx
call fcn.0040dfc0
mov edi, eax
push ebx
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x10c], 4
call fcn.00409d40
mov ebp, eax
mov ecx, dword [esp + 0x128]
push ecx
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x10c], 5
call fcn.00409d40
mov ebx, eax
mov byte [esp + 0x104], 6
mov eax, dword [esi + 0xd8]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00409d40
mov dword [esp + 0x24], eax
push 0x46e4a4
lea edx, [esi + 0x90]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x110], 7
call fcn.00407800
lea ecx, [esi + 0x9c]
push ecx
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x11c], 8
call fcn.00407740
mov ecx, dword [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x128], 9
call fcn.00407740
push 0x46e22c
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x134], 0xa
call fcn.00407800
lea ecx, [esi + 0x94]
push ecx
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x140], 0xb
call fcn.00407740
push ebx
push eax
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0x14c], 0xc
call fcn.00407740
add esp, 0x48
push 0x46e4ac
mov byte [esp + 0x108], 0xd
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00407800
push ebp
push eax
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x11c], 0xe
call fcn.00407740
push 0x46e4a4
push eax
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x128], 0xf
call fcn.00407800
lea ecx, [esi + 0x98]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x134], 0x10
call fcn.00407740
push edi
push eax
lea eax, [esp + 0x50]
mov bl, 0x11
push eax
mov byte [esp + 0x140], bl
call fcn.00407740
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.0041f061
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 0x40ea34
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 0x40ea5c
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 0x40ea84
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 0x40eaac
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 0x40ead4
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 0x40eafc
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 0x40eb24
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 0x40eb4c
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 0x40eb74
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 0x40eb9c
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 0x40ebc4
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 0x40ebec
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 0x40ec14
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 0x40ec3c
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 0x40ec64
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 0x40ec7c
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00417eb0
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 0x40eca6
push eax
call fcn.0043478d
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 0x40ed22
mov esi, 0x10
cmp dword [esp + 0x70], esi
jb 0x40ecdc
mov edx, dword [esp + 0x5c]
push edx
call fcn.00417eb0
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 0x40ed06
push eax
call fcn.0043478d
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 0x40ed2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x124], esi
jb 0x40ed47
mov ecx, dword [esp + 0x110]
push ecx
call fcn.00417eb0
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.00432f66
add esp, 0xf4
ret 0x24