Function at 0x42cb60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5be141
mov eax, dword fs:[0]
push eax
sub esp, 0x670
mov eax, dword [0x634274]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x67c], ebx
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00486960
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.00486960
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00486960
add esp, 0x24
call fcn.004607e6
test al, al
je 0x42cbf1
test eax, ebp
std
invalid
mov ds, word [eax - 0x4f956dcd]
mov ch, 0xbd
scasb al, byte es:[edi]
push esi
daa
mov esi, 0x8b4e6b24
popfd
test cl, bh
invalid
lea eax, [ebp - 0x628]
mov ecx, ebx
push eax
push str.f9a4f
call int.0042c320
lea eax, [ebp - 0x420]
mov ecx, ebx
push eax
push str.15696
call int.0042c320
call fcn.004607e6
test al, al
je 0x42cc36
push 0x8f2ffa12
jle 0x42cc5b
xchg ebx, eax
jno 0x42cbc2
popal
cmp byte [esi - 0x74b80507], bh
popfd
test cl, bh
invalid
lea eax, [ebp - 0x218]
mov ecx, ebx
push eax
push str.9e0e4
call int.0042c320
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ce27
add dword [eax], eax
add al, ch
sar dword [eax], 1
add eax, dword [eax]
call fcn.00460534
test al, al
je 0x42cc7a
xchg esp, eax
iretd
xor eax, eax
mov dword [ebp - 0x62c], 7
mov dword [ebp - 0x630], 0
mov word [ebp - 0x640], ax
cmp word [ebp - 0x218], ax
jne 0x42cca4
xor ecx, ecx
jmp 0x42ccbf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42ccb0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x640]
call fcn.00402510
cmp dword [ebp - 0x630], 0
mov dword [ebp - 4], 0
je 0x42cd83
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x658]
push eax
call fcn.004718c1
add esp, 8
push 0xd
push str.SWWordMgr.dll
lea ecx, [ebp - 0x658]
mov byte [ebp - 4], 1
call fcn.00404190
lea ecx, [ebp - 0x678]
call fcn.0041c460
cmp dword [ebp - 0x62c], 8
lea ecx, [ebp - 0x640]
lea eax, [ebp - 0x658]
mov byte [ebp - 4], 2
cmovae ecx, dword [ebp - 0x640]
cmp dword [ebp - 0x644], 8
push ecx
cmovae eax, dword [ebp - 0x658]
lea ecx, [ebp - 0x678]
push eax
call fcn.0041d150
lea ecx, [ebp - 0x678]
call fcn.0041c5c0
mov eax, dword [ebp - 0x644]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x42cd83
inc eax
lea ecx, [ebp - 0x658]
push eax
push dword [ebp - 0x658]
call fcn.00402610
call fcn.0046030c
test al, al
je 0x42cda9
invalid
mov ecx, dword [ebp - 0x67c]
call fcn.0042afc0
lea eax, [ebp - 0x628]
push eax
call fcn.00465cbe
add esp, 4
call fcn.004606d2
test al, al
je 0x42cdea
jbe 0x42ce3a
outsd dx, dword [esi]
movsd dword es:[edi], dword [esi]
clc
xchg ebx, eax
push ebx
dec ebp
invalid
call fcn.0046016e
test al, al
je 0x42ce09
sahf
leave
sbb dl, byte [edi]
push edi
aas
or dword [edx + 0x11], edx
cmp dword [edi + 0x5dd6be21], ecx
mov eax, 0x14d54f12
int 0x2a
mov eax, dword [ebp - 0x62c]
cmp eax, 8
jb 0x42ce27
inc eax
lea ecx, [ebp - 0x640]
push eax
push dword [ebp - 0x640]
call fcn.00402610
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455afe
mov esp, ebp
pop ebp
ret