Function at 0x404c50
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x491a6a
mov eax, dword fs:[0]
push eax
sub esp, 0x7a0
mov eax, dword [0x4b9430]
xor eax, esp
mov dword [esp + 0x798], eax
push ebx
push esi
push edi
mov eax, dword [0x4b9430]
xor eax, esp
push eax
lea eax, [esp + 0x7b0]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x4d8]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x4d4]
push 0x5c
push ecx
call fcn.0045e830
add esp, 8
mov byte [eax], bl
xor eax, eax
lea esp, [esp]
mov cl, byte [esp + eax + 0x4d4]
mov byte [esp + eax + 0x204], cl
inc eax
cmp cl, bl
jne 0x404cc0
lea eax, [esp + 0x204]
dec eax
jmp 0x404ce0
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x404ce0
mov edx, dword [str.crash.zip]
mov ecx, dword [0x4ababc]
mov dword [eax], edx
mov dx, word [0x4abac0]
mov dword [eax + 4], ecx
mov cl, byte [0x4abac2]
mov word [eax + 8], dx
mov byte [eax + 0xa], cl
xor eax, eax
nop
mov cl, byte [esp + eax + 0x4d4]
mov byte [esp + eax + 0x63c], cl
inc eax
cmp cl, bl
jne 0x404d10
lea eax, [esp + 0x63c]
dec eax
jmp 0x404d30
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x404d30
mov edx, dword [str.crash.dmp]
mov ecx, dword [0x4abac8]
mov dword [eax], edx
mov edx, dword [0x4abacc]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
lea eax, [esp + 0xc4]
push eax
lea ecx, [esp + 0x640]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov dword [esp + 0x28], esi
cmp esi, 0xffffffff
je 0x404d99
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea esp, [esp]
test byte [esp + 0xc4], 0x10
je 0x404dc4
lea edx, [esp + 0xc4]
push edx
push esi
call edi
test eax, eax
jne 0x404d80
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x7b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x798]
xor ecx, esp
call fcn.0045d3b4
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x404dd0
mov cl, byte [esp + eax + 0x4d4]
mov byte [esp + eax + 0x36c], cl
inc eax
cmp cl, bl
jne 0x404dd0
lea edi, [esp + 0x36c]
dec edi
jmp 0x404df0
mov al, byte [edi + 1]
inc edi
cmp al, bl
jne 0x404df0
mov ax, word [0x4abad0]
mov word [edi], ax
lea eax, [esp + 0xf0]
mov edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404e10
lea edi, [esp + 0x36c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x404e21
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x204]
push ecx
call esi
lea edx, [esp + 0x36c]
push edx
lea ecx, [esp + 0x208]
call fcn.00424af0
add esp, 4
lea eax, [esp + 0x36c]
push eax
call esi
push 0x48
mov dword [esp + 0x1c], ebx
call fcn.0045ecdf
add esp, 4
cmp eax, ebx
je 0x4050a5
mov dword [esp + 0x14], eax
mov dword [eax], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 8], eax
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x44], 1
mov edx, dword [esp + 0x14]
mov byte [edx + 0x45], 1
lea edi, [esp + 0x54]
mov dword [esp + 0x7b8], ebx
call fcn.00404b80
push eax
lea eax, [esp + 0x90]
push eax
mov byte [esp + 0x7c0], 1
call fcn.00406270
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x7bc], 2
call fcn.00406790
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00406310
lea esi, [esp + 0x8c]
call fcn.00405130
mov edi, 0x10
cmp dword [esp + 0x68], edi
jb 0x404f10
mov eax, dword [esp + 0x54]
push eax
call fcn.0045d63f
add esp, 4
mov esi, 0xf
mov dword [esp + 0x20], ebx
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
mov byte [esp + 0x7b8], 3
push 7
push str.content
lea ecx, [esp + 0x5c]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
call fcn.00405560
mov byte [esp + 0x7b8], 4
lea eax, [esp + 0x204]
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404f76
sub eax, edx
push eax
lea ecx, [esp + 0x208]
push ecx
lea ecx, [esp + 0x94]
call fcn.00405560
mov byte [esp + 0x7b8], 5
push 0x28
push str.http:__182.92.10.61:8000_reportcrash.php
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
call fcn.00405560
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x44]
push edx
lea edx, [esp + 0x64]
lea ecx, [esp + 0x9c]
mov byte [esp + 0x7c8], 6
call fcn.0040b180
add esp, 0x10
cmp dword [esp + 0x4c], edi
jb 0x404ffa
mov eax, dword [esp + 0x38]
push eax
call fcn.0045d63f
add esp, 4
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], ebx
mov byte [esp + 0x38], bl
cmp dword [esp + 0xa0], edi
jb 0x40501f
mov ecx, dword [esp + 0x8c]
push ecx
call fcn.0045d63f
add esp, 4
mov dword [esp + 0xa0], esi
mov dword [esp + 0x9c], ebx
mov byte [esp + 0x8c], bl
cmp dword [esp + 0x68], edi
jb 0x405047
mov edx, dword [esp + 0x54]
push edx
call fcn.0045d63f
add esp, 4
cmp dword [esp + 0x84], edi
jb 0x40505d
mov eax, dword [esp + 0x70]
push eax
call fcn.0045d63f
add esp, 4
mov dword [esp + 0x84], esi
mov dword [esp + 0x80], ebx
mov byte [esp + 0x70], bl
mov dword [esp + 0x7b8], 7
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x28]
lea esi, [esp + 0x18]
call fcn.00405aa0
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0045d63f
mov esi, dword [esp + 0x2c]
add esp, 4
jmp 0x404d99
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x24], ebx
call fcn.0045d6d2
push 0x4b4118
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x34], vtable.std::bad_alloc.0
call fcn.004678e8
int3