Function at 0x48bdc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x4de4e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x268], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x24c], ebx
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 0x240], 0
movlpd qword [ebp - 0x248], xmm0
mov dword [ebp - 0x25c], 0
mov dword [eax], 0
push esi
mov esi, dword [ebp + 0x14]
test ebx, ebx
jne 0x48be37
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049510d
mov esp, ebp
pop ebp
ret
push edi
call fcn.0048bbf0
mov edi, eax
mov dword [ebp - 0x250], edi
test edi, edi
jne 0x48be5d
lea eax, [edi + 0x1b]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049510d
mov esp, ebp
pop ebp
ret
push edi
test esi, esi
mov eax, str.Content_Type:_multipart_form_data
cmovne eax, esi
push eax
push str._s__boundary_s_r_n
lea eax, [ebp - 0x240]
push 0
push eax
call fcn.0048bb90
mov esi, eax
add esp, 0x14
test esi, esi
je 0x48bea2
push edi
call dword [0x4de444]
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049510d
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x258], eax
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [ebp - 0x248]
or eax, dword [ebp - 0x244]
je 0x48bef9
push 0x4c1b8c
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0048bb90
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x48c43a
mov edi, dword [ebp - 0x250]
push edi
push str.___s_r_n
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0048bb90
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x48c43a
push 0x4cb1c8
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0048bb90
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x48c43a
lea eax, [ebp - 0x248]
push eax
push dword [ebx + 8]
lea eax, [ebp - 0x240]
push dword [ebx + 4]
push edi
push eax
call fcn.0048ba60
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x48c43a
push 0x4c2ca8
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0048bb90
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x48c43a
cmp dword [ebx + 0x24], eax
je 0x48bfc6
call fcn.0048bbf0
push eax
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x248]
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0048bb90
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x48c43a
mov eax, ebx
mov dword [ebp - 0x254], ebx
nop
cmp dword [ebx + 0x24], 0
je 0x48c081
xor esi, esi
cmp dword [eax + 0x2c], esi
jne 0x48c053
push dword [eax + 0xc]
call dword [0x4de44c]
mov edi, eax
add esp, 4
test edi, edi
je 0x48c4b8
push 0x2f
push edi
mov esi, edi
call fcn.00497220
push 0x5c
push edi
mov ebx, eax
call fcn.00497220
add esp, 0x10
test ebx, ebx
je 0x48c025
test eax, eax
je 0x48c020
cmp ebx, eax
mov esi, eax
cmova esi, ebx
inc esi
jmp 0x48c02c
lea esi, [ebx + 1]
jmp 0x48c02c
test eax, eax
je 0x48c02c
lea esi, [eax + 1]
push esi
call dword [0x4de44c]
push edi
mov esi, eax
call dword [0x4de444]
add esp, 8
test esi, esi
je 0x48c4b8
mov ebx, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x254]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
mov eax, esi
cmovne eax, ecx
push eax
push dword [ebp - 0x25c]
lea eax, [ebp - 0x248]
push str._r_n___s_r_nContent_Disposition:_attachment__filename__s_
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0048bb90
add esp, 0x14
jmp 0x48c0ce
mov eax, dword [ebx + 0x28]
test al, 0x51
je 0x48c0e6
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
jne 0x48c0a6
test al, 1
je 0x48c0de
test ecx, ecx
jne 0x48c0a6
push dword [ebx + 0xc]
call fcn.0048c620
add esp, 4
mov esi, eax
jmp 0x48c0a8
xor esi, esi
mov eax, dword [ebx + 0x2c]
mov ecx, esi
test eax, eax
cmovne ecx, eax
lea eax, [ebp - 0x248]
push ecx
push str.__filename__s_
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0048bb90
add esp, 0x10
mov edi, eax
test esi, esi
je 0x48c0de
push esi
call dword [0x4de444]
add esp, 4
test edi, edi
jne 0x48c43a
mov esi, dword [ebp - 0x254]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x48c119
push eax
push str._r_nContent_Type:__s
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0048bb90
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x48c43a
mov esi, dword [esi + 0x20]
test esi, esi
je 0x48c150
push dword [esi]
lea eax, [ebp - 0x248]
push str._r_n_s
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0048bb90
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x48c43a
mov esi, dword [esi + 4]
test esi, esi
jne 0x48c120
jmp 0x48c158
test edi, edi
jne 0x48c43a
push str._r_n_r_n
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0048bb90
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x48c43a
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x48c217
test al, 0x10
je 0x48c19b
lea eax, [ebp - 0x248]
push eax
push dword [ebx + 0x18]
push dword [ebx + 0x14]
jmp 0x48c1ff
test al, 0x40
je 0x48c1f2
mov edi, dword [ebx + 0x10]
mov esi, dword [ebx + 0x30]
push 0x10
call dword [0x4de440]
add esp, 4
test eax, eax
jne 0x48c1bc
lea edi, [eax + 0x1b]
jmp 0x48c41f
mov ecx, dword [ebp - 0x240]
mov dword [eax], 0
mov dword [eax + 8], esi
mov dword [eax + 4], 2
mov dword [ebp - 0x240], eax
test ecx, ecx
je 0x48c1de
mov dword [ecx], eax
add dword [ebp - 0x248], edi
adc dword [ebp - 0x244], 0
xor edi, edi
jmp 0x48c41f
lea eax, [ebp - 0x248]
push eax
push dword [ebx + 0x10]
push dword [ebx + 0xc]
lea eax, [ebp - 0x240]
push 1
push eax
call fcn.0048ba60
add esp, 0x14
mov edi, eax
jmp 0x48c41f
mov esi, dword [ebp - 0x254]
push dword [esi + 0xc]
push 0x4c2bd8
call fcn.00472160
add esp, 8
test eax, eax
je 0x48c245
push 0
call fcn.0049aa55
mov ebx, eax
add esp, 4
mov dword [ebp - 0x260], ebx
jmp 0x48c25d
push 0x4c1b90
push dword [esi + 0xc]
call fcn.0049fb81
add esp, 8
mov dword [ebp - 0x260], eax
mov ebx, eax
test ebx, ebx
je 0x48c3ed
push 0
call fcn.0049aa55
add esp, 4
push ebx
cmp ebx, eax
je 0x48c306
call fcn.0049d836
mov edi, dword [esi + 0xc]
push 0x10
call dword [0x4de440]
mov esi, eax
add esp, 8
test esi, esi
jne 0x48c29b
mov edi, 0x1b
jmp 0x48c419
mov eax, dword [ebp - 0x240]
mov dword [esi], 0
mov dword [esi + 8], edi
mov dword [esi + 4], 3
mov dword [ebp - 0x240], esi
test eax, eax
je 0x48c2bd
mov dword [eax], esi
push dword [esi + 8]
push 0x4c2bd8
call fcn.00472160
add esp, 8
test eax, eax
jne 0x48c2ff
lea eax, [ebp - 0x23c]
push eax
push dword [esi + 8]
call fcn.004a9155
add esp, 8
test eax, eax
jne 0x48c2ff
mov eax, dword [ebp - 0x224]
add dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x220]
adc dword [ebp - 0x244], eax
xor edi, edi
jmp 0x48c419
push 0x200
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.004a3b98
mov esi, eax
add esp, 0x10
test esi, esi
je 0x48c419
mov ebx, dword [ebp - 0x240]
nop dword [eax]
push 0x10
call dword [0x4de440]
mov edi, eax
add esp, 4
test edi, edi
je 0x48c291
mov dword [edi], 0
test esi, esi
jne 0x48c361
lea esi, [ebp - 0x204]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x48c358
sub esi, ecx
lea eax, [esi + 1]
push eax
call dword [0x4de440]
add esp, 4
mov dword [edi + 8], eax
test eax, eax
je 0x48c3dc
push esi
lea ecx, [ebp - 0x204]
push ecx
push eax
call fcn.00496490
mov eax, dword [edi + 8]
add esp, 0xc
mov dword [edi + 0xc], esi
mov byte [esi + eax], 0
mov dword [edi + 4], 1
test ebx, ebx
je 0x48c39d
mov dword [ebx], edi
push dword [ebp - 0x260]
add dword [ebp - 0x248], esi
lea eax, [ebp - 0x204]
push 0x200
adc dword [ebp - 0x244], 0
mov ebx, edi
push 1
push eax
mov dword [ebp - 0x240], ebx
xor edi, edi
call fcn.004a3b98
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x48c330
jmp 0x48c419
push edi
call dword [0x4de444]
add esp, 4
mov edi, 0x1b
jmp 0x48c419
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x48c408
push dword [esi + 0xc]
push str.couldnt_open_file___s__n
push eax
call fcn.00470960
add esp, 0xc
mov eax, dword [ebp - 0x264]
mov edi, 0x1a
mov dword [eax], 0
mov ebx, dword [ebp - 0x24c]
mov eax, dword [ebp - 0x254]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x254], eax
test eax, eax
je 0x48c469
test edi, edi
je 0x48bfd0
lea eax, [ebp - 0x258]
push eax
call fcn.0048bd50
mov ebx, dword [ebp - 0x250]
push ebx
call dword [0x4de444]
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049510d
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x48c43a
cmp dword [ebx + 0x24], edi
je 0x48c4a1
mov esi, dword [ebp - 0x25c]
lea eax, [ebp - 0x248]
push esi
push str._r_n___s__
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0048bb90
push esi
mov edi, eax
call dword [0x4de444]
add esp, 0x14
test edi, edi
jne 0x48c43a
mov ebx, dword [ebx]
mov dword [ebp - 0x24c], ebx
test ebx, ebx
je 0x48c4ea
mov edi, dword [ebp - 0x250]
jmp 0x48bec0
lea eax, [ebp - 0x258]
push eax
call fcn.0048bd50
mov ebx, dword [ebp - 0x250]
push ebx
call dword [0x4de444]
add esp, 8
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049510d
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x48c43a
mov ebx, dword [ebp - 0x250]
lea eax, [ebp - 0x248]
push ebx
push str._r_n___s___r_n
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0048bb90
mov esi, eax
add esp, 0x10
test esi, esi
je 0x48c543
lea eax, [ebp - 0x258]
push eax
call fcn.0048bd50
push ebx
call dword [0x4de444]
add esp, 8
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049510d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x26c]
mov eax, dword [ebp - 0x248]
push ebx
mov dword [ecx], eax
mov eax, dword [ebp - 0x244]
mov dword [ecx + 4], eax
call dword [0x4de444]
mov eax, dword [ebp - 0x264]
add esp, 4
mov ecx, dword [ebp - 0x270]
mov dword [eax], ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049510d
mov esp, ebp
pop ebp
ret