Function at 0x42a2e1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4f9b3c]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x228], edx
mov edx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x234], ecx
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x220], ebx
mov dword [eax], ebx
cmp edi, ebx
je 0x42a803
push ecx
call fcn.0042a966
pop ecx
mov dword [ebp - 0x224], eax
cmp eax, ebx
jne 0x42a357
push 0x1b
pop eax
jmp 0x42a805
mov eax, dword [ebp - 0x228]
cmp eax, ebx
jne 0x42a366
mov eax, str.Content_Type:_multipart_form_data
push dword [ebp - 0x224]
push eax
push str._s__boundary_s_r_n
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.0042a11d
add esp, 0x14
mov dword [ebp - 0x228], eax
cmp eax, ebx
je 0x42a3a4
push dword [ebp - 0x224]
call dword [0x4fb068]
mov eax, dword [ebp - 0x228]
pop ecx
jmp 0x42a805
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x228], eax
or esi, dword [ebp - 0x218]
je 0x42a3dd
push 0x4dea94
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0042a11d
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x42a789
push dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push str.___s_r_n
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0042a11d
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x42a789
push str.Content_Disposition:_form_data__name_
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0042a11d
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x42a789
push dword [edi + 4]
mov ecx, dword [edi + 8]
push ebx
lea eax, [ebp - 0x210]
push eax
lea ebx, [ebp - 0x21c]
call fcn.0042a019
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x42a789
push 0x4e4048
mov eax, ebx
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0042a11d
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x42a789
cmp dword [edi + 0x24], eax
je 0x42a4ce
cmp dword [ebp - 0x220], eax
je 0x42a48e
push dword [ebp - 0x220]
call dword [0x4fb068]
pop ecx
push dword [ebp - 0x234]
call fcn.0042a966
pop ecx
mov dword [ebp - 0x220], eax
test eax, eax
je 0x42a75b
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.0042a11d
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x42a789
mov ebx, edi
mov dword [ebp - 0x230], ebx
cmp dword [edi + 0x24], 0
je 0x42a519
push dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push str._r_n___s_r_nContent_Disposition:_attachment
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0042a11d
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x42a789
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
mov eax, ebx
jmp 0x42a53a
mov eax, dword [edi + 0x28]
test al, 0x51
je 0x42a54b
cmp dword [edi + 0x2c], 0
jne 0x42a52a
test al, 1
je 0x42a543
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
mov eax, edi
call fcn.0042a20e
pop ecx
mov esi, eax
pop ecx
test esi, esi
jne 0x42a789
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x42a578
push eax
push str._r_nContent_Type:__s
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0042a11d
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x42a789
mov ebx, dword [ebx + 0x20]
jmp 0x42a5a7
push dword [ebx]
lea eax, [ebp - 0x21c]
push str._r_n_s
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0042a11d
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x42a789
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x42a57d
test esi, esi
jne 0x42a789
push str._r_n_r_n
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0042a11d
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x42a789
mov eax, dword [edi + 0x28]
test al, 3
jne 0x42a620
lea ebx, [ebp - 0x21c]
test al, 0x10
je 0x42a5f7
push dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
lea eax, [ebp - 0x210]
jmp 0x42a60e
mov ecx, dword [edi + 0x10]
test al, 0x40
lea eax, [ebp - 0x210]
je 0x42a60b
push dword [edi + 0x30]
push 2
jmp 0x42a610
push dword [edi + 0xc]
push 1
push eax
call fcn.0042a019
add esp, 0xc
mov esi, eax
jmp 0x42a6fa
mov ebx, dword [ebp - 0x230]
push dword [ebx + 0xc]
push 0x4de870
call fcn.0041e649
pop ecx
pop ecx
test eax, eax
je 0x42a640
call fcn.00499aa6
jmp 0x42a64f
push 0x4e40c8
push dword [ebx + 0xc]
call fcn.0049825f
pop ecx
pop ecx
mov dword [ebp - 0x22c], eax
test eax, eax
je 0x42a6cf
call fcn.00499aa6
push dword [ebp - 0x22c]
cmp dword [ebp - 0x22c], eax
je 0x42a6b3
call fcn.00493869
pop ecx
push dword [ebx + 0xc]
lea eax, [ebp - 0x210]
push 3
lea ebx, [ebp - 0x21c]
xor ecx, ecx
jmp 0x42a610
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [ebp - 0x210]
push 1
push ecx
lea ebx, [ebp - 0x21c]
mov ecx, eax
call fcn.0042a019
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x42a6fa
push dword [ebp - 0x22c]
push 0x200
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.00493b27
add esp, 0x10
test eax, eax
jne 0x42a687
jmp 0x42a6fa
cmp dword [ebp - 0x234], 0
je 0x42a6ee
push dword [ebx + 0xc]
push str.couldnt_open_file___s_
push dword [ebp - 0x234]
call fcn.0040ec0a
add esp, 0xc
mov eax, dword [ebp - 0x238]
and dword [eax], 0
push 0x1a
pop esi
mov eax, dword [ebp - 0x230]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x230], eax
test eax, eax
je 0x42a718
test esi, esi
jne 0x42a789
mov ebx, eax
jmp 0x42a4d6
test esi, esi
jne 0x42a789
cmp dword [edi + 0x24], esi
je 0x42a748
push dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push str._r_n___s__
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0042a11d
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x42a789
mov edi, dword [edi]
test edi, edi
je 0x42a75e
mov esi, dword [ebp - 0x21c]
xor ebx, ebx
jmp 0x42a3b0
push 0x1b
pop esi
test esi, esi
jne 0x42a789
push dword [ebp - 0x224]
lea eax, [ebp - 0x21c]
push str._r_n___s___r_n
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0042a11d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42a7bb
lea ebx, [ebp - 0x228]
call fcn.0042a175
cmp dword [ebp - 0x220], 0
je 0x42a7aa
push dword [ebp - 0x220]
call dword [0x4fb068]
pop ecx
push dword [ebp - 0x224]
call dword [0x4fb068]
pop ecx
mov eax, esi
jmp 0x42a805
cmp dword [ebp - 0x220], 0
mov ecx, dword [ebp - 0x21c]
mov eax, dword [ebp - 0x23c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x218]
mov dword [eax + 4], ecx
je 0x42a7e8
push dword [ebp - 0x220]
call dword [0x4fb068]
pop ecx
push dword [ebp - 0x224]
call dword [0x4fb068]
mov eax, dword [ebp - 0x228]
pop ecx
mov ecx, dword [ebp - 0x238]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004927bf
leave
ret