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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa8
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
movsd qword [esp + 0x68], xmm0
xor esi, esi
xor edx, edx
mov edi, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov ecx, edi
mov ebx, edi
shr ecx, 0x14
shld ebx, eax, 1
and ecx, 0x7ff
and ebx, 0x1fffff
add esi, 0xffffffff
mov esi, edi
adc edx, 0xfffff
mov dword [esp + 0x1c], esi
and edx, edi
mov edi, edx
or edi, 0x100000
test ecx, ecx
cmove edi, ebx
lea ebx, [eax + eax]
cmovne ebx, eax
ucomisd xmm0, xmm0
jp 0x495ce4
and esi, 0x7ff00000
or eax, edx
je 0x495a65
test esi, esi
je 0x495a75
test bl, 1
mov esi, 0x100000
movzx ecx, cx
sete al
xor esi, edi
shld edi, ebx, 1
xor edx, edx
or esi, ebx
mov esi, 0x400000
lea ebx, [ebx + ebx]
cmove edi, esi
mov esi, 0
sete dl
cmove ebx, esi
sub ecx, edx
inc edx
add ecx, 0xfffffbcc
jmp 0x495a8c
cmp esi, 0x7ff00000
je 0x495a8a
test esi, esi
jne 0x495a28
mov al, 4
jmp 0x495a8c
add ecx, 0xfffffbcd
test bl, 1
mov edx, 1
sete al
xor esi, esi
jmp 0x495a8c
mov al, 3
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], edi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 1
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], edx
mov word [esp + 0x88], cx
mov byte [esp + 0x8a], al
add al, 0xfe
mov esi, dword [esp + 0x1c]
movzx ecx, al
cmp al, 3
mov eax, 3
cmovb eax, ecx
test al, al
je 0x495b3b
mov edi, esi
mov ecx, 0x4d3c57
mov edx, 0x4d3c58
mov ebx, 0x4d3c56
shr edi, 0x1f
cmp byte [esp + 0x14], 0
cmovne edx, ecx
mov ecx, 1
cmovne edi, ecx
test esi, esi
cmovns ebx, edx
cmp al, 1
je 0x495b63
movzx eax, al
cmp eax, 2
jne 0x495b7f
cmp byte [ebp + 8], 0
mov eax, 0x4d3c5f
mov ecx, 0x4d3c62
mov word [esp + 0x20], 2
cmovne ecx, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 3
mov ecx, 1
jmp 0x495cbe
mov ecx, 1
xor edi, edi
mov ebx, 0x4d3c58
mov word [esp + 0x20], 2
mov dword [esp + 0x24], 0x4d3c5c
mov dword [esp + 0x28], 3
jmp 0x495cbe
mov word [esp + 0x20], 2
mov dword [esp + 0x24], 0x4d3c59
mov dword [esp + 0x28], 3
jmp 0x495cbe
lea esi, [esp + 0x93]
lea ecx, [esp + 0x70]
lea eax, [esp + 0x20]
push 0x11
push esi
push ecx
push eax
call sym.core::num::flt2dec::strategy::grisu::format_shortest_opt::h7bb4af465db1e81a
add esp, 0x10
cmp dword [esp + 0x20], 0
je 0x495c4f
mov eax, dword [esp + 0x28]
movsd xmm0, qword [esp + 0x20]
mov dword [esp + 8], eax
movsd qword [esp], xmm0
mov edx, dword [esp + 4]
test edx, edx
je 0x495c6e
mov esi, dword [esp]
cmp byte [esi], 0x31
jb 0x495ceb
movzx eax, word [esp + 8]
mov ecx, 1
cmp edx, 2
mov word [esp + 0x20], 2
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 1
jb 0x495c20
dec edx
inc esi
mov word [esp + 0x2c], 2
mov dword [esp + 0x30], 0x4d3bfa
mov dword [esp + 0x34], 1
mov word [esp + 0x38], 2
mov ecx, 3
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], edx
test ax, ax
jle 0x495c7c
dec eax
cmp byte [ebp + 8], 0
mov edx, 0x4d3c54
mov esi, 0x4d3c55
cmovne esi, edx
lea edx, [ecx + ecx*2]
mov word [esp + edx*4 + 0x20], 2
mov dword [esp + edx*4 + 0x24], esi
mov dword [esp + edx*4 + 0x28], 1
jmp 0x495cac
mov eax, esp
push 0x11
push esi
lea ecx, [esp + 0x78]
push ecx
push eax
call sym.core::num::flt2dec::strategy::dragon::format_shortest::h450001fe8b06c144
add esp, 0x10
mov edx, dword [esp + 4]
test edx, edx
jne 0x495bc5
push 0x4d3bfc
push 0x21
push str.assertion_failed:__buf.is_empty__called__Option::unwrap____on_a__None__value
jmp 0x495cf7
cmp byte [ebp + 8], 0
mov edx, str.E_e_Ee_0infNaN0E00e0assertion_failed:_ndigits___0
mov esi, 0x4d3c52
cmovne esi, edx
lea edx, [ecx + ecx*2]
mov word [esp + edx*4 + 0x20], 2
mov dword [esp + edx*4 + 0x24], esi
mov dword [esp + edx*4 + 0x28], 2
mov edx, 1
sub edx, eax
mov eax, edx
lea edx, [ecx + ecx*2]
add ecx, 2
mov word [esp + edx*4 + 0x2c], 1
mov word [esp + edx*4 + 0x2e], ax
lea eax, [esp + 0x20]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov edx, esp
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x18]
call sym.core::fmt::Formatter::pad_formatted_parts::hcdb86b755fe2e917
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, 2
jmp 0x495a8c
push 0x4d3c0c
push 0x21
push str.assertion_failed:_buf_0____b0
call sym.core::panicking::panic::h77c9b6f606fdbf34
add esp, 0xc
ud2