Function at 0x48ed3d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5002b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x18]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x230], edx
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x218], ebx
mov dword [eax], ebx
cmp edi, ebx
je 0x48f23b
push ecx
call fcn.0048ed17
pop ecx
mov dword [ebp - 0x220], eax
cmp eax, ebx
jne 0x48edb1
push 0x1b
pop eax
jmp 0x48f23d
cmp esi, ebx
jne 0x48edba
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.0048e9e9
mov esi, eax
add esp, 0xc
test esi, esi
je 0x48edeb
push dword [ebp - 0x220]
call dword [0x4ff384]
pop ecx
mov eax, esi
jmp 0x48f23d
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x228], eax
mov eax, dword [ebp - 0x210]
or eax, dword [ebp - 0x20c]
je 0x48ee26
push 0x4dc25c
lea ebx, [ebp - 0x210]
lea esi, [ebp - 0x208]
call fcn.0048e9e9
mov esi, eax
pop ecx
test esi, esi
jne 0x48f1c7
push dword [ebp - 0x220]
lea ebx, [ebp - 0x210]
push str.___s_r_n
lea esi, [ebp - 0x208]
call fcn.0048e9e9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x48f1c7
push str.Content_Disposition:_form_data__name_
lea esi, [ebp - 0x208]
call fcn.0048e9e9
mov esi, eax
pop ecx
test esi, esi
jne 0x48f1c7
push dword [edi + 4]
mov ecx, dword [edi + 8]
push eax
lea eax, [ebp - 0x208]
push eax
call fcn.0048e8e5
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x48f1c7
push 0x4cdf80
lea esi, [ebp - 0x208]
call fcn.0048e9e9
mov esi, eax
pop ecx
test esi, esi
jne 0x48f1c7
cmp dword [edi + 0x24], eax
je 0x48eefb
cmp dword [ebp - 0x218], eax
je 0x48eebe
push dword [ebp - 0x218]
call dword [0x4ff384]
pop ecx
push dword [ebp - 0x224]
call fcn.0048ed17
pop ecx
mov dword [ebp - 0x218], eax
test eax, eax
je 0x48f19c
push eax
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea ebx, [ebp - 0x210]
lea esi, [ebp - 0x208]
call fcn.0048e9e9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x48f1c7
mov dword [ebp - 0x21c], edi
cmp dword [edi + 0x24], 0
je 0x48ef41
push dword [ebp - 0x218]
lea ebx, [ebp - 0x210]
push str._r_n___s_r_nContent_Disposition:_attachment
lea esi, [ebp - 0x208]
call fcn.0048e9e9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x48f1c7
mov eax, ebx
push eax
lea eax, [ebp - 0x208]
push eax
mov eax, dword [ebp - 0x21c]
jmp 0x48ef62
mov eax, dword [edi + 0x28]
test al, 0x51
je 0x48ef73
cmp dword [edi + 0x2c], 0
jne 0x48ef52
test al, 1
je 0x48ef6b
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x208]
push eax
mov eax, edi
call fcn.0048eada
pop ecx
mov esi, eax
pop ecx
test esi, esi
jne 0x48f1c7
mov eax, dword [ebp - 0x21c]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x48efa3
push eax
push str._r_nContent_Type:__s
lea ebx, [ebp - 0x210]
lea esi, [ebp - 0x208]
call fcn.0048e9e9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x48f1c7
mov eax, dword [ebp - 0x21c]
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x214], eax
test eax, eax
je 0x48eff5
jmp 0x48efbe
mov eax, dword [ebp - 0x214]
push dword [eax]
lea ebx, [ebp - 0x210]
push str._r_n_s
lea esi, [ebp - 0x208]
call fcn.0048e9e9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x48f1c7
mov eax, dword [ebp - 0x214]
mov eax, dword [eax + 4]
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x48efb8
test esi, esi
jne 0x48f1c7
push str._r_n_r_n
lea ebx, [ebp - 0x210]
lea esi, [ebp - 0x208]
call fcn.0048e9e9
mov esi, eax
pop ecx
test esi, esi
jne 0x48f1c7
mov eax, dword [edi + 0x28]
test al, 3
jne 0x48f05e
test al, 0x10
je 0x48f045
push dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
lea eax, [ebp - 0x208]
push 1
push eax
call fcn.0048e8e5
add esp, 0xc
jmp 0x48f0cf
mov ecx, dword [edi + 0x10]
test al, 0x40
lea eax, [ebp - 0x208]
je 0x48f059
push dword [edi + 0x30]
push 2
jmp 0x48f037
push dword [edi + 0xc]
jmp 0x48f035
mov ebx, dword [ebp - 0x21c]
push dword [ebx + 0xc]
push 0x4dad6c
call fcn.0048bd42
pop ecx
pop ecx
test eax, eax
je 0x48f07e
call fcn.0049ca5d
jmp 0x48f08d
push 0x4cdf58
push dword [ebx + 0xc]
call fcn.0049a8cc
pop ecx
pop ecx
mov dword [ebp - 0x214], eax
test eax, eax
je 0x48f11b
call fcn.0049ca5d
push dword [ebp - 0x214]
cmp dword [ebp - 0x214], eax
je 0x48f0ff
call fcn.00496109
push dword [ebx + 0xc]
lea eax, [ebp - 0x208]
push 3
push eax
lea ebx, [ebp - 0x210]
xor ecx, ecx
call fcn.0048e8e5
add esp, 0x10
mov esi, eax
jmp 0x48f146
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x208]
push 1
push ecx
lea ebx, [ebp - 0x210]
mov ecx, eax
call fcn.0048e8e5
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x48f146
push dword [ebp - 0x214]
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.004963c7
add esp, 0x10
test eax, eax
jne 0x48f0d3
jmp 0x48f146
cmp dword [ebp - 0x224], 0
je 0x48f13a
push dword [ebx + 0xc]
push str.couldnt_open_file___s_
push dword [ebp - 0x224]
call fcn.004707df
add esp, 0xc
mov eax, dword [ebp - 0x22c]
and dword [eax], 0
push 0x1a
pop esi
mov eax, dword [ebp - 0x21c]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x21c], eax
test eax, eax
je 0x48f163
test esi, esi
je 0x48ef01
jmp 0x48f1c7
test esi, esi
jne 0x48f1c7
cmp dword [edi + 0x24], esi
je 0x48f190
push dword [ebp - 0x218]
lea ebx, [ebp - 0x210]
push str._r_n___s__
lea esi, [ebp - 0x208]
call fcn.0048e9e9
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x48f1c7
mov edi, dword [edi]
test edi, edi
jne 0x48edf7
jmp 0x48f19f
push 0x1b
pop esi
test esi, esi
jne 0x48f1c7
push dword [ebp - 0x220]
lea ebx, [ebp - 0x210]
push str._r_n___s___r_n
lea esi, [ebp - 0x208]
call fcn.0048e9e9
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x48f1f3
lea eax, [ebp - 0x228]
push eax
call fcn.0048ea38
cmp dword [ebp - 0x218], 0
pop ecx
je 0x48edd7
push dword [ebp - 0x218]
call dword [0x4ff384]
pop ecx
jmp 0x48edd7
cmp dword [ebp - 0x218], 0
mov ecx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x230]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x20c]
mov dword [eax + 4], ecx
je 0x48f220
push dword [ebp - 0x218]
call dword [0x4ff384]
pop ecx
push dword [ebp - 0x220]
call dword [0x4ff384]
mov eax, dword [ebp - 0x228]
pop ecx
mov ecx, dword [ebp - 0x22c]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004959f8
leave
ret