Function at 0x402290
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x41e694
call fcn.00414644
mov eax, 0x1888
call fcn.00414820
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
je 0x4022b9
mov eax, 0x8000ffff
jmp 0x40264d
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.00402b25
mov dword [ebp - 0x48], 0x41f4ac
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.00402bd2
test eax, eax
je 0x40232b
push ebx
push str.ftp:__
push 6
push ebx
mov ecx, edi
call fcn.00402bd2
test eax, eax
jne 0x40234a
mov ecx, edi
call fcn.00402cd0
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.00402bd2
neg eax
sbb al, al
push 0xa8
inc al
mov byte [ebp - 0xd], al
je 0x40239b
call fcn.004141c7
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
mov byte [ebp - 4], 2
je 0x4023cc
push ebx
push ebx
push ebx
push ebx
push 0x7530
push str.dwplayer
call fcn.004026ac
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x41f4dc
jmp 0x4023ce
call fcn.004141c7
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x4023cc
push ebx
push ebx
push ebx
push ebx
push 0x7530
push str.dwplayer
call fcn.004026ac
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x41f4b0
jmp 0x4023ce
xor eax, eax
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
call fcn.00402cd0
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.0041126c
test al, al
jne 0x40242c
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x402416
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 0x4024da
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 0x40246b
cmp edi, ebx
jbe 0x402451
cmp edi, 0xffffffff
jne 0x40246b
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 0x4024da
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
push dword [eax]
call fcn.00402159
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.00402b39
lea ecx, [ebp - 0x4c]
mov dword [edi], 0x41f4ac
call fcn.004029c9
cmp eax, ebx
jne 0x4024ed
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x4024bd
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.0040205e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00402aab
mov eax, ebx
jmp 0x40264d
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x70]
push eax
call fcn.00402a71
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 0x4025eb
cmp byte [ebp - 0xd], bl
jne 0x4025eb
push edi
lea eax, [ebp - 0x1894]
push ebx
push eax
mov dword [ebp - 0x18], ebx
call fcn.00413fc0
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1894]
push edi
push eax
call fcn.004113b7
cmp dword [ebp - 0x18], 0xffffffff
sete byte [ebp + 0xb]
cmp byte [ebp + 0xb], bl
jne 0x4025a8
cmp dword [ebp - 0x18], ebx
jbe 0x402581
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 0x402578
mov eax, dword [ebp - 0x38]
jmp 0x40257b
or eax, 0xffffffff
cmp eax, ebx
sete byte [ebp + 0xb]
cmp byte [ebp + 0xb], bl
jne 0x4025a8
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 0x4025e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4025c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x1c], eax
jmp 0x4025cc
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 0x40250b
cmp dword [ebp - 0x4c], 0xffffffff
je 0x4025fe
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 0x402618
cmp byte [ebp + 0xb], bl
jne 0x402618
lea ecx, [ebp - 0x70]
call fcn.00402a8d
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.00402a92
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.0040205e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00402aab
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4