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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5dc
mov eax, dword [esp + 0x5f0]
test eax, eax
je 0x4bf450
cmp byte [edx], 0x5b
jne 0x4bf450
cmp byte [edx + eax - 1], 0x5d
jne 0x4bf749
cmp eax, 2
jb 0x4c0440
cmp byte [edx + 1], 0xbf
jle 0x4c0440
mov edi, ecx
add eax, 0xfffffffe
lea esi, [esp + 0x1e0]
inc edx
mov ecx, esi
push eax
call fcn.004c0720
add esp, 4
cmp byte [esi], 0
je 0x4bf81c
mov al, byte [esp + 0x1e1]
mov byte [edi + 1], al
mov al, 3
jmp 0x4bf83a
add eax, edx
lea esi, [esp + 0x6c]
mov dword [esp + 0x3c], ecx
mov ecx, esi
push eax
call fcn.00439b1f
add esp, 4
mov eax, dword [esi + 4]
lea edx, [esp + 0xe0]
mov ecx, 0x516860
lea edi, [esp + 0x1e0]
lea ebx, [esp + 0x78]
mov dword [esp + 0x24], eax
mov ebp, dword [esi + 8]
xor esi, esi
xor eax, eax
inc esi
mov dword [esp], eax
mov dword [edi + 0x3f8], eax
mov dword [ebx + 0x64], eax
mov dword [edi], eax
mov dword [ebx], eax
mov dword [edx], esi
mov dword [edx + 4], eax
mov dword [edx + 8], 0x5049dc
mov dword [edx + 0x20], esi
mov dword [esp + 4], esi
lea esi, [esp + 0xc]
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], 0x50eb14
mov dword [edx + 0x5c], eax
mov dword [edx + 0x60], ecx
mov dword [edx + 0x90], eax
mov dword [edx + 0x94], 0x503398
mov word [edx + 0xac], 0x41
mov byte [edx + 0xae], 0x41
mov dword [edx + 0xb0], eax
mov dword [edx + 0xb4], 0x50ff2c
mov dword [edx + 0xcc], eax
mov dword [edx + 0xd0], ecx
mov dword [edx + 0xc0], 0x51eb48
mov dword [edx + 0xc4], 0x518d90
mov dword [edx + 0xc8], 0x51a8b4
mov dword [esp + 8], eax
mov ecx, esi
push ebx
push edi
push ebp
mov eax, dword [esp + 0x30]
push eax
call fcn.004257f3
add esp, 0x10
mov eax, dword [esi]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x4bf563
lea ecx, [esp + 0x78]
call fcn.00428d4d
lea ecx, [esp + 0x1e0]
call fcn.00428d2f
mov ebx, dword [esp + 0x24]
mov ebp, 0x80000000
shr ebx, 8
jmp 0x4bf58c
cmp byte [esp + 0x11], 0
je 0x4bf753
lea ecx, [esp + 0x78]
call fcn.00428d4d
lea ecx, [esp + 0x1e0]
call fcn.00428d2f
mov ebp, 0x80000001
mov dword [esp + 0x24], eax
cmp dword [esp], 0
je 0x4bf5a4
push dword [esp + 4]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea esi, [esp + 0x13c]
mov ecx, esi
call fcn.00428db3
cmp dword [esi - 0x3c], 2
je 0x4bf5dc
cmp dword [esp + 0x104], 0
je 0x4bf5dc
lea ecx, [esp + 0x108]
lea esi, [esp + 0x104]
call fcn.00428dcc
mov ecx, esi
call fcn.00428df0
cmp dword [esp + 0x170], 0
je 0x4bf5f2
lea ecx, [esp + 0x170]
call fcn.00428e35
cmp dword [esp + 0xe0], 0
je 0x4bf612
cmp dword [esp + 0xe4], 0
je 0x4bf612
lea ecx, [esp + 0xe4]
call fcn.00428e35
lea esi, [esp + 0x1ac]
cmp dword [esi - 0x1c], 0
je 0x4bf639
lea ecx, [esp + 0x194]
lea edi, [esp + 0x190]
call fcn.00428e5f
mov ecx, edi
call fcn.00428df0
mov ecx, esi
call fcn.00428db3
cmp ebp, 0x80000001
jne 0x4bf656
mov eax, dword [esp + 0x3c]
mov word [eax], 0x103
jmp 0x4c037a
movzx edi, byte [esp + 0x24]
mov esi, dword [esp + 0x1c]
shl ebx, 8
or edi, ebx
xor ebx, ebx
test esi, esi
je 0x4c0359
lea ecx, [esp + 0x1e0]
mov eax, 0x2e
mov dword [ecx], eax
mov dword [ecx + 4], edi
mov dword [ecx + 8], esi
mov dword [ecx + 0xc], ebx
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], 1
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], ebx
mov dword [ecx + 0x20], esi
mov word [ecx + 0x24], 1
call fcn.004c04e9
test eax, eax
je 0x4c0454
test edx, edx
mov dword [esp + 0x2c], edi
je 0x4bf776
xor ecx, ecx
cmp edx, ecx
je 0x4bf6d9
mov bl, byte [eax + ecx]
inc ecx
add bl, 0xd0
cmp bl, 0xa
jb 0x4bf6b9
mov ecx, eax
call fcn.004c0615
cmp eax, 2
je 0x4bf795
mov eax, 0x2e
lea edx, [esp + 0xe0]
mov ebx, edi
mov dword [edx], eax
mov dword [edx + 4], edi
xor edi, edi
mov dword [edx + 8], esi
mov dword [edx + 0xc], edi
mov dword [edx + 0x10], esi
mov dword [edx + 0x14], 1
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], edi
mov dword [edx + 0x20], esi
lea esi, [esp + 0x1e0]
mov word [edx + 0x24], 1
mov ecx, esi
call fcn.00418484
cmp dword [esi], edi
je 0x4bf84e
mov ecx, dword [esp + 0xfc]
mov esi, dword [esp + 0x1e4]
mov eax, dword [esp + 0x1e8]
lea edi, [ebx + ecx]
sub esi, ecx
mov dword [esp + 0xfc], eax
jmp 0x4c00db
mov word [ecx], 0x403
jmp 0x4c039b
mov ecx, dword [esp + 0x5d8]
cmp ecx, 0xfd
jbe 0x4bf7ea
mov edx, dword [esp + 0x1e4]
mov eax, dword [esp + 0x1e8]
jmp 0x4bf7f3
lea ecx, [esp + 0x1e0]
call fcn.004c04e9
test eax, eax
je 0x4bf795
test edx, edx
jne 0x4bf6b7
xor edx, edx
jmp 0x4bf6c9
mov ecx, esi
call fcn.004098ca
mov ebx, esi
mov esi, eax
mov eax, edi
mov edi, edx
push ebx
push eax
push edx
call fcn.004e4d00
add esp, 0xc
mov ecx, dword [esp + 0x3c]
movzx eax, word [esp + 0x1e0]
mov dl, byte [esp + 0x1e2]
mov byte [ecx], 0
mov word [ecx + 1], ax
mov byte [ecx + 3], dl
mov dword [ecx + 4], esi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], ebx
test ebp, 0x7fffffff
je 0x4c037a
push dword [esp + 0x2c]
jmp 0x4c036c
lea eax, [esp + 0x1e4]
mov edx, ecx
test edx, edx
je 0x4bf802
cmp dword [eax + edx*4 - 4], 0x2e
je 0x4bf885
cmp ecx, 0xfd
jbe 0x4bf841
mov edx, dword [esp + 0x1e4]
mov eax, dword [esp + 0x1e8]
mov ebx, ecx
jmp 0x4bf888
movsd xmm0, qword [esp + 0x1e1]
movsd xmm1, qword [esp + 0x1e9]
mov al, 2
movsd qword [edi + 9], xmm1
movsd qword [edi + 1], xmm0
mov byte [edi], al
jmp 0x4c039b
lea eax, [esp + 0x1e4]
mov ebx, ecx
mov edx, ecx
jmp 0x4bf888
cmp byte [esp + 0x105], 0
jne 0x4c0480
mov byte [esp + 0x105], 1
cmp byte [esp + 0x104], 0
je 0x4c00bc
mov edi, dword [esp + 0xfc]
mov esi, dword [esp + 0x100]
jmp 0x4c00d2
mov ebx, ecx
dec edx
lea esi, [edx*4]
mov edi, edx
test esi, esi
je 0x4bf8ac
cmp dword [eax + esi - 4], 0x2e
mov ecx, edi
lea edi, [edi - 1]
lea esi, [esi - 4]
jne 0x4bf891
cmp ecx, edx
ja 0x4c04a6
mov eax, dword [esp + 0xdc]
cmp eax, 8
jbe 0x4bf8c5
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
jmp 0x4bf8c9
lea edx, [esp + 0x7c]
mov esi, ebx
cmp ebx, 0xfd
lea eax, [eax + eax*2]
jbe 0x4bf8e6
mov esi, dword [esp + 0x1e4]
mov ecx, dword [esp + 0x1e8]
jmp 0x4bf8ed
lea ecx, [esp + 0x1e4]
lea eax, [edx + eax*4]
mov dword [esp + 0x18], 0
mov dword [esp + 0x50], eax
xor eax, eax
mov ebp, ecx
test esi, esi
je 0x4bf926
lea ecx, [esi*4]
xor ebx, ebx
cmp dword [ebp + ebx*4], 0x2e
je 0x4bf934
inc ebx
add ecx, 0xfffffffc
jne 0x4bf90d
mov cl, 1
mov ebx, esi
mov dword [esp + 0x40], ecx
mov ecx, ebp
jmp 0x4bf945
mov cl, 1
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x40], ecx
mov ecx, ebp
jmp 0x4bf94d
lea ecx, [ebx + 1]
mov dword [esp + 0x40], 0
sub esi, ecx
lea ecx, [ebp + ebx*4 + 4]
test ebp, ebp
je 0x4c006c
cmp edx, dword [esp + 0x50]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], esi
je 0x4c042c
mov ecx, dword [edx]
mov edi, dword [edx + 4]
mov esi, dword [edx + 8]
test al, 1
mov dword [esp + 0x54], edx
je 0x4bf9b3
test byte [esp + 0x18], 1
jne 0x4bf98a
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jne 0x4bf9b3
jmp 0x4bf540
mov edx, dword [esp + 8]
cmp edx, dword [esp]
jne 0x4bf9a6
mov dword [esp + 0x20], ecx
mov ecx, esp
call fcn.0040997b
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov byte [eax + edx], 0x2e
inc edx
mov dword [esp + 8], edx
test ecx, ecx
je 0x4bfa05
mov eax, ebx
mov edx, ecx
lea ecx, [ebp + ebx*4]
mov dword [esp + 0x34], ecx
lea ecx, [ebx*4]
xor eax, eax
cmp ecx, eax
je 0x4bfa46
cmp dword [ebp + eax], 0x80
lea eax, [eax + 4]
jb 0x4bf9cc
cmp edx, 1
jne 0x4bfb68
test esi, esi
je 0x4bfa22
xor eax, eax
mov ebp, esi
mov cl, byte [edi + eax]
add cl, 0xbf
cmp cl, 0x1a
jb 0x4bff13
inc eax
dec ebp
cmp esi, eax
jne 0x4bf9ee
jmp 0x4bfa22
test esi, esi
je 0x4bfa22
xor eax, eax
mov ebp, esi
mov cl, byte [edi + eax]
add cl, 0xbf
cmp cl, 0x1a
jb 0x4bff06
inc eax
dec ebp
cmp esi, eax
jne 0x4bfa0d
test byte [esp + 0x18], 1
jne 0x4bfb56
mov eax, dword [esp + 0x14]
add eax, esi
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jne 0x4c0050
jmp 0x4bf540
test byte [esp + 0x18], 1
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov esi, ebx
jne 0x4bfa74
cmp eax, edx
ja 0x4c0468
mov edx, dword [esp + 0x24]
mov ecx, esp
push eax
call fcn.004c1f5d
add esp, 4
mov al, 1
mov dword [esp + 0x18], eax
shl esi, 2
test esi, esi
je 0x4c0050
mov ebx, dword [ebp]
cmp ebx, 0x80
jae 0x4bfaaf
mov edx, dword [esp + 8]
cmp edx, dword [esp]
jne 0x4bfa9e
mov ecx, esp
call fcn.0040997b
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov byte [eax + edx], bl
inc edx
mov dword [esp + 8], edx
jmp 0x4bfb4b
mov eax, ebx
cmp ebx, 0x800
mov dword [esp + 0xc], 0
jae 0x4bfadb
shr eax, 6
and bl, 0x3f
or al, 0xc0
or bl, 0x80
mov byte [esp + 0xc], al
mov byte [esp + 0xd], bl
mov eax, 2
jmp 0x4bfb3c
cmp ebx, 0x10000
jae 0x4bfb0a
shr eax, 0xc
or al, 0xe0
mov byte [esp + 0xc], al
mov eax, ebx
and bl, 0x3f
shr eax, 6
or bl, 0x80
and al, 0x3f
or al, 0x80
mov byte [esp + 0xd], al
mov byte [esp + 0xe], bl
mov eax, 3
jmp 0x4bfb3c
shr eax, 0x12
or al, 0xf0
mov byte [esp + 0xc], al
mov eax, ebx
shr eax, 0xc
and al, 0x3f
or al, 0x80
mov byte [esp + 0xd], al
mov eax, ebx
and bl, 0x3f
shr eax, 6
or bl, 0x80
and al, 0x3f
or al, 0x80
mov byte [esp + 0xe], al
mov eax, 4
mov byte [esp + 0xf], bl
mov ecx, esp
lea edx, [esp + 0xc]
push eax
call fcn.004c1f5d
add esp, 4
add ebp, 4
add esi, 0xfffffffc
jmp 0x4bfa77
mov ecx, esp
mov edx, edi
push esi
call fcn.004c1f5d
add esp, 4
jmp 0x4c0050
test byte [esp + 0x18], 1
mov dword [esp + 0x38], ecx
jne 0x4bfb98
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp eax, edx
ja 0x4c0474
mov edx, dword [esp + 0x24]
mov ecx, esp
push eax
call fcn.004c1f5d
add esp, 4
mov al, 1
mov dword [esp + 0x18], eax
mov ecx, esp
mov edx, str.xn__C:Usersigame.cargo_registry_srcindex.crates.io_6f17d22bba15001fidna_1.0.0_srcuts46.rsPunycode_overflows_should_not_be_possible_due_to_PUNYCODE_ENCODE_MAX_INPUT_LENGTH
push 4
call fcn.004c1f5d
add esp, 4
test ebx, ebx
je 0x4c0050
mov esi, dword [esp + 0x38]
dec ebx
xor ecx, ecx
and ebx, 0x3fffffff
mov dword [esp + 0x44], ebx
mov ebx, ebp
mov edi, dword [ebx]
cmp edi, 0x80
jae 0x4bfbf9
mov edx, dword [esp + 8]
mov dword [esp + 0x20], ecx
cmp edx, dword [esp]
jne 0x4bfbe6
mov ecx, esp
call fcn.0040997b
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov ecx, edi
mov byte [eax + edx], cl
mov ecx, dword [esp + 0x20]
inc edx
mov dword [esp + 8], edx
inc ecx
add ebx, 4
add esi, 0xfffffffc
jne 0x4bfbc4
mov edi, dword [esp + 0x38]
xor esi, esi
test ecx, ecx
mov eax, 0
je 0x4bfc45
mov edx, dword [esp + 8]
cmp edx, dword [esp]
jne 0x4bfc2c
mov edi, ecx
mov ecx, esp
call fcn.0040997b
mov ecx, edi
mov edi, dword [esp + 0x38]
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov byte [eax + edx], 0x2d
inc edx
cmp ecx, dword [esp + 0x44]
mov eax, ecx
mov dword [esp + 8], edx
ja 0x4c0050
mov ecx, eax
lea edx, [edi - 4]
mov eax, 0x80
mov dword [esp + 0x20], 0x48
mov dword [esp + 0x48], ebp
mov ebx, ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x4c]
mov ecx, ebp
mov dword [esp + 0x2c], esi
test edi, edi
je 0x4c0413
mov esi, dword [ecx]
mov edx, ebx
add ecx, 4
add edi, 0xfffffffc
add ebx, 0xfffffffc
cmp eax, esi
ja 0x4bfc73
cmp ecx, dword [esp + 0x34]
je 0x4bfcab
shr edx, 2
xor edi, edi
mov ebx, dword [ecx + edi*4]
cmp esi, ebx
mov ebp, ebx
cmovb ebp, esi
cmp eax, ebx
cmovbe esi, ebp
inc edi
cmp edx, edi
jne 0x4bfc97
mov ebx, dword [esp + 0x30]
mov ecx, esi
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x64], esi
sub ecx, eax
lea edi, [ebx + 1]
mov edx, ebp
imul edi, ecx
mov ecx, dword [esp + 0x44]
add edi, dword [esp + 0x2c]
mov eax, dword [edx]
cmp eax, esi
jae 0x4bfcd8
inc edi
je 0x4c0427
cmp eax, esi
jne 0x4bfee2
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x20]
mov esi, 0x1a
mov dword [esp + 0x30], ebx
mov dword [esp + 0x28], edi
lea ecx, [edx - 0x24]
lea eax, [edx + 0x1a]
neg ecx
cmp eax, 0x25
mov dword [esp + 0x2c], eax
cmovb ecx, esi
cmp edx, 0x24
mov edx, 1
cmovae ecx, edx
cmp edi, ecx
jb 0x4bfdd9
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov ebp, 0x48
neg esi
mov ebx, ecx
sub ebx, 0x24
je 0x4c00a8
sub edi, ecx
neg ebx
xor edx, edx
mov eax, edi
div ebx
mov ebx, 0x61
add edx, ecx
mov edi, eax
cmp edx, 0x1a
jb 0x4bfd5a
mov ebx, 0x16
cmp edx, 0x24
jae 0x4c03ff
add ebx, edx
cmp ebx, 0x80
jae 0x4bfd86
mov edx, dword [esp + 8]
cmp edx, dword [esp]
jne 0x4bfd78
mov ecx, esp
call fcn.0040997b
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov byte [eax + edx], bl
inc edx
mov dword [esp + 8], edx
jmp 0x4bfdb3
mov eax, ebx
and bl, 0x3f
mov dword [esp + 0xc], 0
mov ecx, esp
lea edx, [esp + 0xc]
shr eax, 6
or bl, 0x80
or al, 0xc0
mov byte [esp + 0xc], al
mov byte [esp + 0xd], bl
push 2
call fcn.004c1f5d
add esp, 4
cmp ebp, dword [esp + 0x2c]
lea ecx, [esi + ebp]
mov eax, 0x1a
cmovae ecx, eax
cmp ebp, dword [esp + 0x20]
mov eax, 1
cmovbe ecx, eax
add ebp, 0x24
cmp edi, ecx
jae 0x4bfd29
mov ebx, 0x61
cmp edi, 0x1a
jb 0x4bfdf1
mov ebx, 0x16
cmp edi, 0x24
jae 0x4c03ff
add ebx, edi
cmp ebx, 0x80
jae 0x4bfe25
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
cmp edx, dword [esp]
jne 0x4bfe17
mov ecx, esp
call fcn.0040997b
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov byte [eax + edx], bl
inc edx
mov dword [esp + 8], edx
jmp 0x4bfe5a
mov eax, ebx
and bl, 0x3f
mov dword [esp + 0xc], 0
mov ecx, esp
lea edx, [esp + 0xc]
shr eax, 6
or bl, 0x80
or al, 0xc0
mov byte [esp + 0xc], al
mov byte [esp + 0xd], bl
push 2
call fcn.004c1f5d
add esp, 4
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x60]
mov ebx, esi
inc ebx
je 0x4c03eb
cmp esi, eax
mov ecx, 2
mov eax, 0x2bc
cmove ecx, eax
mov eax, edi
xor edx, edx
div ecx
xor edx, edx
mov esi, eax
div ebx
mov ecx, eax
add ecx, esi
xor esi, esi
cmp ecx, 0x1c8
jb 0x4bfeb3
mov ebp, ecx
mov edi, 0xd41d41d5
mov eax, ecx
add esi, 0x24
mul edi
sub ebp, edx
shr ebp, 1
add ebp, edx
shr ebp, 5
cmp ecx, 0x3e57
mov ecx, ebp
ja 0x4bfe97
jmp 0x4bfeb5
mov ebp, ecx
lea eax, [ebp*4]
add ebp, 0x26
xor edx, edx
xor edi, edi
lea eax, [eax + eax*8]
div bp
mov ebp, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x68]
movzx eax, ax
add eax, esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x20], eax
add edx, 4
cmp edx, dword [esp + 0x34]
jne 0x4bfccb
inc esi
inc edi
cmp ebx, ecx
mov eax, esi
mov esi, edi
mov edi, dword [esp + 0x38]
jbe 0x4bfc65
jmp 0x4c0050
test byte [esp + 0x18], 1
je 0x4bff27
mov esi, eax
mov edx, edi
jmp 0x4bff47
test byte [esp + 0x18], 1
je 0x4bffbe
mov edx, edi
mov esi, eax
jmp 0x4bffde
mov ecx, dword [esp + 0x14]
mov dl, 1
mov dword [esp + 0x18], edx
add ecx, eax
cmp ecx, dword [esp + 0x1c]
ja 0x4c04cd
mov edx, dword [esp + 0x24]
mov esi, ecx
mov dword [esp + 0x14], ecx
add edi, eax
mov ecx, esp
push esi
call fcn.004c1f5d
add esp, 4
mov al, byte [edi]
mov ecx, eax
add cl, 0xbf
cmp cl, 0x1a
setb bl
shl bl, 5
or bl, al
js 0x4bff8a
mov edx, dword [esp + 8]
cmp edx, dword [esp]
jne 0x4bff7c
mov ecx, esp
call fcn.0040997b
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov byte [eax + edx], bl
inc edx
mov dword [esp + 8], edx
jmp 0x4bffb5
shr al, 6
and bl, 0x3f
mov dword [esp + 0xc], 0
mov ecx, esp
lea edx, [esp + 0xc]
or al, 0xc0
or bl, 0x80
mov byte [esp + 0xc], al
mov byte [esp + 0xd], bl
push 2
call fcn.004c1f5d
add esp, 4
inc edi
dec ebp
jne 0x4bff54
jmp 0x4c0050
mov ecx, dword [esp + 0x14]
mov dl, 1
mov dword [esp + 0x18], edx
add ecx, eax
cmp ecx, dword [esp + 0x1c]
ja 0x4c04db
mov edx, dword [esp + 0x24]
mov esi, ecx
mov dword [esp + 0x14], ecx
add edi, eax
mov ecx, esp
push esi
call fcn.004c1f5d
add esp, 4
mov al, byte [edi]
mov ecx, eax
add cl, 0xbf
cmp cl, 0x1a
setb bl
shl bl, 5
or bl, al
js 0x4c0021
mov edx, dword [esp + 8]
cmp edx, dword [esp]
jne 0x4c0013
mov ecx, esp
call fcn.0040997b
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov byte [eax + edx], bl
inc edx
mov dword [esp + 8], edx
jmp 0x4c004c
shr al, 6
and bl, 0x3f
mov dword [esp + 0xc], 0
mov ecx, esp
lea edx, [esp + 0xc]
or al, 0xc0
or bl, 0x80
mov byte [esp + 0xc], al
mov byte [esp + 0xd], bl
push 2
call fcn.004c1f5d
add esp, 4
inc edi
dec ebp
jne 0x4bffeb
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov al, 1
add edx, 0xc
cmp byte [esp + 0x40], 0
je 0x4bf8fe
lea ecx, [esp + 0x78]
call fcn.00428d4d
lea ecx, [esp + 0x1e0]
call fcn.00428d2f
movzx edx, byte [esp + 7]
mov al, byte [esp + 4]
mov ecx, dword [esp + 8]
movzx ebx, word [esp + 5]
mov ebp, dword [esp]
shl edx, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], ecx
or ebx, edx
jmp 0x4bf5a4
mov ecx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zerodriver_missing
mov edx, 0x39
push 0x51ee80
call fcn.004e8ca0
mov edi, dword [esp + 0xfc]
mov esi, dword [esp + 0x100]
cmp esi, edi
je 0x4c0480
sub esi, edi
add edi, dword [esp + 0xe4]
call fcn.004c0a88
lea edx, [esp + 0x1e0]
mov dword [eax], edi
mov dword [eax + 4], esi
mov dword [esp], 4
mov dword [esp + 4], eax
mov dword [esp + 8], 1
lea esi, [esp + 0xe0]
mov ecx, 0xa
mov ebx, eax
mov edi, edx
rep movsd dword es:[edi], dword [esi]
cmp byte [edx + 0x25], 0
je 0x4c0126
mov ecx, dword [esp]
mov esi, dword [esp + 4]
xor edx, edx
inc edx
jmp 0x4c01fa
xor edx, edx
mov dword [esp + 0x28], ebp
inc edx
mov ebp, dword [esp + 0x1e4]
mov edi, edx
lea ecx, [esp + 0x78]
lea edx, [esp + 0x1e0]
call fcn.00418484
cmp dword [esp + 0x78], 0
je 0x4c016e
mov ecx, dword [esp + 0x1fc]
mov esi, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov edx, edi
add ebp, ecx
sub esi, ecx
mov dword [esp + 0x1fc], eax
jmp 0x4c01b7
cmp byte [esp + 0x205], 0
mov edx, edi
jne 0x4c01e7
mov byte [esp + 0x205], 1
cmp byte [esp + 0x204], 0
je 0x4c019c
mov ebp, dword [esp + 0x1fc]
mov esi, dword [esp + 0x200]
jmp 0x4c01ae
mov ebp, dword [esp + 0x1fc]
mov esi, dword [esp + 0x200]
cmp esi, ebp
je 0x4c01e7
sub esi, ebp
add ebp, dword [esp + 0x1e4]
cmp edx, dword [esp]
je 0x4c01d8
mov dword [ebx + edx*8], ebp
mov dword [ebx + edx*8 + 4], esi
inc edx
cmp byte [esp + 0x205], 0
mov dword [esp + 8], edx
je 0x4c012d
jmp 0x4c01e7
mov ecx, esp
call fcn.004b9695
mov ebx, dword [esp + 4]
mov edx, edi
jmp 0x4c01bc
mov ecx, dword [esp]
mov esi, dword [esp + 4]
mov ebp, dword [esp + 0x28]
test edx, edx
je 0x4c0487
cmp dword [esi + edx*8 - 4], 0
mov edi, dword [esp + 0x2c]
lea eax, [edx - 1]
cmovne eax, edx
cmp eax, 4
jbe 0x4c022c
mov bl, 3
test ecx, ecx
je 0x4c0359
push esi
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c0359
xor ebx, ebx
test eax, eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x1e0], ebx
mov dword [esp + 0x1e4], 4
mov dword [esp + 0x1e8], ebx
je 0x4c04b0
lea eax, [esi + eax*8]
mov edi, esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], eax
mov eax, 4
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov ebp, eax
call fcn.004c0615
cmp eax, 1
jne 0x4c0323
cmp ebx, dword [esp + 0x1e0]
mov esi, edx
jne 0x4c02a7
lea ecx, [esp + 0x1e0]
mov edx, ebx
call fcn.00437bbf
mov eax, dword [esp + 0x1e4]
mov ebx, dword [esp + 0x1e8]
jmp 0x4c02a9
mov eax, ebp
mov dword [eax + ebx*4], esi
add edi, 8
mov ebp, dword [esp + 0x1e8]
cmp edi, dword [esp + 0x20]
lea ebx, [ebp + 1]
mov dword [esp + 0x1e8], ebx
jne 0x4c0269
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
call fcn.004bac00
test ebx, ebx
je 0x4c04b9
mov dword [esp + 0x1e8], ebp
xor edx, edx
mov edi, dword [esp + 0x2c]
lea ecx, [ebp*8]
mov eax, dword [esp + 0x1e4]
dec edx
shr edx, cl
mov esi, dword [eax + ebp*4]
cmp esi, edx
ja 0x4c031d
lea edx, [ebp*4]
xor ecx, ecx
cmp edx, ecx
je 0x4c03a6
cmp dword [eax + ecx], 0xff
lea ecx, [ecx + 4]
jbe 0x4c0309
mov ebp, dword [esp + 0x28]
jmp 0x4c0342
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
call fcn.004bac00
cmp dword [esp + 0x1e0], 0
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
je 0x4c0357
push dword [esp + 0x1e4]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov bl, 3
mov eax, dword [esp + 0x3c]
test ebp, 0x7fffffff
mov byte [eax + 1], bl
mov byte [eax], 3
je 0x4c037a
push edi
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x6c]
cmp eax, 0x80000000
je 0x4c039b
test eax, eax
je 0x4c039b
push dword [esp + 0x70]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
add esp, 0x5dc
pop esi
pop edi
pop ebx
pop ebp
ret
test ebp, ebp
je 0x4c03c7
mov ebx, 0x18
mov edi, eax
mov ebp, dword [edi]
mov ecx, ebx
add edi, 4
add ebx, 0xfffffff8
and cl, 0x18
shl ebp, cl
add esi, ebp
add edx, 0xfffffffc
jne 0x4c03b1
bswap esi
push eax
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x28]
mov byte [eax], 1
mov dword [eax + 1], esi
jmp 0x4bf7d5
mov ecx, str.attempt_to_divide_by_zerocalled__Result::unwrap____on_an__Err__value
mov edx, 0x19
push 0x51ee50
call fcn.004e8ca0
mov ecx, str.explicit_panic
mov edx, 0xe
push 0x51eea0
call fcn.004e8ca0
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x51ee70
call fcn.004e8ca0
call fcn.004257ba
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x51ec40
call fcn.004e8ca0
mov ecx, edx
lea esi, [eax - 1]
mov edx, eax
push 0x52d898
push esi
push 1
call fcn.004e9120
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x52d8dc
call fcn.004e8ca0
mov ecx, eax
push 0x51ec80
call fcn.004e8c40
mov ecx, eax
push 0x51ec70
call fcn.004e8c40
xor ecx, ecx
mov esi, 4
mov edx, ecx
xor eax, eax
mov dword [esp + 0x1e0], eax
mov dword [esp + 0x1e4], 4
mov dword [esp + 0x1e8], eax
jmp 0x4c04b2
push 0x527888
call fcn.004e8b80
mov edx, ecx
mov ecx, esi
call fcn.004bac00
mov ecx, str.a_non_empty_list_of_numbers
mov edx, 0x1b
push 0x52d92c
call fcn.004e8fb0
mov edx, dword [esp + 0x1c]
push 0x51ec50
call fcn.004e8c40
mov edx, dword [esp + 0x1c]
push 0x51ec60
call fcn.004e8c40