Function at 0x423f80
Capabilities:
Check if file exists
Delete directory

Disassembly:
push 0x88
mov eax, 0x57e359
call fcn.0042c498
mov dword [ebp - 0x8c], ecx
call fcn.0042278d
mov ecx, eax
call fcn.00432f4c
push eax
lea ecx, [ebp - 0x88]
call fcn.0041fc8f
and dword [ebp - 4], 0
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x78], 0
je 0x42444b
call fcn.004315a0
test al, al
je 0x423fe8
pop ebx
push esi
push esp
pop eax
pop ebp
pop eax
push ebx
push ebx
push ebp
pop esi
pop esi
push ecx
pop ecx
push edi
pop esp
push edx
push edi
pop edx
pop edx
pop esp
push edx
push edx
pop ebp
pop edx
push esp
pop edx
pop edi
pop esp
push edi
pop esp
xor ebx, ebx
inc ebx
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041fc67
mov esi, str.WifiMain.exe
mov byte [ebp - 4], bl
push esi
call fcn.004525b1
pop ecx
push eax
push esi
lea ecx, [ebp - 0x40]
call fcn.00420e5e
call fcn.00431195
test al, al
je 0x424037
pop ebx
pop ecx
pop ebx
push esi
pop esp
push edx
push edx
push ebp
pop ecx
push edi
pop edx
push ebp
push ebx
pop esi
pop edi
push esp
pop ebx
pop esp
pop ecx
push edx
push ecx
push eax
pop ecx
push edi
push edx
pop ecx
push ecx
push edi
push esp
pop ecx
call fcn.004311da
test al, al
je 0x424054
push edx
push esi
pop ebx
push ebx
pop esi
push edi
pop ecx
pop esi
pop esp
pop eax
pop ecx
push ebx
pop eax
push ebp
pop esi
push esi
pop ebp
push eax
push ebx
push ebp
call fcn.00431516
test al, al
je 0x424076
pop esi
pop edi
pop edi
push ebx
pop esp
pop ecx
pop edx
push ecx
push edx
push esi
push esi
push ecx
push eax
push ebp
pop esi
pop ebx
push esi
pop ebp
push edx
push ebx
pop esp
push edi
push edi
push ebp
push edi
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x40]
push eax
call ebx
push 1
xor esi, esi
lea ecx, [ebp - 0x40]
test eax, eax
pop eax
push 0xffffffffffffffff
cmovne esi, eax
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.00420228
mov edi, str.Psych.exe
push edi
call fcn.004525b1
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.00420e5e
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call ebx
test eax, eax
push 1
pop eax
cmovne esi, eax
mov dword [ebp - 0x90], esi
call fcn.004313bd
test al, al
je 0x4240f7
pop ebp
pop edi
push esi
push ebp
push esi
push esp
push esi
pop ebp
pop ebp
push eax
pop ebx
push esp
pop ebx
push esp
pop eax
push ebx
pop esi
pop ebp
push esp
pop eax
push ecx
call fcn.0043110b
test al, al
je 0x424112
pop eax
pop edx
push edx
pop esi
pop ecx
push eax
push eax
pop edx
push esi
push edx
push esp
push edx
pop ebx
push esi
push ecx
push esi
pop ecx
pop edi
call fcn.004315a0
test al, al
je 0x424135
pop ecx
push ecx
push edx
pop edx
push edi
push esi
pop ecx
pop esp
pop esp
push esp
push edx
push edx
push ecx
pop edx
push eax
pop edx
push esi
pop eax
push ebp
push edi
pop ecx
push eax
pop eax
pop eax
pop eax
push edx
cmp dword [ebp - 0x90], 0
je 0x42418f
call fcn.0042278d
mov ecx, eax
call fcn.00432f58
push eax
lea ecx, [ebp - 0x28]
call fcn.0041fc8f
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
je 0x42417e
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0041fc8f
mov ecx, dword [ebp - 0x8c]
call fcn.004252c5
xor eax, eax
lea ecx, [ebp - 0x28]
inc eax
push 0
push eax
mov byte [ebp - 4], al
call fcn.0042019a
call fcn.004313bd
test al, al
je 0x4241b2
push ebx
push ebp
pop ebp
pop ebp
push esi
pop edi
pop esi
pop edx
pop edx
push ebp
push ebp
pop esp
push ebp
push ebp
push esi
push edx
push esp
pop ebp
pop ebx
push edi
pop esp
pop edx
push ecx
pop edi
pop eax
pop edi
call fcn.004314d1
test al, al
je 0x4241d4
push esi
pop esp
push esp
pop ebx
push edi
pop ecx
push ebx
push esi
pop ebx
pop esi
push ecx
push eax
pop edi
pop eax
pop esi
push esi
pop esi
pop ecx
push ebx
pop edi
pop ebp
push edi
pop eax
pop ebx
pop eax
call fcn.00431402
test al, al
je 0x4241f9
pop eax
push esi
pop ebp
pop edx
push edi
pop eax
push ecx
push edx
pop esp
pop edi
pop ebx
push esi
push ebx
pop eax
push ebx
pop eax
push esi
pop ebp
pop ebp
push edx
push edi
pop ebx
pop edi
pop esi
push ebp
pop ebp
pop ebp
push ebx
cmp dword [ebp + 8], 0
je 0x424331
call fcn.0042278d
mov ecx, eax
call fcn.00432e82
push eax
lea ecx, [ebp - 0x28]
call fcn.0041fc8f
cmp dword [ebp - 0x18], 0
mov byte [ebp - 4], 3
je 0x424259
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424259
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0041fc8f
mov ecx, dword [ebp - 0x8c]
call fcn.004252c5
call fcn.00431195
test al, al
je 0x424280
pop ebx
pop ecx
pop ebx
push esi
pop esp
push edx
push edx
push ebp
pop ecx
push edi
pop edx
push ebp
push ebx
pop esi
pop edi
push esp
pop ebx
pop esp
pop ecx
push edx
push ecx
push eax
pop ecx
push edi
push edx
pop ecx
push ecx
push edi
push esp
pop ecx
call fcn.004311da
test al, al
je 0x42429d
push edx
push esi
pop ebx
push ebx
pop esi
push edi
pop ecx
pop esi
pop esp
pop eax
pop ecx
push ebx
pop eax
push ebp
pop esi
push esi
pop ebp
push eax
push ebx
push ebp
call fcn.00431516
test al, al
je 0x4242bf
pop esi
pop edi
pop edi
push ebx
pop esp
pop ecx
pop edx
push ecx
push edx
push esi
push esi
push ecx
push eax
push ebp
pop esi
pop ebx
push esi
pop ebp
push edx
push ebx
pop esp
push edi
push edi
push ebp
push edi
call fcn.0042278d
mov ecx, eax
call fcn.00432e8e
push eax
lea ecx, [ebp - 0x70]
call fcn.0041fc8f
cmp dword [ebp - 0x60], 0
mov byte [ebp - 4], 4
je 0x424315
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x424315
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0041fc8f
mov ecx, dword [ebp - 0x8c]
call fcn.004252c5
xor ebx, ebx
lea ecx, [ebp - 0x70]
push 0
inc ebx
push ebx
call fcn.0042019a
push 0
push ebx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0042019a
call fcn.004312a9
test al, al
je 0x42434b
pop ecx
push ecx
push eax
push ebp
pop edx
push ecx
pop ecx
pop edx
push ecx
pop ebp
pop esi
pop eax
pop ebp
push edi
push edi
push esp
push esi
call fcn.004312ee
test al, al
je 0x424369
push ecx
pop ecx
pop ebp
pop edx
push ebx
push eax
push esp
push eax
pop esi
pop edx
push ebp
push ecx
push ebx
push ebp
push ebp
pop ebp
push ebx
pop esp
push ecx
push ebx
pop edx
call fcn.004316b4
test al, al
je 0x424382
pop edi
pop esi
pop edx
push ecx
pop edi
pop esi
pop ecx
pop edx
pop eax
pop esp
pop esi
pop esi
pop ecx
push esp
push ebx
push ecx
call fcn.0042278d
mov ecx, eax
call fcn.00432f58
push eax
lea ecx, [ebp - 0x58]
call fcn.0041fc8f
cmp dword [ebp - 0x48], 0
mov byte [ebp - 4], 5
je 0x4243e6
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4243e6
mov esi, 0x582714
push esi
call fcn.004525b1
pop ecx
push eax
push 0
push esi
lea ecx, [ebp - 0x58]
call fcn.0042569d
cmp eax, 0xffffffff
je 0x4243e6
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
call fcn.00431447
test al, al
je 0x424408
pop esi
push edi
pop ecx
push ebx
pop edx
pop edi
push edi
push ebx
pop ecx
pop ebx
push esp
push ebp
push edx
pop edi
push esp
pop edi
pop esi
push edx
push eax
pop ebx
pop esi
pop edx
pop esp
push ebp
push eax
cmp dword [ebp - 0x74], 8
lea eax, [ebp - 0x88]
cmovae eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x90], 0
je 0x424435
mov eax, dword [ebp - 0x8c]
mov byte [eax + 0x10], bl
push 0
push ebx
lea ecx, [ebp - 0x58]
call fcn.0042019a
push 0
push ebx
lea ecx, [ebp - 0x40]
call fcn.0042019a
push 0
push ebx
lea ecx, [ebp - 0x88]
call fcn.0042019a
call fcn.0042c453
ret 4