Function at 0x402f30
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44726b
mov eax, dword fs:[0]
push eax
sub esp, 0x750
mov eax, dword [0x45c5b0]
xor eax, esp
mov dword [esp + 0x74c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45c5b0]
xor eax, esp
push eax
lea eax, [esp + 0x764]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x774]
push 0x44de0b
lea ecx, [esp + 0x1c]
mov dword [esp + 0x24], ebp
call fcn.00401fc0
mov dword [esp + 0x76c], 0
cmp byte [ebp], 0
je 0x4032e2
push 0x103
lea ecx, [esp + 0x345]
push 0
push ecx
mov byte [esp + 0x34c], 0
call fcn.00434290
add esp, 0xc
push 0x103
lea edx, [esp + 0x555]
push 0
push edx
mov byte [esp + 0x55c], 0
call fcn.00434290
add esp, 0xc
push 0x103
lea eax, [esp + 0x44d]
push 0
push eax
mov byte [esp + 0x454], 0
call fcn.00434290
add esp, 0xc
push 0x103
lea ecx, [esp + 0x23d]
push 0
push ecx
mov byte [esp + 0x244], 0
call fcn.00434290
add esp, 0xc
push 0x103
lea edx, [esp + 0x2d]
push 0
push edx
mov byte [esp + 0x34], 0
call fcn.00434290
add esp, 0xc
push 0x103
lea eax, [esp + 0x135]
push 0
push eax
mov byte [esp + 0x13c], 0
call fcn.00434290
add esp, 0xc
push 0x103
lea ecx, [esp + 0x65d]
push 0
push ecx
mov byte [esp + 0x664], 0
call fcn.00434290
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0xc
test esi, esi
je 0x4030c2
push esi
lea edx, [esp + 0x554]
push edx
call fcn.00406b20
lea esi, [esp + 0x238]
call fcn.00406de0
lea esi, [esp + 0x340]
call fcn.004068a0
lea edi, [esp + 0x448]
call fcn.00406eb0
lea esi, [esp + 0x130]
call fcn.00406de0
push str.CCFCCB_Security_Suite_2.3
mov eax, esi
push eax
call ebx
jmp 0x40310a
push 0
lea ecx, [esp + 0x554]
push ecx
call fcn.00406b20
lea esi, [esp + 0x238]
call fcn.00406de0
push 0
lea edx, [esp + 0x344]
push edx
call fcn.00406b20
push 0
lea eax, [esp + 0x44c]
push eax
call fcn.00406b20
push 0
lea ecx, [esp + 0x134]
push ecx
call fcn.00406b20
lea ecx, [esp + 0x658]
call fcn.004068f0
mov edi, dword [esp + 0x778]
test edi, edi
jle 0x403270
lea esi, [ebp + 0x104]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov dword [esp + 0x1c], edi
cmp byte [esi + 6], 1
jne 0x40325b
cmp byte [esp + 0x77c], 1
jne 0x403155
cmp byte [esi + 4], 1
jne 0x40325b
jmp 0x40315f
cmp byte [esi + 4], 1
je 0x40325b
push 0x104
lea edx, [esp + 0x2c]
push 0
push edx
call fcn.00434290
mov eax, dword [esi]
add esp, 0xc
test eax, eax
jne 0x403196
lea eax, [esp + 0x340]
push eax
lea ecx, [esp + 0x2c]
push ecx
call ebp
lea edx, [esi - 0x104]
push edx
lea eax, [esp + 0x2c]
push eax
jmp 0x403202
cmp eax, 1
jne 0x4031b8
lea ecx, [esp + 0x550]
push ecx
lea edx, [esp + 0x2c]
push edx
call ebp
lea eax, [esi - 0x104]
push eax
lea ecx, [esp + 0x2c]
push ecx
jmp 0x403202
cmp eax, 2
jne 0x4031c6
lea edx, [esp + 0x238]
jmp 0x4031ee
cmp eax, 5
jne 0x4031d4
lea eax, [esp + 0x130]
jmp 0x403180
cmp eax, 3
jne 0x4031e2
lea ecx, [esp + 0x448]
jmp 0x4031a2
cmp eax, 6
jne 0x403204
lea edx, [esp + 0x658]
push edx
lea eax, [esp + 0x2c]
push eax
call ebp
lea ecx, [esi - 0x104]
push ecx
lea edx, [esp + 0x2c]
push edx
call ebx
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x403257
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x1c]
push 0x44de98
push edx
call fcn.00402100
mov eax, dword [esp + 0x24]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov edi, esp
push eax
call fcn.004025f0
add eax, 0x10
add esp, 4
mov dword [edi], eax
call fcn.00408ec0
mov edi, dword [esp + 0x778]
mov byte [esi + 5], 0
jmp 0x40325b
mov byte [esi + 5], 1
add esi, 0x31c
sub dword [esp + 0x1c], 1
jne 0x403135
mov ebp, dword [esp + 0x20]
xor ecx, ecx
test edi, edi
jle 0x4032e2
lea eax, [ebp + 0x108]
lea esp, [esp]
cmp byte [eax + 2], 1
jne 0x4032d8
cmp byte [esp + 0x77c], 1
jne 0x4032cd
cmp byte [eax], 1
jne 0x4032d8
cmp byte [eax + 1], 0
jne 0x4032d8
mov dword [esp + 0x76c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4032c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 2
jmp 0x40330f
cmp byte [eax], 1
je 0x4032d8
cmp byte [eax + 1], 0
je 0x403339
inc ecx
add eax, 0x31c
cmp ecx, edi
jl 0x403280
mov dword [esp + 0x76c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40330d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x764]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74c]
xor ecx, esp
call fcn.00430bec
add esp, 0x75c
ret 0xc
mov dword [esp + 0x76c], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403364
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x40330f