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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cd92c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3d0
push ebx
push esi
push edi
xor ebx, ebx
push 0x24c
lea eax, [esp + 0x190]
push ebx
push eax
mov esi, ecx
mov dword [esp + 0x194], ebx
call fcn.005216d0
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
call fcn.004094b5
lea eax, [esp + 0x40]
push 0x615abc
push eax
mov dword [esp + 0x3ec], ebx
call fcn.00404eed
pop ecx
pop ecx
mov ecx, eax
mov byte [esp + 0x3e4], 1
lea edi, [esi + 0x10]
call fcn.004014f9
push eax
lea eax, [esp + 0x70]
push edi
push eax
call fcn.00403a19
add esp, 0xc
lea ecx, [esp + 0x40]
mov byte [esp + 0x3e4], 3
call fcn.004014f4
lea eax, [esp + 0x188]
push eax
lea eax, [esp + 0x70]
call fcn.00402998
push eax
call fcn.005b343f
pop ecx
pop ecx
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x58fede
lea eax, [esp + 0x10]
push 0x615acc
push eax
call fcn.00404eed
pop ecx
pop ecx
mov ecx, eax
call fcn.004014f9
push eax
lea eax, [esp + 0x1b8]
push eax
call fcn.0051fa1b
pop ecx
mov ebx, eax
pop ecx
neg ebx
lea ecx, [esp + 0x10]
sbb bl, bl
call fcn.004014f4
inc bl
jne 0x58fe58
lea eax, [esp + 0x1b4]
push eax
lea eax, [esp + 0x54]
call fcn.00401c52
mov byte [esp + 0x3e4], 4
jmp 0x58fe98
lea eax, [esp + 0x10]
push 0x615acc
push eax
call fcn.00404eed
pop ecx
pop ecx
mov ecx, eax
call fcn.004014f9
push eax
lea eax, [esp + 0x1b8]
push eax
call fcn.0051fa1b
pop ecx
mov ebx, eax
pop ecx
neg ebx
lea ecx, [esp + 0x10]
sbb bl, bl
call fcn.004014f4
inc bl
je 0x58fe7f
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x30]
call fcn.00409857
push dword [eax]
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1bc]
lea edi, [esp + 0x34]
call fcn.0040b162
jmp 0x58feb7
lea eax, [esp + 0x1b4]
push eax
lea eax, [esp + 0x54]
call fcn.00401c52
mov byte [esp + 0x3e4], 5
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x30]
call fcn.004094d8
lea edi, [esp + 0x50]
mov byte [esp + 0x3e4], 3
call fcn.004017d6
lea eax, [esp + 0x188]
push eax
push dword [esp + 0x18]
call fcn.005b33d6
pop ecx
pop ecx
test eax, eax
jne 0x58fe1d
push dword [esp + 0x14]
call fcn.005b3370
pop ecx
xor ebx, ebx
lea ecx, [esp + 0x2c]
call fcn.0040a6a4
test al, al
jne 0x5901ea
lea ecx, [esp + 0x2c]
call fcn.00409880
xor ecx, ecx
push 4
pop edx
mov dword [esi + 0xc], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00416779
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00416779
mov dword [esi], eax
mov eax, dword [esi + 0xc]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00416779
add esp, 0xc
mov dword [esi + 4], eax
mov dword [esp + 0x14], ebx
cmp dword [esi + 0xc], ebx
jle 0x5901ea
mov ebx, dword [esp + 0x14]
mov eax, ebx
lea ecx, [esp + 0x2c]
call fcn.0040a6af
mov edi, eax
mov dword [esp + 0x18], edi
call fcn.00401816
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00416779
pop ecx
mov ecx, dword [esi + 8]
mov dword [ecx + ebx*4], eax
mov eax, edi
call fcn.00402998
push eax
mov eax, edi
call fcn.00401816
inc eax
push eax
mov eax, dword [esi + 8]
push dword [eax + ebx*4]
call fcn.0051eaaf
xor eax, eax
push 0xfe
push eax
mov word [esp + 0x9c], ax
lea eax, [esp + 0x9e]
push eax
call fcn.005216d0
push edi
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x70]
push eax
call fcn.0040b0d0
mov dword [esp + 0x34], eax
lea eax, [esp + 0x68]
push 0x615ae8
push eax
mov byte [esp + 0x410], 6
call fcn.00404eed
mov dword [esp + 0x48], eax
mov edi, 0x615afc
lea eax, [esp + 0x78]
push edi
push eax
mov byte [esp + 0x418], 7
call fcn.00404eed
mov dword [esp + 0x54], eax
lea eax, [esp + 0x7c]
push edi
push eax
mov byte [esp + 0x420], 8
call fcn.00404eed
add esp, 0x3c
mov edi, eax
mov byte [esp + 0x3e4], 9
mov eax, dword [esp + 0x10]
call fcn.00402998
mov ecx, dword [esp + 0x1c]
push eax
push 0x7f
lea eax, [esp + 0x90]
push eax
call fcn.004014f9
mov ecx, dword [esp + 0x2c]
push eax
call fcn.004014f9
push eax
mov ecx, edi
call fcn.004014f9
push eax
call fcn.005b2f59
add esp, 0x18
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], eax
call fcn.004014f4
lea ecx, [esp + 0x4c]
call fcn.004014f4
lea ecx, [esp + 0x44]
call fcn.004014f4
lea edi, [esp + 0x50]
mov byte [esp + 0x3e4], 3
call fcn.004017d6
mov edi, dword [esp + 0x10]
inc edi
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00416779
mov ecx, dword [esi]
mov dword [ecx + ebx*4], eax
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esi]
push edi
push dword [eax + ebx*4]
call fcn.0051eaaf
push dword [esp + 0x28]
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.0040b0d0
mov edi, eax
lea eax, [esp + 0x40]
push 0x615b10
push eax
mov byte [esp + 0x408], 0xa
call fcn.00404eed
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x4c]
push 0x615b30
push eax
mov byte [esp + 0x410], 0xb
call fcn.00404eed
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x68]
push 0x615afc
push eax
mov byte [esp + 0x418], 0xc
call fcn.00404eed
add esp, 0x34
mov dword [esp + 0x1c], eax
mov eax, edi
mov byte [esp + 0x3e4], 0xd
call fcn.00402998
mov ecx, dword [esp + 0x18]
push eax
push 0x7f
lea eax, [esp + 0x90]
push eax
call fcn.004014f9
mov ecx, dword [esp + 0x2c]
push eax
call fcn.004014f9
mov ecx, dword [esp + 0x2c]
push eax
call fcn.004014f9
push eax
call fcn.005b2f59
add esp, 0x18
lea ecx, [esp + 0x3c]
mov dword [esp + 0x10], eax
call fcn.004014f4
lea ecx, [esp + 0x28]
call fcn.004014f4
lea ecx, [esp + 0x24]
call fcn.004014f4
lea edi, [esp + 0x50]
mov byte [esp + 0x3e4], 3
call fcn.004017d6
mov edi, dword [esp + 0x10]
inc edi
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00416779
mov ecx, dword [esi + 4]
mov dword [ecx + ebx*4], eax
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esi + 4]
push edi
push dword [eax + ebx*4]
call fcn.0051eaaf
add esp, 0x10
inc dword [esp + 0x14]
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0xc]
jl 0x58ff55
lea edi, [esp + 0x6c]
call fcn.004017d6
lea esi, [esp + 0x2c]
call fcn.004094d3
mov ecx, dword [esp + 0x3dc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret