Function at 0x427bad
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp + 8]
push 3
xor edi, edi
inc edi
push edi
add esi, 0x1c
mov eax, dword [esi]
push connect
push eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x60], esi
call fcn.0041cf12
test eax, eax
jl 0x427c1d
push str..tmp
mov eax, esi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x14], edi
call fcn.0040efd9
mov eax, dword [eax]
pop ecx
push 2
push ebx
push 0x40000000
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0041cf12
test eax, eax
mov byte [ebp - 0xf], 1
jge 0x427c20
mov byte [ebp - 0xf], bl
test byte [ebp - 0x14], 1
je 0x427c31
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0041ad22
cmp byte [ebp - 0xf], bl
je 0x428063
mov edi, 0x46dd38
mov ecx, edi
lea esi, [ebp - 0x48]
call fcn.0041ad3a
mov ecx, edi
lea esi, [ebp - 0x44]
call fcn.0041ad3a
mov ecx, edi
lea esi, [ebp - 0x40]
call fcn.0041ad3a
mov ecx, edi
lea esi, [ebp - 0x3c]
call fcn.0041ad3a
lea eax, [ebp - 8]
push eax
lea esi, [ebp - 0x24]
mov dword [ebp - 0x1c], ebx
call fcn.00424614
push 0x14
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041f88d
push str.808324FE1
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x428012
push 2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041f88d
push 8
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0041f88d
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push 0x64
lea esi, [edi + 0x20]
push esi
lea eax, [ebp - 8]
call fcn.004245ee
push dword [ebp - 0xc]
push esi
push edi
call fcn.004254bf
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
lea eax, [ebp - 0x70]
push eax
push 2
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 8]
call edi
cmp eax, ebx
jne 0x427d03
call fcn.00418efa
jmp 0x427d05
xor eax, eax
cmp eax, ebx
jl 0x427fe3
cmp dword [ebp - 0x70], ebx
je 0x427fe3
cmp word [ebp - 0x10], 0xffff
jne 0x427fe3
push ebx
lea eax, [ebp - 0x68]
push eax
push 8
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 8]
call edi
cmp eax, ebx
jne 0x427d3b
call fcn.00418efa
push dword [ebp - 0x68]
lea eax, [ebp - 0x7c]
push eax
push dword [ebp + 8]
call fcn.004254bf
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
push ebx
lea eax, [ebp - 0x80]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
call edi
cmp eax, ebx
jne 0x427d71
call fcn.00418efa
cmp ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
ja 0x427ffa
jb 0x427d88
cmp eax, dword [ebp - 0x24]
ja 0x427fe3
mov dword [ebp - 0xc], eax
shr eax, 1
push eax
lea esi, [ebp - 0x44]
call fcn.0041d036
mov esi, eax
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push esi
call fcn.004245ee
push dword [ebp - 0x74]
push esi
push dword [ebp + 8]
call fcn.004254bf
mov eax, dword [0x46dd38]
mov ecx, 0x46dd38
call dword [eax + 0xc]
lea esi, [eax + 0x10]
push ebx
lea eax, [ebp - 0x90]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
mov dword [ebp - 0x14], esi
call edi
cmp eax, ebx
jne 0x427de3
call fcn.00418efa
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp ecx, dword [ebp - 0x20]
ja 0x427fd3
jb 0x427dfc
cmp eax, dword [ebp - 0x24]
ja 0x427fd3
mov dword [ebp - 0xc], eax
shr eax, 1
push eax
lea esi, [ebp - 0x14]
call fcn.0041d036
mov esi, eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push esi
call fcn.004245ee
push dword [ebp - 0x5c]
push esi
push dword [ebp + 8]
call fcn.004254bf
push 0x100000
lea eax, [ebp - 0x84]
push eax
push ebx
push ebx
lea esi, [ebp - 0x14]
call fcn.0041d036
push eax
call dword [sym.imp.SHLWAPI.dll_UrlUnescapeW]
push ebx
call fcn.0041d036
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.0041cf47
push ebx
lea eax, [ebp - 0x8c]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
call edi
cmp eax, ebx
jne 0x427e71
call fcn.00418efa
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp ecx, dword [ebp - 0x20]
ja 0x427fd8
jb 0x427e8a
cmp eax, dword [ebp - 0x24]
ja 0x427fd8
mov dword [ebp - 0xc], eax
shr eax, 1
push eax
lea esi, [ebp - 0x40]
call fcn.0041d036
mov esi, eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push esi
call fcn.004245ee
push dword [ebp - 0x30]
push esi
push dword [ebp + 8]
call fcn.004254bf
push ebx
lea eax, [ebp - 0x88]
push eax
push 4
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
call edi
cmp eax, ebx
jne 0x427ed2
call fcn.00418efa
mov eax, dword [ebp - 0x1c]
xor ecx, ecx
cmp ecx, dword [ebp - 0x20]
ja 0x427fd8
jb 0x427eeb
cmp eax, dword [ebp - 0x24]
ja 0x427fd8
mov dword [ebp - 0xc], eax
shr eax, 1
push eax
lea esi, [ebp - 0x3c]
call fcn.0041d036
mov esi, eax
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 8]
push esi
call fcn.004245ee
push dword [ebp - 0x64]
push esi
push dword [ebp + 8]
call fcn.004254bf
push ebx
lea eax, [ebp - 0x34]
push eax
push 4
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 8]
call edi
cmp eax, ebx
jne 0x427f30
call fcn.00418efa
push dword [ebp - 0x34]
lea eax, [ebp - 0x38]
push eax
push dword [ebp + 8]
call fcn.004254bf
mov eax, dword [0x46dd38]
mov ecx, 0x46dd38
mov dword [ebp - 0x2c], 1
call dword [eax + 0xc]
add eax, 0x10
lea ebx, [ebp - 0x54]
lea edi, [ebp - 0x58]
mov dword [ebp - 0xc], eax
call fcn.00427ab2
lea edi, [ebp - 0xc]
call fcn.0041d135
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
call fcn.0041ad22
mov esi, dword [ebp - 0xc]
cmp dword [esi - 0xc], 0
je 0x427fb9
cmp dword [ebp - 0x28], 0
jne 0x427fa0
push 0x1e9
push str._HTML__HEAD__STYLE_BODY_BACKGROUND_COLOR:_FFFFFF__FONT_SIZE:_12pt__COLOR:_black__FONT_FAMILY:Courier_New_H1_FONT_FAMILY:Arial___FONT_SIZE:_10pt__FONT_WEIGHT:_normal__tMARGIN_BOTTOM:_11px__BORDER_STYLE:_solid__BORDER_COLOR:_DFDFE5__BORDER_WIDTH:_2px__BACKGROUND_COLOR:_DFDFE5__H2__COLOR:_black__BACKGROUND_COLOR:_FFFFF__FONT_SIZE:_12pt__FONT_WEIGHT:_normal__MARGIN_BOTTOM:_0px__MARGIN_TOP:_10px___STYLE___HEAD__META_http_equivContent_Type_content_text_html__charsetutf_8___BODY_
lea eax, [ebp - 0x18]
push eax
call fcn.0041cee7
mov dword [ebp - 0x28], 1
lea eax, [ebp - 0x18]
push eax
push ecx
lea eax, [esi - 0x10]
mov edi, esp
call fcn.0041cd37
add eax, 0x10
mov dword [edi], eax
call fcn.0042567d
lea eax, [esi - 0x10]
call fcn.0041ad22
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
xor ebx, ebx
jmp 0x427ce2
lea eax, [esi - 0x10]
jmp 0x427fde
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0041ad22
cmp ebx, dword [ebp - 0x20]
ja 0x427ffa
jb 0x427ff2
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x1c], eax
ja 0x427ffa
cmp word [ebp - 0x10], 0xffff
je 0x427ffd
mov dword [ebp - 0x2c], ebx
cmp dword [ebp - 0x28], ebx
je 0x428012
push 0xe
push str.__BODY___HTML_
lea eax, [ebp - 0x18]
push eax
call fcn.0041cee7
cmp dword [ebp - 8], ebx
je 0x428023
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 8], ebx
cmp dword [ebp - 0x18], ebx
je 0x428034
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp - 0x44]
add eax, 0xfffffff0
call fcn.0041ad22
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
call fcn.0041ad22
mov esi, dword [ebp - 0x60]
mov edi, dword [ebp - 0x2c]
and edi, dword [ebp - 0x28]
jne 0x42808e
push str..tmp
mov eax, esi
lea ecx, [ebp + 8]
call fcn.0040efd9
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0041ad22
cmp dword [ebp - 0x18], ebx
je 0x42809c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
je 0x4280aa
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4