Function at 0x43e320
Capabilities:
Accept command line arguments
Check if file exists
Contain obfuscated stackstrings
Delete file
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589806
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x5e5c10]
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 edi, ecx
call fcn.0045936a
mov eax, dword [edi + 0x120e4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov eax, dword [edi + 0x20]
push 1
push 0x80
push eax
call esi
mov eax, dword [edi + 0x120e4]
mov ecx, dword [edi + 0x20]
push eax
push 0
push 0x80
push ecx
call esi
push 0
push 0
push 0
push 0
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push reloc.WS2_32.dll_closesocket
push 0
push str.tooltips_class32
push 8
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 0x594520
mov dword [0x5f0420], eax
call fcn.0047c70f
mov dword [0x5f0418], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 7
push 0x5be2b8
push eax
call fcn.005607d7
add esp, 0xc
test eax, eax
jne 0x43e3eb
mov byte [edi + 0x120e0], 1
jmp 0x43e3f2
mov byte [edi + 0x120e0], 0
jmp 0x43e404
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x226]
push eax
mov word [ebp - 0x228], dx
call fcn.005632e0
add esp, 0xc
lea ecx, [ebp - 0x228]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [ebp - 0x230], 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea edx, [ebp - 0x228]
push edx
push str._s_d_x
push 0x5f0520
call fcn.0040bd00
add esp, 0x14
xor esi, esi
jmp 0x43e470
mov eax, dword [0x5f0520]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43e4a9
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x228]
push ecx
push str._s_d_x
push 0x5f0520
call fcn.0040bd00
inc esi
add esp, 0x14
cmp esi, 0xa
jl 0x43e470
mov edx, dword [0x5f0520]
push edx
call fcn.00562195
push 0x208
lea eax, [ebp - 0x228]
push 0
push eax
call fcn.005632e0
add esp, 0x10
lea ecx, [ebp - 0x228]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, dword [0x5f0520]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea eax, [ebp - 0x230]
push eax
mov ecx, edi
call fcn.0043e910
call fcn.0043ce50
cmp dword [0x601528], 0
jbe 0x43e5bb
mov esi, dword [0x5f0568]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x234], esp
mov dword [ebp - 0x22c], esp
call eax
cmp dword [esi - 4], 0
lea ecx, [esi - 4]
jl 0x43e543
cmp eax, dword [esi - 0x10]
jne 0x43e543
lea ebx, [esi - 0x10]
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x43e57c
mov ecx, dword [esi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
jne 0x43e55c
call fcn.00415c30
mov eax, dword [esi - 0xc]
mov dword [ebx + 4], eax
mov eax, dword [esi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push esi
push edx
lea eax, [ebx + 0x10]
push eax
call fcn.005601aa
add esp, 0x10
mov ecx, dword [ebp - 0x22c]
add ebx, 0x10
mov dword [ecx], ebx
push ecx
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0x22c], esp
push 0x5f0528
call fcn.00401990
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.0044c520
push 1
mov ecx, 0x5f0528
call fcn.0043da90
mov edx, dword [edi + 0x20]
push 0
push edx
call dword [sym.imp.USER32.dll_GetSystemMenu]
push eax
call fcn.00482a54
mov esi, eax
test esi, esi
je 0x43e615
cmp byte [edi + 0x120dc], 0
mov ebx, dword [sym.imp.USER32.dll_GetMenuItemID]
jne 0x43e5f7
mov eax, dword [esi + 4]
push 3
push eax
call ebx
mov ecx, dword [esi + 4]
push 3
push eax
push ecx
call dword [sym.imp.USER32.dll_EnableMenuItem]
cmp byte [edi + 0x120dd], 0
jne 0x43e615
mov edx, dword [esi + 4]
push 4
push edx
call ebx
push 3
push eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_EnableMenuItem]
call fcn.004564c0
call fcn.00456e5c
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43e634
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x22c], eax
mov dword [ebp - 4], 1
mov ecx, dword [0x5f0520]
push ecx
lea edx, [ebp - 0x22c]
push str._sintermediate.tis
push edx
call fcn.0040bd00
mov al, byte [ebp - 0x230]
add esp, 0xc
mov cl, 0x7a
mov dword [ebp - 0x20], 0x517a7a47
mov dword [ebp - 0x1c], 0x38553531
mov dword [ebp - 0x18], 0x3551484a
mov dword [ebp - 0x14], 0x4c7a5137
test al, al
je 0x43e6ae
mov dl, al
or dl, 0x47
mov byte [ebp - 0x20], dl
lea edx, [eax + 1]
or dl, cl
lea ecx, [eax + 3]
and cl, 0x4a
add al, al
mov byte [ebp - 0x1f], dl
mov byte [ebp - 0x18], cl
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x230]
movzx ecx, byte [edi + 0x120e0]
mov ebx, dword [ebp - 0x22c]
lea edx, [ebp - 0x20]
push edx
mov edx, dword [0x5f0520]
push eax
mov eax, dword [edi + 0x20]
push ecx
push ebx
push edx
push eax
call dword [0x5f0400]
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x43e6f3
lea ecx, [ebp - 0x228]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [edi + 0x20]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [0x5f041c]
test ecx, ecx
je 0x43e71d
call fcn.00458178
push 0
mov ecx, edi
call fcn.0045dc2a
mov edi, dword [edi + 0x120c8]
push ecx
mov ecx, dword [edi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x234], esp
mov dword [ebp - 0x230], esp
call edx
cmp dword [edi - 4], 0
lea ecx, [edi - 4]
jl 0x43e75f
cmp eax, dword [edi - 0x10]
jne 0x43e75f
lea esi, [edi - 0x10]
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x43e798
mov ecx, dword [edi - 0xc]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
jne 0x43e778
call fcn.00415c30
mov eax, dword [edi - 0xc]
mov dword [esi + 4], eax
mov eax, dword [edi - 0xc]
lea ecx, [eax + eax + 2]
push ecx
lea edx, [eax + eax + 2]
push edi
push edx
lea eax, [esi + 0x10]
push eax
call fcn.005601aa
add esp, 0x10
mov ecx, dword [ebp - 0x230]
add esi, 0x10
mov dword [ecx], esi
call fcn.00456770
lea eax, [ebx - 0x10]
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43e7ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.0055fd94
mov esp, ebp
pop ebp
ret