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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x7ac49c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov ebx, ecx
push edi
push esi
call fcn.0055e9e0
cmp eax, edi
mov dword [esp + 0x18], eax
jge 0x5f7a87
mov ecx, dword [ebp + 0xc]
xor edi, edi
mov ecx, dword [ecx + 8]
cmp ecx, edi
jle 0x5f7a87
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
mov dword [esp + 0x20], ecx
jg 0x5f7a87
lea edx, [ecx + ecx*4]
lea eax, [ecx + edx*2]
shl eax, 4
mov dword [esp + 0x90], eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
mov ecx, ebx
push eax
push esi
call fcn.005b28f0
test eax, eax
je 0x5f7a64
mov ecx, dword [ebx + esi*4 + 0xf0]
mov edx, dword [esp + 0x14]
lea eax, [ecx + edx + 0x62]
lea ecx, [esp + 0x1c]
push eax
call fcn.007608e9
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc8], edi
push ecx
call fcn.00749c29
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [esp + 0x10], edi
mov ecx, dword [eax + 8]
mov dword [esp + 0xc], edi
cmp ecx, edi
jle 0x5f74ff
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x48]
cmp dword [edx], eax
je 0x5f74f7
mov eax, dword [esp + 0xc]
add edx, 4
inc eax
cmp eax, ecx
mov dword [esp + 0xc], eax
jl 0x5f74dd
jmp 0x5f74ff
mov dword [esp + 0x10], 1
mov eax, 0x7cb8e8
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], edi
mov ecx, dword [ebp + 0x10]
mov edi, dword [esp + 0x90]
mov byte [esp + 0xc8], 3
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0xc]
mov ecx, ebx
push edx
push esi
call fcn.0055ea70
test eax, eax
je 0x5f75b8
mov ecx, dword [ebx + esi*4 + 0xf0]
mov esi, dword [esp + 0x54]
mov eax, edi
push 0xffffffffffffffff
add eax, ecx
mov ecx, dword [eax]
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0x50]
mov edx, dword [eax + 4]
lea eax, [esi + 1]
push eax
mov dword [esp + 0x94], edx
call fcn.005fc3f0
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x88]
mov dword [ecx + esi*8], edx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x8c]
mov dword [eax + esi*8 + 4], ecx
mov esi, dword [ebp + 8]
mov edx, dword [esp + 0xc]
mov ecx, ebx
push edx
call fcn.005b28c0
test eax, eax
je 0x5f7619
mov ecx, dword [ebx + esi*4 + 0xf0]
mov esi, dword [esp + 0x70]
mov eax, edi
push 0xffffffffffffffff
add eax, ecx
mov ecx, dword [eax]
mov dword [esp + 0x98], ecx
lea ecx, [esp + 0x6c]
mov edx, dword [eax + 4]
lea eax, [esi + 1]
push eax
mov dword [esp + 0xa0], edx
call fcn.005fc3f0
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x94]
mov dword [ecx + esi*8], edx
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x98]
mov dword [eax + esi*8 + 4], ecx
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
inc eax
add edi, 0xb0
cmp eax, ecx
mov dword [esp + 0xc], eax
jle 0x5f7556
mov eax, dword [esp + 0x10]
test eax, eax
mov eax, dword [esp + 0x54]
je 0x5f790b
cmp eax, 2
jne 0x5f76c1
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x3c]
push 0xffffffffffffffff
lea ecx, [esp + 0x38]
mov edi, dword [eax]
mov edx, dword [eax + 4]
lea eax, [esi + 1]
mov dword [esp + 0xb8], edx
push eax
call fcn.005fc3f0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0xb4]
push 0xffffffffffffffff
mov dword [ecx + esi*8], edi
mov edx, dword [esp + 0x3c]
mov dword [edx + esi*8 + 4], eax
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x40]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 8]
lea edx, [esi + 1]
mov dword [esp + 0xc0], ecx
push edx
lea ecx, [esp + 0x3c]
call fcn.005fc3f0
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0xbc]
mov dword [eax + esi*8], edi
mov ecx, dword [esp + 0x38]
mov dword [ecx + esi*8 + 4], edx
jmp 0x5f7742
mov ecx, dword [esp + 0x70]
test ecx, ecx
jle 0x5f76e2
lea eax, [esp + 0x34]
lea ecx, [esp + 0x68]
push eax
lea edx, [esp + 0x50]
push ecx
push edx
call fcn.00501c90
add esp, 0xc
jmp 0x5f7742
mov esi, eax
shl eax, 3
push eax
call fcn.007604a7
add esp, 4
test eax, eax
je 0x5f76fd
dec esi
mov dword [esp + 0x7c], esi
mov esi, eax
jmp 0x5f76ff
xor esi, esi
mov ecx, dword [esp + 0x54]
xor eax, eax
test ecx, ecx
jle 0x5f7726
mov ecx, dword [esp + 0x50]
lea edx, [ecx + eax*8]
inc eax
mov ecx, dword [edx]
mov dword [esi + eax*8 - 8], ecx
mov edx, dword [edx + 4]
mov dword [esi + eax*8 - 4], edx
mov ecx, dword [esp + 0x54]
cmp eax, ecx
jl 0x5f7709
lea eax, [esp + 0x34]
push eax
push 0x40a77000
push 0
push ecx
push esi
call fcn.004fd640
push esi
call fcn.007604d0
add esp, 0x18
mov ecx, dword [esp + 0x3c]
xor esi, esi
add ecx, 0xfffffffe
mov dword [esp + 0x24], 0
test ecx, ecx
mov dword [esp + 0x28], 0
jle 0x5f79ef
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + edx*4 + 0xf0]
mov edx, ecx
mov edi, dword [eax + ecx]
mov eax, dword [eax + edx + 4]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + esi*8]
mov edx, dword [eax + esi*8 + 4]
mov dword [esp + 0x60], ecx
mov ecx, dword [eax + esi*8 + 8]
mov dword [esp + 0x64], edx
mov edx, dword [eax + esi*8 + 0xc]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
mov ecx, edx
mov edx, dword [eax + esi*8 + 8]
push ecx
mov ecx, dword [eax + esi*8 + 4]
push edx
mov edx, dword [eax + esi*8]
push ecx
push edx
call fcn.004fb030
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0xb4]
push edx
fstp qword [esp + 0x88]
push eax
push ecx
push edi
call fcn.00503960
add esp, 0x18
cmp eax, 2
jle 0x5f7818
fld qword [esp + 0x7c]
fadd qword [esp + 0x24]
mov edx, dword [esp + 0x3c]
inc esi
add edx, 0xfffffffe
cmp esi, edx
fstp qword [esp + 0x24]
jl 0x5f7763
jmp 0x5f79ef
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push eax
push edi
push ecx
push edx
call fcn.004fb030
fadd qword [esp + 0x24]
mov eax, dword [0x830b20]
mov dword [esp + 0x30], eax
fmul qword [0x7cb888]
fstp qword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x38]
push 0x82b134
push eax
mov byte [esp + 0xd8], 4
call fcn.0075cfe3
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x40]
add esp, 0x10
mov edx, dword [ebx + ecx*4 + 0xf0]
or ecx, 0xffffffff
mov byte [esp + 0xc8], 3
lea edx, [edx + eax + 0x26]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 8]
mov edi, 0x8294e8
mov eax, dword [ebx + ecx*4 + 0xf0]
or ecx, 0xffffffff
lea esi, [eax + edx + 0x62]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [ebp + 8]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + eax*4 + 0xf0]
mov byte [ecx + edx + 8], 5
mov eax, dword [ebx + eax*4 + 0xf0]
lea ecx, [esp + 0x30]
mov word [eax + edx + 0x24], 1
call fcn.0076087b
jmp 0x5f79ef
mov dword [esp + 0x7c], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x5f7943
mov ecx, dword [eax + 4]
mov eax, dword [ecx + edi*4]
mov ecx, ebx
push eax
push esi
call fcn.005b28f0
test eax, eax
je 0x5f7936
dec dword [esp + 0x10]
mov edx, dword [ebp + 0xc]
inc edi
mov eax, dword [edx + 8]
cmp edi, eax
mov eax, edx
jl 0x5f791f
mov edi, dword [eax + 8]
xor ecx, ecx
cmp edi, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0xa4], edi
jle 0x5f7986
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x48]
cmp edx, dword [eax]
jl 0x5f797c
cmp edx, dword [esp + 0x18]
jne 0x5f796c
inc dword [esp + 0xc]
mov edi, dword [esp + 0xc]
inc edi
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0xa4]
inc ecx
add eax, 4
cmp ecx, edi
jl 0x5f795a
jmp 0x5f798a
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x7c]
mov eax, 2
cmp ecx, eax
jle 0x5f79a6
cmp dword [esp + 0x10], eax
jne 0x5f79a6
cmp edx, dword [esp + 0x18]
jne 0x5f79a6
sub edx, 4
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
sub edx, ecx
push edx
push 0x8294b0
push eax
call fcn.0075cfe3
mov ecx, dword [ebx + esi*4 + 0xf0]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
xor eax, eax
lea edx, [ecx + edx + 0x62]
or ecx, 0xffffffff
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, 0x7cb8e8
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x38]
mov byte [esp + 0xc8], 5
test eax, eax
je 0x5f7a11
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0x6c]
mov byte [esp + 0xc8], 6
test eax, eax
je 0x5f7a2e
push eax
call fcn.007604d0
add esp, 4
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0x50]
mov byte [esp + 0xc8], 7
test eax, eax
je 0x5f7a4b
push eax
call fcn.007604d0
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc8], 0xffffffff
call fcn.0076087b
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
add edx, 0xb0
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edx
jle 0x5f7482
mov ecx, dword [esp + 0xc0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc