Function at 0x4022f7
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x41b0a4
call fcn.00411bc4
mov eax, 0x1888
call fcn.00411da0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
je 0x402320
mov eax, 0x8000ffff
jmp 0x4026b4
or dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], ebx
call fcn.00402b92
mov dword [ebp - 0x48], 0x41c484
mov ecx, 0x208
xor eax, eax
lea edi, [ebp - 0x893]
mov byte [ebp - 0x894], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea edi, [esi + 8]
push str.http:__
push 7
push ebx
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.00402c3f
test eax, eax
je 0x402392
push ebx
push str.ftp:__
push 6
push ebx
mov ecx, edi
call fcn.00402c3f
test eax, eax
jne 0x4023b1
mov ecx, edi
call fcn.00402ccd
push dword [edi + 4]
lea eax, [ebp - 0x894]
push str.Referer:__s
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
push str.ftp:__
push 6
push ebx
mov ecx, edi
call fcn.00402c3f
neg eax
sbb al, al
push 0xa8
inc al
mov byte [ebp - 0xd], al
je 0x402402
call fcn.00411747
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
mov byte [ebp - 4], 2
je 0x402433
push ebx
push ebx
push ebx
push ebx
push 0x7530
push str.dwplayer
call fcn.00402713
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x41c4b4
jmp 0x402435
call fcn.00411747
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x402433
push ebx
push ebx
push ebx
push ebx
push 0x7530
push str.dwplayer
call fcn.00402713
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x41c488
jmp 0x402435
xor eax, eax
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
call fcn.00402ccd
mov edi, dword [edi + 4]
lea eax, [ebp - 0x894]
push 0x80400100
push eax
push edi
mov edi, dword [ebp - 0x14]
mov ecx, edi
call fcn.0040e7fa
test al, al
jne 0x402493
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x40247d
call edi
mov ebx, eax
and ebx, 0xffff
or ebx, 0x80070000
mov esi, dword [esi + 4]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
jmp 0x402541
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
mov ecx, dword [esi + 4]
mov dword [ebp - 0x20], eax
mov edi, eax
lea edx, [ebp - 0x34]
mov eax, dword [ecx]
push edx
call dword [eax]
cmp byte [ebp - 0xd], bl
jne 0x4024d2
cmp edi, ebx
jbe 0x4024b8
cmp edi, 0xffffffff
jne 0x4024d2
mov esi, dword [esi + 4]
mov edi, 0x8004d554
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], edi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 8]
mov ebx, edi
jmp 0x402541
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
push dword [eax]
call fcn.004021c0
sub esp, 0x10
lea eax, [ebp - 0x5c]
mov edi, esp
mov dword [ebp + 8], esp
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00402ba6
lea ecx, [ebp - 0x4c]
mov dword [edi], 0x41c484
call fcn.00402a30
cmp eax, ebx
jne 0x402554
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x402524
call edi
mov ebx, eax
and ebx, 0xffff
or ebx, 0x80070000
mov esi, dword [esi + 4]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], ebx
push ecx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.004020c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00402b12
mov eax, ebx
jmp 0x4026b4
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x70]
push eax
call fcn.00402ad8
mov byte [ebp - 4], 5
mov byte [ebp - 0xe], bl
mov byte [ebp + 0xb], bl
mov byte [ebp - 0xd], bl
mov edi, 0x1000
cmp byte [ebp + 0xb], bl
jne 0x402652
cmp byte [ebp - 0xd], bl
jne 0x402652
push edi
lea eax, [ebp - 0x1894]
push ebx
push eax
mov dword [ebp - 0x18], ebx
call fcn.00411540
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1894]
push edi
push eax
call fcn.0040e945
cmp dword [ebp - 0x18], 0xffffffff
sete byte [ebp + 0xb]
cmp byte [ebp + 0xb], bl
jne 0x40260f
cmp dword [ebp - 0x18], ebx
jbe 0x4025e8
lea eax, [ebp - 0x38]
push ebx
push eax
lea eax, [ebp - 0x1894]
push dword [ebp - 0x18]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4025df
mov eax, dword [ebp - 0x38]
jmp 0x4025e2
or eax, 0xffffffff
cmp eax, ebx
sete byte [ebp + 0xb]
cmp byte [ebp + 0xb], bl
jne 0x40260f
mov eax, dword [ebp - 0x18]
mov ecx, dword [esi + 4]
add dword [ebp - 0x24], eax
lea edx, [ebp - 0x34]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
cmp eax, 1
setne byte [ebp - 0xe]
cmp dword [ebp - 0x18], ebx
sete byte [ebp - 0xd]
jmp 0x402649
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40262e
call dword [sym.imp.KERNEL32.dll_GetLastError]
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x1c], eax
jmp 0x402633
mov dword [ebp - 0x1c], ebx
mov eax, ebx
mov ecx, dword [esi + 4]
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x34]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
cmp eax, 1
setne byte [ebp + 0xb]
cmp byte [ebp - 0xe], bl
je 0x402572
cmp dword [ebp - 0x4c], 0xffffffff
je 0x402665
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x4c], 0xffffffff
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xe], bl
jne 0x40267f
cmp byte [ebp + 0xb], bl
jne 0x40267f
lea ecx, [ebp - 0x70]
call fcn.00402af4
mov esi, dword [esi + 4]
lea ecx, [ebp - 0x34]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xc]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 4
call fcn.00402af9
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.004020c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00402b12
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4