Function at 0x4284df
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x498d74]
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 0x428534
xor eax, eax
jmp 0x428a09
call fcn.00428496
mov dword [ebp - 0x220], eax
cmp eax, ebx
jne 0x42854a
push 0x1b
jmp 0x428a08
cmp esi, ebx
jne 0x428553
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.00428204
add esp, 0xc
test eax, eax
je 0x428584
mov esi, eax
push dword [ebp - 0x220]
call dword [0x498d14]
pop ecx
mov eax, esi
jmp 0x428a09
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x214]
or eax, dword [ebp - 0x210]
je 0x4285bf
push 0x4818f4
lea ebx, [ebp - 0x214]
lea esi, [ebp - 0x208]
call fcn.00428204
mov esi, eax
pop ecx
test esi, esi
jne 0x4289d1
push dword [ebp - 0x220]
lea ebx, [ebp - 0x214]
push str.___s_r_n
lea esi, [ebp - 0x208]
call fcn.00428204
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4289d1
push str.Content_Disposition:_form_data__name_
lea esi, [ebp - 0x208]
call fcn.00428204
mov esi, eax
pop ecx
test esi, esi
jne 0x4289d1
push dword [edi + 4]
mov ecx, dword [edi + 8]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.00428116
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4289d1
push 0x47dd30
lea esi, [ebp - 0x208]
call fcn.00428204
mov esi, eax
pop ecx
test esi, esi
jne 0x4289d1
cmp dword [edi + 0x24], eax
je 0x42866a
call fcn.00428496
push eax
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea esi, [ebp - 0x208]
mov dword [ebp - 0x224], eax
call fcn.00428204
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4289d1
mov ebx, edi
mov dword [ebp - 0x21c], ebx
jmp 0x42867a
mov ebx, dword [ebp - 0x21c]
xor eax, eax
cmp dword [edi + 0x24], eax
je 0x4286d2
mov dword [ebp - 0x20c], eax
cmp dword [ebx + 0x2c], eax
jne 0x4286a3
push dword [ebx + 0xc]
call fcn.004282c3
pop ecx
mov dword [ebp - 0x20c], eax
test eax, eax
je 0x4289bc
mov ebx, dword [ebx + 0x2c]
test ebx, ebx
jne 0x4286b0
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.00428204
add esp, 0xc
jmp 0x428712
test byte [edi + 0x28], 0x51
je 0x428738
cmp dword [edi + 0x2c], eax
jne 0x4286e6
push dword [edi + 0xc]
call fcn.004282c3
pop ecx
mov dword [ebp - 0x20c], eax
mov eax, dword [edi + 0x2c]
test eax, eax
jne 0x4286f9
mov eax, dword [ebp - 0x20c]
push eax
push str.__filename__s_
lea ebx, [ebp - 0x214]
lea esi, [ebp - 0x208]
call fcn.00428204
pop ecx
pop ecx
cmp dword [ebp - 0x20c], 0
mov esi, eax
je 0x42872a
push dword [ebp - 0x20c]
call dword [0x498d14]
pop ecx
test esi, esi
jne 0x4289d1
mov ebx, dword [ebp - 0x21c]
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x428768
push eax
push str._r_nContent_Type:__s
lea ebx, [ebp - 0x214]
lea esi, [ebp - 0x208]
call fcn.00428204
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4289d1
mov ebx, dword [ebp - 0x21c]
mov ebx, dword [ebx + 0x20]
mov dword [ebp - 0x20c], ebx
test ebx, ebx
je 0x4287b4
jmp 0x42877d
mov ebx, dword [ebp - 0x20c]
push dword [ebx]
lea ebx, [ebp - 0x214]
push str._r_n_s
lea esi, [ebp - 0x208]
call fcn.00428204
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4289d1
mov eax, dword [ebp - 0x20c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x20c], eax
test eax, eax
jne 0x428777
test esi, esi
jne 0x4289d1
push str._r_n_r_n
lea ebx, [ebp - 0x214]
lea esi, [ebp - 0x208]
call fcn.00428204
mov esi, eax
pop ecx
test esi, esi
jne 0x4289d1
mov eax, dword [edi + 0x28]
test al, 3
jne 0x42881d
test al, 0x10
je 0x428804
push dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
lea eax, [ebp - 0x208]
push 1
push eax
call fcn.00428116
add esp, 0xc
jmp 0x42888e
mov ecx, dword [edi + 0x10]
test al, 0x40
lea eax, [ebp - 0x208]
je 0x428818
push dword [edi + 0x30]
push 2
jmp 0x4287f6
push dword [edi + 0xc]
jmp 0x4287f4
mov ebx, dword [ebp - 0x21c]
push dword [ebx + 0xc]
push 0x4817ec
call fcn.0043116c
pop ecx
pop ecx
test eax, eax
je 0x42883d
call fcn.00447460
jmp 0x42884c
push 0x47e318
push dword [ebx + 0xc]
call fcn.00447e10
pop ecx
pop ecx
mov dword [ebp - 0x20c], eax
test eax, eax
je 0x4289e3
call fcn.00447460
push dword [ebp - 0x20c]
cmp dword [ebp - 0x20c], eax
je 0x428892
call fcn.00447ce0
push dword [ebx + 0xc]
lea eax, [ebp - 0x208]
push 3
push eax
lea ebx, [ebp - 0x214]
xor ecx, ecx
call fcn.00428116
add esp, 0x10
mov esi, eax
jmp 0x4288f6
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.00446fd8
add esp, 0x10
test eax, eax
je 0x4288fe
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x208]
push 1
push ecx
lea ebx, [ebp - 0x214]
mov ecx, eax
call fcn.00428116
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4289d1
push dword [ebp - 0x20c]
lea eax, [ebp - 0x204]
push 0x200
push 1
push eax
call fcn.00446fd8
add esp, 0x10
test eax, eax
jne 0x4288ac
test esi, esi
jne 0x4289d1
mov eax, dword [ebp - 0x21c]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x21c], eax
test eax, eax
jne 0x428674
test esi, esi
jne 0x4289d1
cmp dword [edi + 0x24], esi
je 0x428953
push dword [ebp - 0x224]
lea ebx, [ebp - 0x214]
push str._r_n___s__
lea esi, [ebp - 0x208]
call fcn.00428204
push dword [ebp - 0x224]
mov esi, eax
call dword [0x498d14]
add esp, 0xc
test esi, esi
jne 0x4289d1
mov edi, dword [edi]
test edi, edi
jne 0x428590
test esi, esi
jne 0x4289d1
push dword [ebp - 0x220]
lea ebx, [ebp - 0x214]
push str._r_n___s___r_n
lea esi, [ebp - 0x208]
call fcn.00428204
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4289d1
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 [0x498d14]
mov eax, dword [ebp - 0x218]
pop ecx
mov ecx, dword [ebp - 0x228]
mov dword [ecx], eax
jmp 0x42852d
lea eax, [ebp - 0x218]
push eax
call fcn.00428253
pop ecx
push 0x1b
pop esi
jmp 0x428570
lea eax, [ebp - 0x218]
push eax
call fcn.00428253
pop ecx
jmp 0x428570
lea eax, [ebp - 0x218]
push eax
call fcn.00428253
push dword [ebp - 0x220]
call dword [0x498d14]
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.0044249e
leave
ret