Function at 0x42d390
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x459ac1
mov eax, dword fs:[0]
push eax
sub esp, 0x348
mov eax, dword [0x46be4c]
xor eax, esp
mov dword [esp + 0x344], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46be4c]
xor eax, esp
push eax
lea eax, [esp + 0x35c]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x154]
mov esi, ecx
push 0
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 1
call fcn.004413c0
mov edx, dword [esp + 0x378]
push 0x104
lea ecx, [esp + 0x264]
push ecx
push edx
call fcn.00405a50
add esp, 0x18
mov dword [esp + 0x36c], eax
lea eax, [esp + 0x150]
push eax
lea ecx, [esp + 0x258]
push ecx
mov ecx, esi
call fcn.0042cdc0
test eax, eax
jne 0x42d436
mov eax, 1
jmp 0x42d915
xor eax, eax
cmp dword [esi + 0x110], eax
mov dword [esp + 0x1c], eax
jle 0x42d911
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
jmp 0x42d456
mov eax, dword [esp + 0x1c]
mov esi, ecx
test eax, eax
jl 0x42d949
cmp eax, dword [esi + 0x110]
jge 0x42d949
mov edx, dword [esi + 0x10c]
lea eax, [edx + eax*4]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004015c0
lea esi, [eax + 0x10]
mov dword [esp + 0x18], esi
push 0x5c
push esi
mov dword [esp + 0x370], 0
call fcn.00440e55
add esp, 0xc
test eax, eax
jne 0x42d4a4
or edi, 0xffffffff
jmp 0x42d4a8
sub eax, esi
mov edi, eax
lea eax, [esp + 0x150]
lea ebx, [esp + 0x150]
push eax
add edi, 1
sub ebx, 1
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + ebx], 0x5c
mov eax, dword [esi - 0xc]
jne 0x42d4fa
sub eax, edi
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004072d0
mov edx, dword [eax]
push edx
lea eax, [esp + 0x154]
push eax
lea ecx, [esp + 0x54]
push 0x45ccb8
push ecx
call ebp
mov eax, dword [esp + 0x48]
jmp 0x42d526
sub eax, edi
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004072d0
mov edx, dword [eax]
push edx
lea eax, [esp + 0x154]
push eax
lea ecx, [esp + 0x54]
push 0x45ce28
push ecx
call ebp
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
add esp, 0x10
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d545
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x103
or eax, ecx
jge 0x42d56b
push 0x103
lea ecx, [esp + 0x18]
call fcn.00401570
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
push esi
call fcn.0042cf50
test eax, eax
jne 0x42d8a9
push 0x20
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
mov dword [esp + 0x24], eax
jne case.0x42d5b2.4
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xfffffffe
cmp eax, 0x1e
ja case.0x42d5b2.4
movzx eax, byte [eax + 0x42d958]
jmp dword [eax*4 + 0x42d950]
mov dword [esp + 0x24], 1
lea ecx, [esp + 0x150]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + ebx], 0x5c
mov eax, dword [esi - 0xc]
jne 0x42d60e
sub eax, edi
push eax
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x1c]
call fcn.004072d0
mov eax, dword [eax]
mov ecx, dword [esp + 0x36c]
push eax
push ecx
lea edx, [esp + 0x158]
push edx
lea eax, [esp + 0x58]
push 0x45dc90
push eax
call ebp
mov eax, dword [esp + 0x5c]
jmp 0x42d642
sub eax, edi
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004072d0
mov edx, dword [eax]
mov eax, dword [esp + 0x36c]
push edx
push eax
lea ecx, [esp + 0x158]
push ecx
lea edx, [esp + 0x58]
push str._s_d_s
push edx
call ebp
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
add esp, 0x14
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d661
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x20
lea ecx, [esp + 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
call fcn.004027b0
push 3
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x36c], 1
call fcn.004072d0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x368], 2
call fcn.00402020
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
mov byte [esp + 0x364], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d6df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
push 0x45dc8c
push ecx
call fcn.00440d82
add esp, 8
test eax, eax
je 0x42d70f
mov edx, dword [esp + 0x18]
push 0x45dc88
push edx
call fcn.00440d82
add esp, 8
test eax, eax
jne 0x42d881
lea eax, [esp + 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + ebx], 0x5c
mov eax, dword [esi - 0xc]
jne 0x42d75c
sub eax, edi
push eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004072d0
mov edx, dword [eax]
mov eax, dword [esp + 0x36c]
push edx
push eax
lea ecx, [esp + 0x158]
push ecx
lea edx, [esp + 0x58]
push str._s_dCOLOR_s
push edx
call ebp
mov eax, dword [esp + 0x54]
jmp 0x42d790
sub eax, edi
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004072d0
mov edx, dword [eax]
mov eax, dword [esp + 0x36c]
push edx
push eax
lea ecx, [esp + 0x158]
push ecx
lea edx, [esp + 0x58]
push 0x45e650
push edx
call ebp
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
add esp, 0x14
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d7af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [eax + ebx], 0x5c
mov eax, dword [esi - 0xc]
jne 0x42d818
sub eax, edi
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x1c]
call fcn.004072d0
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x154]
push edx
lea eax, [esp + 0x54]
push 0x45dc70
push eax
call ebp
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x42d857
sub eax, edi
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004072d0
mov edx, dword [eax]
push edx
lea eax, [esp + 0x154]
push eax
lea ecx, [esp + 0x54]
push str._sCOLOR_s
push ecx
call ebp
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0x10
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d863
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [esp + 0x4c]
push edx
call fcn.00416e70
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x364], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d8a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
jne 0x42d8b1
xor eax, eax
jmp 0x42d8c3
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42d8b6
sub eax, edx
js 0x42d93f
cmp eax, dword [esi - 8]
jg 0x42d93f
mov dword [esi - 0xc], eax
mov byte [eax + esi], 0
lea eax, [esi - 0x10]
mov dword [esp + 0x364], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d8f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add eax, 1
cmp eax, dword [ecx + 0x110]
mov dword [esp + 0x1c], eax
jl 0x42d450
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x35c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x344]
xor ecx, esp
call fcn.0044027a
add esp, 0x354
ret 4
push 0x80070057
call fcn.00401090
call fcn.00430460
mov edi, edi
mov ecx, 0xc10042d5
aad 66
add byte [eax], al
add byte [ecx], al
add byte [ecx], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [eax], eax
int3