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

Disassembly:
sub esp, 0x130
mov ecx, dword [esp + 0x140]
mov edx, dword [esp + 0x13c]
push ebx
push ebp
shr edx, 0x18
mov eax, ecx
shr eax, 0x18
xor ebx, ebx
cmp dl, bl
push esi
push edi
mov byte [esp + 0x17], dl
mov byte [esp + 0x13], al
jne 0x5b2b86
cmp al, bl
je 0x5b319d
mov esi, dword [esp + 0x148]
mov eax, dword [esi + 8]
sub eax, dword [esi]
mov edi, dword [esi + 8]
mov ebp, dword [esi + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov dword [esp + 0xac], ebx
mov dword [esp + 0x38], eax
mov eax, dword [esi]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x64], eax
xor eax, eax
cmp dl, 0xff
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xe0], ebx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
jb 0x5b2c2a
cmp byte [esp + 0x13], 0xff
jae 0x5b2c5b
mov ebp, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
push ebp
push edi
lea ecx, [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0x150]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ebx
call fcn.005e4480
mov dl, byte [esp + 0x17]
mov ecx, dword [esp + 0x150]
cmp dl, 0xff
jb 0x5b2d1b
cmp byte [esp + 0x13], 0xff
jb 0x5b2d1b
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x14c]
mov dword [esp + 0x44], eax
shr edx, 0x10
xor eax, eax
mov ah, dl
xor edx, edx
mov word [esp + 0x4e], 0xff00
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebp
mov word [esp + 0x5e], 0xff00
mov dword [esp + 0x18], ebx
mov word [esp + 0x48], ax
mov eax, dword [esp + 0x14c]
mov dh, ah
mov dword [esp + 0x1c], 1
mov word [esp + 0x4a], dx
xor edx, edx
mov dh, al
mov eax, ecx
shr eax, 0x10
mov word [esp + 0x4c], dx
xor edx, edx
mov dh, al
xor eax, eax
mov ah, ch
mov word [esp + 0x58], dx
xor edx, edx
mov word [esp + 0x5a], ax
xor eax, eax
cmp byte [esp + 0x154], bl
mov dh, cl
setne al
lea ecx, [esp + 0x18]
mov word [esp + 0x5c], dx
push eax
mov eax, dword [esp + 0x148]
push 1
push ecx
push 2
lea edx, [esp + 0x50]
push edx
push eax
call dword [0x6103f0]
jmp 0x5b313f
cmp byte [esp + 0x154], bl
mov eax, dword [esp + 0x38]
jne 0x5b2d2c
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14c]
shr eax, 0x10
mov byte [esp + 0x14], al
mov eax, ecx
shr eax, 0x10
cmp dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
jl 0x5b3143
movzx esi, byte [esp + 0x13]
fild dword [esp + 0x28]
movzx edx, dl
fstp qword [esp + 0xf8]
sub esi, edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], edx
fild dword [esp + 0x18]
movzx edx, byte [esp + 0x14]
fstp qword [esp + 0x100]
movzx eax, al
fild dword [esp + 0x20]
sub eax, edx
fstp qword [esp + 0x108]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
fild dword [esp + 0x18]
mov edx, dword [esp + 0x14c]
movzx eax, dh
fstp qword [esp + 0x118]
fild dword [esp + 0x20]
movzx esi, ch
fstp qword [esp + 0x128]
sub esi, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
fild dword [esp + 0x18]
movzx eax, dl
fstp qword [esp + 0x138]
movzx ecx, cl
fild dword [esp + 0x20]
sub ecx, eax
fstp qword [esp + 0x120]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
fild dword [esp + 0x18]
fstp qword [esp + 0x110]
fild dword [esp + 0x20]
fstp qword [esp + 0x130]
nop
fld qword [0x638508]
xor ecx, ecx
fild dword [esp + 0x2c]
mov dword [esp + 0x70], ebx
fnstcw word [esp + 0x14]
mov dword [esp + 0x74], ebx
fdiv qword [esp + 0xf8]
movzx eax, word [esp + 0x14]
or eax, 0xc00
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
fld qword [esp + 0x100]
fmul st(1)
fadd qword [esp + 0x108]
fadd st(2)
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
movzx edx, byte [esp + 0x18]
fldcw word [esp + 0x14]
mov byte [esp + 0x14], dl
fld qword [esp + 0x118]
fmul st(1)
fnstcw word [esp + 0x24]
fadd qword [esp + 0x128]
movzx eax, word [esp + 0x24]
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(2)
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
movzx eax, byte [esp + 0x18]
mov ch, al
fldcw word [esp + 0x24]
fld qword [esp + 0x138]
fmul st(1)
fnstcw word [esp + 0x24]
fadd qword [esp + 0x120]
movzx eax, word [esp + 0x24]
or eax, 0xc00
mov dword [esp + 0x18], eax
fadd st(2)
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
movzx edx, byte [esp + 0x18]
mov cl, dl
fldcw word [esp + 0x24]
shl ecx, 8
fmul qword [esp + 0x110]
fnstcw word [esp + 0x24]
fadd qword [esp + 0x130]
movzx eax, word [esp + 0x24]
or eax, 0xc00
mov dword [esp + 0x18], eax
faddp st(1)
fldcw word [esp + 0x18]
fistp dword [esp + 0x18]
movzx eax, byte [esp + 0x18]
movzx edx, al
fldcw word [esp + 0x24]
or ecx, edx
push ecx
call dword [0x6100a0]
cmp byte [esp + 0x154], bl
mov ecx, dword [esp + 0x144]
mov esi, eax
mov dword [esp + 0x18], esi
je 0x5b3054
push 1
push edi
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], edi
mov dword [esp + 0x100], 1
call fcn.005e4480
mov edx, dword [esp + 0x70]
push esi
lea ecx, [esp + 0xec]
push ecx
push edx
call dword [0x6108a4]
mov eax, dword [esp + 0xa4]
cmp eax, ebx
jne 0x5b2fc7
mov dword [esp + 0x24], ebx
jmp 0x5b2fde
mov ecx, dword [esp + 0x84]
imul ecx, dword [esp + 0x80]
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], eax
call fcn.005e4570
test eax, eax
je 0x5b2fff
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
push eax
call fcn.005e4620
mov esi, dword [esp + 0x1c]
jmp 0x5b300d
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
push ecx
call fcn.005e4690
mov dl, byte [esp + 0x18]
mov ecx, dword [esp + 0x74]
add esp, 4
mov byte [esp + 0x36], dl
mov edx, dword [esp + 0x2c]
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], bl
mov byte [esp + 0x37], 1
mov eax, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x64]
push 1
push edi
push ebx
push ebx
push ecx
mov ecx, dword [esp + 0xc4]
push 1
push edi
push edx
push eax
push ecx
call dword [0x6103ec]
jmp 0x5b3113
push ebp
push 1
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], ebp
call fcn.005e4480
mov ecx, dword [esp + 0x70]
push esi
lea eax, [esp + 0x44]
push eax
push ecx
call dword [0x6108a4]
mov eax, dword [esp + 0xa4]
cmp eax, ebx
jne 0x5b3095
xor esi, esi
jmp 0x5b30a8
mov esi, dword [esp + 0x84]
imul esi, dword [esp + 0x80]
add esi, esi
add esi, esi
mov dword [esp + 0x20], eax
call fcn.005e4570
test eax, eax
je 0x5b30c1
mov edx, dword [esp + 0x20]
push edx
call fcn.005e4620
jmp 0x5b30cd
mov eax, dword [esp + 0x20]
push eax
mov eax, esi
call fcn.005e4690
mov cl, byte [esp + 0x18]
mov eax, dword [esp + 0x74]
add esp, 4
mov byte [esp + 0x32], cl
mov ecx, dword [esp + 0x64]
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], bl
mov byte [esp + 0x33], 1
mov edx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push ebp
push 1
push ebx
push ebx
push eax
mov eax, dword [esp + 0xc4]
push ebp
push 1
push ecx
push edx
push eax
call dword [0x6103ec]
mov esi, dword [esp + 0x18]
push esi
call dword [0x6100e8]
lea esi, [esp + 0x70]
call fcn.005e4400
mov eax, dword [esp + 0x2c]
add eax, 1
cmp eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
jle 0x5b2e00
mov esi, dword [esp + 0x148]
mov dl, byte [esp + 0x17]
cmp dl, 0xff
jb 0x5b314f
cmp byte [esp + 0x13], 0xff
jae 0x5b3191
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0xac]
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], bl
mov byte [esp + 0x2a], 0xff
mov byte [esp + 0x2b], 1
mov ecx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
push eax
push ebx
push ebx
push edx
mov edx, dword [esp + 0x15c]
push ecx
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 4]
push eax
push ecx
push edx
call dword [0x6103ec]
lea esi, [esp + 0xac]
call fcn.005e4400
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x130
ret