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

Disassembly:
push ebx
push edi
push esi
sub esp, 0x60
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
mov esi, dword [esp + 0x78]
mov eax, dword [esp + 0x70]
cmp ecx, 0x101
jb 0x479fb9
cmp byte [eax + 0x100], 0xbf
mov edi, 0x100
jg 0x479f8d
cmp byte [eax + 0xff], 0xbf
mov edi, 0xff
jg 0x479f8d
cmp byte [eax + 0xfe], 0xbf
mov edi, 0xfe
jg 0x479f8d
mov edi, 0xfd
cmp edi, ecx
jae 0x479fb3
mov dword [esp], eax
mov dword [esp + 4], edi
mov edi, 5
mov ebx, 0x4b4bbb
cmp esi, ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edi
jbe 0x479fd7
jmp 0x47a061
jne 0x47a104
mov dword [esp], eax
mov dword [esp + 4], ecx
xor edi, edi
mov ebx, str.librarycore_src_numdec2fltdecimal.rs
cmp esi, ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edi
ja 0x47a061
cmp edx, ecx
ja 0x47a061
cmp esi, edx
jbe 0x47a0d4
lea eax, [esp + 0x78]
mov dword [esp + 0xc], 0x4b4c30
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x28], fcn.0047af70
mov dword [esp + 0x2c], eax
mov eax, esp
mov dword [esp + 0x30], fcn.0047af70
mov dword [esp + 0x34], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x38], 0x47b390
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x40], 0x47b390
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x20], 4
push 0x4b4c50
push eax
call fcn.00480680
add esp, 8
ud2
lea eax, [esp + 0x54]
cmp esi, ecx
mov dword [esp + 0xc], 0x4b4be4
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], eax
mov eax, esp
mov dword [esp + 0x28], fcn.0047af70
cmova edx, esi
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x30], 0x47b390
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x38], 0x47b390
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x20], 3
push 0x4b4bfc
push eax
call fcn.00480680
add esp, 8
ud2
test esi, esi
jne 0x47a10c
mov esi, edx
cmp esi, ecx
mov edx, ecx
mov dword [esp + 0x5c], esi
jae 0x47a12f
mov edi, esi
xor edx, edx
sub edi, 3
cmovb edi, edx
lea edx, [esi + 1]
cmp edx, edi
jae 0x47a118
sub esp, 4
push edx
push edi
call fcn.00480760
add esp, 0xc
ud2
sub esp, 4
push edi
push 0
jmp 0x47a142
cmp esi, ecx
jae 0x47a14e
cmp byte [eax + esi], 0xc0
jge 0x47a0d8
jmp 0x47a0da
add edx, eax
add esi, eax
sub edx, eax
sub edx, edi
test edx, edx
je 0x47a12d
dec edx
cmp byte [esi], 0xc0
lea esi, [esi - 1]
jl 0x47a120
add edx, edi
test edx, edx
je 0x47a154
cmp edx, ecx
jae 0x47a152
cmp byte [eax + edx], 0xbf
jg 0x47a154
sub esp, 4
push ecx
push edx
push ecx
push eax
call fcn.004807f0
add esp, 0x14
ud2
je 0x47a0d8
jmp 0x47a0da
jne 0x47a13d
cmp edx, ecx
jne 0x47a16e
push 0x4b4c60
push 0x2b
push str.called__Option::unwrap____on_a__None__value:
call fcn.00480530
add esp, 0xc
ud2
mov bl, byte [eax + edx]
movzx ecx, bl
test bl, bl
js 0x47a183
mov dword [esp + 8], ecx
mov ecx, 1
jmp 0x47a1fc
movzx edi, byte [eax + edx + 1]
and ecx, 0x1f
and edi, 0x3f
cmp bl, 0xdf
jbe 0x47a1c3
movzx esi, byte [eax + edx + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp bl, 0xf0
jb 0x47a1cc
movzx eax, byte [eax + edx + 3]
and ecx, 7
shl esi, 6
shl ecx, 0x12
and eax, 0x3f
or eax, esi
or eax, ecx
cmp eax, 0x110000
je 0x47a158
jmp 0x47a1d3
shl ecx, 6
or ecx, edi
mov eax, ecx
jmp 0x47a1d3
shl ecx, 0xc
or esi, ecx
mov eax, esi
mov ecx, 1
cmp eax, 0x80
mov dword [esp + 8], eax
jb 0x47a1fc
mov ecx, 2
cmp eax, 0x800
jb 0x47a1fc
cmp eax, 0x10000
mov ecx, 4
sbb ecx, 0
lea eax, [esp + 0x5c]
mov dword [esp + 0xc], 0x4b4ca4
mov dword [esp + 0x10], 5
add ecx, edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x54], edx
mov dword [esp + 0x24], eax
lea eax, [esp + 8]
mov dword [esp + 0x28], fcn.0047af70
mov dword [esp + 0x58], ecx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x30], 0x478490
mov dword [esp + 0x34], eax
mov eax, esp
mov dword [esp + 0x38], 0x4766c0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x40], 0x47b390
mov dword [esp + 0x44], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x48], 0x47b390
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x20], 5
push 0x4b4ccc
push eax
call fcn.00480680
add esp, 8
ud2