Function at 0x436990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x48e300]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x224], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x208], 0
movlpd qword [ebp - 0x214], xmm0
mov dword [ebp - 0x218], 0
mov dword [eax], 0
test ebx, ebx
jne 0x436a01
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420548
mov esp, ebp
pop ebp
ret
push edi
call fcn.00437820
mov edi, eax
mov dword [ebp - 0x20c], edi
test edi, edi
jne 0x436a27
lea eax, [edi + 0x1b]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420548
mov esp, ebp
pop ebp
ret
push edi
mov eax, str.Content_Type:_multipart_form_data
test esi, esi
cmovne eax, esi
push eax
push str._s__boundary_s_r_n
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.004365e0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x436f34
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
jmp 0x436a70
mov eax, dword [ebp - 0x214]
or eax, dword [ebp - 0x210]
je 0x436aa3
push 0x481c38
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004365e0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x436f11
push edi
push str.___s_r_n
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004365e0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x436f11
push str.Content_Disposition:_form_data__name_
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004365e0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x436f11
lea eax, [ebp - 0x214]
push eax
push dword [ebx + 8]
lea eax, [ebp - 0x208]
push dword [ebx + 4]
push esi
push eax
call fcn.00436490
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x436f11
push 0x484f48
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004365e0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x436f11
cmp dword [ebx + 0x24], eax
je 0x436b8c
mov eax, dword [ebp - 0x218]
test eax, eax
je 0x436b53
push eax
call dword [0x48f2b4]
add esp, 4
call fcn.00437820
mov dword [ebp - 0x218], eax
test eax, eax
je 0x436e81
push eax
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004365e0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x436f11
mov edi, ebx
mov dword [ebp - 0x21c], edi
cmp dword [ebx + 0x24], 0
je 0x436bd6
push dword [ebp - 0x218]
lea eax, [ebp - 0x214]
push str._r_n___s_r_nContent_Disposition:_attachment
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004365e0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x436f07
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
push edi
jmp 0x436bf6
mov eax, dword [ebx + 0x28]
test al, 0x51
je 0x436c08
cmp dword [ebx + 0x2c], 0
jne 0x436be7
test al, 1
je 0x436c00
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
push ebx
call fcn.004378b0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x436f07
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x436c35
push eax
push str._r_nContent_Type:__s
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004365e0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x436f07
mov edi, dword [edi + 0x20]
test edi, edi
je 0x436c70
lea esp, [esp]
push dword [edi]
lea eax, [ebp - 0x214]
push str._r_n_s
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004365e0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x436f07
mov edi, dword [edi + 4]
test edi, edi
jne 0x436c40
jmp 0x436c78
test esi, esi
jne 0x436f07
push str._r_n_r_n
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004365e0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x436f07
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x436d0b
test al, 0x10
je 0x436ccd
lea eax, [ebp - 0x214]
push eax
push dword [ebx + 0x18]
lea eax, [ebp - 0x208]
push dword [ebx + 0x14]
push 1
push eax
call fcn.00436490
add esp, 0x14
mov esi, eax
jmp 0x436e15
test al, 0x40
lea eax, [ebp - 0x214]
push eax
push dword [ebx + 0x10]
lea eax, [ebp - 0x208]
je 0x436cf6
push dword [ebx + 0x30]
push 2
push eax
call fcn.00436490
add esp, 0x14
mov esi, eax
jmp 0x436e15
push dword [ebx + 0xc]
push 1
push eax
call fcn.00436490
add esp, 0x14
mov esi, eax
jmp 0x436e15
mov edi, dword [ebp - 0x21c]
push dword [edi + 0xc]
push 0x47a26c
call sym.host.exe_curl_strequal
add esp, 8
test eax, eax
je 0x436d2c
call fcn.00422c19
jmp 0x436d3c
push 0x481c60
push dword [edi + 0xc]
call fcn.004219ea
add esp, 8
mov edi, eax
test edi, edi
je 0x436de3
call fcn.00422c19
push edi
cmp edi, eax
je 0x436d7f
call fcn.00421d88
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 0x21c]
push 0
push dword [eax + 0xc]
lea eax, [ebp - 0x208]
push 3
push eax
call fcn.00436490
add esp, 0x18
mov esi, eax
jmp 0x436e15
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.0045533d
add esp, 0x10
test eax, eax
je 0x436e15
lea esp, [esp]
lea ecx, [ebp - 0x214]
push ecx
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x208]
push 1
push eax
call fcn.00436490
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x436e15
push edi
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.0045533d
add esp, 0x10
test eax, eax
jne 0x436da0
jmp 0x436e15
mov ecx, dword [ebp - 0x224]
test ecx, ecx
je 0x436e04
mov eax, dword [ebp - 0x21c]
push dword [eax + 0xc]
push str.couldnt_open_file___s_
push ecx
call fcn.004427c0
add esp, 0xc
mov eax, dword [ebp - 0x220]
mov esi, 0x1a
mov dword [eax], 0
mov eax, dword [ebp - 0x21c]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x436e37
test esi, esi
jne 0x436f07
mov edi, eax
jmp 0x436b94
test esi, esi
jne 0x436f07
mov edi, dword [ebp - 0x218]
cmp dword [ebx + 0x24], esi
je 0x436e70
push edi
push str._r_n___s__
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004365e0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x436f07
mov ebx, dword [ebx]
test ebx, ebx
je 0x436e8b
mov edi, dword [ebp - 0x20c]
jmp 0x436a70
mov esi, 0x1b
jmp 0x436f11
test esi, esi
jne 0x436f07
mov ebx, dword [ebp - 0x20c]
push ebx
push str._r_n___s___r_n
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.004365e0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x436f0f
mov ecx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x214]
mov dword [ecx], eax
mov eax, dword [ebp - 0x210]
mov dword [ecx + 4], eax
test edi, edi
je 0x436edc
push edi
call dword [0x48f2b4]
add esp, 4
push ebx
call dword [0x48f2b4]
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x230]
add esp, 4
mov dword [eax], ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420548
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0x20c]
jmp 0x436f11
mov edi, ebx
lea eax, [ebp - 0x22c]
push eax
call fcn.00436920
mov eax, dword [ebp - 0x218]
add esp, 4
test eax, eax
je 0x436f34
push eax
call dword [0x48f2b4]
add esp, 4
push edi
call dword [0x48f2b4]
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420548
mov esp, ebp
pop ebp
ret