Function at 0x42d44f
Capabilities:
Delete file

Disassembly:
mov eax, 0x4e71f4
call fcn.004e1580
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
call fcn.004cbba4
mov esi, eax
test esi, esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], esi
je 0x42d478
mov eax, dword [esi]
push esi
call dword [eax + 4]
and dword [ebp - 4], 0
and dword [ebp - 0x14], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push esi
mov byte [ebp - 4], 1
call dword [eax + 0xc]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x42d5f9
mov ecx, dword [eax]
lea ebx, [edi + 0x48]
push ebx
push 1
push eax
call dword [ecx + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x42d5f6
and dword [ebp - 0x10], 0
test eax, eax
je 0x42d4c5
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x52b760
push eax
call dword [ecx]
push 0xffffffffffffffff
push str.http:__client1.xl6.sandai.net_xmp.ini
mov byte [ebp - 4], 2
call fcn.0040294f
pop ecx
mov dword [ebp - 0x18], eax
pop ecx
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov byte [ebp - 4], 3
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov byte [ebp - 4], 2
call esi
push 0xffffffffffffffff
push 0x4fc160
call fcn.0040294f
pop ecx
mov dword [ebp - 0x18], eax
pop ecx
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov byte [ebp - 4], 4
mov ecx, dword [eax]
push eax
call dword [ecx + 0x30]
push dword [ebp - 0x18]
mov byte [ebp - 4], 2
call esi
lea eax, [ebp - 0x1c]
push eax
call fcn.004d14df
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
mov byte [ebp - 4], 5
call fcn.0040294f
add esp, 0xc
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x18]
mov byte [ebp - 4], 6
mov ecx, dword [eax]
push eax
call dword [ecx + 0x28]
push dword [ebp - 0x18]
call esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebp - 0x10]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x7c]
mov eax, dword [ebp - 0x10]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0xd8]
mov eax, dword [ebp - 0x10]
push 0x509490
mov ecx, edi
mov dword [ebp - 0x18], eax
mov esi, dword [eax]
call sub.MFC42.DLL_CCmdTarget::GetInterface
push eax
push dword [ebp - 0x18]
call dword [esi + 0xa8]
push dword [edi + 0x44]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [edi + 0x44]
mov ecx, edi
call fcn.0042d6c3
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
test eax, eax
je 0x42d5cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
and byte [ebp - 4], 0
test eax, eax
je 0x42d5e0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x42d5f1
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 1
pop eax
jmp 0x42d617
mov eax, dword [ebp - 0x14]
and byte [ebp - 4], 0
test eax, eax
je 0x42d607
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x42d615
mov eax, dword [esi]
push esi
call dword [eax + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret