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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5fdba1
sub esp, 0x70
mov edx, dword [esp + 0x98]
mov ecx, dword [edx + 8]
cmp ecx, 0x20
sbb ebx, ebx
mov ebp, 1
shl ebp, cl
and ebp, ebx
mov ecx, dword [esp + 0x80]
test ecx, ecx
jbe 0x5fdb97
mov ebx, dword [esp + 0x7c]
mov esi, dword [ebx + 0x10]
add ebp, 0xfffffff0
mov dword [esp + 0x34], ebp
mov edi, dword [esp + 0x78]
mov eax, dword [esp + 0x94]
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
jmp 0x5fd9ab
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0xa0]
add dword [ebp], edx
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x44]
add edx, esi
mov esi, dword [esp + 0x3c]
inc esi
mov edi, dword [esp + 0x7c]
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x80]
mov ebx, edi
mov ebp, dword [esp + 0x34]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], esi
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0x38]
cmp esi, 0xffffffff
je 0x5fdb6a
mov edx, dword [esp + 0x44]
add esi, edx
cmp ecx, esi
jbe 0x5fdb90
lea esi, [esi + esi*2]
nop
lea ecx, [ebx + esi*8 + 8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ecx]
and ecx, 0x7ffffff
add edx, ecx
lea ebp, [ebx + esi*8 + 0x10]
mov ebp, dword [ebp]
mov dword [esp + 0x38], ebp
lea ebp, [ebx + esi*8]
mov dword [esp + 0x68], ebp
mov ebp, dword [ebp]
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x3c]
test ebp, ebp
jne 0x5fda07
mov ebp, dword [eax]
mov dword [eax], 0
add ecx, ebp
mov ebp, dword [esp + 0x3c]
nop
nop
add edi, edx
lea esi, [ebx + esi*8 + 4]
mov esi, dword [esi]
mov eax, dword [esp + 0x68]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
shr eax, 0x19
mov ebx, dword [esp + 0x48]
and ebx, 0x1ffffff
sub ebx, eax
mov eax, dword [esp + 0x34]
cmp eax, edi
ja 0x5fda34
mov edi, eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x6c]
mov eax, dword [eax]
shr eax, 0x1b
test eax, eax
jne 0x5fda52
lea eax, [esi + 0xf]
jmp 0x5fda53
dec eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x98]
lea ebp, [edx + 0x2c]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov ebp, dword [esp + 0x4c]
and ebp, 0x1ffffff
mov dword [esp + 0x30], ebp
mov dword [esp + 8], ebp
sub ebx, ebp
add ebx, 9
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
call fcn.00612d80
lea edi, [esp + 0x58]
lea esi, [esp + 0x14]
call fcn.00457248
mov eax, dword [esp + 0x9c]
mov ecx, dword [eax + 4]
inc ecx
mov edx, dword [eax]
mov ebx, dword [eax + 8]
cmp ebx, ecx
jae 0x5fdb00
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x74f660]
mov dword [esp + 0x10], eax
call fcn.00442820
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x9c]
mov dword [edi + 8], edx
mov edx, dword [0x900e70]
test edx, edx
jne 0x5fdaf7
mov dword [edi], eax
jmp 0x5fdafc
call fcn.00456ac0
mov edx, eax
mov eax, edi
mov dword [eax + 4], ecx
dec ecx
shl ecx, 4
lea edi, [edx + ecx]
lea esi, [esp + 0x58]
call fcn.00457248
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
cmp ecx, edx
jb 0x5fdb57
mov ebx, dword [esp + 0x24]
test ebx, ebx
jbe 0x5fdb57
mov ecx, dword [esp + 0x8c]
cmp ecx, 2
jbe 0x5fdb86
mov ebx, dword [esp + 0x88]
mov ebp, dword [ebx + 8]
cmp ecx, 3
jbe 0x5fdb7a
mov dword [ebx + 0xc], ebp
mov ebp, dword [ebx + 4]
mov dword [ebx + 8], ebp
mov ebp, dword [ebx]
mov dword [ebx + 4], ebp
mov dword [ebx], edx
jmp 0x5fd95f
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
jmp 0x5fd95f
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x44]
sub ecx, edx
add dword [eax], ecx
add esp, 0x70
ret
mov eax, 3
mov ecx, eax
call fcn.00456b40
mov eax, 2
call fcn.00456b40
mov eax, esi
call fcn.00456b50
xor eax, eax
mov ecx, eax
call fcn.00456b40
nop
call fcn.00455690
jmp fcn.005fd8f0