Function at 0x4bf3c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x600f84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x218], ebx
mov dword [ecx], ebx
cmp eax, ebx
je 0x4bf9a1
call fcn.004bf390
mov dword [ebp - 0x21c], eax
test eax, eax
jne 0x4bf444
pop edi
pop esi
lea eax, [ebx + 0x1b]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005521f1
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x4bf44d
mov edi, str.Content_Type:_multipart_form_data
push eax
push edi
push str._s__boundary_s_r_n
push 0
lea esi, [ebp - 0x208]
call fcn.004bf000
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4bf48d
mov eax, dword [ebp - 0x21c]
push eax
call dword [0x5f8004]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005521f1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x208]
mov dword [ebp - 0x224], ecx
lea esp, [esp]
or ebx, dword [ebp - 0x20c]
je 0x4bf4cc
lea edx, [ebp - 0x210]
push 0x5e4398
push edx
lea esi, [ebp - 0x208]
call fcn.004bf000
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bf923
mov eax, dword [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x210]
push str.___s_r_n
push ecx
lea esi, [ebp - 0x208]
call fcn.004bf000
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4bf923
lea edx, [ebp - 0x210]
push str.Content_Disposition:_form_data__name_
push edx
lea esi, [ebp - 0x208]
call fcn.004bf000
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bf923
mov ebx, dword [ebp - 0x214]
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebx + 8]
cdq
push edx
push eax
lea ecx, [ebp - 0x208]
push esi
push ecx
mov ecx, dword [ebx + 4]
call fcn.004bee20
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4bf923
lea edx, [ebp - 0x210]
push 0x5e2158
push edx
lea esi, [ebp - 0x208]
call fcn.004bf000
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bf923
cmp dword [ebx + 0x24], eax
je 0x4bf5c4
mov eax, dword [ebp - 0x218]
push eax
call dword [0x5f8004]
mov esi, dword [ebp - 0x220]
add esp, 4
call fcn.004bf390
mov edi, eax
mov dword [ebp - 0x218], edi
test edi, edi
je 0x4bf8f1
push edi
lea ecx, [ebp - 0x210]
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
push ecx
lea esi, [ebp - 0x208]
call fcn.004bf000
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4bf929
mov edi, ebx
mov dword [ebp - 0x214], edi
lea esp, [esp]
cmp dword [ebx + 0x24], 0
je 0x4bf613
mov edx, dword [ebp - 0x218]
push edx
lea eax, [ebp - 0x210]
push str._r_n___s_r_nContent_Disposition:_attachment
push eax
lea esi, [ebp - 0x208]
call fcn.004bf000
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4bf923
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x208]
push edx
mov eax, edi
jmp 0x4bf634
mov eax, dword [ebx + 0x28]
test al, 0x51
je 0x4bf646
cmp dword [ebx + 0x2c], 0
jne 0x4bf624
test al, 1
je 0x4bf63e
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x208]
push ecx
mov eax, ebx
call fcn.004bf120
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bf923
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4bf672
push eax
lea edx, [ebp - 0x210]
push str._r_nContent_Type:__s
push edx
lea esi, [ebp - 0x208]
call fcn.004bf000
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4bf923
mov edi, dword [edi + 0x20]
test edi, edi
je 0x4bf6b0
lea esp, [esp]
mov eax, dword [edi]
push eax
lea ecx, [ebp - 0x210]
push str._r_n_s
push ecx
lea esi, [ebp - 0x208]
call fcn.004bf000
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4bf923
mov edi, dword [edi + 4]
test edi, edi
jne 0x4bf680
jmp 0x4bf6b8
test esi, esi
jne 0x4bf923
lea edx, [ebp - 0x210]
push str._r_n_r_n
push edx
lea esi, [ebp - 0x208]
call fcn.004bf000
mov esi, eax
add esp, 8
test esi, esi
jne 0x4bf923
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x4bf77f
test al, 0x10
je 0x4bf713
lea eax, [ebp - 0x210]
push eax
mov eax, dword [ebx + 0x18]
cdq
push edx
push eax
lea ecx, [ebp - 0x208]
push 1
push ecx
mov ecx, dword [ebx + 0x14]
call fcn.004bee20
add esp, 0x14
mov esi, eax
jmp 0x4bf888
test al, 0x40
je 0x4bf74b
test al, al
jns 0x4bf723
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
jmp 0x4bf727
mov eax, dword [ebx + 0x10]
cdq
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebx + 0x30]
push edx
push eax
lea edx, [ebp - 0x208]
push 2
push edx
call fcn.004bee20
add esp, 0x14
mov esi, eax
jmp 0x4bf888
test al, al
jns 0x4bf757
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
jmp 0x4bf75b
mov eax, dword [ebx + 0x10]
cdq
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebx + 0xc]
push edx
push eax
lea edx, [ebp - 0x208]
push 1
push edx
call fcn.004bee20
add esp, 0x14
mov esi, eax
jmp 0x4bf888
mov edi, dword [ebp - 0x214]
mov eax, dword [edi + 0xc]
push eax
push 0x5e3fc0
call fcn.004a0af0
add esp, 8
test eax, eax
je 0x4bf7a1
call fcn.00554d8a
jmp 0x4bf7b2
mov ecx, dword [edi + 0xc]
push 0x5e235c
push ecx
call fcn.00554125
add esp, 8
mov edi, eax
test edi, edi
je 0x4bf855
call fcn.00554d8a
push edi
cmp edi, eax
je 0x4bf7f7
call fcn.005541f0
mov ecx, dword [ebp - 0x214]
mov ecx, dword [ecx + 0xc]
lea edx, [ebp - 0x210]
push edx
push 0
push 0
lea eax, [ebp - 0x208]
push 3
push eax
call fcn.004bee20
add esp, 0x18
mov esi, eax
jmp 0x4bf888
push 0x200
lea edx, [ebp - 0x204]
push 1
push edx
call fcn.005562c2
add esp, 0x10
test eax, eax
je 0x4bf888
lea ecx, [ebp - 0x210]
push ecx
push 0
push eax
lea edx, [ebp - 0x208]
push 1
push edx
lea ecx, [ebp - 0x204]
call fcn.004bee20
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4bf888
push edi
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.005562c2
add esp, 0x10
test eax, eax
jne 0x4bf811
jmp 0x4bf888
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x4bf877
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx + 0xc]
push edx
push str.couldnt_open_file___s_
push eax
call fcn.00484440
add esp, 0xc
mov eax, dword [ebp - 0x228]
mov dword [eax], 0
mov esi, 0x1a
mov ecx, dword [ebp - 0x214]
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x214], eax
test eax, eax
je 0x4bf8aa
test esi, esi
jne 0x4bf923
mov edi, eax
jmp 0x4bf5d0
test esi, esi
jne 0x4bf923
cmp dword [ebx + 0x24], esi
je 0x4bf8da
mov edx, dword [ebp - 0x218]
push edx
lea eax, [ebp - 0x210]
push str._r_n___s__
push eax
lea esi, [ebp - 0x208]
call fcn.004bf000
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4bf923
mov ebx, dword [ebx]
mov dword [ebp - 0x214], ebx
test ebx, ebx
je 0x4bf8f8
mov ebx, dword [ebp - 0x210]
jmp 0x4bf4a0
mov esi, 0x1b
jmp 0x4bf929
test esi, esi
jne 0x4bf923
mov ecx, dword [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x210]
push str._r_n___s___r_n
push edx
lea esi, [ebp - 0x208]
call fcn.004bf000
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4bf95f
mov edi, dword [ebp - 0x218]
lea eax, [ebp - 0x224]
push eax
call fcn.004bf060
push edi
call dword [0x5f8004]
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [0x5f8004]
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005521f1
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x20c]
mov dword [eax], edx
mov edx, dword [ebp - 0x218]
push edx
mov dword [eax + 4], ecx
call dword [0x5f8004]
mov eax, dword [ebp - 0x21c]
push eax
call dword [0x5f8004]
mov ecx, dword [ebp - 0x224]
mov edx, dword [ebp - 0x228]
add esp, 8
mov dword [edx], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.005521f1
mov esp, ebp
pop ebp
ret