Function at 0x4bf0da
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 0x4bf144
cmp byte [edx], 0x5b
jne 0x4bf144
cmp byte [edx + eax - 1], 0x5d
jne 0x4bf43d
cmp eax, 2
jb 0x4c0134
cmp byte [edx + 1], 0xbf
jle 0x4c0134
mov edi, ecx
add eax, 0xfffffffe
lea esi, [esp + 0x1e0]
inc edx
mov ecx, esi
push eax
call fcn.004c0414
add esp, 4
cmp byte [esi], 0
je 0x4bf510
mov al, byte [esp + 0x1e1]
mov byte [edi + 1], al
mov al, 3
jmp 0x4bf52e
add eax, edx
lea esi, [esp + 0x6c]
mov dword [esp + 0x3c], ecx
mov ecx, esi
push eax
call fcn.004396af
add esp, 4
mov eax, dword [esi + 4]
lea edx, [esp + 0xe0]
mov ecx, 0x516858
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], 0x5049d4
mov dword [edx + 0x20], esi
mov dword [esp + 4], esi
lea esi, [esp + 0xc]
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], 0x50eb0c
mov dword [edx + 0x5c], eax
mov dword [edx + 0x60], ecx
mov dword [edx + 0x90], eax
mov dword [edx + 0x94], 0x503390
mov word [edx + 0xac], 0x41
mov byte [edx + 0xae], 0x41
mov dword [edx + 0xb0], eax
mov dword [edx + 0xb4], 0x50ff24
mov dword [edx + 0xcc], eax
mov dword [edx + 0xd0], ecx
mov dword [edx + 0xc0], 0x51eb40
mov dword [edx + 0xc4], 0x518d88
mov dword [edx + 0xc8], 0x51a8ac
mov dword [esp + 8], eax
mov ecx, esi
push ebx
push edi
push ebp
mov eax, dword [esp + 0x30]
push eax
call fcn.00425693
add esp, 0x10
mov eax, dword [esi]
mov dword [esp + 0x1c], ebp
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x4bf257
lea ecx, [esp + 0x78]
call fcn.00428bed
lea ecx, [esp + 0x1e0]
call fcn.00428bcf
mov ebx, dword [esp + 0x24]
mov ebp, 0x80000000
shr ebx, 8
jmp 0x4bf280
cmp byte [esp + 0x11], 0
je 0x4bf447
lea ecx, [esp + 0x78]
call fcn.00428bed
lea ecx, [esp + 0x1e0]
call fcn.00428bcf
mov ebp, 0x80000001
mov dword [esp + 0x24], eax
cmp dword [esp], 0
je 0x4bf298
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.00428c53
cmp dword [esi - 0x3c], 2
je 0x4bf2d0
cmp dword [esp + 0x104], 0
je 0x4bf2d0
lea ecx, [esp + 0x108]
lea esi, [esp + 0x104]
call fcn.00428c6c
mov ecx, esi
call fcn.00428c90
cmp dword [esp + 0x170], 0
je 0x4bf2e6
lea ecx, [esp + 0x170]
call fcn.00428cd5
cmp dword [esp + 0xe0], 0
je 0x4bf306
cmp dword [esp + 0xe4], 0
je 0x4bf306
lea ecx, [esp + 0xe4]
call fcn.00428cd5
lea esi, [esp + 0x1ac]
cmp dword [esi - 0x1c], 0
je 0x4bf32d
lea ecx, [esp + 0x194]
lea edi, [esp + 0x190]
call fcn.00428cff
mov ecx, edi
call fcn.00428c90
mov ecx, esi
call fcn.00428c53
cmp ebp, 0x80000001
jne 0x4bf34a
mov eax, dword [esp + 0x3c]
mov word [eax], 0x103
jmp 0x4c006e
movzx edi, byte [esp + 0x24]
mov esi, dword [esp + 0x1c]
shl ebx, 8
or edi, ebx
xor ebx, ebx
test esi, esi
je 0x4c004d
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.004c01dd
test eax, eax
je 0x4c0148
test edx, edx
mov dword [esp + 0x2c], edi
je 0x4bf46a
xor ecx, ecx
cmp edx, ecx
je 0x4bf3cd
mov bl, byte [eax + ecx]
inc ecx
add bl, 0xd0
cmp bl, 0xa
jb 0x4bf3ad
mov ecx, eax
call fcn.004c0309
cmp eax, 2
je 0x4bf489
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.004182f4
cmp dword [esi], edi
je 0x4bf542
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 0x4bfdcf
mov word [ecx], 0x403
jmp 0x4c008f
mov ecx, dword [esp + 0x5d8]
cmp ecx, 0xfd
jbe 0x4bf4de
mov edx, dword [esp + 0x1e4]
mov eax, dword [esp + 0x1e8]
jmp 0x4bf4e7
lea ecx, [esp + 0x1e0]
call fcn.004c01dd
test eax, eax
je 0x4bf489
test edx, edx
jne 0x4bf3ab
xor edx, edx
jmp 0x4bf3bd
mov ecx, esi
call fcn.00497f18
mov ebx, esi
mov esi, eax
mov eax, edi
mov edi, edx
push ebx
push eax
push edx
call fcn.004e4a90
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 0x4c006e
push dword [esp + 0x2c]
jmp 0x4c0060
lea eax, [esp + 0x1e4]
mov edx, ecx
test edx, edx
je 0x4bf4f6
cmp dword [eax + edx*4 - 4], 0x2e
je 0x4bf579
cmp ecx, 0xfd
jbe 0x4bf535
mov edx, dword [esp + 0x1e4]
mov eax, dword [esp + 0x1e8]
mov ebx, ecx
jmp 0x4bf57c
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 0x4c008f
lea eax, [esp + 0x1e4]
mov ebx, ecx
mov edx, ecx
jmp 0x4bf57c
cmp byte [esp + 0x105], 0
jne 0x4c0174
mov byte [esp + 0x105], 1
cmp byte [esp + 0x104], 0
je 0x4bfdb0
mov edi, dword [esp + 0xfc]
mov esi, dword [esp + 0x100]
jmp 0x4bfdc6
mov ebx, ecx
dec edx
lea esi, [edx*4]
mov edi, edx
test esi, esi
je 0x4bf5a0
cmp dword [eax + esi - 4], 0x2e
mov ecx, edi
lea edi, [edi - 1]
lea esi, [esi - 4]
jne 0x4bf585
cmp ecx, edx
ja 0x4c019a
mov eax, dword [esp + 0xdc]
cmp eax, 8
jbe 0x4bf5b9
mov eax, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
jmp 0x4bf5bd
lea edx, [esp + 0x7c]
mov esi, ebx
cmp ebx, 0xfd
lea eax, [eax + eax*2]
jbe 0x4bf5da
mov esi, dword [esp + 0x1e4]
mov ecx, dword [esp + 0x1e8]
jmp 0x4bf5e1
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 0x4bf61a
lea ecx, [esi*4]
xor ebx, ebx
cmp dword [ebp + ebx*4], 0x2e
je 0x4bf628
inc ebx
add ecx, 0xfffffffc
jne 0x4bf601
mov cl, 1
mov ebx, esi
mov dword [esp + 0x40], ecx
mov ecx, ebp
jmp 0x4bf639
mov cl, 1
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x40], ecx
mov ecx, ebp
jmp 0x4bf641
lea ecx, [ebx + 1]
mov dword [esp + 0x40], 0
sub esi, ecx
lea ecx, [ebp + ebx*4 + 4]
test ebp, ebp
je 0x4bfd60
cmp edx, dword [esp + 0x50]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], esi
je 0x4c0120
mov ecx, dword [edx]
mov edi, dword [edx + 4]
mov esi, dword [edx + 8]
test al, 1
mov dword [esp + 0x54], edx
je 0x4bf6a7
test byte [esp + 0x18], 1
jne 0x4bf67e
mov eax, dword [esp + 0x14]
inc eax
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jne 0x4bf6a7
jmp 0x4bf234
mov edx, dword [esp + 8]
cmp edx, dword [esp]
jne 0x4bf69a
mov dword [esp + 0x20], ecx
mov ecx, esp
call fcn.004c1d11
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 0x4bf6f9
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 0x4bf73a
cmp dword [ebp + eax], 0x80
lea eax, [eax + 4]
jb 0x4bf6c0
cmp edx, 1
jne 0x4bf85c
test esi, esi
je 0x4bf716
xor eax, eax
mov ebp, esi
mov cl, byte [edi + eax]
add cl, 0xbf
cmp cl, 0x1a
jb 0x4bfc07
inc eax
dec ebp
cmp esi, eax
jne 0x4bf6e2
jmp 0x4bf716
test esi, esi
je 0x4bf716
xor eax, eax
mov ebp, esi
mov cl, byte [edi + eax]
add cl, 0xbf
cmp cl, 0x1a
jb 0x4bfbfa
inc eax
dec ebp
cmp esi, eax
jne 0x4bf701
test byte [esp + 0x18], 1
jne 0x4bf84a
mov eax, dword [esp + 0x14]
add eax, esi
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
jne 0x4bfd44
jmp 0x4bf234
test byte [esp + 0x18], 1
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
mov esi, ebx
jne 0x4bf768
cmp eax, edx
ja 0x4c015c
mov edx, dword [esp + 0x24]
mov ecx, esp
push eax
call fcn.004c1c51
add esp, 4
mov al, 1
mov dword [esp + 0x18], eax
shl esi, 2
test esi, esi
je 0x4bfd44
mov ebx, dword [ebp]
cmp ebx, 0x80
jae 0x4bf7a3
mov edx, dword [esp + 8]
cmp edx, dword [esp]
jne 0x4bf792
mov ecx, esp
call fcn.004c1d11
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov byte [eax + edx], bl
inc edx
mov dword [esp + 8], edx
jmp 0x4bf83f
mov eax, ebx
cmp ebx, 0x800
mov dword [esp + 0xc], 0
jae 0x4bf7cf
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 0x4bf830
cmp ebx, 0x10000
jae 0x4bf7fe
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 0x4bf830
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.004c1c51
add esp, 4
add ebp, 4
add esi, 0xfffffffc
jmp 0x4bf76b
mov ecx, esp
mov edx, edi
push esi
call fcn.004c1c51
add esp, 4
jmp 0x4bfd44
test byte [esp + 0x18], 1
mov dword [esp + 0x38], ecx
jne 0x4bf88c
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
cmp eax, edx
ja 0x4c0168
mov edx, dword [esp + 0x24]
mov ecx, esp
push eax
call fcn.004c1c51
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.004c1c51
add esp, 4
test ebx, ebx
je 0x4bfd44
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 0x4bf8ed
mov edx, dword [esp + 8]
mov dword [esp + 0x20], ecx
cmp edx, dword [esp]
jne 0x4bf8da
mov ecx, esp
call fcn.004c1d11
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 0x4bf8b8
mov edi, dword [esp + 0x38]
xor esi, esi
test ecx, ecx
mov eax, 0
je 0x4bf939
mov edx, dword [esp + 8]
cmp edx, dword [esp]
jne 0x4bf920
mov edi, ecx
mov ecx, esp
call fcn.004c1d11
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 0x4bfd44
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 0x4c0107
mov esi, dword [ecx]
mov edx, ebx
add ecx, 4
add edi, 0xfffffffc
add ebx, 0xfffffffc
cmp eax, esi
ja 0x4bf967
cmp ecx, dword [esp + 0x34]
je 0x4bf99f
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 0x4bf98b
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 0x4bf9cc
inc edi
je 0x4c011b
cmp eax, esi
jne 0x4bfbd6
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 0x4bfacd
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x28]
mov ebp, 0x48
neg esi
mov ebx, ecx
sub ebx, 0x24
je 0x4bfd9c
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 0x4bfa4e
mov ebx, 0x16
cmp edx, 0x24
jae 0x4c00f3
add ebx, edx
cmp ebx, 0x80
jae 0x4bfa7a
mov edx, dword [esp + 8]
cmp edx, dword [esp]
jne 0x4bfa6c
mov ecx, esp
call fcn.004c1d11
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov byte [eax + edx], bl
inc edx
mov dword [esp + 8], edx
jmp 0x4bfaa7
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.004c1c51
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 0x4bfa1d
mov ebx, 0x61
cmp edi, 0x1a
jb 0x4bfae5
mov ebx, 0x16
cmp edi, 0x24
jae 0x4c00f3
add ebx, edi
cmp ebx, 0x80
jae 0x4bfb19
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
cmp edx, dword [esp]
jne 0x4bfb0b
mov ecx, esp
call fcn.004c1d11
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov byte [eax + edx], bl
inc edx
mov dword [esp + 8], edx
jmp 0x4bfb4e
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.004c1c51
add esp, 4
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x60]
mov ebx, esi
inc ebx
je 0x4c00df
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 0x4bfba7
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 0x4bfb8b
jmp 0x4bfba9
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 0x4bf9bf
inc esi
inc edi
cmp ebx, ecx
mov eax, esi
mov esi, edi
mov edi, dword [esp + 0x38]
jbe 0x4bf959
jmp 0x4bfd44
test byte [esp + 0x18], 1
je 0x4bfc1b
mov esi, eax
mov edx, edi
jmp 0x4bfc3b
test byte [esp + 0x18], 1
je 0x4bfcb2
mov edx, edi
mov esi, eax
jmp 0x4bfcd2
mov ecx, dword [esp + 0x14]
mov dl, 1
mov dword [esp + 0x18], edx
add ecx, eax
cmp ecx, dword [esp + 0x1c]
ja 0x4c01c1
mov edx, dword [esp + 0x24]
mov esi, ecx
mov dword [esp + 0x14], ecx
add edi, eax
mov ecx, esp
push esi
call fcn.004c1c51
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 0x4bfc7e
mov edx, dword [esp + 8]
cmp edx, dword [esp]
jne 0x4bfc70
mov ecx, esp
call fcn.004c1d11
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov byte [eax + edx], bl
inc edx
mov dword [esp + 8], edx
jmp 0x4bfca9
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.004c1c51
add esp, 4
inc edi
dec ebp
jne 0x4bfc48
jmp 0x4bfd44
mov ecx, dword [esp + 0x14]
mov dl, 1
mov dword [esp + 0x18], edx
add ecx, eax
cmp ecx, dword [esp + 0x1c]
ja 0x4c01cf
mov edx, dword [esp + 0x24]
mov esi, ecx
mov dword [esp + 0x14], ecx
add edi, eax
mov ecx, esp
push esi
call fcn.004c1c51
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 0x4bfd15
mov edx, dword [esp + 8]
cmp edx, dword [esp]
jne 0x4bfd07
mov ecx, esp
call fcn.004c1d11
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov byte [eax + edx], bl
inc edx
mov dword [esp + 8], edx
jmp 0x4bfd40
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.004c1c51
add esp, 4
inc edi
dec ebp
jne 0x4bfcdf
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 0x4bf5f2
lea ecx, [esp + 0x78]
call fcn.00428bed
lea ecx, [esp + 0x1e0]
call fcn.00428bcf
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 0x4bf298
mov ecx, str.attempt_to_calculate_the_remainder_with_a_divisor_of_zerodriver_missing
mov edx, 0x39
push 0x51ee78
call fcn.004e8a30
mov edi, dword [esp + 0xfc]
mov esi, dword [esp + 0x100]
cmp esi, edi
je 0x4c0174
sub esi, edi
add edi, dword [esp + 0xe4]
call fcn.004c077c
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 0x4bfe1a
mov ecx, dword [esp]
mov esi, dword [esp + 4]
xor edx, edx
inc edx
jmp 0x4bfeee
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.004182f4
cmp dword [esp + 0x78], 0
je 0x4bfe62
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 0x4bfeab
cmp byte [esp + 0x205], 0
mov edx, edi
jne 0x4bfedb
mov byte [esp + 0x205], 1
cmp byte [esp + 0x204], 0
je 0x4bfe90
mov ebp, dword [esp + 0x1fc]
mov esi, dword [esp + 0x200]
jmp 0x4bfea2
mov ebp, dword [esp + 0x1fc]
mov esi, dword [esp + 0x200]
cmp esi, ebp
je 0x4bfedb
sub esi, ebp
add ebp, dword [esp + 0x1e4]
cmp edx, dword [esp]
je 0x4bfecc
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 0x4bfe21
jmp 0x4bfedb
mov ecx, esp
call fcn.004b9385
mov ebx, dword [esp + 4]
mov edx, edi
jmp 0x4bfeb0
mov ecx, dword [esp]
mov esi, dword [esp + 4]
mov ebp, dword [esp + 0x28]
test edx, edx
je 0x4c017b
cmp dword [esi + edx*8 - 4], 0
mov edi, dword [esp + 0x2c]
lea eax, [edx - 1]
cmovne eax, edx
cmp eax, 4
jbe 0x4bff20
mov bl, 3
test ecx, ecx
je 0x4c004d
push esi
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4c004d
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 0x4c01a4
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.004c0309
cmp eax, 1
jne 0x4c0017
cmp ebx, dword [esp + 0x1e0]
mov esi, edx
jne 0x4bff9b
lea ecx, [esp + 0x1e0]
mov edx, ebx
call fcn.0043774d
mov eax, dword [esp + 0x1e4]
mov ebx, dword [esp + 0x1e8]
jmp 0x4bff9d
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 0x4bff5d
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
call fcn.004ba8f0
test ebx, ebx
je 0x4c01ad
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 0x4c0011
lea edx, [ebp*4]
xor ecx, ecx
cmp edx, ecx
je 0x4c009a
cmp dword [eax + ecx], 0xff
lea ecx, [ecx + 4]
jbe 0x4bfffd
mov ebp, dword [esp + 0x28]
jmp 0x4c0036
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
call fcn.004ba8f0
cmp dword [esp + 0x1e0], 0
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
je 0x4c004b
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 0x4c006e
push edi
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x6c]
cmp eax, 0x80000000
je 0x4c008f
test eax, eax
je 0x4c008f
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 0x4c00bb
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 0x4c00a5
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 0x4bf4c9
mov ecx, str.attempt_to_divide_by_zerocalled__Result::unwrap____on_an__Err__value
mov edx, 0x19
push 0x51ee48
call fcn.004e8a30
mov ecx, str.explicit_panic
mov edx, 0xe
push 0x51ee98
call fcn.004e8a30
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x51ee68
call fcn.004e8a30
call fcn.0042565a
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x51ec38
call fcn.004e8a30
mov ecx, edx
lea esi, [eax - 1]
mov edx, eax
push 0x52d808
push esi
push 1
call fcn.004e8eb0
mov ecx, str.called__Option::unwrap____on_a__None__value
mov edx, 0x2b
push 0x52d84c
call fcn.004e8a30
mov ecx, eax
push 0x51ec78
call fcn.004e89d0
mov ecx, eax
push 0x51ec68
call fcn.004e89d0
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 0x4c01a6
push 0x5277f8
call fcn.004e8910
mov edx, ecx
mov ecx, esi
call fcn.004ba8f0
mov ecx, str.a_non_empty_list_of_numbers
mov edx, 0x1b
push 0x52d89c
call fcn.004e8d40
mov edx, dword [esp + 0x1c]
push 0x51ec48
call fcn.004e89d0
mov edx, dword [esp + 0x1c]
push 0x51ec58
call fcn.004e89d0