Function at 0x1005344b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x100a82b0]
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 0x100534a0
xor eax, eax
jmp 0x10053976
call fcn.10053400
mov dword [ebp - 0x220], eax
cmp eax, ebx
jne 0x100534b6
push 0x1b
jmp 0x10053975
cmp esi, ebx
jne 0x100534bf
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.100531a0
add esp, 0xc
test eax, eax
je 0x100534f0
mov esi, eax
push dword [ebp - 0x220]
call dword [0x100a8004]
pop ecx
mov eax, esi
jmp 0x10053976
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x214]
or eax, dword [ebp - 0x210]
je 0x1005352b
push 0x100996d8
lea ebx, [ebp - 0x214]
lea esi, [ebp - 0x208]
call fcn.100531a0
mov esi, eax
pop ecx
test esi, esi
jne 0x1005393e
push dword [ebp - 0x220]
lea ebx, [ebp - 0x214]
push str.___s_r_n
lea esi, [ebp - 0x208]
call fcn.100531a0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1005393e
push str.Content_Disposition:_form_data__name_
lea esi, [ebp - 0x208]
call fcn.100531a0
mov esi, eax
pop ecx
test esi, esi
jne 0x1005393e
push dword [edi + 4]
push eax
lea eax, [ebp - 0x208]
push eax
mov eax, dword [edi + 8]
call fcn.100530d2
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1005393e
push 0x100842bc
lea esi, [ebp - 0x208]
call fcn.100531a0
mov esi, eax
pop ecx
test esi, esi
jne 0x1005393e
cmp dword [edi + 0x24], eax
je 0x100535d6
call fcn.10053400
push eax
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea esi, [ebp - 0x208]
mov dword [ebp - 0x224], eax
call fcn.100531a0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1005393e
mov ebx, edi
mov dword [ebp - 0x21c], ebx
jmp 0x100535e6
mov ebx, dword [ebp - 0x21c]
xor eax, eax
cmp dword [edi + 0x24], eax
je 0x1005363e
mov dword [ebp - 0x20c], eax
cmp dword [ebx + 0x2c], eax
jne 0x1005360f
push dword [ebx + 0xc]
call fcn.1005325f
pop ecx
mov dword [ebp - 0x20c], eax
test eax, eax
je 0x10053929
mov ebx, dword [ebx + 0x2c]
test ebx, ebx
jne 0x1005361c
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.100531a0
add esp, 0xc
jmp 0x1005367e
test byte [edi + 0x28], 0x51
je 0x100536a4
cmp dword [edi + 0x2c], eax
jne 0x10053652
push dword [edi + 0xc]
call fcn.1005325f
pop ecx
mov dword [ebp - 0x20c], eax
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x10053665
mov eax, dword [ebp - 0x20c]
push eax
push str.__filename__s_
lea ebx, [ebp - 0x214]
lea esi, [ebp - 0x208]
call fcn.100531a0
pop ecx
pop ecx
cmp dword [ebp - 0x20c], 0
mov esi, eax
je 0x10053696
push dword [ebp - 0x20c]
call dword [0x100a8004]
pop ecx
test esi, esi
jne 0x1005393e
mov ebx, dword [ebp - 0x21c]
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x100536d4
push eax
push str._r_nContent_Type:__s
lea ebx, [ebp - 0x214]
lea esi, [ebp - 0x208]
call fcn.100531a0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1005393e
mov ebx, dword [ebp - 0x21c]
mov ebx, dword [ebx + 0x20]
mov dword [ebp - 0x20c], ebx
test ebx, ebx
je 0x10053720
jmp 0x100536e9
mov ebx, dword [ebp - 0x20c]
push dword [ebx]
lea ebx, [ebp - 0x214]
push str._r_n_s
lea esi, [ebp - 0x208]
call fcn.100531a0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1005393e
mov eax, dword [ebp - 0x20c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20c], eax
test eax, eax
jne 0x100536e3
test esi, esi
jne 0x1005393e
push str._r_n_r_n
lea ebx, [ebp - 0x214]
lea esi, [ebp - 0x208]
call fcn.100531a0
mov esi, eax
pop ecx
test esi, esi
jne 0x1005393e
mov eax, dword [edi + 0x28]
test al, 3
jne 0x1005378c
test al, 0x10
je 0x10053770
push dword [edi + 0x14]
lea eax, [ebp - 0x208]
push 1
push eax
mov eax, dword [edi + 0x18]
call fcn.100530d2
add esp, 0xc
jmp 0x100537fd
test al, 0x40
lea eax, [ebp - 0x208]
je 0x10053785
push dword [edi + 0x30]
push 2
push eax
mov eax, dword [edi + 0x10]
jmp 0x10053763
push dword [edi + 0xc]
push 1
jmp 0x1005377f
mov ebx, dword [ebp - 0x21c]
push dword [ebx + 0xc]
push 0x10082354
call fcn.100515d7
pop ecx
pop ecx
test eax, eax
je 0x100537ac
call fcn.1005e6ef
jmp 0x100537bb
push 0x100841e4
push dword [ebx + 0xc]
call fcn.100605f4
pop ecx
pop ecx
mov dword [ebp - 0x20c], eax
test eax, eax
je 0x10053950
call fcn.1005e6ef
push dword [ebp - 0x20c]
cmp dword [ebp - 0x20c], eax
je 0x10053801
call fcn.1005ff6c
push dword [ebx + 0xc]
lea eax, [ebp - 0x208]
push 3
push eax
lea ebx, [ebp - 0x214]
xor eax, eax
call fcn.100530d2
add esp, 0x10
mov esi, eax
jmp 0x10053863
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.1005e4ee
add esp, 0x10
test eax, eax
je 0x1005386b
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x208]
push 1
push ecx
lea ebx, [ebp - 0x214]
call fcn.100530d2
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x1005393e
push dword [ebp - 0x20c]
lea eax, [ebp - 0x204]
push 0x200
push 1
push eax
call fcn.1005e4ee
add esp, 0x10
test eax, eax
jne 0x1005381b
test esi, esi
jne 0x1005393e
mov eax, dword [ebp - 0x21c]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x21c], eax
test eax, eax
jne 0x100535e0
test esi, esi
jne 0x1005393e
cmp dword [edi + 0x24], esi
je 0x100538c0
push dword [ebp - 0x224]
lea ebx, [ebp - 0x214]
push str._r_n___s__
lea esi, [ebp - 0x208]
call fcn.100531a0
push dword [ebp - 0x224]
mov esi, eax
call dword [0x100a8004]
add esp, 0xc
test esi, esi
jne 0x1005393e
mov edi, dword [edi]
test edi, edi
jne 0x100534fc
test esi, esi
jne 0x1005393e
push dword [ebp - 0x220]
lea ebx, [ebp - 0x214]
push str._r_n___s___r_n
lea esi, [ebp - 0x208]
call fcn.100531a0
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x1005393e
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 [0x100a8004]
mov eax, dword [ebp - 0x218]
pop ecx
mov ecx, dword [ebp - 0x228]
mov dword [ecx], eax
jmp 0x10053499
lea eax, [ebp - 0x218]
push eax
call fcn.100531ef
pop ecx
push 0x1b
pop esi
jmp 0x100534dc
lea eax, [ebp - 0x218]
push eax
call fcn.100531ef
pop ecx
jmp 0x100534dc
lea eax, [ebp - 0x218]
push eax
call fcn.100531ef
push dword [ebp - 0x220]
call dword [0x100a8004]
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.10059ccb
leave
ret