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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
mov eax, dword [0x93d814]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x444]
push ebx
mov ebx, dword [ebp + 0xc]
test eax, eax
push esi
mov esi, dword [ebp + 8]
cmovne ecx, eax
push edi
mov dword [ebp - 0x42c], ebx
xor edi, edi
mov dword [ebp - 0x404], ecx
mov eax, dword [esi + 0x1d8]
mov dword [ebp - 0x408], eax
mov dword [ebp - 0x414], 0
nop
push dword [esi + 0x3c]
push dword [esi + 0x38]
push ecx
push esi
call fcn.005c0660
mov ecx, edx
mov dword [ebp - 0x430], eax
add esp, 0x10
mov dword [ebp - 0x434], ecx
test ecx, ecx
jl 0x5bfe27
jg 0x5bfb40
test eax, eax
jb 0x5bfe27
push dword [ebp - 0x404]
call fcn.005a2c10
add esp, 4
test eax, eax
jne 0x5bfddf
push dword [ebp - 0x404]
call fcn.005a2df0
add esp, 4
cmp dword [ebp - 0x408], eax
jne 0x5bfbb4
mov edi, dword [ebp - 0x404]
lea eax, [esi + 0x88]
push edi
push eax
call fcn.005a2f70
mov eax, dword [edi + 4]
add esp, 8
cdq
add dword [esi + 0x78], eax
adc dword [esi + 0x7c], edx
nop dword [eax]
lea eax, [ebp - 0x400]
push eax
push esi
call fcn.005beb80
mov edi, eax
add esp, 8
test edi, edi
js 0x5bfb90
mov edx, dword [esi + 0x21d4]
mov dword [ebp - 0x414], edx
jmp 0x5bfbba
mov edx, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x404]
test edx, edx
jle 0x5bfb10
lea eax, [edx + 0xf]
shl eax, 5
mov ecx, dword [eax + esi]
mov eax, dword [eax + esi + 4]
mov dword [ebp - 0x40c], eax
mov eax, ecx
and eax, dword [ebp - 0x40c]
mov dword [ebp - 0x418], ecx
cmp eax, 0xffffffff
je 0x5bfc22
mov eax, edx
neg edi
shl eax, 5
push edi
mov edi, dword [ebp - 0x40c]
push edi
mov eax, dword [eax + esi + 0x1dc]
test eax, eax
mov dword [ebp - 0x424], eax
lea eax, [ebp - 0x420]
push ecx
push eax
jne 0x5bfc38
call fcn.005c0ab0
add esp, 0x10
test eax, eax
jns 0x5bfc62
pop edi
pop esi
mov eax, 0xffffff75
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
call fcn.005c0ab0
add esp, 0x10
test eax, eax
jns 0x5bfc62
push 0
push dword [ebx + 0x34]
xorps xmm0, xmm0
push edi
push dword [ebp - 0x418]
movlpd qword [ebp - 0x420], xmm0
call fcn.005c0b60
jmp 0x5bfc1b
mov edx, dword [ebp - 0x420]
xor eax, eax
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x410], edx
mov dword [ebp - 0x404], ecx
cmp dword [ebp - 0x414], eax
jle 0x5bfd96
mov ebx, 0xfffffe00
lea edi, [esi + 0x200]
sub ebx, esi
mov dword [ebp - 0x428], ebx
xor ebx, ebx
nop dword [eax]
cmp dword [ebp - 0x424], 0
je 0x5bfd42
push ecx
push edx
push dword [ebp - 0x40c]
lea eax, [ebp - 0x43c]
push dword [ebp - 0x418]
push eax
call fcn.005c0be0
mov eax, dword [ebp + ebx*4 - 0x400]
add esp, 0x14
cdq
mov ecx, eax
mov dword [ebp - 0x408], eax
sub ecx, dword [ebp - 0x43c]
mov eax, edx
mov dword [ebp - 0x43c], ecx
sbb eax, dword [ebp - 0x438]
mov dword [ebp - 0x438], eax
js 0x5bfd36
jg 0x5bfcfc
test ecx, ecx
je 0x5bfd36
cmp eax, edx
jg 0x5bfd84
jl 0x5bfd0e
cmp ecx, dword [ebp - 0x408]
ja 0x5bfd84
mov eax, dword [ebp - 0x418]
mov edx, eax
mov ecx, dword [ebp - 0x40c]
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x404], ecx
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [edi - 4], 1
jmp 0x5bfd74
mov ecx, dword [ebp - 0x404]
mov edx, dword [ebp - 0x410]
push dword [ebp + ebx*4 - 0x400]
mov eax, dword [ebp - 0x428]
add eax, 0x200
push ecx
add eax, edi
push edx
add eax, esi
push eax
call fcn.005c0ab0
mov edx, dword [edi]
add esp, 0x10
mov ecx, dword [edi + 4]
mov dword [ebp - 0x410], edx
mov dword [ebp - 0x404], ecx
inc ebx
add edi, 0x20
cmp ebx, dword [ebp - 0x414]
jl 0x5bfca0
mov dword [ebp - 0x408], ebx
mov ebx, dword [ebp - 0x42c]
mov eax, dword [ebp - 0x408]
mov ecx, dword [ebp - 0x41c]
mov dword [esi + 0x21d4], eax
mov eax, dword [ebx + 0x34]
mov dword [esi + 0x64], eax
mov eax, dword [ebp - 0x420]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], ecx
mov dword [esi + 0x68], eax
mov eax, dword [ebp - 0x430]
mov dword [esi + 0x70], eax
mov eax, dword [ebp - 0x434]
pop edi
mov dword [esi + 0x74], eax
xor eax, eax
mov dword [esi + 0x6c], ecx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x34], 0
ja 0x5bfc22
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0xc]
pop edi
mov dword [ebx + 0x14], eax
mov eax, 1
pop esi
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
cmp ecx, 0xffffffff
jg 0x5bfe33
jl 0x5bfe67
cmp eax, 0xffffffff
jb 0x5bfe67
cmp dword [ebx + 0x34], 0
ja 0x5bfc22
mov eax, dword [ebx + 8]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005c33e1
mov esp, ebp
pop ebp
ret