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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5fdb31
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 0x5fdb27
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 + 0x3c], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x50]
jmp 0x5fd93b
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0xa0]
add dword [ebp], edx
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x3c]
add edx, esi
mov esi, dword [esp + 0x44]
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 + 0x3c], edx
mov dword [esp + 0x44], esi
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0x38]
cmp esi, 0xffffffff
je 0x5fdafa
mov edx, dword [esp + 0x3c]
add esi, edx
cmp ecx, esi
jbe 0x5fdb20
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 + 0x44]
test ebp, ebp
jne 0x5fd997
mov ebp, dword [eax]
mov dword [eax], 0
add ecx, ebp
mov ebp, dword [esp + 0x44]
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 0x5fd9c4
mov edi, eax
mov dword [esp + 0x3c], 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 0x5fd9e2
lea eax, [esi + 0xf]
jmp 0x5fd9e3
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.00612db0
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 0x5fda90
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 1
lea eax, [0x750240]
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 [0x901e80]
test edx, edx
jne 0x5fda87
mov dword [edi], eax
jmp 0x5fda8c
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 0x5fdae7
mov ebx, dword [esp + 0x24]
test ebx, ebx
jbe 0x5fdae7
mov ecx, dword [esp + 0x8c]
cmp ecx, 2
jbe 0x5fdb16
mov ebx, dword [esp + 0x88]
mov ebp, dword [ebx + 8]
cmp ecx, 3
jbe 0x5fdb0a
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 0x5fd8ef
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
jmp 0x5fd8ef
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x3c]
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.005fd880