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

Disassembly:
push 0xffffffffffffffff
push 0x4629ce
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x47c748]
xor eax, esp
mov dword [esp + 0xec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47c748]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, edx
xor ebp, ebp
mov dword [esp + 0x10c], ebp
mov eax, dword [0x482764]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.0040a710
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0040dfc0
push eax
push ebp
push 0x1f0fff
mov dword [edi + 0xe0], eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
cmp dword [esp + 0x12c], 0x10
mov dword [edi + 0xf0], eax
mov eax, dword [esp + 0x118]
jae 0x40ee1b
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x24]
call fcn.0040a950
push 0x46dec0
push 0x46dec8
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x118], 1
call fcn.00410780
mov esi, dword [esp + 0x20]
lea ecx, [esp + 0x7c]
mov dword [esp + 0x78], ecx
call dword [0x47e3d8]
push eax
push esi
lea eax, [esp + 0x80]
call fcn.00412170
mov byte [esp + 0x10c], 2
mov ecx, dword [esp + 0x78]
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x40ee72
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x11c]
call fcn.00403fd0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push ebp
lea edx, [esp + 0x138]
mov esi, 0xf
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], ebp
push edx
mov byte [ecx + 4], 0
call fcn.004037d0
lea ecx, [esp + 0x78]
call fcn.0040e530
sub esp, 0x1c
mov byte [esp + 0x128], 3
mov ebp, dword [esp + 0x8c]
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x80]
mov dword [ecx + 0x18], esi
mov dword [ecx + 0x14], 0
push eax
shr ebp, 1
mov byte [ecx + 4], 0
call fcn.004037d0
mov ecx, edi
call fcn.0040e270
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x46e1c8
mov esi, eax
call fcn.0040aca0
push 0
push edi
call fcn.0040ea50
mov ecx, eax
mov eax, dword [esp + 0x130]
xor edx, edx
cmp eax, edx
mov dword [esp + 0x18], ecx
jbe 0x40ef32
mov dword [esp + 0x18], eax
mov ecx, eax
jmp 0x40ef39
mov dword [esp + 0x130], ecx
lea eax, [ecx + 0x1fffffff]
cmp eax, 0x7fff0000
mov dword [esp + 0x1c], eax
jbe 0x40ef52
mov dword [esp + 0x1c], 0x7fff0000
cmp ebx, 0x4000
jbe 0x40ef5e
mov dword [esp + 0x1c], ebx
mov eax, 0x200
sub eax, ebp
mov dword [0x482640], edx
mov dword [0x482644], edx
mov dword [esp + 0x28], eax
jmp 0x40ef80
push 0
push 0x200
push 0x481ff0
push ecx
mov ecx, dword [edi + 0xf0]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x40f0a9
mov bl, byte [esi]
mov ecx, dword [0x482644]
xor edx, edx
lea esp, [esp]
cmp bl, byte [edx + 0x481ff0]
je 0x40efc1
cmp bl, 0x99
jne 0x40f09c
mov eax, 1
cmp ebp, eax
jbe 0x40f094
mov dword [0x482644], eax
mov cl, byte [eax + esi]
cmp cl, 0x99
je 0x40efe8
cmp byte [edx + eax + 0x481ff0], cl
jne 0x40f08a
add eax, 1
cmp eax, ebp
jb 0x40efd3
mov eax, dword [esp + 0x18]
mov edi, 0x10
cmp dword [esp + 0x74], edi
mov dword [0x482640], 1
lea esi, [edx + eax]
jb 0x40f018
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00418835
add esp, 4
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x7c]
cmp eax, edx
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
je 0x40f042
push eax
call fcn.004351dd
add esp, 4
mov byte [esp + 0x10c], 0
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 0x40f06a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x12c], edi
jb 0x40f083
mov ecx, dword [esp + 0x118]
push ecx
call fcn.00418835
add esp, 4
mov eax, esi
jmp 0x40f5be
xor ecx, ecx
mov dword [0x482644], ecx
jmp 0x40f09c
test ecx, ecx
jne 0x40efef
add edx, 1
cmp edx, dword [esp + 0x28]
jbe 0x40efb0
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x18], ebx
ja 0x40f0d1
mov edx, dword [esp + 0x28]
add dword [esp + 0x18], edx
cmp dword [0x482640], 0
jne 0x40f539
mov ecx, dword [esp + 0x18]
jmp 0x40ef80
cmp dword [esp + 0x134], 0
je 0x40f4d9
mov edx, dword [esp + 0x70]
shr edx, 1
push edx
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.0040bcd0
mov ebp, eax
mov eax, ebx
lea esi, [esp + 0x48]
mov byte [esp + 0x10c], 4
call fcn.00412f20
mov ebx, eax
mov eax, dword [esp + 0x130]
lea esi, [esp + 0x40]
mov byte [esp + 0x10c], 5
call fcn.00412f20
mov dword [esp + 0x28], eax
mov byte [esp + 0x10c], 6
mov eax, dword [edi + 0xe0]
lea esi, [esp + 0x38]
call fcn.00412f20
mov esi, eax
push 0x46ded0
lea ecx, [edi + 0x98]
push ecx
lea edx, [esp + 0x38]
push edx
mov byte [esp + 0x118], 7
call fcn.00409c10
add esp, 0xc
lea ecx, [edi + 0xa4]
push ecx
push eax
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x118], 8
call fcn.00409b50
add esp, 0xc
push esi
push eax
lea eax, [esp + 0x4c]
push eax
mov byte [esp + 0x118], 9
call fcn.00409b50
add esp, 0xc
push 0x46dc18
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x118], 0xa
call fcn.00409c10
add esp, 0xc
lea edx, [edi + 0x9c]
push edx
push eax
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x118], 0xb
call fcn.00409b50
add esp, 0xc
mov ecx, dword [esp + 0x28]
push ecx
push eax
lea edx, [esp + 0x54]
push edx
mov byte [esp + 0x118], 0xc
call fcn.00409b50
add esp, 0xc
mov byte [esp + 0x10c], 0xd
push 0x46ded8
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00409c10
add esp, 0xc
push ebx
push eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x118], 0xe
call fcn.00409b50
add esp, 0xc
push 0x46ded0
push eax
lea edx, [esp + 0x60]
push edx
mov byte [esp + 0x118], 0xf
call fcn.00409c10
add esp, 0xc
lea ecx, [edi + 0xa0]
push ecx
push eax
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0x118], 0x10
call fcn.00409b50
add esp, 0xc
push ebp
push eax
lea eax, [esp + 0x24]
mov bl, 0x11
push eax
mov byte [esp + 0x118], bl
call fcn.00409b50
add esp, 0xc
mov byte [esp + 0x10c], 0x12
mov ecx, dword [edi + 0x94]
mov eax, dword [eax]
push 0x30
push ecx
push eax
mov ecx, edi
call fcn.0041efe2
mov byte [esp + 0x10c], bl
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 0x40f2a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 0x10
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 0x40f2d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 0xf
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f2f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 0xe
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 0x40f321
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 0xd
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 0x40f349
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 0xc
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 0x40f371
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 0xb
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 0x40f399
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 0xa
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 0x40f3c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 9
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 0x40f3e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 8
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 0x40f411
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 7
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 0x40f439
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 6
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 0x40f461
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 5
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 0x40f489
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 4
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 0x40f4b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x10c], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f4d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, 0x10
cmp dword [esp + 0x74], esi
jb 0x40f4f1
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00418835
add esp, 4
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x7c]
cmp eax, edx
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
je 0x40f51b
push eax
call fcn.004351dd
add esp, 4
mov byte [esp + 0x10c], 0
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
jmp 0x40f597
mov esi, 0x10
cmp dword [esp + 0x74], esi
jb 0x40f551
mov edx, dword [esp + 0x60]
push edx
call fcn.00418835
add esp, 4
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x7c]
cmp eax, ecx
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
je 0x40f57b
push eax
call fcn.004351dd
add esp, 4
mov byte [esp + 0x10c], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f5a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x12c], esi
jb 0x40f5bc
mov ecx, dword [esp + 0x118]
push ecx
call fcn.00418835
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.00433873
add esp, 0xfc
ret 0x24