Function at 0x4651c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x684b41
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x740184]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, eax
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xd4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xe0], ecx
lea ecx, [ebp - 0x74]
mov dword [ebp - 0xcc], edi
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xe8], esi
call fcn.00476b20
push eax
mov ecx, esi
call fcn.00455d60
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x465269
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x46525f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46596a
push edx
push ecx
call fcn.0048af59
add esp, 8
lea eax, [ebp - 0xc4]
mov ecx, edi
push eax
call fcn.00468da0
mov edx, esi
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.0045f8c0
mov dword [ebp - 0xd8], eax
lea ecx, [edi + 0x2b8]
mov byte [ebp - 4], 1
push ecx
lea ecx, [edi + 4]
push ecx
lea eax, [ebp - 0x8c]
push eax
call fcn.0046da90
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 2
mov edx, dword [esi + 0x14]
mov eax, edx
mov ecx, dword [esi + 0x10]
sub eax, ecx
mov dword [ebp - 0xc8], ecx
cmp eax, 1
jb 0x46530a
mov dword [ebp - 0xd0], esi
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp edx, 8
jb 0x4652e2
mov eax, dword [esi]
mov dword [ebp - 0xd0], eax
push 2
lea eax, [eax + ecx*2]
push 0x7260f0
push eax
call fcn.004a2330
mov eax, dword [ebp - 0xd0]
add esp, 0xc
mov ecx, dword [ebp - 0xc8]
xor edx, edx
mov word [eax + ecx*2 + 2], dx
jmp 0x465329
push 1
push 0x7260f0
mov byte [ebp - 0xc8], 0
mov ecx, esi
push dword [ebp - 0xc8]
push 1
call fcn.0044f970
mov esi, eax
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push dword [ebp - 0xd8]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00456820
add esp, 0xc
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4653b3
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4653a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46596f
push edx
push ecx
call fcn.0048af59
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x78]
cmp edx, 8
jb 0x465408
mov ecx, dword [ebp - 0x8c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4653fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465974
push edx
push ecx
call fcn.0048af59
add esp, 8
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x46545d
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465453
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x465979
push edx
push ecx
call fcn.0048af59
add esp, 8
xor eax, eax
mov dword [ebp - 0x64], 0
cmp dword [ebp - 0x30], 8
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
mov dword [ebp - 0x60], 7
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x465490
test al, 0x10
jne 0x46597e
push 0x7260f0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004568a0
push eax
mov byte [ebp - 4], 8
call fcn.004cbec0
mov byte [ebp - 4], 7
add esp, 0x10
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x4654ed
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4654e3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46599f
push edx
push ecx
call fcn.0048af59
add esp, 8
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0xac]
call fcn.0044d8b0
mov dword [ebp - 0x94], 0
mov byte [ebp - 0x90], 1
push 0x7260f0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004568a0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea edx, [edi + 0x1c]
cmp dword [edi + 0x30], 8
jb 0x465536
mov edx, dword [edi + 0x1c]
push dword [edi + 0x2c]
mov ecx, eax
push edx
call fcn.0044f170
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov esi, dword [ebp - 0xdc]
lea eax, [ebp - 0x2c]
push 1
push esi
push eax
mov byte [ebp - 4], 0xb
call fcn.004ced80
mov byte [ebp - 4], 0xa
add esp, 0xc
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4655ca
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4655c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4659a4
push edx
push ecx
call fcn.0048af59
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x46561c
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465612
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4659a9
push edx
push ecx
call fcn.0048af59
add esp, 8
push 0x7260f0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004568a0
add esp, 0xc
mov byte [ebp - 4], 0xc
lea edx, [edi + 0x34]
cmp dword [edi + 0x48], 8
jb 0x465641
mov edx, dword [edi + 0x34]
push dword [edi + 0x44]
mov ecx, eax
push edx
call fcn.0044f170
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push dword [ebp - 0xd4]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xd
push eax
mov ecx, edi
call fcn.00469210
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4656d1
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4656c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4659ae
push edx
push ecx
call fcn.0048af59
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x465723
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465719
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4659b3
push edx
push ecx
call fcn.0048af59
add esp, 8
push 0x7260f0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004568a0
add esp, 0xc
mov byte [ebp - 4], 0xe
lea edx, [edi + 0x64]
cmp dword [edi + 0x78], 8
jb 0x465748
mov edx, dword [edi + 0x64]
push dword [edi + 0x74]
mov ecx, eax
push edx
call fcn.0044f170
mov dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x1c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push dword [ebp - 0xe0]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
push eax
mov ecx, edi
call fcn.00468b00
mov byte [ebp - 4], 0xe
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x4657d8
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4657ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4659b8
push edx
push ecx
call fcn.0048af59
add esp, 8
xor eax, eax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp edx, 8
jb 0x46582a
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x465820
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4659bd
push edx
push ecx
call fcn.0048af59
add esp, 8
push dword [ebp - 0xd4]
mov ecx, edi
mov byte [ebp - 4], 0x10
push esi
mov esi, dword [ebp - 0xe4]
push esi
call fcn.00468620
push esi
mov ecx, edi
call fcn.00468c90
cmp dword [ebp - 0x98], 8
lea eax, [ebp - 0xac]
mov dword [ebp - 0x9c], 0
cmovae eax, dword [ebp - 0xac]
xor ecx, ecx
mov word [eax], cx
lea ecx, [ebp - 0xac]
call fcn.0045fb00
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x4658b3
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4658a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4659c2
push edx
push ecx
call fcn.0048af59
add esp, 8
mov edx, dword [ebp - 0xb0]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 0x10
jb 0x465901
mov ecx, dword [ebp - 0xc4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4658f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4659c7
push edx
push ecx
call fcn.0048af59
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048b49a
mov esp, ebp
pop ebp
ret 0x10
call fcn.004aae7a
call fcn.004aae7a
call fcn.004aae7a
call fcn.004aae7a
push str.Certificate_already_exists
lea ecx, [ebp - 0xf4]
call fcn.0044c070
push 0x73d15c
lea eax, [ebp - 0xf4]
push eax
call fcn.004a18e8
call fcn.004aae7a
call fcn.004aae7a
call fcn.004aae7a
call fcn.004aae7a
call fcn.004aae7a
call fcn.004aae7a
call fcn.004aae7a
call fcn.004aae7a
call fcn.004aae7a
int3