Function at 0x427880
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 0x4278f9
cmp byte [eax + 0x100], 0xbf
mov edi, 0x100
jg 0x4278cd
cmp byte [eax + 0xff], 0xbf
mov edi, 0xff
jg 0x4278cd
cmp byte [eax + 0xfe], 0xbf
mov edi, 0xfe
jg 0x4278cd
mov edi, 0xfd
cmp edi, ecx
jae 0x4278f3
mov dword [esp], eax
mov dword [esp + 4], edi
mov edi, 5
mov ebx, 0x43d4e3
cmp esi, ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edi
jbe 0x427917
jmp 0x4279a1
jne 0x427a44
mov dword [esp], eax
mov dword [esp + 4], ecx
xor edi, edi
mov ebx, str.from_str_radix_int:_must_lie_in_the_range___2__36_____found
cmp esi, ecx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edi
ja 0x4279a1
cmp edx, ecx
ja 0x4279a1
cmp esi, edx
jbe 0x427a14
lea eax, [esp + 0x78]
mov dword [esp + 0xc], 0x43d558
mov dword [esp + 0x10], 4
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x7c]
mov dword [esp + 0x28], fcn.00428730
mov dword [esp + 0x2c], eax
mov eax, esp
mov dword [esp + 0x30], fcn.00428730
mov dword [esp + 0x34], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x38], 0x428b30
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x40], 0x428b30
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x20], 4
push 0x43d578
push eax
call fcn.00438410
add esp, 8
ud2
lea eax, [esp + 0x54]
cmp esi, ecx
mov dword [esp + 0xc], 0x43d50c
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], eax
mov eax, esp
mov dword [esp + 0x28], fcn.00428730
cmova edx, esi
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x30], 0x428b30
mov dword [esp + 0x54], edx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x38], 0x428b30
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x20], 3
push 0x43d524
push eax
call fcn.00438410
add esp, 8
ud2
test esi, esi
jne 0x427a4c
mov esi, edx
cmp esi, ecx
mov edx, ecx
mov dword [esp + 0x5c], esi
jae 0x427a6f
mov edi, esi
xor edx, edx
sub edi, 3
cmovb edi, edx
lea edx, [esi + 1]
cmp edx, edi
jae 0x427a58
sub esp, 4
push edx
push edi
call fcn.004384f0
add esp, 0xc
ud2
sub esp, 4
push edi
push 0
jmp 0x427a82
cmp esi, ecx
jae 0x427a8e
cmp byte [eax + esi], 0xc0
jge 0x427a18
jmp 0x427a1a
add edx, eax
add esi, eax
sub edx, eax
sub edx, edi
test edx, edx
je 0x427a6d
dec edx
cmp byte [esi], 0xc0
lea esi, [esi - 1]
jl 0x427a60
add edx, edi
test edx, edx
je 0x427a94
cmp edx, ecx
jae 0x427a92
cmp byte [eax + edx], 0xbf
jg 0x427a94
sub esp, 4
push ecx
push edx
push ecx
push eax
call fcn.00438540
add esp, 0x14
ud2
je 0x427a18
jmp 0x427a1a
jne 0x427a7d
cmp edx, ecx
jne 0x427aae
push 0x43d588
push 0x2b
push str.called__Option::unwrap____on_a__None__value:
call fcn.004382c0
add esp, 0xc
ud2
mov bl, byte [eax + edx]
movzx ecx, bl
test bl, bl
js 0x427ac3
mov dword [esp + 8], ecx
mov ecx, 1
jmp 0x427b3c
movzx edi, byte [eax + edx + 1]
and ecx, 0x1f
and edi, 0x3f
cmp bl, 0xdf
jbe 0x427b03
movzx esi, byte [eax + edx + 2]
shl edi, 6
and esi, 0x3f
or esi, edi
cmp bl, 0xf0
jb 0x427b0c
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 0x427a98
jmp 0x427b13
shl ecx, 6
or ecx, edi
mov eax, ecx
jmp 0x427b13
shl ecx, 0xc
or esi, ecx
mov eax, esi
mov ecx, 1
cmp eax, 0x80
mov dword [esp + 8], eax
jb 0x427b3c
mov ecx, 2
cmp eax, 0x800
jb 0x427b3c
cmp eax, 0x10000
mov ecx, 4
sbb ecx, 0
lea eax, [esp + 0x5c]
mov dword [esp + 0xc], 0x43d5cc
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.00428730
mov dword [esp + 0x58], ecx
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x30], 0x4261d0
mov dword [esp + 0x34], eax
mov eax, esp
mov dword [esp + 0x38], 0x4242e0
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x40], 0x428b30
mov dword [esp + 0x44], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x48], 0x428b30
mov dword [esp + 0x1c], eax
lea eax, [esp + 0xc]
mov dword [esp + 0x20], 5
push 0x43d5f4
push eax
call fcn.00438410
add esp, 8
ud2