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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573d59
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x5d6b80]
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 esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x50b5d8
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x50b129
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x26c]
mov dword [ebp - 4], 0
push eax
call fcn.0050c070
add esp, 4
test eax, eax
jne 0x50b165
push 1
push 0x57c808
lea ecx, [ebp - 0x26c]
call fcn.0045b6e0
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x268]
call fcn.0045a3a0
mov eax, dword [esi]
sub eax, 0x10
mov byte [ebp - 4], 1
push eax
call fcn.0045a950
add eax, 0x10
add esp, 4
mov dword [ebp - 0x264], eax
cmp dword [eax - 4], 1
mov esi, dword [eax - 0xc]
mov byte [ebp - 4], 2
jle 0x50b1b3
push esi
lea ecx, [ebp - 0x264]
call fcn.0045ac30
mov eax, dword [ebp - 0x264]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp esi, 0xffffffff
jne 0x50b1d3
mov eax, dword [ebp - 0x264]
push dword [eax - 8]
push eax
call fcn.00526d13
add esp, 8
mov esi, eax
test esi, esi
js 0x50b5f4
mov ecx, dword [ebp - 0x264]
cmp esi, dword [ecx - 8]
jg 0x50b5f4
mov dword [ecx - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp - 0x264]
mov word [eax + esi*2], cx
mov eax, dword [ebp - 0x268]
cmp dword [eax - 0xc], ecx
jg 0x50b209
or esi, 0xffffffff
jmp 0x50b229
push 0x2d
push eax
call fcn.00526356
mov esi, eax
add esp, 8
mov eax, dword [ebp - 0x268]
test esi, esi
jne 0x50b225
or esi, 0xffffffff
jmp 0x50b229
sub esi, eax
sar esi, 1
push 0x2e
push eax
call fcn.00529034
add esp, 8
or ebx, 0xffffffff
test eax, eax
je 0x50b56e
sub eax, dword [ebp - 0x268]
sar eax, 1
cmp eax, ebx
je 0x50b56e
sub eax, esi
lea ecx, [ebp - 0x268]
dec eax
push eax
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.0045b170
push dword [ebp - 0x280]
mov byte [ebp - 4], 3
call fcn.005275fc
add esp, 4
mov esi, eax
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x50b299
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x284], eax
dec esi
mov byte [ebp - 4], 4
push esi
push dword [ebp - 0x26c]
lea eax, [ebp - 0x284]
push 1
push str.ResponseV_d._s__d.xml
push eax
call fcn.0045acb0
add esp, 0x14
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x50b2e7
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x278], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x27c], esp
push 0x57f780
mov byte [ebp - 4], 5
call fcn.0045a3a0
mov eax, dword [ebp - 0x264]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 6
mov esi, esp
push eax
call fcn.0045a950
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x270]
mov byte [ebp - 4], 5
push eax
call fcn.00516220
add esp, 0xc
push eax
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 7
call fcn.0045a580
mov edx, dword [ebp - 0x270]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 5
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x50b372
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0045adc0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x50b38e
push 0x80004005
call fcn.0045a8f0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x274], esi
mov ebx, dword [ebp - 0x278]
lea eax, [ebp - 0x260]
push eax
push ebx
mov byte [ebp - 4], 8
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, dword [ebp - 0x284]
mov dword [ebp - 0x270], eax
cmp eax, 0xffffffff
je 0x50b4f0
or ebx, 0xffffffff
mov edi, edi
lea eax, [ebp - 0x234]
push 0x57ace8
push eax
call fcn.00526fc5
add esp, 8
test eax, eax
je 0x50b4c3
lea eax, [ebp - 0x234]
push 0x580678
push eax
call fcn.00526fc5
add esp, 8
test eax, eax
je 0x50b4c3
push dword [ebp - 0x268]
lea eax, [ebp - 0x234]
push eax
call fcn.00526fc5
add esp, 8
test eax, eax
je 0x50b4c3
lea eax, [ebp - 0x234]
push edi
push eax
call fcn.00526fc5
add esp, 8
test eax, eax
je 0x50b4c3
push ecx
lea eax, [ebp - 0x234]
mov dword [ebp - 0x288], esp
mov ecx, esp
push eax
call fcn.0045a3a0
mov eax, dword [ebp - 0x264]
push ecx
add eax, 0xfffffff0
mov byte [ebp - 4], 9
mov esi, esp
push eax
call fcn.0045a950
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x27c]
mov byte [ebp - 4], 8
push eax
call fcn.00516220
add esp, 0xc
push eax
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 0xa
call fcn.0045a580
mov edx, dword [ebp - 0x27c]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 8
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x50b4b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x274]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x260]
push eax
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x50b3d0
push dword [ebp - 0x270]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [ebp - 0x278]
add esi, 0xfffffff0
mov byte [ebp - 4], 5
or ecx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x50b50e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [ebp - 4], 4
or ebx, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x50b52e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 3
mov ecx, ebx
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x50b54b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x280]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 2
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x50b56e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x264]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 1
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x50b591
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x268]
mov ecx, ebx
add edx, 0xfffffff0
mov byte [ebp - 4], 0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x50b5b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x26c]
add edx, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x50b5d8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.00525878
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.0045a8f0
int3