Function at 0x4adbe0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x600cdb
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x114], edi
mov ebx, dword [esp + 0x11c]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4adc56
lea eax, [ebx - 0x10]
mov dword [esp + 0x114], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4adc4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4ae2ab
or ebp, 0xffffffff
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], edi
lea ecx, [esp + 0x44]
push ecx
lea eax, [ebp + 2]
mov ecx, ebx
mov byte [esp + 0x118], 1
call fcn.0050e530
cmp eax, edi
jge 0x4adcc0
lea esi, [esp + 0x5c]
call fcn.0050df50
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call fcn.0050df50
lea eax, [ebx - 0x10]
mov dword [esp + 0x114], ebp
lea edx, [eax + 0xc]
lock xadd dword [edx], ebp
dec ebp
test ebp, ebp
jmp 0x4adc43
mov edx, dword [0x677600]
mov eax, dword [edx + 0xc]
mov ecx, 0x677600
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0xec]
push ecx
mov byte [esp + 0x118], 2
call fcn.004ac3a0
mov byte [esp + 0x114], 3
call fcn.00448810
mov dword [esp + 0x20], eax
mov byte [eax + 0x15], 1
mov eax, dword [esp + 0x20]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x20]
mov dword [eax], eax
mov eax, dword [esp + 0x20]
mov dword [eax + 8], eax
mov dword [esp + 0x24], edi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x48]
mov byte [esp + 0x118], 4
mov dword [esp + 0x1c], edi
call fcn.0050e200
test eax, eax
je 0x4ae162
lea ebx, [esp + 0x14]
call fcn.00415310
mov edi, eax
call fcn.00415390
mov esi, dword [esp + 0x14]
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x4ae143
jl 0x4ae2c7
movzx eax, word [esi]
movzx edx, ax
cmp dx, 0x3b
je 0x4ae143
test ecx, ecx
jl 0x4ae2c7
movzx eax, ax
cmp ax, 0x5b
jne 0x4adf06
lea eax, [ecx - 1]
test eax, eax
jl 0x4ae2c7
cmp eax, ecx
jg 0x4ae2c7
movzx eax, word [esi + eax*2]
cmp ax, 0x5d
jne 0x4adf06
cmp dword [esp + 0x18], 0
jle 0x4ade50
lea eax, [esp + 0x80]
push eax
call fcn.004ac3a0
mov ecx, dword [esp + 0x124]
push ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x120], 5
call fcn.004af1e0
test eax, eax
je 0x4ade3c
mov ebp, dword [esp + 0x120]
mov ecx, dword [ebp + 4]
lea edx, [esp + 0xcc]
push edx
lea ebx, [esp + 0x90]
mov esi, ebp
mov dword [esp + 0xac], ecx
mov dword [esp + 0xa8], ebp
call fcn.004b0290
lea esi, [esp + 0xa4]
mov edi, eax
call fcn.00458df0
test al, al
je 0x4ade3c
mov eax, ebx
push eax
mov ecx, ebp
call fcn.004afe00
lea ebx, [esp + 0x80]
mov esi, eax
call fcn.004ad810
lea esi, [esp + 0x80]
mov byte [esp + 0x114], 4
call fcn.004ae2e0
lea eax, [esp + 0x1c]
call fcn.0041d9a0
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 0xc]
push ecx
lea ecx, [esp + 0x18]
mov edx, esp
mov dword [esp + 0x2c], esp
push ecx
add eax, 0xfffffffe
mov ecx, 1
call fcn.00409f60
push str.strTitle
lea edi, [esp + 0xbc]
call fcn.004b0d90
add esp, 8
lea edx, [esp + 0x9c]
push edx
mov edi, eax
mov byte [esp + 0x118], 6
call fcn.004b0e10
lea eax, [esp + 0x9c]
push eax
lea ecx, [esp + 0x20]
push ecx
lea ebx, [esp + 0xdc]
mov byte [esp + 0x11c], 7
call fcn.0041d0e0
lea esi, [esp + 0x9c]
call fcn.004c52c0
mov byte [esp + 0x114], 4
mov eax, dword [esp + 0xb8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4adefc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [esp + 0x18], 1
jmp 0x4ae143
lea ecx, [esp + 0x2c]
push ecx
mov ecx, str.strTitle
call fcn.00409dd0
mov edi, dword [esp + 0x20]
lea edx, [esp + 0xac]
push edx
lea ebx, [esp + 0x30]
lea esi, [esp + 0x20]
call fcn.00467460
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x4adf3e
lea ecx, [esp + 0x1c]
cmp eax, ecx
je 0x4adf43
call fcn.005d29f1
cmp dword [esi + 4], edi
mov eax, dword [esp + 0x2c]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4adf69
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x4ae143
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0
jle 0x4ae143
push 0x3d
push eax
call fcn.005d33c4
add esp, 8
test eax, eax
je 0x4ae143
sub eax, dword [esp + 0x14]
sar eax, 1
mov esi, eax
cmp esi, 0xffffffff
je 0x4ae143
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x14]
call fcn.0041a270
mov ebx, eax
mov byte [esp + 0x114], 8
call fcn.00415310
mov edi, eax
call fcn.00415390
mov eax, dword [eax]
sub eax, 0x10
call fcn.0040a210
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x114], 0xa
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4adfff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 1]
lea esi, [esp + 0x40]
lea edx, [esp + 0x14]
call fcn.00409f40
mov ebx, eax
mov byte [esp + 0x114], 0xb
call fcn.00415310
mov edi, eax
call fcn.00415390
mov eax, dword [eax]
sub eax, 0x10
call fcn.0040a210
lea edi, [eax + 0x10]
mov dword [esp + 0xc0], edi
mov bl, 0xd
mov byte [esp + 0x114], bl
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ae062
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
lea ebp, [edi - 0x10]
mov eax, ebp
mov dword [esp + 0xc0], esp
mov esi, esp
call fcn.0040a210
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x118], 0xe
mov eax, dword [esp + 0x3c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
mov dword [esp + 0x30], eax
call fcn.0040a210
add eax, 0x10
mov dword [esi], eax
lea esi, [esp + 0xcc]
mov byte [esp + 0x11c], bl
call fcn.0047b400
add esp, 8
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
mov byte [esp + 0x118], 0xf
call fcn.00517200
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x20]
push eax
lea ebx, [esp + 0xe8]
mov byte [esp + 0x11c], 0x10
call fcn.0041d0e0
lea esi, [esp + 0x30]
call fcn.004c52c0
lea esi, [esp + 0xc4]
call fcn.004c52c0
mov byte [esp + 0x114], 0xa
lea ecx, [ebp + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ae11e
mov ecx, dword [ebp]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebp
call edx
mov eax, dword [esp + 0x28]
mov byte [esp + 0x114], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ae143
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x14]
push ecx
lea eax, [esp + 0x48]
call fcn.0050e200
test eax, eax
jne 0x4add3b
mov ebx, dword [esp + 0x11c]
xor edi, edi
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], edi
jne 0x4ae210
cmp dword [esp + 0x18], edi
jle 0x4ae210
lea eax, [esp + 0x80]
push eax
call fcn.004ac3a0
mov ecx, dword [esp + 0x124]
push ecx
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x120], 0x11
call fcn.004af1e0
test eax, eax
je 0x4ae1fd
mov ebp, dword [esp + 0x120]
mov ecx, dword [ebp + 4]
lea edx, [esp + 0xac]
push edx
lea ebx, [esp + 0x90]
mov esi, ebp
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], ebp
call fcn.004b0290
lea esi, [esp + 0x30]
mov edi, eax
call fcn.00458df0
test al, al
je 0x4ae1fb
mov eax, ebx
push eax
mov ecx, ebp
call fcn.004afe00
lea ebx, [esp + 0x80]
mov esi, eax
call fcn.004ad810
xor edi, edi
lea esi, [esp + 0x80]
call fcn.004ae2e0
mov ebx, dword [esp + 0x11c]
lea esi, [esp + 0x5c]
call fcn.0050df50
or ebp, 0xffffffff
lea eax, [esp + 0x1c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov byte [esp + 0x114], 3
call fcn.0041d480
lea esi, [esp + 0xec]
call fcn.004ae2e0
mov byte [esp + 0x114], 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebp
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4ae26c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x5c]
call fcn.0050df50
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
call fcn.0050df50
lea eax, [ebx - 0x10]
mov dword [esp + 0x114], ebp
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebp
dec ebp
test ebp, ebp
jg 0x4ae2a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x104
ret 0xc
push 0x80070057
call fcn.00403650
int3