Function at 0x6b244e30
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x23c
mov eax, dword [esp + 0x254]
mov ecx, dword [esp + 0x258]
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
mov dword [eax], 0
xor eax, eax
test ecx, ecx
mov dword [esp + 0x2c], 0
je 0x6b245152
mov eax, dword [esp + 0x250]
call fcn.6b243f80
mov ecx, eax
test ecx, ecx
mov dword [esp + 0x1c], eax
mov eax, 0x1b
je 0x6b245152
mov edx, dword [esp + 0x25c]
mov eax, 0x6b287544
lea esi, [esp + 0x20]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], str._s__boundary_s_r_n
test edx, edx
cmovne eax, dword [esp + 0x25c]
mov dword [esp + 4], 0
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.6b244120
test eax, eax
jne 0x6b2451b6
mov eax, dword [esp + 0x20]
lea edi, [esp + 0x28]
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x2c]
or eax, dword [esp + 0x28]
je 0x6b244f0d
mov dword [esp + 8], 0x6b28757f
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.6b244120
test eax, eax
mov ebx, eax
jne 0x6b245188
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], str.___s_r_n
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.6b244120
test eax, eax
mov ebx, eax
jne 0x6b245188
mov dword [esp + 8], str.Content_Disposition:_form_data__name_
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.6b244120
test eax, eax
mov ebx, eax
jne 0x6b245188
mov eax, dword [esp + 0x258]
xor edx, edx
mov ecx, dword [eax + 4]
mov dword [esp + 4], edi
mov eax, dword [eax + 8]
mov dword [esp], eax
mov eax, esi
call fcn.6b243fc0
test eax, eax
mov ebx, eax
jne 0x6b245188
mov dword [esp + 8], 0x6b2875ab
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.6b244120
test eax, eax
jne 0x6b245186
mov eax, dword [esp + 0x258]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x6b244ff7
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6b244fb3
mov dword [esp], eax
call dword [0x6b28604c]
mov eax, dword [esp + 0x250]
call fcn.6b243f80
test eax, eax
mov dword [esp + 0x18], eax
je 0x6b2453ea
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.6b244120
test eax, eax
mov ebx, eax
jne 0x6b245188
mov eax, dword [esp + 0x258]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x258]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x14], ecx
je 0x6b245275
lea esi, [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 8], str._r_n___s_r_nContent_Disposition:_attachment
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.6b244120
test eax, eax
mov ebx, eax
jne 0x6b245188
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x2c]
mov eax, dword [eax + 0xc]
mov ecx, esi
mov dword [esp], edi
call fcn.6b244210
mov ebx, eax
test ebx, ebx
jne 0x6b245188
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x6b2451d6
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._r_nContent_Type:__s
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.6b244120
test eax, eax
mov ebx, eax
jne 0x6b245188
mov eax, dword [esp + 0x14]
mov ebp, dword [eax + 0x20]
test ebp, ebp
jne 0x6b245167
jmp 0x6b2451e5
test ebx, ebx
jne 0x6b245188
mov eax, dword [esp + 0x258]
mov ebp, dword [eax + 0x24]
test ebp, ebp
je 0x6b2450d7
mov eax, dword [esp + 0x18]
mov dword [esp + 8], str._r_n___s__
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.6b244120
test eax, eax
mov ebx, eax
jne 0x6b245188
mov eax, dword [esp + 0x258]
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x258], eax
jne 0x6b244ee5
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], str._r_n___s___r_n
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.6b244120
test eax, eax
mov ebx, eax
jne 0x6b245188
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x260]
mov edx, dword [esp + 0x2c]
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
mov dword [ecx + 4], edx
test eax, eax
je 0x6b245136
mov dword [esp], eax
call dword [0x6b28604c]
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call dword [0x6b28604c]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x254]
mov dword [ecx], eax
xor eax, eax
add esp, 0x23c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, dword [ebp + 4]
test ebp, ebp
je 0x6b2451e5
mov eax, dword [ebp]
mov dword [esp + 8], str._r_n_s
mov dword [esp + 4], edi
mov dword [esp], esi
mov dword [esp + 0xc], eax
call fcn.6b244120
test eax, eax
je 0x6b245160
mov ebx, eax
lea eax, [esp + 0x24]
mov dword [esp], eax
call fcn.6b244d40
mov eax, dword [esp + 0x18]
test eax, eax
je 0x6b2451a5
mov dword [esp], eax
call dword [0x6b28604c]
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call dword [0x6b28604c]
mov eax, ebx
jmp 0x6b245152
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call dword [0x6b28604c]
mov eax, dword [esp + 0x14]
add esp, 0x23c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x14]
mov ebp, dword [eax + 0x20]
test ebp, ebp
jne 0x6b245167
test ebx, ebx
jne 0x6b245188
mov dword [esp + 8], str._r_n_r_n
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.6b244120
test eax, eax
mov ebx, eax
jne 0x6b245188
mov eax, dword [esp + 0x258]
mov eax, dword [eax + 0x28]
test al, 3
jne 0x6b2452a5
test al, 0x10
jne 0x6b245330
test al, 0x40
mov eax, dword [esp + 0x258]
je 0x6b245315
mov ecx, dword [eax + 0x30]
mov edx, 2
mov dword [esp + 4], edi
mov eax, dword [eax + 0x10]
mov dword [esp], eax
mov eax, esi
call fcn.6b243fc0
test eax, eax
mov ebx, eax
sete al
mov ecx, dword [esp + 0x14]
test al, al
mov edx, dword [ecx + 0x24]
mov dword [esp + 0x14], edx
je 0x6b24509b
test edx, edx
je 0x6b24509b
mov eax, dword [esp + 0x258]
mov eax, dword [eax + 0x24]
test eax, eax
jne 0x6b245010
mov eax, dword [esp + 0x258]
mov eax, dword [eax + 0x28]
test al, 0x51
je 0x6b245056
mov ecx, dword [esp + 0x258]
mov edx, dword [ecx + 0x2c]
test edx, edx
je 0x6b245390
mov eax, dword [esp + 0x258]
jmp 0x6b24503d
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp], 0x6b2874c5
mov dword [esp + 4], eax
call sym.libcurl.dll_curl_strequal
mov ebp, dword [sym.imp.msvcrt.dll__iob]
test eax, eax
jne 0x6b2452e7
jmp 0x6b245343
mov dword [esp], eax
lea ecx, [esp + 0x30]
mov edx, 1
mov dword [esp + 4], edi
mov eax, esi
call fcn.6b243fc0
test eax, eax
jne 0x6b2453e1
lea eax, [esp + 0x30]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], 0x200
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.msvcrt.dll_fread
test eax, eax
jne 0x6b2452c8
mov eax, 1
jmp 0x6b245248
mov ecx, dword [eax + 0xc]
mov dword [esp + 4], edi
mov eax, dword [eax + 0x10]
mov dword [esp], eax
mov edx, 1
jmp 0x6b24523a
mov eax, dword [esp + 0x258]
mov ecx, dword [eax + 0x14]
mov dword [esp + 4], edi
mov eax, dword [eax + 0x18]
jmp 0x6b24531f
mov eax, dword [esp + 0x14]
mov dword [esp + 4], 0x6b2874a0
mov eax, dword [eax + 0xc]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
test eax, eax
je 0x6b24539d
mov ebp, dword [sym.imp.msvcrt.dll__iob]
cmp eax, ebp
je 0x6b2452e7
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov eax, dword [esp + 0x14]
mov edx, 3
mov ecx, dword [eax + 0xc]
mov dword [esp + 4], edi
mov dword [esp], 0
jmp 0x6b24523a
test al, 1
je 0x6b24504c
jmp 0x6b245299
mov eax, dword [esp + 0x250]
test eax, eax
je 0x6b2453ca
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0xc]
mov dword [esp + 4], str.couldnt_open_file___s_
mov dword [esp + 8], eax
mov eax, dword [esp + 0x250]
mov dword [esp], eax
call fcn.6b24c1c0
mov eax, dword [esp + 0x254]
mov ebx, 0x1a
mov dword [eax], 0
jmp 0x6b245188
mov ebx, eax
xor eax, eax
jmp 0x6b245248
mov ebx, 0x1b
jmp 0x6b245188