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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cfa5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x59e080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x24], ebx
xor eax, eax
lea edi, [ebx + 0x60]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
cmp dword [ebx + 0x7c], eax
jbe 0x415f95
cmp byte [edi], 0
lea ecx, [eax*4]
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 8]
mov esi, dword [ecx + eax]
mov eax, dword [edx + ecx]
mov dword [ebp - 0x28], esi
je 0x415e58
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], eax
jmp 0x415e62
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 1
mov edi, dword [esi + 0x74]
test edi, edi
je 0x415ea4
nop dword [eax]
mov eax, dword [esi + 0x70]
dec edi
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x415ea0
mov ecx, dword [ebx]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x415e8e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 4
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0051c115
add esp, 8
test edi, edi
jne 0x415e70
mov ebx, dword [ebp - 0x20]
mov dword [esi + 0x74], 0
test ebx, ebx
je 0x415eeb
lea ecx, [esi + 0x70]
call fcn.00416390
push 4
call fcn.0051c0e5
mov edx, eax
add esp, 4
mov dword [ebp - 0x2c], edx
test edx, edx
je 0x415ed5
mov dword [edx], 0
jmp 0x415ed7
xor edx, edx
mov ecx, dword [esi + 0x74]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], edx
sub ebx, 1
jne 0x415eb2
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + 0x80]
test edi, edi
je 0x415f2c
mov eax, dword [esi + 0x7c]
dec edi
mov ebx, dword [eax + edi*4]
test ebx, ebx
je 0x415f28
mov ecx, dword [ebx]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x415f16
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push 4
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0051c115
add esp, 8
test edi, edi
jne 0x415ef8
mov ebx, dword [ebp - 0x1c]
mov dword [esi + 0x80], 0
test ebx, ebx
je 0x415f7d
nop dword [eax]
lea ecx, [esi + 0x7c]
call fcn.00416390
push 4
call fcn.0051c0e5
add esp, 4
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x415f61
mov dword [eax], 0
jmp 0x415f63
xor eax, eax
mov edx, dword [esi + 0x80]
lea ecx, [edx + 1]
mov dword [esi + 0x80], ecx
mov ecx, dword [esi + 0x7c]
mov dword [ecx + edx*4], eax
sub ebx, 1
jne 0x415f40
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
lea edi, [ebx + 0x60]
cmp eax, dword [ebx + 0x7c]
jb 0x415e31
jmp 0x415f98
mov dword [ebp - 0x14], edi
xor edi, edi
cmp dword [ebx + 0x18], edi
jbe 0x4160ea
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + edi*8]
lea ecx, [eax + edi*8]
mov eax, dword [ebx + 0x3c]
mov edx, dword [eax + esi*4]
mov eax, dword [ebx + 0x30]
sub esi, dword [eax + edx*4]
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [ebp - 0xd], al
test al, al
je 0x415fcf
mov eax, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov al, byte [ebp - 0xd]
jmp 0x415fd5
mov dword [ebp - 0x20], edx
mov edx, dword [ecx + 4]
test al, al
mov dword [ebp - 0x28], 0
mov ecx, esi
cmovne ecx, dword [ebp - 0x28]
mov dword [ebp - 0x28], ecx
xor ecx, ecx
test al, al
mov eax, dword [ebx + 0x6c]
cmovne ecx, esi
mov dword [ebp - 0x24], ecx
mov ecx, dword [eax + edi*4]
lea eax, [edx*4]
mov edx, dword [ebx + 0x78]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + eax]
mov eax, dword [eax + 0x7c]
mov esi, dword [eax + esi*4]
mov eax, dword [ebp - 0x20]
push esi
mov esi, dword [ebp - 0x28]
mov eax, dword [edx + eax*4]
mov eax, dword [eax + 0x70]
push dword [eax + esi*4]
call fcn.00418ad0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 2
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebx + 0x78]
mov byte [ebp - 4], 3
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x416051
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x1c]
push edx
push 0x5802bc
push ecx
call dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x78]
mov eax, dword [ecx + eax]
mov ecx, dword [eax + 0x18]
test ecx, ecx
jne 0x416072
mov ecx, dword [eax + 0x1c]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
push 0x5802bc
push ecx
call dword [eax]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x4160b1
test ecx, ecx
je 0x4160b1
mov ecx, dword [eax]
push 0x80000
push esi
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x18]
push 0x80000
push dword [ebp - 0x24]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 4
test ecx, ecx
je 0x4160c2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 5
test eax, eax
je 0x4160d3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
inc edi
mov dword [ebp - 4], 0xffffffff
cmp edi, dword [ebx + 0x18]
jb 0x415fa3
lea eax, [ebx + 0x60]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x78]
lea esi, [ebx + 0x78]
mov ecx, dword [ebx + 0x2c]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp + 8], esi
mov edx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
je 0x416150
mov eax, dword [edx + 0x70]
mov ecx, dword [edi]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edx
test ecx, ecx
je 0x416133
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
lea eax, [ebx + 0x78]
mov dword [ebp + 8], eax
lea eax, [ebx + 0x60]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
test ecx, ecx
je 0x41614b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x28]
jmp 0x4161a3
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [edx + 0x7c]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], edx
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
test ecx, ecx
je 0x416182
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x78]
mov dword [ebp + 8], eax
lea eax, [ebx + 0x60]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], edx
test ecx, ecx
je 0x4161a0
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov dword [ecx], eax
xor ecx, ecx
mov dword [ebp - 0x28], ecx
cmp dword [ebx + 0x24], ecx
jbe 0x416235
sub dword [ebp + 0xc], edi
nop dword [eax]
mov eax, dword [ebx + 0x20]
mov edx, dword [eax + ecx*4]
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + edx*4]
lea ecx, [eax*4]
mov eax, dword [esi]
mov eax, dword [ecx + eax]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x30]
sub edx, dword [eax + ecx]
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0
je 0x4161f7
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + edi]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x7c]
jmp 0x4161ff
mov eax, dword [ebp + 8]
mov esi, dword [edi]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + edx*4]
mov dword [ebp + 8], eax
test esi, esi
je 0x416212
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x416221
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
add edi, 4
inc ecx
mov dword [eax], esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x28], ecx
cmp ecx, dword [ebx + 0x24]
jb 0x4161c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8