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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c4
mov eax, dword [0x93d814]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c4], esi
mov eax, dword [esi + 0x58]
cmp eax, 2
jge 0x5b4db9
mov eax, 0xffffff7d
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
cmp dword [esi + 4], 0
jne 0x5b4dd3
mov eax, 0xffffff76
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0x10]
push edi
test ebx, ebx
jl 0x5b527b
mov edi, dword [ebp + 0xc]
jg 0x5b4ded
test edi, edi
jb 0x5b527b
cmp ebx, dword [esi + 0x14]
jg 0x5b527b
jl 0x5b4e01
cmp edi, dword [esi + 0x10]
ja 0x5b527b
cmp eax, 3
jl 0x5b4e30
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x38]
cmp ebx, dword [ecx + eax*8 + 4]
jl 0x5b4e27
jg 0x5b4e19
cmp edi, dword [ecx + eax*8]
jb 0x5b4e27
cmp ebx, dword [ecx + eax*8 + 0xc]
jl 0x5b4e30
jg 0x5b4e27
cmp edi, dword [ecx + eax*8 + 8]
jb 0x5b4e30
push esi
call fcn.0051d720
add esp, 4
push dword [esi + 0x5c]
lea eax, [esi + 0x78]
mov dword [esi + 0x50], 0xffffffff
push eax
mov dword [esi + 0x54], 0xffffffff
call fcn.005a32e0
lea eax, [esi + 0x1e0]
push eax
call fcn.005a5150
push ebx
push edi
push esi
call fcn.0051e960
add esp, 0x18
test eax, eax
je 0x5b4e9e
lea eax, [ebp - 0x19c]
mov dword [esi + 0x50], 0xffffffff
push eax
mov dword [esi + 0x54], 0xffffffff
call fcn.005a2e20
push esi
call fcn.0051d720
add esp, 8
mov eax, 0xffffff77
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
push dword [esi + 0x5c]
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x19c]
push eax
mov dword [ebp - 0x1a4], ebx
call fcn.005a2e70
lea eax, [ebp - 0x19c]
push eax
call fcn.005a3250
add esp, 0xc
jmp 0x5b4ee6
mov ebx, dword [ebp - 0x1a4]
cmp dword [esi + 0x58], 3
jl 0x5b4fa1
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.005a2f10
add esp, 8
test eax, eax
jle 0x5b4fa1
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x48]
shl ecx, 5
add eax, ecx
cmp dword [eax + 0x1c], 0
je 0x5b4f93
lea ecx, [ebp - 0x34]
push ecx
push eax
call fcn.005a51d0
mov edi, eax
add esp, 8
test edi, edi
jns 0x5b4f41
lea eax, [esi + 0x78]
push 0
push eax
call fcn.005a2f10
add esp, 8
xor edi, edi
jmp 0x5b4f73
cmp dword [ebp - 0x1a0], 0
je 0x5b4f63
cmp dword [ebp - 0x1ac], 0
jne 0x5b4f63
lea eax, [esi + 0x78]
push 0
push eax
call fcn.005a2f10
add esp, 8
jmp 0x5b4f73
test ebx, ebx
je 0x5b4f73
lea eax, [edi + ebx]
sar eax, 2
add dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x24]
mov eax, ecx
mov ebx, dword [ebp - 0x20]
and eax, ebx
cmp eax, 0xffffffff
jne 0x5b50e7
mov ebx, edi
mov dword [ebp - 0x1a4], ebx
jmp 0x5b4ee6
lea eax, [esi + 0x78]
push 0
push eax
call fcn.005a2f10
add esp, 8
test ebx, ebx
jne 0x5b5244
push 0xffffffffffffffff
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.005b34a0
mov ecx, edx
mov dword [ebp - 0x1b0], eax
add esp, 0x10
mov dword [ebp - 0x1b4], ecx
test ecx, ecx
jl 0x5b5231
jg 0x5b4fda
test eax, eax
jb 0x5b5231
cmp dword [esi + 0x58], 3
jl 0x5b5020
lea eax, [ebp - 0x14]
push eax
call fcn.005a2df0
add esp, 4
cmp dword [esi + 0x5c], eax
je 0x5b5016
lea eax, [ebp - 0x14]
push eax
call fcn.005a2c10
add esp, 4
test eax, eax
je 0x5b5016
push esi
call fcn.0051d720
lea eax, [ebp - 0x19c]
push eax
call fcn.005a2e20
add esp, 8
cmp dword [esi + 0x58], 3
jge 0x5b50b3
lea eax, [ebp - 0x14]
push eax
call fcn.005a2df0
mov ecx, dword [esi + 0x34]
add esp, 4
xor edi, edi
mov ebx, eax
test ecx, ecx
jle 0x5b504c
mov eax, dword [esi + 0x40]
nop word [eax + eax]
cmp dword [eax], ebx
je 0x5b504c
inc edi
add eax, 4
cmp edi, ecx
jl 0x5b5040
cmp edi, ecx
je 0x5b4ee0
lea eax, [esi + 0x78]
mov dword [esi + 0x60], edi
push ebx
push eax
mov dword [esi + 0x5c], ebx
call fcn.005a32e0
lea eax, [ebp - 0x19c]
push ebx
push eax
call fcn.005a32e0
mov eax, dword [esi + 0x3c]
add esp, 0x10
mov ecx, dword [ebp - 0x1b4]
mov dword [esi + 0x58], 3
cmp ecx, dword [eax + edi*8 + 4]
jg 0x5b50a3
jl 0x5b5097
mov ecx, dword [ebp - 0x1b0]
cmp ecx, dword [eax + edi*8]
ja 0x5b50a3
mov dword [ebp - 0x1ac], 1
jmp 0x5b50ad
mov dword [ebp - 0x1ac], 0
mov ebx, dword [ebp - 0x1a4]
lea eax, [ebp - 0x14]
push eax
lea eax, [esi + 0x78]
push eax
call fcn.005a2f70
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x19c]
push eax
call fcn.005a2f70
lea eax, [ebp - 0x14]
push eax
call fcn.005a2d00
add esp, 0x14
mov dword [ebp - 0x1a0], eax
jmp 0x5b4ee6
mov edi, dword [esi + 0x60]
mov eax, edi
mov edx, dword [esi + 0x44]
shl eax, 4
sub ecx, dword [eax + edx]
sbb ebx, dword [eax + edx + 4]
mov dword [ebp - 0x1ac], ebx
test ebx, ebx
jg 0x5b5126
jl 0x5b5109
test ecx, ecx
jae 0x5b5126
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c0], xmm0
mov ebx, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1ac], ebx
xorps xmm0, xmm0
xor edx, edx
movlpd qword [ebp - 0x1a8], xmm0
movlpd qword [ebp - 0x1c0], xmm0
cmp edi, 2
jl 0x5b51af
mov eax, dword [esi + 0x44]
lea edx, [edi - 2]
mov edi, dword [ebp - 0x1bc]
add eax, 0x18
mov esi, dword [ebp - 0x1a4]
mov ebx, dword [ebp - 0x1a8]
shr edx, 1
inc edx
mov dword [ebp - 0x1a0], edx
add edx, edx
mov dword [ebp - 0x1b0], edx
mov edx, dword [ebp - 0x1c0]
add ebx, dword [eax - 0x10]
adc esi, dword [eax - 0xc]
add edx, dword [eax]
adc edi, dword [eax + 4]
lea eax, [eax + 0x20]
sub dword [ebp - 0x1a0], 1
jne 0x5b5172
mov dword [ebp - 0x1a0], ebx
mov ebx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b4], esi
mov esi, dword [ebp - 0x1c4]
mov dword [ebp - 0x1a4], edx
mov edx, dword [ebp - 0x1b0]
jmp 0x5b51d9
mov eax, dword [ebp - 0x1a4]
mov edi, dword [ebp - 0x1bc]
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1a4], eax
cmp edx, dword [esi + 0x60]
jge 0x5b51ec
mov eax, dword [esi + 0x44]
shl edx, 4
add ecx, dword [edx + eax + 8]
adc ebx, dword [edx + eax + 0xc]
mov eax, dword [ebp - 0x1b8]
cdq
sub dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a4]
sbb edi, edx
add eax, dword [ebp - 0x1a0]
adc edi, dword [ebp - 0x1b4]
add eax, ecx
mov dword [esi + 0x50], eax
adc edi, ebx
mov dword [esi + 0x54], edi
test edi, edi
jg 0x5b5252
jl 0x5b5221
test eax, eax
jae 0x5b5252
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
jmp 0x5b5252
push 0xffffffffffffffff
push esi
call fcn.005b4ce0
add esp, 8
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
jmp 0x5b5252
mov dword [esi + 0x50], 0xffffffff
mov dword [esi + 0x54], 0xffffffff
lea eax, [ebp - 0x19c]
push eax
call fcn.005a2e20
add esp, 4
xorps xmm0, xmm0
movups xmmword [esi + 0x68], xmm0
xor eax, eax
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c33e1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffffff7d
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.005c33e1
mov esp, ebp
pop ebp
ret