Function at 0x401000
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x426798
mov eax, dword fs:[0]
push eax
sub esp, 0x4b0
mov eax, dword [0x430400]
xor eax, esp
mov dword [esp + 0x4a8], eax
push ebx
push esi
push edi
mov eax, dword [0x430400]
xor eax, esp
push eax
lea eax, [esp + 0x4c0]
mov dword fs:[0], eax
push 0x40e
xor edi, edi
lea ecx, [esp + 0xaa]
xor eax, eax
push edi
push ecx
mov word [esp + 0xb0], ax
call fcn.00414160
add esp, 0xc
lea edx, [esp + 0xa4]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov word [esp + 0x54], ax
lea eax, [esp + 0xa4]
mov dword [esp + 0x68], 7
mov dword [esp + 0x64], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x401092
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x58]
call fcn.00404070
push 0xffffffffffffffff
push edi
push 0x431400
lea ecx, [esp + 0x5c]
mov dword [esp + 0x4d4], edi
call fcn.00403420
push 1
push 0x42ca84
lea ecx, [esp + 0x58]
call fcn.00403530
push 0xffffffffffffffff
push edi
push 0x43141c
lea ecx, [esp + 0x5c]
call fcn.00403420
push 4
push 0x42ca88
lea ecx, [esp + 0x58]
call fcn.00403530
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
jae 0x40110b
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea edx, [esp + 0x88]
push edx
lea ecx, [esp + 0x54]
call fcn.00401a90
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push eax
mov ecx, 0x431438
mov byte [esp + 0x4cc], 1
call fcn.00401a90
add esp, 4
push esi
mov ecx, eax
mov byte [esp + 0x4cc], 2
call fcn.00401bd0
mov esi, 0x10
add esp, 4
mov bl, al
cmp dword [esp + 0x2c], esi
jb 0x40116f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004114eb
add esp, 4
mov byte [esp + 0x4c8], 0
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], edi
mov byte [esp + 0x18], 0
cmp dword [esp + 0xa0], esi
jb 0x4011a1
mov edx, dword [esp + 0x8c]
push edx
call fcn.004114eb
add esp, 4
test bl, bl
je 0x4013df
mov eax, 7
xor ecx, ecx
mov dword [esp + 0xa0], eax
mov dword [esp + 0x9c], edi
mov word [esp + 0x8c], cx
mov byte [esp + 0x4c8], 3
push esi
xor edx, edx
push str.dmp_send_log.txt
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], edi
mov word [esp + 0x78], dx
call fcn.00404070
push 0x28
mov byte [esp + 0x4cc], 4
call fcn.0041158e
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x4c8], 5
cmp eax, edi
je 0x401226
lea ecx, [esp + 0x6c]
push ecx
mov ecx, eax
call fcn.0040e380
mov dword [esp + 0x10], eax
jmp 0x40122a
mov dword [esp + 0x10], edi
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x4cc], 4
call fcn.00403750
push str.begin_upload
mov byte [esp + 0x4cc], 6
call fcn.00404b80
add esp, 4
mov esi, eax
push 0xa
mov ecx, esi
call fcn.004062e0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
test byte [ecx + esi + 8], 6
lea eax, [ecx + esi]
jne 0x40127f
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x40127f
lea edi, [eax + 5]
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
xor ebx, ebx
add ecx, esi
cmp edi, ebx
je 0x4012a0
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], ebx
jne 0x401299
or eax, 4
push ebx
push eax
call fcn.00406bd0
push 0x23
xor edx, edx
push str.http:__service.hada.me_hello_upload
lea ecx, [esp + 0x1c]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], dx
call fcn.00404070
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x20]
mov byte [esp + 0x4d4], 7
mov ecx, dword [esp + 0x1c]
push eax
call fcn.0040e410
mov byte [esp + 0x4c8], 6
cmp dword [esp + 0x2c], 8
jb 0x401307
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004114eb
add esp, 4
push str.end_upload
call fcn.00404b80
add esp, 4
mov esi, eax
push 0xa
mov ecx, esi
call fcn.004062e0
mov edx, dword [esi]
mov eax, dword [edx + 4]
add eax, esi
xor edi, edi
test byte [eax + 8], 6
jne 0x401344
mov eax, dword [eax + 0x28]
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x30]
call eax
cmp eax, 0xffffffff
jne 0x401344
mov edi, 4
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
cmp edi, ebx
je 0x401363
mov eax, dword [ecx + 8]
or eax, edi
cmp dword [ecx + 0x28], ebx
jne 0x40135c
or eax, 4
push ebx
push eax
call fcn.00406bd0
call fcn.00411a16
add eax, 0x20
push eax
call fcn.004119ba
add esp, 4
lea esi, [esp + 0x30]
mov byte [esp + 0x4c8], 8
call fcn.004037d0
mov edx, dword [esp + 0x30]
push edx
call fcn.004114eb
mov esi, 8
add esp, 4
cmp dword [esp + 0x84], esi
jb 0x4013ad
mov eax, dword [esp + 0x70]
push eax
call fcn.004114eb
add esp, 4
xor ecx, ecx
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], cx
cmp dword [esp + 0xa0], esi
jb 0x4013df
mov edx, dword [esp + 0x8c]
push edx
call fcn.004114eb
add esp, 4
cmp dword [esp + 0x68], 8
jb 0x4013f3
mov eax, dword [esp + 0x54]
push eax
call fcn.004114eb
add esp, 4
mov ecx, dword [esp + 0x4c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4a8]
xor ecx, esp
call fcn.0041139e
mov esp, ebp
pop ebp
ret