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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x3a0
mov edi, dword [edx]
mov dword [esp + 0x24], ecx
mov eax, dword [edx + 4]
mov ecx, dword [edx + 8]
mov dword [edx], 0
test edi, edi
mov dword [esp + 4], eax
mov dword [esp + 0xc], ecx
je 0x45a964
movsd xmm0, qword [edx + 0xc]
movsd xmm1, qword [edx + 0x14]
mov eax, dword [ebp + 8]
lea ecx, [esp + 0xcc]
xor edx, edx
xor esi, esi
mov ebx, 0xff
movsd qword [esp + 0xb0], xmm1
movsd qword [esp + 0xa8], xmm0
mov dword [esp + 0xb8], eax
mov eax, 0x80000000
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x18], eax
mov eax, 4
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dl, byte [edi + 0x11]
mov dh, dl
inc dh
cmp dl, 4
movzx edx, dh
cmove edx, eax
mov eax, edx
and eax, ebx
mov ebx, dword [edi + 0x10]
cmp dl, bl
mov edx, ebx
cmovb edx, esi
mov esi, 0xff
and edx, esi
cmp bl, 4
mov esi, 0
cmove edx, esi
sub eax, edx
lea edx, [edx + 0x520f78]
push eax
call fcn.004965cd
add esp, 4
cmp dword [edi], esi
je 0x45a0e5
push dword [edi + 4]
call dword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
lea ecx, [esp + 0xcc]
mov edx, eax
call fcn.00496640
lea ebx, [esp + 0xf0]
lea edx, [esp + 0xcc]
mov ecx, ebx
call fcn.00496666
cmp byte [ebx], 4
jne 0x45a10c
mov eax, dword [esp + 0xf4]
mov dword [esp + 8], eax
jmp 0x45a126
mov eax, dword [esp + 0xf0]
mov esi, dword [esp + 0xf4]
cmp al, 4
jne 0x45a22e
mov dword [esp + 8], esi
mov eax, 0x80000000
xor esi, esi
mov dword [esp + 0x30], eax
mov word [esp + 0x50], 1
mov dword [esp + 0x48], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x3c], eax
push dword [edi + 8]
call dword [sym.imp.crypt32.dll_CertDuplicateStore]
cmp dword [esp + 0x28], esi
mov ebx, eax
je 0x45a161
push 0
push dword [esp + 0x30]
call dword [sym.imp.crypt32.dll_CertCloseStore]
mov edx, dword [esp + 4]
lea esi, [esp + 0x28]
mov dword [esi], 1
mov dword [esi + 4], ebx
mov ecx, esi
push dword [esp + 0xc]
call fcn.004967f2
add esp, 4
mov al, byte [edi + 0xc]
mov byte [esi + 0x28], al
mov al, byte [edi + 0xd]
mov byte [esi + 0x29], al
cmp byte [edi + 0xe], 0
je 0x45a1d3
mov al, byte [0x538038]
mov ecx, 8
mov edx, 4
call fcn.00439850
test eax, eax
je 0x45a978
mov ebx, eax
xor eax, eax
inc eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x45a288
lock dec dword [eax]
mov esi, 0x524a14
je 0x45a223
jmp 0x45a294
cmp byte [edi + 0xf], 0
je 0x45a29c
push dword [edi + 8]
call dword [sym.imp.crypt32.dll_CertDuplicateStore]
mov edi, eax
mov al, byte [0x538038]
mov ecx, 0xc
mov edx, 4
call fcn.00439850
test eax, eax
je 0x45a989
mov ebx, eax
xor eax, eax
inc eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], edi
mov eax, dword [esp + 0x48]
test eax, eax
je 0x45a28f
lock dec dword [eax]
mov esi, 0x524a44
jne 0x45a294
lea ecx, [esp + 0x48]
call fcn.0044282e
jmp 0x45a294
lea ecx, [esp + 0xcc]
mov dword [esp + 4], eax
call fcn.0045b4a0
lea eax, [esp + 0xa8]
push eax
call fcn.0045b523
add esp, 4
lea eax, [esp + 0x1b0]
lea ecx, [esp + 0x304]
push 0x98
push eax
push ecx
call fcn.004e4a90
add esp, 0xc
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x70]
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x60], xmm1
jmp 0x45a794
mov esi, 0x524a14
jmp 0x45a294
mov esi, 0x524a44
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], esi
mov ecx, dword [esp + 0xb8]
lea eax, [esp + 0x3c]
movsd xmm0, qword [esp + 0xa8]
movsd xmm1, qword [esp + 0xb0]
mov esi, 0
mov edx, dword [eax - 0xc]
mov dword [esp + 0x88], ecx
xor ecx, ecx
cmp byte [eax + 0x14], 0
movsd qword [esp + 0x80], xmm1
movsd qword [esp + 0x78], xmm0
je 0x45a2e3
mov esi, dword [esp + 0x34]
mov ebx, dword [esp + 8]
cmp edx, 0x80000000
lea edi, [esp + 0x248]
cmove esi, ecx
mov ecx, edi
mov edx, ebx
push eax
push esi
call fcn.004960f4
add esp, 8
mov edi, dword [edi + 8]
cmp edi, 2
jne 0x45a36c
mov eax, dword [esp + 0x248]
mov ecx, dword [esp + 0x24c]
mov dword [esp + 0xf8], 2
mov dword [esp + 0xfc], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x100], ecx
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf0], 1
push eax
call fcn.0045b523
add esp, 4
lock dec dword [ebx]
jne 0x45a634
mov ecx, ebx
call fcn.0045178c
jmp 0x45a634
mov eax, dword [esp + 0x24c]
mov ecx, dword [esp + 0x25c]
mov ebx, dword [esp + 0x248]
mov esi, dword [esp + 0x254]
cmp dword [esp + 0x28], 0
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
je 0x45a3b1
xor eax, eax
inc eax
mov dword [esp + 0x1c], eax
push dword [esp + 0x2c]
call dword [sym.imp.crypt32.dll_CertDuplicateStore]
mov dword [esp + 0x9c], eax
jmp 0x45a3b9
mov dword [esp + 0x1c], 0
cmp dword [esp + 0x30], 0x80000000
jne 0x45a3cd
mov dword [esp + 0x18], 0x80000000
jmp 0x45a40c
mov dword [esp + 4], esi
mov esi, ebx
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov ecx, ebx
mov dword [esp + 0x20], eax
call fcn.00495e66
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], ebx
lea eax, [ebx + ebx]
mov ebx, esi
push eax
push dword [esp + 0x24]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x9c], edx
push edx
call fcn.004e4a90
add esp, 0xc
mov edx, dword [esp + 0x48]
mov al, byte [esp + 0x50]
mov cl, byte [esp + 0x51]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 0x13], cl
je 0x45a43a
lock inc dword [edx]
jle 0x45a987
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x98], eax
jmp 0x45a43a
mov eax, dword [esp + 0x88]
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x100], eax
xor eax, eax
movsd qword [esp + 0xf8], xmm1
movsd qword [esp + 0xf0], xmm0
inc eax
test edi, edi
mov dword [esp + 4], eax
je 0x45a4e3
mov ebx, dword [esp + 0x14]
mov edi, esi
test esi, esi
mov esi, str.C:Usersigame.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_src_aes.rs0
mov ecx, edi
cmovne esi, ebx
call fcn.00497f18
mov dword [esp + 0x90], eax
push edi
push esi
mov dword [esp + 0x94], edx
push edx
call fcn.004e4a90
add esp, 0xc
push ebx
call dword [sym.imp.secur32.dll_FreeContextBuffer]
mov ecx, dword [esp + 0x90]
mov eax, 0
mov esi, 0
cmp ecx, 0x80000000
je 0x45a4e7
mov eax, dword [esp + 0x8c]
mov esi, ecx
mov dword [esp + 4], eax
mov eax, edi
jmp 0x45a4e7
xor eax, eax
xor esi, esi
cmp dword [esp + 0x3c], 0x80000000
mov dword [esp + 0x14], eax
jne 0x45a502
mov dword [esp + 0xc0], 0x80000000
jmp 0x45a519
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0xc0]
push dword [esp + 0x44]
call fcn.00484240
add esp, 4
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x248]
mov eax, dword [esp + 0x54]
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 8]
mov dword [edx + 0x78], ecx
mov ecx, dword [esp + 0x94]
mov dword [edx + 0x7c], ecx
lea ecx, [esp + 0xf0]
mov dword [edx + 0x80], eax
mov eax, dword [ecx + 0x10]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov dword [edx + 0xa4], eax
mov eax, dword [esp + 0xc8]
movsd qword [edx + 0x94], xmm0
movsd qword [edx + 0x9c], xmm1
movsd xmm0, qword [esp + 0xc0]
mov dword [edx + 0x8c], eax
mov eax, dword [esp + 0x9c]
movsd qword [edx + 0x84], xmm0
mov dword [edx], edi
mov dword [edx + 4], eax
xor eax, eax
xor edi, edi
inc edi
mov dword [edx + 0xc], eax
mov dword [edx + 8], eax
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], edi
mov dword [edx + 0x18], eax
mov dword [edx + 0x24], eax
mov dword [edx + 0x20], eax
mov dword [edx + 0x28], eax
mov dword [edx + 0x2c], edi
mov dword [edx + 0x30], eax
mov dword [edx + 0x3c], eax
mov dword [edx + 0x38], eax
mov dword [edx + 0x40], esi
mov esi, dword [esp + 4]
mov dword [edx + 0x44], esi
mov esi, dword [esp + 0x14]
mov dword [edx + 0x48], esi
mov esi, dword [esp + 0xa4]
mov dword [edx + 0x50], 0x10000
mov byte [edx + 0x54], 0
mov dword [edx + 0x68], esi
mov esi, dword [esp + 0xc]
mov dword [edx + 0x6c], esi
mov esi, dword [esp + 0xa0]
mov dword [edx + 0x70], esi
mov esi, dword [esp + 0x98]
mov dword [edx + 0x74], esi
mov dword [edx + 0x90], ebx
mov dword [edx + 0xa8], edi
mov dword [edx + 0xac], eax
mov al, byte [esp + 0x20]
mov ah, byte [esp + 0x13]
mov byte [edx + 0xb0], al
mov byte [edx + 0xb1], ah
mov word [edx + 0xb2], pe_nt_image_headers32
call fcn.0045b5d2
mov edi, dword [esp + 0xf0]
mov ebx, dword [esp + 0xf4]
mov eax, edi
or eax, ebx
je 0x45a6dc
mov ecx, dword [esp + 0xf8]
mov eax, dword [esp + 0xfc]
mov edx, dword [esp + 0x100]
cmp ecx, 2
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
je 0x45a6ae
lea esi, [esp + 0x104]
push 0x98
push esi
lea eax, [esp + 0x250]
push eax
call fcn.004e4a90
add esp, 0xc
movsd xmm0, qword [esi + 0x9c]
movsd xmm1, qword [esi + 0xa4]
movsd qword [esp + 0x78], xmm0
movsd qword [esp + 0x80], xmm1
lea eax, [esp + 0x1b0]
push 0x98
lea ecx, [esp + 0x24c]
push ecx
push eax
call fcn.004e4a90
add esp, 0xc
movsd xmm0, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
jmp 0x45a71e
lea esi, [esp + 0x104]
mov eax, dword [esi - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esi - 8]
mov dword [esp + 4], eax
mov eax, dword [esi - 4]
mov dword [esp + 8], eax
lea eax, [esp + 0x1b0]
push 0x98
push esi
push eax
call fcn.004e4a90
add esp, 0xc
movsd xmm0, qword [esi + 0x9c]
movsd xmm1, qword [esi + 0xa4]
lea ecx, [esp + 0x28]
movsd qword [esp + 0x68], xmm0
movsd qword [esp + 0x70], xmm1
call fcn.0045b566
lea ecx, [esp + 0xcc]
call fcn.0045b4a0
or edi, ebx
je 0x45a7e8
lea ebx, [esp + 0x304]
lea eax, [esp + 0x1b0]
push 0x98
push eax
push ebx
call fcn.004e4a90
add esp, 0xc
mov edi, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x70]
cmp edi, 2
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x60], xmm1
jne 0x45a89d
mov esi, dword [esp + 8]
lea ebx, [esp + 0xf0]
lea eax, [esp + 0x248]
push 0x98
push ebx
push eax
call fcn.004e4a90
add esp, 0xc
mov eax, dword [esp + 0x24]
movsd xmm0, qword [esp + 0x1b0]
movsd xmm1, qword [esp + 0x1b8]
mov ecx, dword [esp + 4]
movsd qword [esp + 0x28], xmm0
movsd qword [esp + 0x30], xmm1
mov dword [eax + 4], 0
mov dword [eax], 2
mov dword [eax + 0xc], esi
mov dword [eax + 8], ecx
jmp 0x45a95c
mov edi, 0x98
lea eax, [esp + 0x1b0]
lea esi, [esp + 0x304]
push edi
push eax
push esi
call fcn.004e4a90
add esp, 0xc
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x70]
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x60], xmm1
push edi
push esi
lea ebx, [esp + 0x250]
push ebx
call fcn.004e4a90
add esp, 0xc
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x60]
mov dword [esi + 8], eax
mov eax, dword [esp + 8]
movsd qword [esp + 0x28], xmm0
movsd qword [esp + 0x30], xmm1
mov dword [esi + 0x10], eax
mov eax, dword [esp + 4]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x14]
push edi
push ebx
push eax
call fcn.004e4a90
add esp, 0xc
movsd xmm0, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
xor eax, eax
mov dword [esi + 0xac], eax
movsd qword [esi + 0xb0], xmm0
movsd qword [esi + 0xb8], xmm1
mov dword [esi + 4], eax
mov dword [esi], eax
jmp 0x45a95c
mov eax, 0x98
push eax
push ebx
lea esi, [esp + 0xf8]
push esi
call fcn.004e4a90
add esp, 0xc
movsd xmm0, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x60]
mov eax, 0x98
movsd qword [esp + 0x1b0], xmm0
movsd qword [esp + 0x1b8], xmm1
push eax
push esi
lea ebx, [esp + 0x250]
push ebx
call fcn.004e4a90
add esp, 0xc
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 8]
movsd xmm0, qword [esp + 0x1b0]
movsd xmm1, qword [esp + 0x1b8]
mov ecx, 0x98
mov dword [esi + 8], edi
mov dword [esi + 0x10], eax
mov eax, dword [esp + 4]
movsd qword [esp + 0x28], xmm0
movsd qword [esp + 0x30], xmm1
mov dword [esi + 0xc], eax
lea eax, [esi + 0x14]
push ecx
push ebx
push eax
call fcn.004e4a90
add esp, 0xc
movsd xmm0, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x30]
xor eax, eax
mov dword [esi + 0xac], eax
movsd qword [esi + 0xb0], xmm0
movsd qword [esi + 0xb8], xmm1
mov dword [esi + 4], eax
mov dword [esi], 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x5233fc
mov edx, 0x1e
push 0x52341c
call fcn.004e8d40
mov ecx, 4
mov edx, 8
call fcn.004e8590
ud2
mov ecx, 4
mov edx, 0xc
call fcn.004e8590