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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x44
mov ebp, edx
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x78]
mov edi, ecx
lea eax, [edx + 1]
cmp eax, ebx
jne 0x4bd0b6
mov ecx, dword [ebp + 4]
mov esi, dword [ebp + 8]
test ebx, ebx
je 0x4bd0ee
mov eax, esi
sub eax, ebx
jbe 0x4bd108
cmp byte [ecx + ebx], 0xbf
jg 0x4bd10a
mov edx, esi
push 0x52d3a0
push esi
push ebx
call fcn.004e9120
lea eax, [edx + 3]
mov dword [esp + 0x14], ebx
cmp eax, ebx
jne 0x4bd26e
mov esi, edx
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
mov eax, ebx
sub eax, esi
jb 0x4bd158
cmp dword [esp + 0x5c], 0
je 0x4bd14a
mov esi, dword [esp + 0x5c]
cmp edx, esi
jbe 0x4bd148
cmp byte [ecx + esi], 0xc0
jge 0x4bd14a
jmp 0x4bd158
cmp esi, 2
jb 0x4bd101
movzx eax, word [ecx]
cmp eax, 0x2f2f
je 0x4bd1eb
xor ebx, ebx
jmp 0x4bd22c
jne 0x4bd0a8
cmp eax, 2
jb 0x4bd22c
movzx eax, word [ecx + ebx]
cmp eax, 0x2f2f
jne 0x4bd22c
cmp esi, ebx
jbe 0x4bd1e5
cmp byte [ecx + ebx], 0xbf
jg 0x4bd1eb
mov ecx, str.assertion_failed:_self.is_char_boundary_idx_l
mov edx, 0x2c
push 0x52d0a0
call fcn.004e8ca0
jne 0x4bd158
test ebx, ebx
je 0x4bd169
cmp edx, ebx
jbe 0x4bd167
cmp byte [ecx + ebx], 0xbf
jg 0x4bd169
push 0x52d2fc
push ebx
push dword [esp + 0x64]
call fcn.004e9120
jne 0x4bd158
cmp eax, 3
jne 0x4bd26e
mov esi, dword [esp + 0x5c]
movzx eax, word [ecx + esi]
movzx esi, byte [ecx + esi + 2]
xor eax, 0x2f3a
xor esi, 0x2e
or si, ax
jne 0x4bd26e
cmp edx, ebx
jbe 0x4bd5c7
cmp byte [ecx + ebx], 0x2f
jne 0x4bd5f7
lea eax, [ebx + 1]
cmp eax, edx
jae 0x4bd1b3
cmp byte [ecx + eax], 0x2f
je 0x4bd525
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4bd347
cmp edx, eax
jbe 0x4bd341
cmp byte [ecx + eax], 0xc0
jge 0x4bd347
mov ecx, str.assertion_failed:_self.is_char_boundary_n_
mov edx, 0x2a
push 0x52d730
call fcn.004e8ca0
jne 0x4bd134
mov eax, dword [ebp]
sub eax, esi
cmp eax, 1
jbe 0x4bd587
lea eax, [ebx + 2]
lea edx, [ecx + ebx + 2]
add ecx, ebx
mov dword [esp], eax
mov eax, esi
sub eax, ebx
push eax
push ecx
mov ebx, edx
push edx
call fcn.004e5280
add esp, 0xc
add esi, 2
mov word [ebx - 2], 0x2e2f
mov ebx, dword [esp]
mov edx, dword [esp + 0x5c]
mov dword [ebp + 8], esi
mov ecx, dword [ebp + 4]
test edx, edx
je 0x4bd241
mov eax, esi
sub eax, edx
jbe 0x4bd245
cmp byte [ecx + edx], 0xbf
jg 0x4bd24b
jmp 0x4bd5d3
mov eax, esi
jmp 0x4bd24b
jne 0x4bd5d3
cmp eax, 3
mov dword [esp + 0x14], ebx
jb 0x4bd26e
movzx eax, word [ecx + edx]
movzx ecx, byte [ecx + edx + 2]
xor eax, 0x2f3a
xor ecx, 0x2f
or cx, ax
je 0x4bd5e3
mov al, byte [esp + 0x58]
lea esi, [esp + 0x18]
mov edx, ebp
mov ecx, esi
movzx eax, al
push dword [esp + 0x80]
push dword [esp + 0x80]
mov ebx, ebp
mov ebp, dword [esp + 0x64]
push ebp
push eax
call fcn.004be108
add esp, 0x10
mov esi, dword [esi]
cmp esi, 2
jne 0x4bd2c5
mov al, byte [esp + 0x1c]
cmp dword [ebx], 0
mov byte [edi + 4], al
je 0x4bd337
push dword [ebx + 4]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4bd337
mov eax, dword [ebx + 8]
movsd xmm0, qword [ebx]
movzx ecx, word [esp + 0x70]
movzx ebx, word [esp + 0x74]
mov edx, dword [esp + 0x60]
mov dword [edi + 0x18], eax
mov eax, dword [esp + 0x6c]
movsd qword [edi + 0x10], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
mov al, byte [eax + 0x10]
mov byte [edi + 0x44], al
mov eax, dword [esp + 0x1c]
movsd qword [edi + 0x34], xmm0
movsd qword [edi + 0x3c], xmm1
mov dword [edi + 4], eax
mov eax, dword [esp + 0x20]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0xc], eax
mov word [edi + 0x1c], cx
mov ecx, dword [esp + 0x64]
mov word [edi + 0x1e], bx
mov dword [edi + 0x20], ebp
mov dword [edi + 0x24], edx
mov edx, dword [esp + 0x68]
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x2c], edx
mov dword [edi + 0x30], ecx
mov dword [edi], esi
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
jne 0x4bd1d1
cmp ebx, eax
jb 0x4bd608
cmp edx, ebx
jb 0x4bd618
lea esi, [esp + 0x2c]
sub edx, ebx
mov ecx, 0x52d8ca
mov dword [ebp + 8], eax
mov dword [esi - 0xc], ebp
mov dword [esi - 8], ebx
mov dword [esi - 4], edx
mov dword [esi], ecx
lea edx, [0x52d8cb]
mov ecx, str.C:Usersigame.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_src_aes.rs
mov dword [esi + 4], edx
mov dword [esi - 0x14], ecx
mov dword [esi - 0x10], ecx
mov ecx, ebp
jne 0x4bd394
mov edx, esi
call fcn.004becc4
jmp 0x4bd513
mov edx, ebx
push esi
call fcn.004bf147
add esp, 4
test al, al
je 0x4bd513
mov eax, dword [esp + 0x30]
mov ecx, eax
sub ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov ecx, eax
je 0x4bd424
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 8], ecx
mov ecx, dword [ecx]
mov dword [esp + 0xc], edx
add edx, eax
mov dword [esp + 4], eax
sub ecx, edx
cmp ecx, dword [esp]
jb 0x4bd59d
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov eax, dword [eax + 4]
add dword [esp], edx
add edx, eax
add eax, dword [esp]
push dword [esp + 0xc]
push edx
push eax
call fcn.004e5280
add esp, 0xc
mov edx, dword [esp]
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], edx
push esi
call fcn.004bf147
add esp, 4
test al, al
je 0x4bd513
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
sub ecx, eax
call fcn.004098ca
lea ecx, [esp + 0x38]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov edx, esi
mov dword [ecx + 8], 0
call fcn.004becc4
lea ecx, [esp + 0x38]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
test ecx, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
je 0x4bd4fa
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
lea edx, [ecx + esi]
mov dword [esp + 4], ecx
mov ecx, dword [esp]
sub eax, edx
cmp eax, ecx
mov eax, ecx
jb 0x4bd5b1
lea edx, [esi + eax]
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], edx
mov eax, dword [eax + 4]
lea ecx, [eax + esi]
add eax, edx
push dword [esp + 4]
push ecx
push eax
call fcn.004e5280
add esp, 0xc
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov ecx, dword [edx + 8]
cmp ecx, eax
mov dword [esp + 4], ecx
je 0x4bd4fa
mov eax, dword [esp + 4]
xor ecx, ecx
sub esi, eax
add eax, dword [edx + 4]
add esi, dword [esp]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov dword [esp + 0xc], esi
cmp dword [esp], ecx
je 0x4bd4fa
mov esi, edx
mov edx, dword [esp + 8]
mov dl, byte [edx + ecx]
mov byte [eax + ecx], dl
mov edx, esi
mov esi, dword [esp + 0xc]
inc ecx
inc dword [edx + 8]
cmp esi, ecx
jne 0x4bd4db
cmp dword [esp + 0x34], 0
je 0x4bd513
push dword [esp + 8]
push 0
push dword [0x537fc8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
lea ecx, [esp + 0x18]
call fcn.004bf190
mov ecx, dword [ebp + 4]
mov edx, dword [ebp + 8]
add ebx, 0xfffffffe
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x4bd53e
mov eax, edx
sub eax, esi
jbe 0x4bd542
cmp byte [ecx + esi], 0xbf
jg 0x4bd548
jmp 0x4bd624
mov eax, edx
jmp 0x4bd548
jne 0x4bd624
cmp eax, 3
mov dword [esp + 0x14], ebx
jb 0x4bd26e
mov edx, dword [esp + 0x5c]
movzx eax, word [ecx + edx]
movzx ecx, byte [ecx + edx + 2]
xor eax, 0x2f3a
xor ecx, 0x2f
or cx, ax
jne 0x4bd26e
mov ecx, str.assertion_failed:__self.serialization_scheme_end_as_usize.._.starts_with__:____
mov edx, 0x4f
push 0x52d380
call fcn.004e8ca0
mov ecx, ebp
mov edx, esi
push 2
call fcn.004e8810
add esp, 4
mov ecx, dword [ebp + 4]
jmp 0x4bd1f9
mov ecx, dword [esp + 8]
push dword [esp]
call fcn.004ebecc
add esp, 4
jmp 0x4bd3df
mov ecx, dword [esp + 0x10]
push eax
call fcn.004ebecc
mov eax, dword [esp + 4]
add esp, 4
jmp 0x4bd489
mov ecx, ebx
push 0x52d30c
call fcn.004e8be0
mov eax, edx
mov edx, esi
push 0x52d3b0
push esi
push eax
call fcn.004e9120
mov ecx, str.assertion_failed:__self.serialization_scheme_end_as_usize.._.starts_with__:____
mov edx, 0x4f
push 0x52d3c0
call fcn.004e8ca0
lea edx, [esp + 0x18]
add ecx, ebx
mov dword [edx], 0
call fcn.004ed322
mov ecx, dword [esp + 0x5c]
mov edx, ebx
push 0x52d6f4
call fcn.004e8e30
mov ecx, ebx
push 0x52d6f4
call fcn.004e8c40
push 0x52d320
push edx
jmp 0x4bd15e