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

Disassembly:
push 0xffffffffffffffff
push 0x46227e
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.004083c0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.0040cd60
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 0x40daab
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x20]
call fcn.004085f0
push 0x46dda0
push 0x46dda8
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x110], 1
call fcn.0040f390
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.00412340
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 0x40db00
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.0040d2e0
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.0040d020
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x46e0a4
mov edi, eax
call fcn.004087b0
push 0
push esi
call fcn.0040d640
mov ecx, dword [esp + 0x128]
cmp ecx, 0x4000
mov dword [esp + 0x14], eax
jbe 0x40dbbd
mov dword [esp + 0x14], ecx
mov eax, ecx
jmp 0x40dbc4
mov dword [esp + 0x128], eax
lea ecx, [eax + 0x1fffffff]
cmp ecx, 0x7fff0000
mov dword [esp + 0x18], ecx
jbe 0x40dbde
mov dword [esp + 0x18], 0x7fff0000
cmp ebx, 0x4000
jbe 0x40dbea
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 0x40dd29
mov bl, byte [edi]
mov ecx, dword [0x485130]
xor edx, edx
nop
cmp bl, byte [edx + 0x482040]
je 0x40dc41
cmp bl, 0x99
jne 0x40dd1c
mov eax, 1
cmp ebp, eax
jbe 0x40dd14
mov dword [0x485130], eax
mov cl, byte [eax + edi]
cmp cl, 0x99
je 0x40dc68
cmp byte [edx + eax + 0x482040], cl
jne 0x40dd0a
add eax, 1
cmp eax, ebp
jb 0x40dc53
mov eax, dword [esp + 0x14]
mov edi, 0x10
cmp dword [esp + 0x70], edi
mov dword [0x485134], 1
lea esi, [edx + eax]
jb 0x40dc98
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004173a0
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 0x40dcc2
push eax
call fcn.00433c7d
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 0x40dcea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x124], edi
jb 0x40dd03
mov ecx, dword [esp + 0x110]
push ecx
call fcn.004173a0
add esp, 4
mov eax, esi
jmp 0x40e229
xor ecx, ecx
mov dword [0x485130], ecx
jmp 0x40dd1c
test ecx, ecx
jne 0x40dc6f
add edx, 1
cmp edx, dword [esp + 0x24]
jbe 0x40dc30
mov ebx, dword [esp + 0x18]
cmp dword [esp + 0x14], ebx
ja 0x40dd51
mov edx, dword [esp + 0x24]
add dword [esp + 0x14], edx
cmp dword [0x485134], 0
jne 0x40e1a4
mov eax, dword [esp + 0x14]
jmp 0x40dc03
cmp dword [esp + 0x12c], 0
je 0x40e144
mov ecx, dword [esp + 0x6c]
push edi
lea edx, [esp + 0x24]
shr ecx, 1
push edx
call fcn.0040d460
mov edi, eax
push ebx
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x10c], 4
call fcn.00409c10
mov ebp, eax
mov ecx, dword [esp + 0x128]
push ecx
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x10c], 5
call fcn.00409c10
mov ebx, eax
mov byte [esp + 0x104], 6
mov eax, dword [esi + 0xd8]
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.00409c10
mov dword [esp + 0x24], eax
push 0x46ddac
lea edx, [esi + 0x90]
push edx
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x110], 7
call fcn.004076b0
lea ecx, [esi + 0x9c]
push ecx
push eax
lea edx, [esp + 0x64]
push edx
mov byte [esp + 0x11c], 8
call fcn.004075f0
mov ecx, dword [esp + 0x3c]
push ecx
push eax
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x128], 9
call fcn.004075f0
push 0x46dc74
push eax
lea eax, [esp + 0x54]
push eax
mov byte [esp + 0x134], 0xa
call fcn.004076b0
lea ecx, [esi + 0x94]
push ecx
push eax
lea edx, [esp + 0x70]
push edx
mov byte [esp + 0x140], 0xb
call fcn.004075f0
push ebx
push eax
lea eax, [esp + 0x8c]
push eax
mov byte [esp + 0x14c], 0xc
call fcn.004075f0
add esp, 0x48
push 0x46ddb4
mov byte [esp + 0x108], 0xd
push eax
lea ecx, [esp + 0x38]
push ecx
call fcn.004076b0
push ebp
push eax
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x11c], 0xe
call fcn.004075f0
push 0x46ddac
push eax
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x128], 0xf
call fcn.004076b0
lea ecx, [esi + 0x98]
push ecx
push eax
lea edx, [esp + 0x40]
push edx
mov byte [esp + 0x134], 0x10
call fcn.004075f0
push edi
push eax
lea eax, [esp + 0x50]
mov bl, 0x11
push eax
mov byte [esp + 0x140], bl
call fcn.004075f0
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.0041e53e
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 0x40df14
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 0x40df3c
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 0x40df64
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 0x40df8c
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 0x40dfb4
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 0x40dfdc
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 0x40e004
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 0x40e02c
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 0x40e054
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 0x40e07c
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 0x40e0a4
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 0x40e0cc
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 0x40e0f4
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 0x40e11c
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 0x40e144
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 0x40e15c
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004173a0
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 0x40e186
push eax
call fcn.00433c7d
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 0x40e202
mov esi, 0x10
cmp dword [esp + 0x70], esi
jb 0x40e1bc
mov edx, dword [esp + 0x5c]
push edx
call fcn.004173a0
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 0x40e1e6
push eax
call fcn.00433c7d
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 0x40e20e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x124], esi
jb 0x40e227
mov ecx, dword [esp + 0x110]
push ecx
call fcn.004173a0
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.00432456
add esp, 0xf4
ret 0x24