Function at 0x42bad0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9e46
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x50c3e4]
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.0048f8b0
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 0x42bb54
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x248]
call fcn.004025c0
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 0x42bd4b
add eax, 0xfffffff6
lea ecx, [edx + eax*2]
mov eax, edx
mov dword [ebp - 0x264], ecx
sub ecx, eax
sar ecx, 1
je 0x42bd4b
cmp word [eax], 0x77
je 0x42bbf3
add eax, 2
sub ecx, 1
jne 0x42bbe0
jmp 0x42bd4b
mov edx, str.wpscloudsvr
mov edi, eax
mov esi, 0xb
sub edi, edx
mov cx, word [edx + edi]
cmp cx, word [edx]
jne 0x42bc7d
add edx, 2
sub esi, 1
jne 0x42bc01
sub eax, dword [ebp - 0x268]
sar eax, 1
cmp eax, 0xffffffff
je 0x42bd4b
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x260]
push eax
call fcn.0042c770
mov esi, eax
lea eax, [ebp - 0x230]
cmp eax, esi
je 0x42bcfa
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x42bc95
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bc8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42be01
jmp 0x42bc8b
mov ecx, dword [ebp - 0x264]
add eax, 2
jmp 0x42bbd6
push edx
push ecx
call fcn.0048d1e5
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.00402320
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 0x42bd45
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.00447070
mov ebx, dword [ebp - 0x21c]
add esp, 0xc
mov esi, eax
jmp 0x42bd50
mov ebx, dword [ebp - 0x21c]
mov esi, 1
cmp ebx, 8
jb 0x42bd8a
mov ecx, dword [ebp - 0x230]
lea edx, [ebx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bd80
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42be06
push edx
push ecx
call fcn.0048d1e5
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 0x42bde3
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bdd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42be06
push edx
push ecx
call fcn.0048d1e5
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.0048d444
mov esp, ebp
pop ebp
ret
call fcn.00498b39
call fcn.00498b39
int3