Function at 0x438020
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d14f6
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x5153e8]
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 dword [ebp - 0x26c], ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00494910
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x238], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4380a4
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.00408480
mov ebx, 7
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], ebx
mov word [ebp - 0x230], ax
cmp dword [ebp - 0x234], 8
lea edx, [ebp - 0x248]
mov eax, dword [ebp - 0x238]
cmovae edx, dword [ebp - 0x248]
mov byte [ebp - 4], 1
mov dword [ebp - 0x268], edx
cmp eax, 0xb
jb 0x43829b
add eax, 0xfffffff6
lea ecx, [edx + eax*2]
mov eax, edx
mov dword [ebp - 0x264], ecx
sub ecx, eax
sar ecx, 1
je 0x43829b
cmp word [eax], 0x77
je 0x438143
add eax, 2
sub ecx, 1
jne 0x438130
jmp 0x43829b
mov edx, str.wpscloudsvr
mov edi, eax
mov esi, 0xb
sub edi, edx
mov cx, word [edx + edi]
cmp cx, word [edx]
jne 0x4381cd
add edx, 2
sub esi, 1
jne 0x438151
sub eax, dword [ebp - 0x268]
sar eax, 1
cmp eax, 0xffffffff
je 0x43829b
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x260]
push eax
call fcn.00438cc0
mov esi, eax
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x43824a
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4381e5
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4381db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438351
jmp 0x4381db
mov ecx, dword [ebp - 0x264]
add eax, 2
jmp 0x438126
push edx
push ecx
call fcn.0049211e
add esp, 8
mov dword [ebp - 0x220], 0
xor eax, eax
mov word [ebp - 0x230], ax
mov dword [ebp - 0x21c], 7
mov eax, dword [esi]
mov dword [ebp - 0x230], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x22c], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x228], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x224], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x220], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x21c], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea ecx, [ebp - 0x260]
call fcn.00402ba0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x438295
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00416080
mov ebx, dword [ebp - 0x21c]
add esp, 0xc
mov esi, eax
jmp 0x4382a0
mov ebx, dword [ebp - 0x21c]
mov esi, 1
cmp ebx, 8
jb 0x4382da
mov ecx, dword [ebp - 0x230]
lea edx, [ebx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4382d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438356
push edx
push ecx
call fcn.0049211e
add esp, 8
mov edx, dword [ebp - 0x234]
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
cmp edx, 8
jb 0x438333
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x438329
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x438356
push edx
push ecx
call fcn.0049211e
add esp, 8
mov eax, esi
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.0049212c
mov esp, ebp
pop ebp
ret
call fcn.0049da69
call fcn.0049da69
int3