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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
push esi
push edi
push dword [esp + 0x50]
mov ecx, dword [ebp + 0x2ac]
add ecx, 4
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
push dword [esp + 0x78]
mov ecx, dword [esp + 0x50]
mov esi, eax
mov dword [esp + 0x48], esi
call fcn.005f207d
mov ecx, dword [ebp + 0x2ac]
mov edi, dword [esp + 0x7c]
add edi, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], edi
mov ecx, dword [ecx + 0x238]
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x48]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [ecx + 0x34]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], edx
cmp eax, ebx
je 0x5f9408
mov ebx, dword [eax]
mov ecx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [ebx]
call dword [eax + 8]
mov edx, dword [esp + 0x18]
mov bl, byte [esp + 0x80]
imul ecx, eax, 0x28
mov eax, dword [edx]
cmp bl, byte [ecx + eax + 0x10]
mov ebx, dword [esp + 0x14]
jne 0x5f93ef
mov ecx, dword [esp + 0x1c]
add ecx, esi
mov dword [esp + 0x7c], ecx
cmp ecx, edi
jge 0x5f93ef
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 0x18]
mov ecx, dword [ebx]
push dword [esp + 0x7c]
mov dword [esp + 0x24], eax
mov edx, dword [ecx + 0x14]
mov ecx, ebx
call edx
mov ecx, dword [esp + 0x20]
cmp edi, ecx
push dword [esp + 0x7c]
mov dword [esp + 0x38], eax
mov eax, ecx
mov dword [esp + 0x3c], ecx
cmovl eax, edi
mov ecx, dword [ebx]
mov dword [esp + 0x28], eax
mov edx, dword [ecx + 0x10]
mov ecx, ebx
call edx
mov dword [esp + 0x2c], eax
test eax, eax
je 0x5f93d9
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
imul ecx, eax, 0x28
mov eax, dword [esp + 0x18]
add ecx, dword [eax]
lea eax, [ecx + 8]
push eax
call fcn.005b8531
test al, al
jne 0x5f9334
push dword [ebp + 0x2a0]
lea ecx, [esp + 0x38]
call fcn.005f1c03
test al, al
je 0x5f9334
xor edi, edi
inc edi
jmp 0x5f9336
xor edi, edi
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x34], eax
mov ecx, dword [ebp + 0x2ac]
cmovle eax, dword [esp + 0x34]
push 1
push 1
inc eax
push eax
call fcn.005c2542
mov ecx, ebp
mov esi, eax
call fcn.005ccdd5
mov ecx, dword [esp + 0x14]
mov bl, al
mov edx, dword [ecx]
call dword [edx + 8]
push dword [esp + 0x84]
sub esi, dword [esp + 0x48]
mov edx, eax
push ebx
push dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edi
push dword [esp + 0x88]
push esi
sub esp, 0x20
lea esi, [esp + 0x90]
push 8
pop ecx
mov edi, esp
push dword [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x88]
mov esi, dword [esp + 0x84]
sub eax, esi
push dword [esp + 0x88]
push dword [esp + 0x84]
push eax
mov eax, dword [esp + 0xc8]
sub eax, esi
push eax
push edx
call fcn.005f8fc3
mov edi, dword [esp + 0x64]
add esp, 0x54
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov ecx, eax
mov dword [esp + 0x7c], eax
cmp eax, edi
jl 0x5f92b6
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
add eax, 4
mov dword [esp + 0x28], eax
cmp eax, dword [esp + 0x30]
jne 0x5f9279
mov ecx, dword [esp + 0x48]
cmp byte [ecx + 0x128], 0
je 0x5f941c
mov eax, dword [ebp + 0x238]
cmp eax, 0x22
je 0x5f943d
cmp byte [ecx + 0x130], 0
je 0x5f9543
mov eax, dword [ebp + 0x238]
cmp eax, 0x23
jne 0x5f9543
cmp eax, 0x22
jne 0x5f9445
mov eax, dword [ecx + 0x12c]
jmp 0x5f944b
mov eax, dword [ecx + 0x134]
imul ecx, eax, 0x28
mov dword [esp + 0x7c], eax
mov eax, dword [edx]
mov dl, byte [esp + 0x80]
cmp dl, byte [ecx + eax + 0x10]
jne 0x5f9543
mov eax, dword [esp + 0x1c]
add eax, esi
mov dword [esp + 0x38], edi
push 2
mov dword [esp + 0x38], eax
lea eax, [ebp + 0x230]
pop ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
mov edi, dword [eax]
lea ecx, [esp + 0x34]
push edi
call fcn.005f1c03
test al, al
je 0x5f9527
mov ecx, dword [esp + 0x4c]
mov eax, edi
sub eax, esi
mov dword [esp + 0x30], eax
cmp eax, dword [ecx + 0x18]
jge 0x5f9527
mov ecx, dword [ebp + 0x2ac]
lea eax, [edi + 1]
push 1
push 1
push eax
call fcn.005c2542
push dword [esp + 0x84]
mov ebx, eax
mov ecx, ebp
sub ebx, esi
call fcn.005ccdd5
movzx ecx, al
lea esi, [esp + 0x5c]
push ecx
push 1
push 0
push dword [esp + 0x88]
push ebx
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x84]
push ebx
push dword [esp + 0x7c]
push dword [esp + 0xcc]
call fcn.005f8fc3
mov esi, dword [esp + 0x98]
add esp, 0x54
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add eax, 4
sub ebx, 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
jne 0x5f9484
mov edi, dword [esp + 0x10]
mov eax, dword [ebp + 0x2a4]
shr eax, 2
test al, 1
je 0x5f973a
mov ebx, dword [esp + 0x1c]
add ebx, esi
mov esi, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x24], esi
cmp esi, edi
jge 0x5f9742
mov ecx, dword [ebp + 0x2ac]
add ecx, 0x10
push esi
call fcn.005b3cf0
mov ecx, dword [ebp + 0x2ac]
cmp edi, eax
mov ebx, eax
mov dword [esp + 0x30], eax
cmovl ebx, edi
add ecx, 0x10
push esi
mov dword [esp + 0x2c], ebx
call fcn.005b3cd0
test eax, eax
je 0x5f9634
mov ecx, dword [ebp + 0x2ac]
lea ebx, [eax*2 + 0x22]
mov eax, dword [esp + 0x30]
cmp esi, eax
push 1
cmovle eax, esi
push 1
inc eax
push eax
call fcn.005c2542
push dword [esp + 0x84]
mov ecx, ebp
mov esi, eax
call fcn.005ccdd5
mov edx, dword [esp + 0x48]
sub esi, edx
movzx ecx, al
push ecx
push 1
push 0
push dword [esp + 0x88]
mov eax, dword [esp + 0x3c]
push esi
sub esp, 0x20
lea esi, [esp + 0x90]
sub eax, edx
push 8
pop ecx
mov edi, esp
push dword [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x70]
sub eax, edx
push eax
push ebx
call fcn.005f8fc3
mov edi, dword [esp + 0x64]
add esp, 0x54
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x24], ebx
mov esi, ebx
cmp ebx, edi
jl 0x5f956c
mov ebx, dword [esp + 0x7c]
mov ecx, dword [ebp + 0x2ac]
add ecx, 0x10
push ebx
call fcn.005b3ce0
mov ecx, dword [ebp + 0x2ac]
lea edx, [ebx + 1]
push 1
push 1
mov esi, eax
push edx
mov dword [esp + 0x3c], esi
call fcn.005c2542
mov edi, eax
xor ecx, ecx
push 0x25
pop eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
xor edx, edx
inc edx
shl edx, cl
test esi, edx
je 0x5f9706
push dword [esp + 0x84]
mov ebx, edi
mov ecx, ebp
sub ebx, dword [esp + 0x48]
call fcn.005ccdd5
movzx eax, al
lea esi, [esp + 0x5c]
push eax
push 1
push 0
push dword [esp + 0x88]
push ebx
sub esp, 0x20
push 8
pop ecx
mov edi, esp
push dword [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
push dword [esp + 0x88]
push dword [esp + 0x88]
push dword [esp + 0x84]
push ebx
mov ebx, dword [esp + 0xc8]
mov eax, ebx
sub eax, dword [esp + 0x90]
push eax
push dword [esp + 0x6c]
call fcn.005f8fc3
mov eax, dword [esp + 0x70]
add esp, 0x54
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
add eax, 2
inc ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
cmp eax, 0x2d
jb 0x5f9681
mov ecx, dword [ebp + 0x2ac]
add ecx, 0x10
push ebx
call fcn.005b3d04
mov ebx, eax
cmp ebx, dword [esp + 0x10]
mov dword [esp + 0x7c], ebx
jle 0x5f9646
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
cmp ebx, edi
jmp 0x5f9730