Function at 0x402345
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x41c2f4
call fcn.00412df4
mov eax, 0x1888
call fcn.00412fd0
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
je 0x40236e
mov eax, 0x8000ffff
jmp 0x402702
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.00402be0
mov dword [ebp - 0x48], 0x41d4a4
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.00402c8d
test eax, eax
je 0x4023e0
push ebx
push str.ftp:__
push 6
push ebx
mov ecx, edi
call fcn.00402c8d
test eax, eax
jne 0x4023ff
mov ecx, edi
call fcn.0040214c
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.00402c8d
neg eax
sbb al, al
push 0xa8
inc al
mov byte [ebp - 0xd], al
je 0x402450
call fcn.00412977
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
mov byte [ebp - 4], 2
je 0x402481
push ebx
push ebx
push ebx
push ebx
push 0x7530
push str.dwplayer
call fcn.00402761
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x41d4d4
jmp 0x402483
call fcn.00412977
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x402481
push ebx
push ebx
push ebx
push ebx
push 0x7530
push str.dwplayer
call fcn.00402761
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x41d4a8
jmp 0x402483
xor eax, eax
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], eax
call fcn.0040214c
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.0040fa16
test al, al
jne 0x4024e1
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x4024cb
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 0x40258f
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 0x402520
cmp edi, ebx
jbe 0x402506
cmp edi, 0xffffffff
jne 0x402520
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 0x40258f
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x5c]
push dword [eax]
call fcn.0040220e
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.00402bf4
lea ecx, [ebp - 0x4c]
mov dword [edi], 0x41d4a4
call fcn.00402a7e
cmp eax, ebx
jne 0x4025a2
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x402572
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.00402098
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00402b60
mov eax, ebx
jmp 0x402702
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x70]
push eax
call fcn.00402b26
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 0x4026a0
cmp byte [ebp - 0xd], bl
jne 0x4026a0
push edi
lea eax, [ebp - 0x1894]
push ebx
push eax
mov dword [ebp - 0x18], ebx
call fcn.00412770
mov ecx, dword [ebp - 0x14]
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1894]
push edi
push eax
call fcn.0040fb61
cmp dword [ebp - 0x18], 0xffffffff
sete byte [ebp + 0xb]
cmp byte [ebp + 0xb], bl
jne 0x40265d
cmp dword [ebp - 0x18], ebx
jbe 0x402636
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 0x40262d
mov eax, dword [ebp - 0x38]
jmp 0x402630
or eax, 0xffffffff
cmp eax, ebx
sete byte [ebp + 0xb]
cmp byte [ebp + 0xb], bl
jne 0x40265d
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 0x402697
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40267c
call dword [sym.imp.KERNEL32.dll_GetLastError]
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x1c], eax
jmp 0x402681
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 0x4025c0
cmp dword [ebp - 0x4c], 0xffffffff
je 0x4026b3
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 0x4026cd
cmp byte [ebp + 0xb], bl
jne 0x4026cd
lea ecx, [ebp - 0x70]
call fcn.00402b42
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.00402b47
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00402098
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.00402b60
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4