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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
movsd qword [esp + 0x70], xmm0
mov edx, 0x100000
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
lea edi, [edx - 1]
mov esi, ebx
mov eax, ebx
and edi, ebx
mov dword [esp], ebx
shr esi, 0x14
shld eax, ecx, 1
lea ebx, [edi + 0x100000]
and esi, 0x7ff
and eax, 0x1fffff
test esi, esi
cmove ebx, eax
mov eax, ebx
lea ebx, [ecx + ecx]
cmovne ebx, ecx
ucomisd xmm0, xmm0
jp 0x49a10b
mov dword [esp + 4], ebx
and ebx, 1
or edi, ecx
je 0x499e3f
test dword [esp], 0x7ff00000
jne 0x499e63
mov ecx, dword [esp + 4]
add esi, 0xfffffbcd
xor bl, 1
xor edx, edx
mov edi, 1
jmp 0x499ea5
mov dword [esp + 0x1c], eax
mov eax, dword [esp]
and eax, 0x7fffffff
mov edi, eax
xor edi, 0x7ff00000
or edi, ecx
je 0x499ea3
or ecx, eax
mov eax, dword [esp + 0x1c]
jne 0x499e63
mov bl, 4
jmp 0x499ea5
mov ecx, dword [esp + 4]
xor edx, eax
or edx, ecx
jne 0x499e88
movzx esi, si
xor ecx, ecx
mov edi, 2
mov eax, 0x400000
mov bl, 1
xor edx, edx
add esi, 0xfffffbcb
jmp 0x499ea5
movzx esi, si
shld eax, ecx, 1
add ecx, ecx
xor bl, 1
xor edx, edx
mov edi, 1
add esi, 0xfffffbcc
jmp 0x499ea5
mov bl, 3
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], 1
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edx
mov word [esp + 0x90], si
mov byte [esp + 0x92], bl
add bl, 0xfe
je 0x499f55
movzx eax, bl
cmp bl, 3
mov ecx, 3
mov edx, 1
mov edi, 0x59e6ef
cmovb ecx, eax
mov eax, dword [esp]
mov esi, eax
shr esi, 0x1f
test eax, eax
mov eax, 0x59e6ee
cmovs edx, eax
cmovs edi, eax
cmp byte [esp + 0x20], 0
mov eax, 1
cmove edi, edx
cmovne esi, eax
cmp cl, 1
je 0x499f7d
movzx eax, cl
cmp eax, 2
jne 0x499f99
cmp byte [ebp + 8], 0
mov eax, 0x59e6fa
mov ecx, 0x59e6f7
mov word [esp + 0x28], 2
cmovne ecx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 3
jmp 0x499f73
mov word [esp + 0x28], 2
mov dword [esp + 0x2c], 0x59e6f0
mov dword [esp + 0x30], 3
mov edi, 1
xor esi, esi
mov eax, 1
jmp 0x49a0e2
mov word [esp + 0x28], 2
mov dword [esp + 0x2c], 0x59e6f3
mov dword [esp + 0x30], 3
jmp 0x49a0e2
lea ebx, [esp + 0x9b]
lea ecx, [esp + 0x78]
lea eax, [esp + 0x28]
push 0x11
push ebx
push ecx
push eax
call fcn.004929e0
add esp, 0x10
cmp dword [esp + 0x28], 0
je 0x49a06b
mov eax, dword [esp + 0x30]
movsd xmm0, qword [esp + 0x28]
mov dword [esp + 0x10], eax
movsd qword [esp + 8], xmm0
mov edx, dword [esp + 0xc]
test edx, edx
je 0x49a08f
mov ebx, dword [esp + 8]
cmp byte [ebx], 0x30
jbe 0x49a112
movzx ecx, word [esp + 0x10]
mov eax, 1
cmp edx, 1
mov word [esp + 0x28], 2
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], 1
je 0x49a03c
dec edx
inc ebx
mov word [esp + 0x34], 2
mov dword [esp + 0x38], 0x59e690
mov dword [esp + 0x3c], 1
mov word [esp + 0x40], 2
mov eax, 3
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], edx
test cx, cx
jle 0x49a0a0
dec ecx
cmp byte [ebp + 8], 0
mov edx, 0x59e6e9
mov ebx, str.eEe_E__NaNinf00e00E0assertion_failed:_ndigits___0
cmovne ebx, edx
lea edx, [eax + eax*2]
mov word [esp + edx*4 + 0x28], 2
mov dword [esp + edx*4 + 0x2c], ebx
mov dword [esp + edx*4 + 0x30], 1
jmp 0x49a0d0
lea eax, [esp + 8]
push 0x11
push ebx
lea ecx, [esp + 0x80]
push ecx
push eax
call fcn.00491240
add esp, 0x10
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x499fe0
push 0x59e694
push 0x21
push str.assertion_failed:__buf.is_empty__
call fcn.00497b20
cmp byte [ebp + 8], 0
mov edx, 0x59e6ec
mov ebx, 0x59e6ea
cmovne ebx, edx
lea edx, [eax + eax*2]
mov word [esp + edx*4 + 0x28], 2
mov dword [esp + edx*4 + 0x2c], ebx
mov dword [esp + edx*4 + 0x30], 2
mov edx, 1
sub edx, ecx
mov ecx, edx
lea edx, [eax + eax*2]
add eax, 2
mov word [esp + edx*4 + 0x34], 1
mov word [esp + edx*4 + 0x36], cx
lea ecx, [esp + 0x28]
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
lea edx, [esp + 8]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x14], eax
call fcn.0049b640
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov bl, 2
jmp 0x499ea5
push 0x59e6a4
push 0x1f
push str.assertion_failed:_buf_0____b0
call fcn.00497b20
nop word cs:[eax + eax]
nop dword [eax]