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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x798
mov esi, dword [edx]
mov dword [esp + 0x14], ecx
mov eax, dword [edx + 0xbc]
mov ecx, dword [edx + 0xc0]
mov edi, dword [edx + 0xb8]
mov dword [edx], 3
cmp esi, 3
mov dword [esp], eax
mov dword [esp + 0xc], ecx
je 0x45b614
lea ebx, [esp + 0x6d0]
mov ecx, 4
mov eax, ebx
add edx, ecx
or eax, ecx
push 0xb4
push edx
push eax
call fcn.004e4d00
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebx], esi
lea ecx, [esp + 0x7c]
xor esi, esi
mov dword [ebx + 0xb8], eax
mov eax, 0x80000000
mov ebx, 4
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x18], eax
xor eax, eax
mov dword [ecx], eax
mov dword [ecx + 4], ebx
mov dword [ecx + 8], eax
mov al, byte [edi + 0x11]
mov edx, eax
inc dl
cmp al, 4
movzx edx, dl
cmove edx, ebx
mov ebx, 0xff
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 + 0x520ffc]
push eax
call fcn.004968fd
add esp, 4
cmp dword [edi], esi
je 0x45adbe
push dword [edi + 4]
call dword [sym.imp.crypt32.dll_CertDuplicateCertificateContext]
lea ecx, [esp + 0x7c]
mov edx, eax
call fcn.00496970
lea esi, [esp + 0xa0]
lea edx, [esp + 0x7c]
mov ecx, esi
call fcn.00496996
cmp byte [esi], 4
jne 0x45ade2
mov eax, dword [esp + 0xa4]
mov dword [esp + 4], eax
jmp 0x45adfc
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
cmp al, 4
jne 0x45af05
mov dword [esp + 4], esi
mov eax, 0x80000000
mov ebx, edi
xor esi, esi
mov dword [esp + 0x2c], eax
mov word [esp + 0x4c], 1
mov dword [esp + 0x44], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], eax
push dword [edi + 8]
call dword [sym.imp.crypt32.dll_CertDuplicateStore]
cmp dword [esp + 0x24], esi
mov edi, eax
je 0x45ae39
push 0
push dword [esp + 0x2c]
call dword [sym.imp.crypt32.dll_CertCloseStore]
mov edx, dword [esp]
lea esi, [esp + 0x24]
mov dword [esi], 1
mov dword [esi + 4], edi
mov ecx, esi
push dword [esp + 0xc]
call fcn.00496b22
add esp, 4
mov al, byte [ebx + 0xc]
mov byte [esi + 0x28], al
mov al, byte [ebx + 0xd]
mov byte [esi + 0x29], al
cmp byte [ebx + 0xe], 0
je 0x45aeaa
mov al, byte [0x538038]
mov ecx, 8
mov edx, 4
call fcn.004018b0
test eax, eax
je 0x45b628
mov ebx, eax
xor eax, eax
inc eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x45af60
lock dec dword [eax]
mov esi, 0x524ae0
je 0x45aefa
jmp 0x45af6c
cmp byte [ebx + 0xf], 0
je 0x45af74
push dword [ebx + 8]
call dword [sym.imp.crypt32.dll_CertDuplicateStore]
mov edi, eax
mov al, byte [0x538038]
mov ecx, 0xc
mov edx, 4
call fcn.004018b0
test eax, eax
je 0x45b639
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 + 0x44]
test eax, eax
je 0x45af67
lock dec dword [eax]
mov esi, 0x524ab0
jne 0x45af6c
lea ecx, [esp + 0x44]
call fcn.00442b6e
jmp 0x45af6c
lea ecx, [esp + 0x7c]
mov dword [esp], eax
call fcn.0045b7e0
lea eax, [esp + 0x6d0]
push eax
call fcn.0045cb56
add esp, 4
lea eax, [esp + 0x20c]
lea ecx, [esp + 0x61c]
push 0xb4
push eax
push ecx
call fcn.004e4d00
add esp, 0xc
lea eax, [esp + 0x4e4]
lea ecx, [esp + 0x580]
push 0x9c
push eax
push ecx
call fcn.004e4d00
add esp, 0xc
jmp 0x45b442
mov esi, 0x524ae0
jmp 0x45af6c
mov esi, 0x524ab0
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], esi
lea esi, [esp + 0x38]
lea eax, [esp + 0x420]
push 0xc0
lea ecx, [esp + 0x6d4]
push ecx
push eax
call fcn.004e4d00
add esp, 0xc
xor ecx, ecx
mov edx, dword [esi - 0xc]
cmp byte [esi + 0x14], 0
mov eax, 0
je 0x45afa9
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 4]
cmp edx, 0x80000000
lea edi, [esp + 0x2c0]
cmove eax, ecx
mov ecx, edi
mov edx, ebx
push esi
push eax
call fcn.00496424
add esp, 8
mov edi, dword [edi + 8]
cmp edi, 2
jne 0x45b035
mov eax, dword [esp + 0x2c0]
mov ecx, dword [esp + 0x2c4]
mov dword [esp + 0xa8], 2
mov dword [esp + 0xac], eax
lea eax, [esp + 0x420]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 1
push eax
call fcn.0045cb56
add esp, 4
lock dec dword [ebx]
jne 0x45b2f0
mov ecx, ebx
call fcn.00451acc
jmp 0x45b2f0
mov eax, dword [esp + 0x2c4]
mov ecx, dword [esp + 0x2d4]
mov ebx, dword [esp + 0x2c0]
mov esi, dword [esp + 0x2cc]
cmp dword [esp + 0x24], 0
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], ecx
je 0x45b077
xor eax, eax
inc eax
mov dword [esp + 0x20], eax
push dword [esp + 0x28]
call dword [sym.imp.crypt32.dll_CertDuplicateStore]
mov dword [esp + 0x5c], eax
jmp 0x45b07f
mov dword [esp + 0x20], 0
cmp dword [esp + 0x2c], 0x80000000
jne 0x45b093
mov dword [esp + 0x10], 0x80000000
jmp 0x45b0ce
mov dword [esp], esi
mov esi, ebx
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
mov ecx, ebx
mov dword [esp + 0xc], eax
call fcn.00496196
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebx
lea eax, [ebx + ebx]
mov ebx, esi
push eax
push dword [esp + 0x10]
mov esi, dword [esp + 8]
mov dword [esp + 0x20], edx
push edx
call fcn.004e4d00
add esp, 0xc
mov edx, dword [esp + 0x44]
mov al, byte [esp + 0x4c]
mov cl, byte [esp + 0x4d]
test edx, edx
mov byte [esp + 0xb], al
mov byte [esp + 0xa], cl
mov dword [esp + 0x68], edx
je 0x45b0fd
lock inc dword [edx]
jle 0x45b637
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], eax
jmp 0x45b0fd
mov dword [esp + 0x64], ebx
push 0xc0
lea eax, [esp + 0x424]
push eax
lea eax, [esp + 0xa8]
push eax
call fcn.004e4d00
add esp, 0xc
xor eax, eax
mov dword [esp + 0xc], 0
inc eax
test edi, edi
mov dword [esp], eax
je 0x45b180
mov ebx, dword [esp + 0x60]
mov edi, esi
test esi, esi
mov esi, str.C:Usersigame.cargo_registry_srcindex.crates.io_6f17d22bba15001fzip_0.6.6_src_aes.rs
mov ecx, edi
cmovne esi, ebx
call fcn.004098ca
mov dword [esp + 0x54], eax
push edi
push esi
mov dword [esp + 0x58], edx
push edx
call fcn.004e4d00
add esp, 0xc
push ebx
call dword [sym.imp.secur32.dll_FreeContextBuffer]
mov eax, dword [esp + 0x54]
mov esi, 0
cmp eax, 0x80000000
je 0x45b182
mov ecx, dword [esp + 0x50]
mov esi, edi
mov dword [esp + 0xc], eax
mov dword [esp], ecx
jmp 0x45b182
xor esi, esi
cmp dword [esp + 0x38], 0x80000000
jne 0x45b196
mov dword [esp + 0x70], 0x80000000
jmp 0x45b1aa
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x70]
push dword [esp + 0x40]
call fcn.00484570
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 4]
lea edi, [esp + 0x2c8]
mov dword [edi + 0x130], ecx
mov dword [edi + 0x134], edx
mov dword [edi + 0x138], eax
push 0xc0
lea eax, [esp + 0xa4]
push eax
push edi
call fcn.004e4d00
add esp, 0xc
mov eax, dword [esp + 0x78]
movsd xmm0, qword [esp + 0x70]
mov edx, dword [esp + 0xc]
mov dword [edi + 0x144], eax
mov eax, dword [esp + 0x20]
movsd qword [edi + 0x13c], xmm0
mov dword [edi - 8], eax
mov eax, dword [esp + 0x5c]
mov dword [edi - 4], eax
xor eax, eax
xor ecx, ecx
inc ecx
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc0], eax
mov dword [edi + 0xc8], eax
mov dword [edi + 0xcc], ecx
mov dword [edi + 0xd0], eax
mov dword [edi + 0xdc], eax
mov dword [edi + 0xd8], eax
mov dword [edi + 0xe0], eax
mov dword [edi + 0xe4], ecx
mov dword [edi + 0xe8], eax
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf0], eax
mov dword [edi + 0xf8], edx
mov edx, dword [esp]
mov dword [edi + 0xfc], edx
mov edx, dword [esp + 0x64]
mov dword [edi + 0x100], esi
mov dword [edi + 0x108], 0x10000
mov byte [edi + 0x10c], 0
mov dword [edi + 0x120], edx
mov edx, dword [esp + 0x6c]
mov dword [edi + 0x124], edx
mov edx, dword [esp + 0x68]
mov dword [edi + 0x128], edx
mov edx, dword [esp + 0x58]
mov dword [edi + 0x12c], edx
mov dword [edi + 0x148], ebx
mov dword [edi + 0x14c], ecx
mov dl, byte [esp + 0xb]
mov cl, byte [esp + 0xa]
mov dword [edi + 0x150], eax
mov byte [edi + 0x154], dl
mov byte [edi + 0x155], cl
lea ecx, [esp + 0xa0]
lea edx, [esp + 0x2c0]
mov word [edi + 0x156], pe_nt_image_headers32
call fcn.0045cb70
mov esi, dword [esp + 0xa0]
mov ebx, dword [esp + 0xa4]
mov eax, esi
or eax, ebx
je 0x45b397
mov edi, dword [esp + 0xa8]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xb0]
cmp edi, 2
mov dword [esp], eax
mov dword [esp + 4], ecx
je 0x45b363
lea eax, [esp + 0xb4]
push 0xb4
push eax
lea eax, [esp + 0x2c8]
push eax
call fcn.004e4d00
add esp, 0xc
lea eax, [esp + 0x16c]
push 0x9c
push eax
lea eax, [esp + 0x428]
push eax
call fcn.004e4d00
add esp, 0xc
lea eax, [esp + 0x20c]
push 0xb4
lea ecx, [esp + 0x2c4]
push ecx
push eax
call fcn.004e4d00
add esp, 0xc
lea eax, [esp + 0x4e4]
push 0x9c
lea ecx, [esp + 0x424]
push ecx
push eax
jmp 0x45b3d9
lea eax, [esp + 0xb4]
mov ecx, dword [eax - 8]
mov edi, dword [eax - 0xc]
mov dword [esp], ecx
mov ecx, dword [eax - 4]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x20c]
push 0xb4
push eax
push ecx
call fcn.004e4d00
add esp, 0xc
lea eax, [esp + 0x16c]
lea ecx, [esp + 0x4e4]
push 0x9c
push eax
push ecx
call fcn.004e4d00
add esp, 0xc
lea ecx, [esp + 0x24]
call fcn.0045b8a6
lea ecx, [esp + 0x7c]
call fcn.0045b7e0
or esi, ebx
je 0x45b49b
lea esi, [esp + 0x61c]
lea eax, [esp + 0x20c]
push 0xb4
push eax
push esi
call fcn.004e4d00
add esp, 0xc
lea ebx, [esp + 0x580]
lea eax, [esp + 0x4e4]
push 0x9c
push eax
push ebx
call fcn.004e4d00
add esp, 0xc
cmp edi, 2
jne 0x45b55b
mov esi, dword [esp + 4]
lea eax, [esp + 0x2c0]
push 0xb4
lea ecx, [esp + 0xa4]
push ecx
push eax
call fcn.004e4d00
add esp, 0xc
lea eax, [esp + 0x420]
lea ecx, [esp + 0x20c]
push 0x9c
push eax
push ecx
call fcn.004e4d00
add esp, 0xc
mov eax, dword [esp + 0x14]
mov ecx, dword [esp]
mov dword [eax + 4], 0
mov dword [eax], 2
mov dword [eax + 0xc], esi
mov dword [eax + 8], ecx
jmp 0x45b60c
mov ecx, 0xb4
lea eax, [esp + 0x20c]
lea esi, [esp + 0x61c]
push ecx
push eax
push esi
call fcn.004e4d00
add esp, 0xc
mov ecx, 0x9c
lea eax, [esp + 0x4e4]
lea ebx, [esp + 0x580]
push ecx
push eax
push ebx
call fcn.004e4d00
add esp, 0xc
mov eax, 0xb4
push eax
push esi
lea esi, [esp + 0x2c8]
push esi
call fcn.004e4d00
add esp, 0xc
mov eax, 0x9c
push eax
push ebx
lea eax, [esp + 0x214]
push eax
call fcn.004e4d00
add esp, 0xc
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 4]
mov ecx, 0xb4
mov dword [ebx + 8], edi
mov dword [ebx + 0x10], eax
mov eax, dword [esp]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x14]
push ecx
push esi
push eax
call fcn.004e4d00
add esp, 0xc
xor esi, esi
mov ecx, 0x9c
lea eax, [ebx + 0xcc]
mov dword [ebx + 0xc8], esi
push ecx
lea ecx, [esp + 0x210]
push ecx
push eax
call fcn.004e4d00
add esp, 0xc
mov dword [ebx + 4], esi
mov dword [ebx], esi
jmp 0x45b60c
mov eax, 0xb4
push eax
push esi
lea esi, [esp + 0xa8]
push esi
call fcn.004e4d00
add esp, 0xc
mov eax, 0x9c
push eax
push ebx
lea ebx, [esp + 0x428]
push ebx
call fcn.004e4d00
add esp, 0xc
mov eax, 0xb4
push eax
push esi
lea esi, [esp + 0x2c8]
push esi
call fcn.004e4d00
add esp, 0xc
mov eax, 0x9c
push eax
push ebx
lea eax, [esp + 0x214]
push eax
call fcn.004e4d00
add esp, 0xc
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 4]
mov ecx, 0xb4
mov dword [ebx + 8], edi
mov dword [ebx + 0x10], eax
mov eax, dword [esp]
mov dword [ebx + 0xc], eax
lea eax, [ebx + 0x14]
push ecx
push esi
push eax
call fcn.004e4d00
add esp, 0xc
xor esi, esi
mov ecx, 0x9c
lea eax, [ebx + 0xcc]
mov dword [ebx + 0xc8], esi
push ecx
lea ecx, [esp + 0x210]
push ecx
push eax
call fcn.004e4d00
add esp, 0xc
mov dword [ebx + 4], esi
mov dword [ebx], 1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x523480
mov edx, 0x1e
push 0x5234a0
call fcn.004e8fb0
mov ecx, 4
mov edx, 8
call fcn.004e8800
ud2
mov ecx, 4
mov edx, 0xc
call fcn.004e8800