Function at 0x100337f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x27c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
mov ebx, dword [ebp + 8]
mov eax, edx
mov dword [esp + 0x30], eax
xorps xmm0, xmm0
mov dword [esp + 0x18], ebx
mov dword [esp + 8], 0
movlpd qword [esp + 0x10], xmm0
mov dword [esp + 0x1c], 0
mov dword [eax], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x30], edi
mov dword [esp + 0x44], ecx
test ebx, ebx
je 0x10033e47
mov ecx, edi
call fcn.100207e0
push eax
push ecx
mov ecx, edi
call fcn.100207e0
add esp, 4
push eax
push str._________________________08x_08x
call fcn.1001e260
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x10033894
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.100370be
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, [esp + 0x1c]
push 0
push eax
call fcn.100335b0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x100338c3
push dword [esp + 0x14]
jmp 0x10033dce
mov eax, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], eax
nop
mov eax, dword [esp + 0x18]
or eax, dword [esp + 0x1c]
je 0x100338fb
push 0x10056c9c
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100335b0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10033dae
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push str.___s_r_n
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100335b0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10033dae
push str.Content_Disposition:_form_data__name_
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100335b0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10033dae
lea eax, [esp + 0x18]
xor edx, edx
push eax
push dword [ebx + 8]
lea ecx, [esp + 0x18]
push dword [ebx + 4]
call fcn.10033450
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10033dae
push 0x1005c210
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100335b0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10033dae
cmp dword [ebx + 0x24], eax
je 0x100339eb
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1003399c
push eax
call dword [0x1005f678]
add esp, 4
mov ecx, edi
call fcn.100207e0
push eax
push ecx
mov ecx, edi
call fcn.100207e0
add esp, 4
push eax
push str._________________________08x_08x
call fcn.1001e260
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
je 0x10033da9
push eax
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100335b0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10033dae
mov edi, ebx
mov dword [esp + 0x28], edi
cmp dword [ebx + 0x24], 0
je 0x10033a20
push dword [esp + 0x24]
lea eax, [esp + 0x1c]
push str._r_n___s_r_nContent_Disposition:_attachment
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100335b0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10033dae
mov ecx, edi
jmp 0x10033a33
mov eax, dword [ebx + 0x28]
test al, 0x51
je 0x10033a4e
cmp dword [ebx + 0x2c], 0
jne 0x10033a31
test al, 1
je 0x10033a46
mov ecx, ebx
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x14]
call fcn.10033700
mov esi, eax
add esp, 4
test esi, esi
jne 0x10033dae
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x10033a77
push eax
push str._r_nContent_Type:__s
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100335b0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10033dae
mov edi, dword [edi + 0x20]
test edi, edi
je 0x10033aac
mov edi, edi
push dword [edi]
lea eax, [esp + 0x1c]
push str._r_n_s
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100335b0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10033dae
mov edi, dword [edi + 4]
test edi, edi
jne 0x10033a80
jmp 0x10033ab4
test esi, esi
jne 0x10033dae
push str._r_n_r_n
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.100335b0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10033dae
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x10033b63
test al, 0x10
je 0x10033af1
lea eax, [esp + 0x18]
push eax
push dword [ebx + 0x18]
push dword [ebx + 0x14]
jmp 0x10033b4b
test al, 0x40
je 0x10033b40
mov edi, dword [ebx + 0x10]
mov esi, dword [ebx + 0x30]
push 0x10
call dword [0x1005f648]
add esp, 4
test eax, eax
jne 0x10033b12
lea esi, [eax + 0x1b]
jmp 0x10033d51
mov ecx, dword [esp + 0x10]
mov dword [eax], 0
mov dword [eax + 8], esi
mov dword [eax + 4], 2
mov dword [esp + 0x10], eax
test ecx, ecx
je 0x10033b30
mov dword [ecx], eax
add dword [esp + 0x18], edi
adc dword [esp + 0x1c], 0
xor esi, esi
jmp 0x10033d51
lea eax, [esp + 0x18]
push eax
push dword [ebx + 0x10]
push dword [ebx + 0xc]
mov edx, 1
lea ecx, [esp + 0x1c]
call fcn.10033450
add esp, 0xc
mov esi, eax
jmp 0x10033d51
mov edi, dword [esp + 0x28]
push dword [edi + 0xc]
push 0x10056a9c
call fcn.1004e286
add esp, 8
test eax, eax
jne 0x10033b88
call fcn.1003f694
mov ebx, eax
mov dword [esp + 0x34], ebx
jmp 0x10033b9e
push 0x1005c290
push dword [edi + 0xc]
call fcn.10046f14
add esp, 8
mov dword [esp + 0x34], eax
mov ebx, eax
test ebx, ebx
je 0x10033d25
call fcn.1003f694
push ebx
cmp ebx, eax
je 0x10033c51
call fcn.10045443
mov edi, dword [edi + 0xc]
add esp, 4
push 0x10
call dword [0x1005f648]
mov esi, eax
add esp, 4
test esi, esi
jne 0x10033bda
mov esi, 0x1b
jmp 0x10033d4d
mov eax, dword [esp + 0x10]
mov dword [esi], 0
mov dword [esi + 8], edi
mov dword [esi + 4], 3
mov dword [esp + 0x10], esi
test eax, eax
je 0x10033bf8
mov dword [eax], esi
push dword [esi + 8]
push 0x10056a9c
call fcn.1004e286
add esp, 8
test eax, eax
je 0x10033c40
lea eax, [esp + 0x48]
push eax
push dword [esi + 8]
call fcn.10047c14
add esp, 8
test eax, eax
jne 0x10033c47
mov eax, dword [esp + 0x4e]
and eax, 0xf000
cmp eax, 0x4000
je 0x10033c47
mov eax, dword [esp + 0x60]
add dword [esp + 0x18], eax
mov eax, dword [esp + 0x64]
adc dword [esp + 0x1c], eax
xor esi, esi
jmp 0x10033d4d
mov esi, 0x2b
jmp 0x10033d4d
push 0x200
lea eax, [esp + 0x88]
push 1
push eax
call fcn.10046519
add esp, 0x10
mov dword [esp + 0x2c], eax
test eax, eax
je 0x10033d4d
mov ebx, dword [esp + 0x10]
xor esi, esi
lea ebx, [ebx]
push 0x10
call dword [0x1005f648]
mov edi, eax
add esp, 4
test edi, edi
je 0x10033bd0
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [edi], esi
push ecx
call dword [0x1005f648]
add esp, 4
mov dword [edi + 8], eax
test eax, eax
je 0x10033d14
push dword [esp + 0x2c]
lea ecx, [esp + 0x84]
push ecx
push eax
call fcn.1003f7f0
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [edi + 8]
mov dword [edi + 0xc], ecx
mov byte [ecx + eax], 0
mov dword [edi + 4], 1
test ebx, ebx
je 0x10033cdd
mov dword [ebx], edi
push dword [esp + 0x34]
add dword [esp + 0x1c], ecx
lea eax, [esp + 0x84]
push 0x200
adc dword [esp + 0x24], esi
mov ebx, edi
push 1
push eax
mov dword [esp + 0x20], ebx
call fcn.10046519
add esp, 0x10
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x10033c80
jmp 0x10033d4d
push edi
call dword [0x1005f678]
add esp, 4
mov esi, 0x1b
jmp 0x10033d4d
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10033d3e
push dword [edi + 0xc]
push str.couldnt_open_file___s_
push eax
call fcn.10010d80
add esp, 0xc
mov eax, dword [esp + 0x38]
mov esi, 0x1a
mov dword [eax], 0
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x28], eax
test eax, eax
je 0x10033d6b
test esi, esi
jne 0x10033dae
mov edi, eax
jmp 0x100339f1
test esi, esi
jne 0x10033dae
mov edi, dword [esp + 0x24]
cmp dword [ebx + 0x24], esi
je 0x10033d96
push edi
push str._r_n___s__
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100335b0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10033dae
mov ebx, dword [ebx]
mov dword [esp + 0x20], ebx
test ebx, ebx
je 0x10033dee
mov edi, dword [esp + 0x30]
jmp 0x100338d0
mov esi, 0x1b
mov ebx, dword [esp + 0x14]
lea ecx, [esp + 0x3c]
call fcn.10033650
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10033dcd
push eax
call dword [0x1005f678]
add esp, 4
push ebx
call dword [0x1005f678]
mov eax, esi
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.100370be
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x10033dae
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push ebx
push str._r_n___s___r_n
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100335b0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x10033db2
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 4], eax
test edi, edi
je 0x10033e33
push edi
call dword [0x1005f678]
add esp, 4
push ebx
call dword [0x1005f678]
mov eax, dword [esp + 0x3c]
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword [eax], ecx
mov ecx, dword [esp + 0x284]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100370be
mov esp, ebp
pop ebp
ret