Function at 0x100593a4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x100b02c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x224], ebx
mov dword [eax], ebx
cmp edi, ebx
jne 0x100593f9
xor eax, eax
jmp 0x100598cf
call fcn.10059359
mov dword [ebp - 0x220], eax
cmp eax, ebx
jne 0x1005940f
push 0x1b
jmp 0x100598ce
cmp esi, ebx
jne 0x10059418
mov esi, str.Content_Type:_multipart_form_data
push eax
push esi
push str._s__boundary_s_r_n
xor ebx, ebx
lea esi, [ebp - 0x208]
call fcn.100590f9
add esp, 0xc
test eax, eax
je 0x10059449
mov esi, eax
push dword [ebp - 0x220]
call dword [0x100b0004]
pop ecx
mov eax, esi
jmp 0x100598cf
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x214]
or eax, dword [ebp - 0x210]
je 0x10059484
push 0x100a0640
lea ebx, [ebp - 0x214]
lea esi, [ebp - 0x208]
call fcn.100590f9
mov esi, eax
pop ecx
test esi, esi
jne 0x10059897
push dword [ebp - 0x220]
lea ebx, [ebp - 0x214]
push str.___s_r_n
lea esi, [ebp - 0x208]
call fcn.100590f9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10059897
push str.Content_Disposition:_form_data__name_
lea esi, [ebp - 0x208]
call fcn.100590f9
mov esi, eax
pop ecx
test esi, esi
jne 0x10059897
push dword [edi + 4]
push eax
lea eax, [ebp - 0x208]
push eax
mov eax, dword [edi + 8]
call fcn.1005902b
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10059897
push 0x1008a344
lea esi, [ebp - 0x208]
call fcn.100590f9
mov esi, eax
pop ecx
test esi, esi
jne 0x10059897
cmp dword [edi + 0x24], eax
je 0x1005952f
call fcn.10059359
push eax
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea esi, [ebp - 0x208]
mov dword [ebp - 0x224], eax
call fcn.100590f9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10059897
mov ebx, edi
mov dword [ebp - 0x21c], ebx
jmp 0x1005953f
mov ebx, dword [ebp - 0x21c]
xor eax, eax
cmp dword [edi + 0x24], eax
je 0x10059597
mov dword [ebp - 0x20c], eax
cmp dword [ebx + 0x2c], eax
jne 0x10059568
push dword [ebx + 0xc]
call fcn.100591b8
pop ecx
mov dword [ebp - 0x20c], eax
test eax, eax
je 0x10059882
mov ebx, dword [ebx + 0x2c]
test ebx, ebx
jne 0x10059575
mov ebx, dword [ebp - 0x20c]
push ebx
push dword [ebp - 0x224]
lea ebx, [ebp - 0x214]
push str._r_n___s_r_nContent_Disposition:_attachment__filename__s_
lea esi, [ebp - 0x208]
call fcn.100590f9
add esp, 0xc
jmp 0x100595d7
test byte [edi + 0x28], 0x51
je 0x100595fd
cmp dword [edi + 0x2c], eax
jne 0x100595ab
push dword [edi + 0xc]
call fcn.100591b8
pop ecx
mov dword [ebp - 0x20c], eax
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x100595be
mov eax, dword [ebp - 0x20c]
push eax
push str.__filename__s_
lea ebx, [ebp - 0x214]
lea esi, [ebp - 0x208]
call fcn.100590f9
pop ecx
pop ecx
cmp dword [ebp - 0x20c], 0
mov esi, eax
je 0x100595ef
push dword [ebp - 0x20c]
call dword [0x100b0004]
pop ecx
test esi, esi
jne 0x10059897
mov ebx, dword [ebp - 0x21c]
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x1005962d
push eax
push str._r_nContent_Type:__s
lea ebx, [ebp - 0x214]
lea esi, [ebp - 0x208]
call fcn.100590f9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10059897
mov ebx, dword [ebp - 0x21c]
mov ebx, dword [ebx + 0x20]
mov dword [ebp - 0x20c], ebx
test ebx, ebx
je 0x10059679
jmp 0x10059642
mov ebx, dword [ebp - 0x20c]
push dword [ebx]
lea ebx, [ebp - 0x214]
push str._r_n_s
lea esi, [ebp - 0x208]
call fcn.100590f9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10059897
mov eax, dword [ebp - 0x20c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20c], eax
test eax, eax
jne 0x1005963c
test esi, esi
jne 0x10059897
push str._r_n_r_n
lea ebx, [ebp - 0x214]
lea esi, [ebp - 0x208]
call fcn.100590f9
mov esi, eax
pop ecx
test esi, esi
jne 0x10059897
mov eax, dword [edi + 0x28]
test al, 3
jne 0x100596e5
test al, 0x10
je 0x100596c9
push dword [edi + 0x14]
lea eax, [ebp - 0x208]
push 1
push eax
mov eax, dword [edi + 0x18]
call fcn.1005902b
add esp, 0xc
jmp 0x10059756
test al, 0x40
lea eax, [ebp - 0x208]
je 0x100596de
push dword [edi + 0x30]
push 2
push eax
mov eax, dword [edi + 0x10]
jmp 0x100596bc
push dword [edi + 0xc]
push 1
jmp 0x100596d8
mov ebx, dword [ebp - 0x21c]
push dword [ebx + 0xc]
push 0x100883dc
call fcn.10057530
pop ecx
pop ecx
test eax, eax
je 0x10059705
call fcn.10064a0f
jmp 0x10059714
push 0x1008a26c
push dword [ebx + 0xc]
call fcn.10066914
pop ecx
pop ecx
mov dword [ebp - 0x20c], eax
test eax, eax
je 0x100598a9
call fcn.10064a0f
push dword [ebp - 0x20c]
cmp dword [ebp - 0x20c], eax
je 0x1005975a
call fcn.1006628c
push dword [ebx + 0xc]
lea eax, [ebp - 0x208]
push 3
push eax
lea ebx, [ebp - 0x214]
xor eax, eax
call fcn.1005902b
add esp, 0x10
mov esi, eax
jmp 0x100597bc
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.1006480e
add esp, 0x10
test eax, eax
je 0x100597c4
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x208]
push 1
push ecx
lea ebx, [ebp - 0x214]
call fcn.1005902b
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10059897
push dword [ebp - 0x20c]
lea eax, [ebp - 0x204]
push 0x200
push 1
push eax
call fcn.1006480e
add esp, 0x10
test eax, eax
jne 0x10059774
test esi, esi
jne 0x10059897
mov eax, dword [ebp - 0x21c]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x21c], eax
test eax, eax
jne 0x10059539
test esi, esi
jne 0x10059897
cmp dword [edi + 0x24], esi
je 0x10059819
push dword [ebp - 0x224]
lea ebx, [ebp - 0x214]
push str._r_n___s__
lea esi, [ebp - 0x208]
call fcn.100590f9
push dword [ebp - 0x224]
mov esi, eax
call dword [0x100b0004]
add esp, 0xc
test esi, esi
jne 0x10059897
mov edi, dword [edi]
test edi, edi
jne 0x10059455
test esi, esi
jne 0x10059897
push dword [ebp - 0x220]
lea ebx, [ebp - 0x214]
push str._r_n___s___r_n
lea esi, [ebp - 0x208]
call fcn.100590f9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10059897
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x214]
push dword [ebp - 0x220]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x210]
mov dword [eax + 4], ecx
call dword [0x100b0004]
mov eax, dword [ebp - 0x218]
pop ecx
mov ecx, dword [ebp - 0x228]
mov dword [ecx], eax
jmp 0x100593f2
lea eax, [ebp - 0x218]
push eax
call fcn.10059148
pop ecx
push 0x1b
pop esi
jmp 0x10059435
lea eax, [ebp - 0x218]
push eax
call fcn.10059148
pop ecx
jmp 0x10059435
lea eax, [ebp - 0x218]
push eax
call fcn.10059148
push dword [ebp - 0x220]
call dword [0x100b0004]
mov eax, dword [ebp - 0x228]
and dword [eax], 0
pop ecx
pop ecx
push 0x1a
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005fc2b
leave
ret