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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x490
cmp dword [ebp + 8], 0
je 0x4b5cf2
movd ebx, xmm0
movdqa xmm1, xmmword [0x4ee620]
mov dword [esp + 4], ecx
mov dword [esp + 0x1c], edx
mov eax, ebx
mov edi, ebx
shr eax, 0x17
and edi, 0x7fffff
movzx esi, al
lea eax, [ebx + ebx]
or edi, 0x800000
and eax, 0xfffffe
test esi, esi
pand xmm1, xmm0
cmove edi, eax
ucomiss xmm1, dword [0x4ee630]
jb 0x4b5aeb
mov al, 3
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], esi
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 1
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], esi
mov word [esp + 0x80], dx
mov byte [esp + 0x82], al
add al, 0xfe
je 0x4b5b3b
mov ecx, edx
movzx edx, al
cmp al, 3
mov eax, 3
mov edi, ebx
mov esi, 1
cmovb eax, edx
shr edi, 0x1f
test ebx, ebx
mov edx, 0x4eff4e
mov ebx, 0x4eff4f
cmovs esi, edx
cmovs ebx, edx
cmp byte [esp + 0x1c], 0
mov edx, 1
cmove ebx, esi
cmovne edi, edx
cmp al, 1
je 0x4b5b67
movzx eax, al
cmp eax, 2
jne 0x4b5b87
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 4]
cmp eax, 1
jne 0x4b5c11
cmp byte [ebp + 0xc], 0
mov eax, 0x4eff5a
mov edx, 0x4eff57
mov word [esp + 0x20], 2
cmovne edx, eax
lea eax, [esp + 0x20]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], 3
mov edx, 1
jmp 0x4b5cb6
ucomiss xmm0, xmm0
jp 0x4b5d03
movd eax, xmm1
test eax, eax
je 0x4b5c0a
mov eax, edi
and eax, 1
test ebx, 0x7f800000
je 0x4b5c63
cmp edi, 0x800000
jne 0x4b5cd7
movzx esi, si
mov ecx, 2
mov edi, 0x2000000
mov al, 1
add esi, 0xffffff68
mov edx, esi
xor esi, esi
jmp 0x4b5a23
mov ebx, 1
lea eax, [esp + 0x20]
xor edi, edi
mov edx, 1
mov word [esp + 0x20], 2
mov dword [esp + 0x24], 0x4eff50
mov dword [esp + 0x28], 3
jmp 0x4b5cb2
mov word [esp + 0x20], 2
mov dword [esp + 0x24], 0x4eff53
mov dword [esp + 0x28], 3
lea eax, [esp + 0x20]
jmp 0x4b5cb2
test cx, cx
mov eax, 0xfffffff4
mov edx, 5
movsx esi, cx
cmovs edx, eax
mov eax, dword [ebp + 8]
imul esi, edx
cmp eax, 0x401
jb 0x4b5bb3
cmp esi, 0x3ec0
jae 0x4b5d0a
shr esi, 4
add esi, 0x15
cmp esi, eax
cmovae esi, eax
cmp esi, 0x401
jae 0x4b5d1b
lea ecx, [esp + 0x8c]
lea edx, [esp + 0x68]
lea eax, [esp + 0x20]
push 0x8000
push esi
push ecx
push edx
push eax
call fcn.004af550
add esp, 0x14
cmp dword [esp + 0x20], 0
je 0x4b5c6f
mov eax, dword [esp + 0x28]
movsd xmm0, qword [esp + 0x20]
mov dword [esp + 0x10], eax
movsd qword [esp + 8], xmm0
jmp 0x4b5c8f
mov al, 4
jmp 0x4b5a23
dec eax
cmp byte [ebp + 0xc], 0
mov word [esp + 0x20], 2
mov dword [esp + 0x24], 0x4efef1
mov dword [esp + 0x28], 2
mov word [esp + 0x2c], 0
mov edx, str.e0E0assertion_failed:_buf.len_____ndigits__buf.len_____maxlen
mov dword [esp + 0x30], eax
mov eax, 0x4eff8e
mov word [esp + 0x38], 2
cmovne edx, eax
lea eax, [esp + 0x20]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 2
mov edx, 3
jmp 0x4b5cb6
add esi, 0xffffff6a
mov edx, esi
xor esi, esi
jmp 0x4b5ce6
lea eax, [esp + 8]
push 0x8000
push esi
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x74]
push ecx
push eax
call fcn.004ade30
add esp, 0x14
movzx eax, byte [ebp + 0xc]
push 6
lea ecx, [esp + 0x24]
push ecx
push eax
push dword [ebp + 8]
push dword [esp + 0x20]
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.004afe70
add esp, 0x1c
mov ecx, dword [esp + 4]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
lea edx, [esp + 8]
call fcn.004b75c0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, esi
add edi, edi
xor esi, esi
movzx edx, dx
add edx, 0xffffff69
xor al, 1
mov ecx, 1
jmp 0x4b5a23
push 0x4eff7c
push 0x1d
push 0x4eff5d
call fcn.004b3aa0
mov al, 2
jmp 0x4b5a23
push 0x4effd0
push 0x3d
push 0x4eff90
call fcn.004b3aa0
push 0x4effe0
push 0x400
push esi
call fcn.004b9430
nop dword [eax + eax]