Function at 0x100b2470
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x102683e0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, edx
mov dword [ebp - 0x230], eax
xorps xmm0, xmm0
mov dword [ebp - 0x210], 0
movlpd qword [ebp - 0x21c], xmm0
mov dword [ebp - 0x224], 0
mov dword [eax], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x240], ecx
test ebx, ebx
je 0x100b2abf
mov ecx, edi
call fcn.100bd570
push eax
push ecx
mov ecx, edi
call fcn.100bd570
add esp, 4
push eax
push str._________________________08x_08x
call fcn.100cabc0
add esp, 0xc
mov dword [ebp - 0x22c], eax
test eax, eax
jne 0x100b2513
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.101a0193
mov esp, ebp
pop ebp
ret
push eax
test esi, esi
mov eax, str.Content_Type:_multipart_form_data
cmovne eax, esi
push eax
push str._s__boundary_s_r_n
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.100b1fa0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x100b2af8
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x21c]
or eax, dword [ebp - 0x218]
je 0x100b2584
push 0x1022b530
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100b1fa0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100b2ade
push dword [ebp - 0x22c]
lea eax, [ebp - 0x21c]
push str.___s_r_n
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100b1fa0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100b2ade
push str.Content_Disposition:_form_data__name_
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100b1fa0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100b2ade
mov eax, dword [ebx + 8]
cdq
test edx, edx
jl 0x100b2ad9
jg 0x100b25ea
test eax, eax
jb 0x100b2ad9
lea ecx, [ebp - 0x21c]
push ecx
push edx
push eax
push dword [ebx + 4]
xor edx, edx
lea ecx, [ebp - 0x210]
call fcn.100b1df0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100b2ade
push 0x1022b034
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100b1fa0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100b2ade
cmp dword [ebx + 0x24], eax
je 0x100b269e
push dword [ebp - 0x224]
call dword [0x10269bfc]
add esp, 4
mov ecx, edi
call fcn.100bd570
push eax
push ecx
mov ecx, edi
call fcn.100bd570
add esp, 4
push eax
push str._________________________08x_08x
call fcn.100cabc0
add esp, 0xc
mov dword [ebp - 0x224], eax
test eax, eax
je 0x100b2ad2
push eax
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100b1fa0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100b2ade
mov edi, ebx
mov dword [ebp - 0x228], edi
cmp dword [ebx + 0x24], 0
je 0x100b26db
push dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push str._r_n___s_r_nContent_Disposition:_attachment
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100b1fa0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100b2ade
mov ecx, edi
jmp 0x100b26ee
mov eax, dword [ebx + 0x28]
test al, 0x51
je 0x100b270d
cmp dword [ebx + 0x2c], 0
jne 0x100b26ec
test al, 1
je 0x100b2705
mov ecx, ebx
lea eax, [ebp - 0x21c]
push eax
lea edx, [ebp - 0x210]
call fcn.100b23a0
mov esi, eax
add esp, 4
test esi, esi
jne 0x100b2ade
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x100b273a
push eax
push str._r_nContent_Type:__s
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100b1fa0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100b2ade
mov edi, dword [edi + 0x20]
test edi, edi
je 0x100b2771
push dword [edi]
lea eax, [ebp - 0x21c]
push str._r_n_s
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100b1fa0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100b2ade
mov edi, dword [edi + 4]
test edi, edi
jne 0x100b2741
jmp 0x100b2779
test esi, esi
jne 0x100b2ade
push str._r_n_r_n
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100b1fa0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x100b2ade
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x100b28d3
test al, 0x10
je 0x100b27d4
mov eax, dword [ebx + 0x18]
cdq
test edx, edx
jl 0x100b29ae
jg 0x100b27c3
test eax, eax
jb 0x100b29ae
lea ecx, [ebp - 0x21c]
push ecx
push edx
push eax
push dword [ebx + 0x14]
jmp 0x100b28b3
test al, 0x40
je 0x100b2885
test al, al
jns 0x100b27e8
mov esi, dword [ebx + 0x38]
mov edi, dword [ebx + 0x3c]
jmp 0x100b27f0
mov eax, dword [ebx + 0x10]
cdq
mov esi, eax
mov edi, edx
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x238], eax
test edi, edi
jl 0x100b29ae
jg 0x100b280b
test esi, esi
jb 0x100b29ae
cmp dword [ebp - 0x218], 0
jl 0x100b29ae
jg 0x100b2827
cmp dword [ebp - 0x21c], 0
jb 0x100b29ae
push 0x10
call dword [0x10269be8]
add esp, 4
test eax, eax
jne 0x100b2844
mov edi, dword [ebp - 0x220]
lea esi, [eax + 0x1b]
jmp 0x100b29ed
mov ecx, dword [ebp - 0x238]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x210]
mov dword [eax], 0
mov dword [eax + 4], 2
mov dword [ebp - 0x210], eax
test ecx, ecx
je 0x100b286c
mov dword [ecx], eax
add dword [ebp - 0x21c], esi
adc dword [ebp - 0x218], edi
xor esi, esi
mov edi, dword [ebp - 0x220]
jmp 0x100b29ed
test al, al
jns 0x100b2891
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
jmp 0x100b2895
mov eax, dword [ebx + 0x10]
cdq
test edx, edx
jl 0x100b29ae
jg 0x100b28a7
test eax, eax
jb 0x100b29ae
lea ecx, [ebp - 0x21c]
push ecx
push edx
push eax
push dword [ebx + 0xc]
mov edx, 1
lea ecx, [ebp - 0x210]
call fcn.100b1df0
mov edi, dword [ebp - 0x220]
add esp, 0x10
mov esi, eax
jmp 0x100b29ed
mov edi, dword [ebp - 0x228]
push dword [edi + 0xc]
push 0x10233d58
call fcn.101e17fd
add esp, 8
test eax, eax
jne 0x100b28f4
call fcn.101a9da2
jmp 0x100b2904
push 0x10231fbc
push dword [edi + 0xc]
call fcn.101abf09
add esp, 8
mov edi, eax
test edi, edi
je 0x100b29bb
call fcn.101a9da2
push edi
cmp edi, eax
je 0x100b293e
call fcn.101aafe4
add esp, 4
lea eax, [ebp - 0x21c]
mov edx, 3
push eax
mov eax, dword [ebp - 0x228]
push 0
push 0
push dword [eax + 0xc]
jmp 0x100b28b8
push 0x200
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.101e0b49
add esp, 0x10
test eax, eax
je 0x100b29b3
xor edx, edx
jl 0x100b29ae
jg 0x100b2962
test eax, eax
jb 0x100b29ae
lea ecx, [ebp - 0x21c]
push ecx
push edx
push eax
lea eax, [ebp - 0x20c]
mov edx, 1
push eax
lea ecx, [ebp - 0x210]
call fcn.100b1df0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100b29b3
push edi
push 0x200
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.101e0b49
add esp, 0x10
test eax, eax
jne 0x100b2958
mov edi, dword [ebp - 0x220]
jmp 0x100b29ed
mov esi, 0x2b
mov edi, dword [ebp - 0x220]
jmp 0x100b29ed
mov edi, dword [ebp - 0x220]
test edi, edi
je 0x100b29dc
mov eax, dword [ebp - 0x228]
push dword [eax + 0xc]
push str.couldnt_open_file___s_
push edi
call fcn.100bc7f0
add esp, 0xc
mov eax, dword [ebp - 0x230]
mov esi, 0x1a
mov dword [eax], 0
mov eax, dword [ebp - 0x228]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x228], eax
test eax, eax
je 0x100b2a0f
test esi, esi
jne 0x100b2ade
mov edi, eax
jmp 0x100b26a6
test esi, esi
jne 0x100b2ade
cmp dword [ebx + 0x24], esi
je 0x100b2a47
push dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push str._r_n___s__
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100b1fa0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100b2ade
mov ebx, dword [ebx]
test ebx, ebx
jne 0x100b2551
test esi, esi
jne 0x100b2ade
mov ebx, dword [ebp - 0x22c]
lea eax, [ebp - 0x21c]
push ebx
push str._r_n___s___r_n
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.100b1fa0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x100b2ade
mov ecx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x21c]
push dword [ebp - 0x224]
mov dword [ecx], eax
mov eax, dword [ebp - 0x218]
mov dword [ecx + 4], eax
call dword [0x10269bfc]
add esp, 4
push ebx
call dword [0x10269bfc]
mov eax, dword [ebp - 0x230]
add esp, 4
mov ecx, dword [ebp - 0x23c]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.101a0193
mov esp, ebp
pop ebp
ret
mov esi, 0x1b
jmp 0x100b2ade
mov esi, 0x2b
lea ecx, [ebp - 0x234]
call fcn.100b2040
push dword [ebp - 0x224]
call dword [0x10269bfc]
add esp, 4
push dword [ebp - 0x22c]
call dword [0x10269bfc]
mov ecx, dword [ebp - 8]
add esp, 4
mov eax, esi
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.101a0193
mov esp, ebp
pop ebp
ret