Function at 0x4807c0
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 0x480b1b
mov dword [esp + 4], ebx
and ebx, 1
or edi, ecx
je 0x48084f
test dword [esp], 0x7ff00000
jne 0x480873
mov ecx, dword [esp + 4]
add esi, 0xfffffbcd
xor bl, 1
xor edx, edx
mov edi, 1
jmp 0x4808b5
mov dword [esp + 0x1c], eax
mov eax, dword [esp]
and eax, 0x7fffffff
mov edi, eax
xor edi, 0x7ff00000
or edi, ecx
je 0x4808b3
or ecx, eax
mov eax, dword [esp + 0x1c]
jne 0x480873
mov bl, 4
jmp 0x4808b5
mov ecx, dword [esp + 4]
xor edx, eax
or edx, ecx
jne 0x480898
movzx esi, si
xor ecx, ecx
mov edi, 2
mov eax, 0x400000
mov bl, 1
xor edx, edx
add esi, 0xfffffbcb
jmp 0x4808b5
movzx esi, si
shld eax, ecx, 1
add ecx, ecx
xor bl, 1
xor edx, edx
mov edi, 1
add esi, 0xfffffbcc
jmp 0x4808b5
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 0x480965
movzx eax, bl
cmp bl, 3
mov ecx, 3
mov edx, 1
mov edi, 0x4ae9cf
cmovb ecx, eax
mov eax, dword [esp]
mov esi, eax
shr esi, 0x1f
test eax, eax
mov eax, 0x4ae9ce
cmovs edx, eax
cmovs edi, eax
cmp byte [esp + 0x20], 0
mov eax, 1
cmove edi, edx
cmovne esi, eax
cmp cl, 1
je 0x48098d
movzx eax, cl
cmp eax, 2
jne 0x4809a9
cmp byte [ebp + 8], 0
mov eax, 0x4ae9da
mov ecx, 0x4ae9d7
mov word [esp + 0x28], 2
cmovne ecx, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], 3
jmp 0x480983
mov word [esp + 0x28], 2
mov dword [esp + 0x2c], 0x4ae9d0
mov dword [esp + 0x30], 3
mov edi, 1
xor esi, esi
mov eax, 1
jmp 0x480af2
mov word [esp + 0x28], 2
mov dword [esp + 0x2c], 0x4ae9d3
mov dword [esp + 0x30], 3
jmp 0x480af2
lea ebx, [esp + 0x9b]
lea ecx, [esp + 0x78]
lea eax, [esp + 0x28]
push 0x11
push ebx
push ecx
push eax
call sym.core::num::flt2dec::strategy::grisu::format_shortest_opt::hdb71aca07dd01d2d
add esp, 0x10
cmp dword [esp + 0x28], 0
je 0x480a7b
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 0x480a9f
mov ebx, dword [esp + 8]
cmp byte [ebx], 0x30
jbe 0x480b22
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 0x480a4c
dec edx
inc ebx
mov word [esp + 0x34], 2
mov dword [esp + 0x38], 0x4ae970
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 0x480ab0
dec ecx
cmp byte [ebp + 8], 0
mov edx, 0x4ae9c9
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 0x480ae0
lea eax, [esp + 8]
push 0x11
push ebx
lea ecx, [esp + 0x80]
push ecx
push eax
call sym.core::num::flt2dec::strategy::dragon::format_shortest::ha867846b51840726
add esp, 0x10
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x4809f0
push 0x4ae974
push 0x21
push str.assertion_failed:__buf.is_empty__
call sym.core::panicking::panic::h2de0902fd6c3d9b1
cmp byte [ebp + 8], 0
mov edx, 0x4ae9cc
mov ebx, 0x4ae9ca
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 sym.core::fmt::Formatter::pad_formatted_parts::hdf29d1afb525241f
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov bl, 2
jmp 0x4808b5
push 0x4ae984
push 0x1f
push str.assertion_failed:_buf_0____b0
call sym.core::panicking::panic::h2de0902fd6c3d9b1
nop word cs:[eax + eax]
nop dword [eax]