Function at 0x414207
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4a0590]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
push edi
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0xc]
mov edi, edx
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x224], esi
mov dword [eax], esi
cmp edi, esi
je 0x4146e6
call fcn.0041481b
mov dword [ebp - 0x22c], eax
cmp eax, esi
jne 0x414275
push 0x1b
pop eax
jmp 0x4146e8
cmp ebx, esi
jne 0x41427e
mov ebx, str.Content_Type:_multipart_form_data
push eax
push ebx
push str._s__boundary_s_r_n
xor ebx, ebx
lea esi, [ebp - 0x210]
call fcn.00413edf
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4142af
push dword [ebp - 0x22c]
call dword [0x4a1840]
pop ecx
mov eax, esi
jmp 0x4146e8
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x230], eax
mov eax, dword [ebp - 0x21c]
or eax, dword [ebp - 0x218]
je 0x4142ea
push 0x47fabc
lea ebx, [ebp - 0x21c]
lea esi, [ebp - 0x210]
call fcn.00413edf
mov esi, eax
pop ecx
test esi, esi
jne 0x414674
push dword [ebp - 0x22c]
lea ebx, [ebp - 0x21c]
push str.___s_r_n
lea esi, [ebp - 0x210]
call fcn.00413edf
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x414674
push str.Content_Disposition:_form_data__name_
lea esi, [ebp - 0x210]
call fcn.00413edf
mov esi, eax
pop ecx
test esi, esi
jne 0x414674
push dword [edi + 4]
push eax
lea eax, [ebp - 0x210]
push eax
mov eax, dword [edi + 8]
call fcn.00413df5
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x414674
push 0x47e8b4
lea esi, [ebp - 0x210]
call fcn.00413edf
mov esi, eax
pop ecx
test esi, esi
jne 0x414674
cmp dword [edi + 0x24], eax
je 0x4143b8
cmp dword [ebp - 0x224], eax
je 0x414382
push dword [ebp - 0x224]
call dword [0x4a1840]
pop ecx
call fcn.0041481b
mov dword [ebp - 0x224], eax
test eax, eax
je 0x414649
push eax
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea ebx, [ebp - 0x21c]
lea esi, [ebp - 0x210]
call fcn.00413edf
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x414674
mov dword [ebp - 0x228], edi
cmp dword [edi + 0x24], 0
je 0x4143fe
push dword [ebp - 0x224]
lea ebx, [ebp - 0x21c]
push str._r_n___s_r_nContent_Disposition:_attachment
lea esi, [ebp - 0x210]
call fcn.00413edf
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x414674
mov eax, ebx
push eax
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebp - 0x228]
jmp 0x41441f
mov eax, dword [edi + 0x28]
test al, 0x51
je 0x414430
cmp dword [edi + 0x2c], 0
jne 0x41440f
test al, 1
je 0x414428
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
mov eax, edi
call fcn.00414121
pop ecx
mov esi, eax
pop ecx
test esi, esi
jne 0x414674
mov eax, dword [ebp - 0x228]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x414460
push eax
push str._r_nContent_Type:__s
lea ebx, [ebp - 0x21c]
lea esi, [ebp - 0x210]
call fcn.00413edf
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x414674
mov eax, dword [ebp - 0x228]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x220], eax
test eax, eax
je 0x4144b2
jmp 0x41447b
mov eax, dword [ebp - 0x220]
push dword [eax]
lea ebx, [ebp - 0x21c]
push str._r_n_s
lea esi, [ebp - 0x210]
call fcn.00413edf
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x414674
mov eax, dword [ebp - 0x220]
mov eax, dword [eax + 4]
mov dword [ebp - 0x220], eax
test eax, eax
jne 0x414475
test esi, esi
jne 0x414674
push str._r_n_r_n
lea ebx, [ebp - 0x21c]
lea esi, [ebp - 0x210]
call fcn.00413edf
mov esi, eax
pop ecx
test esi, esi
jne 0x414674
mov eax, dword [edi + 0x28]
test al, 3
jne 0x414520
test al, 0x10
je 0x4144f7
push dword [edi + 0x14]
lea eax, [ebp - 0x210]
push 1
push eax
mov eax, dword [edi + 0x18]
jmp 0x414511
test al, 0x40
lea eax, [ebp - 0x210]
je 0x414508
push dword [edi + 0x30]
push 2
jmp 0x41450d
push dword [edi + 0xc]
push 1
push eax
mov eax, dword [edi + 0x10]
call fcn.00413df5
add esp, 0xc
mov esi, eax
jmp 0x4145f3
mov ebx, dword [ebp - 0x228]
push dword [ebx + 0xc]
push 0x47ed98
call sym.stella.exe_curl_strequal
pop ecx
pop ecx
test eax, eax
je 0x414540
call fcn.004545b2
jmp 0x41454f
push 0x47e86c
push dword [ebx + 0xc]
call fcn.00453e7e
pop ecx
pop ecx
mov dword [ebp - 0x220], eax
test eax, eax
je 0x4145ce
call fcn.004545b2
push dword [ebp - 0x220]
cmp dword [ebp - 0x220], eax
je 0x4145b2
call fcn.00453f5f
pop ecx
push dword [ebx + 0xc]
lea eax, [ebp - 0x210]
push 3
push eax
lea ebx, [ebp - 0x21c]
xor eax, eax
jmp 0x414511
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x210]
push 1
push ecx
lea ebx, [ebp - 0x21c]
call fcn.00413df5
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4145f3
push dword [ebp - 0x220]
push 0x200
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.00454595
add esp, 0x10
test eax, eax
jne 0x414588
jmp 0x4145f3
mov esi, dword [ebp - 0x23c]
test esi, esi
je 0x4145e7
push dword [ebx + 0xc]
push str.couldnt_open_file___s_
call fcn.00429149
pop ecx
pop ecx
mov eax, dword [ebp - 0x234]
and dword [eax], 0
push 0x1a
pop esi
mov eax, dword [ebp - 0x228]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x228], eax
test eax, eax
je 0x414610
test esi, esi
je 0x4143be
jmp 0x414674
test esi, esi
jne 0x414674
cmp dword [edi + 0x24], esi
je 0x41463d
push dword [ebp - 0x224]
lea ebx, [ebp - 0x21c]
push str._r_n___s__
lea esi, [ebp - 0x210]
call fcn.00413edf
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x414674
mov edi, dword [edi]
test edi, edi
jne 0x4142bb
jmp 0x41464c
push 0x1b
pop esi
test esi, esi
jne 0x414674
push dword [ebp - 0x22c]
lea ebx, [ebp - 0x21c]
push str._r_n___s___r_n
lea esi, [ebp - 0x210]
call fcn.00413edf
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41469e
lea ebx, [ebp - 0x230]
call fcn.00413f2e
cmp dword [ebp - 0x224], 0
je 0x41429b
push dword [ebp - 0x224]
call dword [0x4a1840]
pop ecx
jmp 0x41429b
cmp dword [ebp - 0x224], 0
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x238]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x218]
mov dword [eax + 4], ecx
je 0x4146cb
push dword [ebp - 0x224]
call dword [0x4a1840]
pop ecx
push dword [ebp - 0x22c]
call dword [0x4a1840]
mov eax, dword [ebp - 0x230]
pop ecx
mov ecx, dword [ebp - 0x234]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00453655
leave
ret