Function at 0x456240
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x7b8
movzx eax, byte [edx + 0x84]
mov bl, byte [edx + 0x6c]
mov edi, edx
mov dword [esp + 0x28], edi
lea edx, [eax - 2]
cmp edx, 2
jb 0x45629a
cmp eax, 1
jne 0x4562bb
cmp bl, 7
jne 0x45629a
xor ecx, ecx
mov edx, 4
inc ecx
call fcn.0041ed3d
lea ecx, [esp + 0x1f0]
mov dword [ecx + 4], 0
mov dword [ecx], 3
mov dword [ecx + 8], eax
jmp 0x45669e
mov byte [esp + 1], bl
movzx ebx, byte [edi + 0x40]
mov dword [esp + 0x24], ecx
test ebx, ebx
je 0x456322
cmp ebx, 1
jne 0x456326
movzx esi, byte [edi + 0x41]
shl esi, 8
jmp 0x456368
xor ecx, ecx
mov edx, 3
inc ecx
call fcn.0041ed3d
mov esi, eax
mov al, byte [0x538038]
mov ecx, 0x70
mov edx, 8
call fcn.004018b0
test eax, eax
je 0x456e3e
mov dword [eax + 4], 0
mov dword [eax], 3
mov dword [eax + 8], esi
mov edi, eax
mov ecx, 4
mov edx, 4
mov al, byte [0x538038]
call fcn.004018b0
test eax, eax
je 0x456e4d
mov dword [eax], edi
mov esi, eax
mov edi, 0x502a54
jmp 0x4566a7
mov esi, ebx
jmp 0x456368
call fcn.00422a45
mov esi, eax
mov eax, dword [edi + 0x44]
mov edx, dword [eax]
lea ecx, [eax + 0xc]
push dword [eax + 8]
push dword [eax + 4]
push ecx
lea eax, [esp + 0x1fc]
push eax
call dword [edx]
add esp, 0x10
lea eax, [esp + 0x1f0]
mov dword [esp + 0x18], esi
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
xor esi, esi
mov ecx, dword [edi + 0x48]
lea eax, [edi + 0x54]
mov dword [esp + 0x1c], esi
or esi, ebx
lea edx, [esp + 0xec]
push dword [edi + 0x50]
push dword [edi + 0x4c]
push eax
push edx
call dword [ecx]
add esp, 0x10
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x64]
mov dword [esp + 0x20], ebx
lea ebx, [esp + 0x1f0]
push dword [edi + 0x60]
push dword [edi + 0x5c]
push eax
push ebx
call dword [ecx]
add esp, 0x10
movzx eax, word [edi + 0x68]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xec]
mov dword [edx - 8], esi
mov word [ebx + 0x10], ax
mov dword [edx - 4], ecx
mov eax, dword [ebx + 0x10]
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
mov dword [edx + 0x20], eax
mov eax, dword [esp + 0x20]
movsd qword [edx + 0x10], xmm0
movsd qword [edx + 0x18], xmm1
mov edi, dword [edx + 8]
test al, al
je 0x45643b
test edi, edi
je 0x45666c
cmp al, 2
jne 0x4566c4
mov ebx, ecx
call fcn.00422a45
mov ecx, dword [ebx]
mov esi, eax
lea eax, [ebx + 0xc]
push dword [ebx + 8]
push dword [ebx + 4]
push eax
lea eax, [esp + 0x1fc]
push eax
call dword [ecx]
add esp, 0x10
movsd xmm0, qword [esp + 0x1f0]
movsd xmm1, qword [esp + 0x1f8]
mov dword [esp + 0x18], esi
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
xor esi, esi
jmp 0x4566ce
test edi, edi
je 0x45666c
cmp byte [esp + 1], 7
jne 0x45666c
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0xf0]
lea ecx, [esp + 0x1f0]
lea esi, [eax + 0x40]
push edi
call fcn.00417e7f
add esp, 4
xor ebx, ebx
lea ecx, [esp + 0x1f0]
mov dword [esp + 0x20], esi
cmp dword [ecx], ebx
movzx ecx, word [ecx + 8]
setne al
cmp ecx, 0x1bb
sete cl
xor edx, edx
inc edx
test al, cl
mov eax, 0x101
mov ecx, 0xb
cmove eax, edx
lea edx, [esp + 0x128]
mov dword [esp + 0x1c], eax
mov edi, edx
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0xb8]
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x28]
mov ecx, esi
mov dword [eax + 0x44], ebx
mov dword [eax + 0x40], ebx
mov dword [eax + 0x48], 0x4ffdec
mov dword [eax + 0x4c], str.C:Usersigame.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_src_aes.rs
mov dword [eax + 0x50], ebx
mov dword [eax + 0x54], ebx
mov dword [eax + 0x58], 0x5008a4
mov dword [eax + 0x5c], 0x52d31c
mov dword [eax + 0x60], 1
mov dword [eax + 0x64], ebx
mov word [eax + 0x68], 0xffff
call fcn.00418726
mov al, byte [esi]
cmp al, 3
je 0x456513
mov edx, dword [esp + 0xbc]
movzx ecx, al
call fcn.004186d9
mov eax, dword [esp + 0x1c]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0xbc], 0
inc ecx
mov dword [esp + 0xb8], eax
call fcn.00437354
lea esi, [esp + 0x158]
lea edi, [esp + 0x1f0]
mov byte [edx], 0x2f
mov dword [edi], eax
mov dword [edi + 4], edx
mov ecx, esi
mov edx, edi
mov dword [edi + 8], 1
call fcn.00403224
lea edi, [esp + 0x1f0]
mov edx, esi
mov ecx, edi
call fcn.0041bf17
cmp dword [edi], 0
mov ebx, dword [esp + 0x24]
je 0x456e5c
mov eax, dword [esp + 0x200]
lea esi, [esp + 0xd0]
movsd xmm0, qword [esp + 0x1f0]
movsd xmm1, qword [esp + 0x1f8]
mov dword [esp + 0x168], eax
mov eax, dword [esi]
movsd qword [esp + 0x160], xmm1
movsd qword [esp + 0x158], xmm0
test eax, eax
je 0x4565c9
lea ecx, [esp + 0xdc]
push dword [ecx - 4]
push dword [ecx - 8]
push ecx
call dword [eax + 0xc]
add esp, 0xc
lea ecx, [esp + 0x158]
mov eax, dword [ecx + 0x10]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov edx, ecx
mov ecx, 0xb
mov dword [esi + 0x10], eax
lea eax, [esp + 0x1f0]
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
lea esi, [esp + 0xb8]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov edi, edx
mov ecx, edx
mov edx, eax
mov esi, eax
call fcn.0041857f
cmp byte [edi], 3
je 0x456e80
lea edi, [esp + 0x1f0]
lea esi, [esp + 0x158]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x20]
mov ecx, edi
call fcn.00422565
mov ecx, 0xb
lea esi, [esp + 0x1f0]
lea eax, [esp + 0xf8]
lea edx, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax - 0xc]
push dword [eax - 4]
push dword [eax - 8]
push eax
push edx
call dword [ecx]
add esp, 0x10
mov esi, dword [esp + 0x1c]
jmp 0x4566f2
xor ecx, ecx
mov edx, 5
inc ecx
call fcn.0041ed3d
lea ecx, [esp + 0xe4]
mov esi, eax
call fcn.00422565
lea ecx, [esp + 0x1f0]
mov dword [ecx + 4], 0
mov dword [ecx], 3
mov dword [ecx + 8], esi
call fcn.0045618c
mov esi, eax
mov edi, edx
mov ebx, dword [esp + 0x28]
mov ecx, ebx
call fcn.0040f921
add ebx, 0x88
mov ecx, ebx
call fcn.0043c685
jmp 0x456e21
mov esi, dword [esp + 0x1c]
and esi, 0xff00
lea eax, [esp + 0xf8]
mov ebx, dword [esp + 0x24]
or esi, dword [esp + 0x20]
lea edx, [esp + 0xa8]
mov ecx, dword [eax - 0xc]
push edi
push dword [eax - 8]
push eax
push edx
call dword [ecx]
add esp, 0x10
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xe4]
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], eax
call fcn.00422565
movsd xmm1, qword [esp + 0xa8]
movsd xmm0, qword [esp + 0xa0]
movsd qword [esp + 0x118], xmm1
movsd xmm1, qword [esp + 0xb0]
movsd qword [esp + 0x110], xmm0
movsd qword [esp + 0x120], xmm1
mov edi, dword [ebx + 0x50]
movzx ecx, word [ebx + 0xbc]
movzx eax, byte [ebx + 0xbe]
test edi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
je 0x456775
lock inc dword [edi]
jle 0x456e2d
mov eax, dword [ebx + 0x54]
mov dword [esp + 0x38], eax
jmp 0x456775
mov esi, dword [ebx]
mov al, byte [ebx + 0x58]
mov dl, byte [ebx + 0x48]
mov cl, byte [ebx + 0x63]
mov ah, byte [ebx + 0x5b]
mov ch, byte [ebx + 0x5c]
mov dh, byte [ebx + 0x5d]
mov dword [esp + 0x88], esi
mov esi, dword [ebx + 4]
mov byte [esp + 0x18], al
mov al, byte [ebx + 0x59]
mov byte [esp + 0x12], dl
mov dl, byte [ebx + 0x49]
mov byte [esp + 0x11], cl
mov cl, byte [ebx + 0x60]
mov dword [esp + 0x84], esi
mov esi, dword [ebx + 8]
mov byte [esp + 1], al
mov al, byte [ebx + 0x5a]
mov byte [esp + 0x13], dl
mov dl, byte [ebx + 0x62]
mov byte [esp + 0x15], cl
mov cl, byte [ebx + 0x61]
mov dword [esp + 0x80], esi
mov esi, dword [ebx + 0xc]
mov byte [esp + 0x17], al
mov al, byte [ebx + 0x5e]
mov byte [esp + 0x14], dl
mov dword [esp + 0x7c], esi
mov esi, dword [ebx + 0x38]
mov byte [esp + 0x16], al
mov al, byte [ebx + 0x5f]
mov dword [esp + 0x98], esi
mov esi, dword [ebx + 0x3c]
mov dword [esp + 0x94], esi
mov esi, dword [ebx + 0x40]
mov dword [esp + 0x90], esi
mov esi, dword [ebx + 0x30]
mov dword [esp + 0x8c], esi
mov esi, dword [ebx + 0x2c]
mov dword [esp + 0x74], esi
mov esi, dword [ebx + 0x28]
mov dword [esp + 0x78], esi
mov esi, dword [ebx + 0x1c]
mov dword [esp + 0x68], esi
mov esi, dword [ebx + 0x18]
mov dword [esp + 0x6c], esi
mov esi, dword [ebx + 0x20]
mov dword [esp + 0x64], esi
mov esi, dword [ebx + 0x10]
mov dword [esp + 0x60], esi
mov esi, dword [ebx + 0x14]
mov dword [esp + 0x5c], esi
mov esi, dword [ebx + 0x44]
mov dword [esp + 0x70], esi
mov esi, dword [ebx + 0x7c]
mov dword [esp + 0x9c], esi
lock inc dword [esi]
jle 0x456e2d
mov esi, dword [ebx + 0x80]
lock inc dword [esi]
jle 0x456e2d
cmp dword [ebx + 0x68], 0
mov byte [esp + 0xc], cl
mov byte [esp + 0xf], ch
mov ecx, dword [ebx + 0x84]
mov byte [esp + 0xd], al
mov byte [esp + 0xe], dh
mov byte [esp + 0x10], ah
mov dword [esp + 0x58], ecx
je 0x4568a3
xor eax, eax
inc eax
mov dword [esp + 0x2c], eax
push dword [ebx + 0x6c]
call dword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
mov dword [esp + 0x34], eax
jmp 0x4568ab
mov dword [esp + 0x2c], 0
push dword [ebx + 0x70]
call dword [sym.imp.crypt32.dll_CertDuplicateStore]
mov dword [esp + 0x54], eax
mov al, byte [ebx + 0x76]
mov cl, byte [ebx + 0x78]
mov dl, byte [ebx + 0x79]
mov ch, byte [ebx + 0x74]
mov dh, byte [ebx + 0x75]
mov byte [esp + 0xb], al
mov al, byte [ebx + 0x77]
mov byte [esp + 0xa], al
mov eax, dword [ebx + 0xac]
lock inc dword [eax]
jle 0x456e2d
mov dword [esp + 0x48], eax
mov al, byte [ebx + 0xb0]
mov byte [esp + 6], cl
mov cl, byte [ebx + 0xb2]
mov byte [esp + 5], dl
mov dword [esp + 0x50], edi
mov edi, dword [ebx + 0x8c]
mov dl, byte [ebx + 0xb1]
cmp byte [ebx + 0xa8], 2
mov byte [esp + 3], dh
mov byte [esp + 4], ch
mov byte [esp + 9], al
mov eax, dword [ebx + 0x90]
mov byte [esp + 7], cl
mov cl, 2
mov dword [esp + 0x3c], edi
mov byte [esp + 8], dl
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x88]
mov dword [esp + 0x40], eax
je 0x4569ae
mov ecx, dword [ebx + 0x98]
lea eax, [ebx + 0xa4]
push dword [ebx + 0xa0]
push dword [ebx + 0x9c]
push eax
lea eax, [esp + 0x1fc]
push eax
call dword [ecx]
add esp, 0x10
mov cl, byte [ebx + 0xa8]
movsd xmm0, qword [esp + 0x1f0]
movsd xmm1, qword [esp + 0x1f8]
movzx eax, word [esp + 0x201]
mov dl, byte [esp + 0x203]
movsd qword [esp + 0x160], xmm1
movsd qword [esp + 0x158], xmm0
mov word [esp + 0xb8], ax
mov byte [esp + 0xba], dl
movzx eax, word [esp + 0xb8]
movsd xmm0, qword [esp + 0x158]
movsd xmm1, qword [esp + 0x160]
mov edi, dword [esp + 0x20]
mov byte [esp + 2], cl
mov dword [esp + 0x4c], esi
mov word [esp + 0xe4], ax
mov al, byte [esp + 0xba]
movsd qword [esp + 0x1fc], xmm1
movsd qword [esp + 0x1f4], xmm0
mov byte [esp + 0xe6], al
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x456a0f
lock inc dword [eax]
jle 0x456e2d
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x200]
movsd xmm0, qword [esp + 0x1f0]
movsd xmm1, qword [esp + 0x1f8]
mov dword [esp + 0x138], eax
movzx eax, word [esp + 0xe4]
movsd qword [esp + 0x130], xmm1
movsd qword [esp + 0x128], xmm0
mov word [esp + 0xa0], ax
mov al, byte [esp + 0xe6]
mov byte [esp + 0xa2], al
lea eax, [esp + 0x158]
push 0x98
push dword [esp + 0x2c]
push eax
call fcn.004e4d00
add esp, 0xc
movsd xmm1, qword [esp + 0x118]
movsd xmm0, qword [esp + 0x110]
mov ecx, 0x738
mov edx, 8
movsd qword [esp + 0xc1], xmm1
movsd xmm1, qword [esp + 0x120]
movsd qword [esp + 0xb9], xmm0
movsd qword [esp + 0xc9], xmm1
mov al, byte [0x538038]
call fcn.004018b0
test eax, eax
je 0x456e2f
mov esi, eax
mov eax, dword [esp + 0x1c]
mov cl, byte [esp + 0x11]
mov ebx, 2
shl eax, 0x10
or edi, eax
xor eax, eax
test cl, cl
setne al
cmp cl, 2
cmovne ebx, eax
push 0x98
lea eax, [esp + 0x15c]
push eax
push esi
call fcn.004e4d00
add esp, 0xc
mov eax, dword [esp + 0x88]
mov dword [esi + 0x98], eax
mov eax, dword [esp + 0x84]
mov dword [esi + 0x9c], eax
mov eax, dword [esp + 0x80]
mov dword [esi + 0xa0], eax
mov eax, dword [esp + 0x7c]
mov dword [esi + 0xa4], eax
mov eax, dword [esp + 0x60]
mov dword [esi + 0xa8], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0xac], eax
mov eax, dword [esp + 0x68]
mov dword [esi + 0xb4], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 0xb0], eax
mov eax, dword [esp + 0x64]
mov dword [esi + 0xb8], eax
mov eax, dword [esp + 0x74]
mov dword [esi + 0xc4], eax
mov eax, dword [esp + 0x78]
mov dword [esi + 0xc0], eax
mov eax, dword [esp + 0x8c]
mov dword [esi + 0xc8], eax
mov eax, dword [esp + 0x98]
mov dword [esi + 0xd0], eax
mov eax, dword [esp + 0x94]
mov dword [esi + 0xd4], eax
mov eax, dword [esp + 0x90]
mov dword [esi + 0xd8], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 0xdc], eax
mov al, byte [esp + 0x12]
mov byte [esi + 0xe0], al
mov al, byte [esp + 0x13]
mov byte [esi + 0xe1], al
mov eax, dword [esp + 0x50]
mov dword [esi + 0xe8], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0xec], eax
mov al, byte [esp + 0x18]
mov byte [esi + 0xf0], al
mov al, byte [esp + 1]
mov byte [esi + 0xf1], al
mov al, byte [esp + 0x17]
mov byte [esi + 0xf2], al
mov al, byte [esp + 0x10]
mov byte [esi + 0xf3], al
mov al, byte [esp + 0xf]
mov byte [esi + 0xf4], al
mov al, byte [esp + 0xe]
mov byte [esi + 0xf5], al
mov al, byte [esp + 0x16]
mov byte [esi + 0xf6], al
mov al, byte [esp + 0xd]
mov byte [esi + 0xf7], al
mov al, byte [esp + 0x15]
mov byte [esi + 0xf8], al
mov al, byte [esp + 0xc]
mov byte [esi + 0xf9], al
mov al, byte [esp + 0x14]
mov byte [esi + 0xfa], al
mov eax, dword [esp + 0x2c]
mov byte [esi + 0xfb], bl
mov dword [esi + 0x100], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x104], eax
mov eax, dword [esp + 0x54]
mov dword [esi + 0x108], eax
mov al, byte [esp + 4]
mov byte [esi + 0x10c], al
mov al, byte [esp + 3]
mov byte [esi + 0x10d], al
mov al, byte [esp + 0xb]
mov byte [esi + 0x10e], al
mov al, byte [esp + 0xa]
mov byte [esi + 0x10f], al
mov al, byte [esp + 6]
mov byte [esi + 0x110], al
mov al, byte [esp + 5]
mov byte [esi + 0x111], al
mov eax, dword [esp + 0x9c]
mov dword [esi + 0x114], eax
mov eax, dword [esp + 0x4c]
mov dword [esi + 0x118], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0x11c], eax
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x124], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x120], eax
mov eax, dword [esp + 0x44]
mov dword [esi + 0x128], eax
mov eax, dword [esp + 0x138]
mov dword [esi + 0x13c], eax
mov al, byte [esp + 2]
movsd xmm0, qword [esp + 0x128]
movsd xmm1, qword [esp + 0x130]
movsd qword [esi + 0x134], xmm1
movsd qword [esi + 0x12c], xmm0
mov byte [esi + 0x140], al
movzx eax, word [esp + 0xa0]
mov word [esi + 0x141], ax
mov al, byte [esp + 0xa2]
mov byte [esi + 0x143], al
mov eax, dword [esp + 0x48]
mov dword [esi + 0x144], eax
mov al, byte [esp + 9]
mov byte [esi + 0x148], al
mov al, byte [esp + 8]
mov byte [esi + 0x149], al
mov al, byte [esp + 7]
mov byte [esi + 0x14a], al
mov eax, dword [esp + 0xe4]
mov dword [esi + 0x14b], eax
mov al, byte [esp + 0xe8]
mov byte [esi + 0x14f], al
mov eax, dword [esp + 0x24]
mov dword [esi + 0x150], eax
mov eax, edi
mov word [esi + 0x154], di
shr eax, 0x10
mov byte [esi + 0x156], al
movsd xmm0, qword [esp + 0xb8]
movsd xmm1, qword [esp + 0xc0]
movsd qword [esi + 0x157], xmm0
movsd qword [esi + 0x15f], xmm1
movsd xmm0, qword [esp + 0xc8]
movsd qword [esi + 0x167], xmm0
mov al, byte [esp + 0xd0]
mov byte [esi + 0x16f], al
mov eax, esi
add eax, 0x170
push 0x5c4
lea ecx, [esp + 0x1f4]
push ecx
push eax
call fcn.004e4d00
add esp, 0xc
mov byte [esi + 0x734], 0
mov edi, 0x522494
movzx eax, word [esp + 0x31]
mov word [esi + 0x735], ax
mov al, byte [esp + 0x33]
mov byte [esi + 0x737], al
mov eax, esi
mov edx, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
mov ecx, 8
mov edx, 0x738
call fcn.004e8800
mov ecx, 8
mov edx, 0x70
call fcn.004e8800
mov ecx, 4
mov edx, 4
call fcn.004e8800
mov al, byte [esp + 0x1f4]
mov ecx, str.slash_is_a_valid_path
mov edx, 0x15
mov byte [esp + 0x158], al
push 0x502b20
push 0x502710
jmp 0x456ea2
mov al, byte [esp + 0x159]
mov ecx, str.scheme_is_valid
mov edx, 0xf
mov byte [esp + 0x1f0], al
push 0x502b40
push 0x502720
push esi
call fcn.004e8f30
push esi
mov esi, dword [esp + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
call fcn.0041fb63
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.0048e045
pop esi
ret