Function at 0x4280e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x274
mov eax, dword [0x4c8630]
xor eax, esp
mov dword [esp + 0x270], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
mov dword [ecx], edi
cmp eax, edi
jne 0x428145
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00488f53
mov esp, ebp
pop ebp
ret
call fcn.004288b0
mov dword [esp + 0x28], eax
cmp eax, edi
jne 0x42816c
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00488f53
mov esp, ebp
pop ebp
ret
cmp esi, edi
jne 0x428175
mov esi, str.Content_Type:_multipart_form_data
push eax
push esi
push str._s__boundary_s_r_n
push edi
lea ebx, [esp + 0x1c]
call fcn.00427bd0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4281b4
mov eax, dword [esp + 0x28]
push eax
call dword [0x4c9970]
mov eax, esi
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00488f53
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
lea esp, [esp]
or edi, dword [esp + 0x14]
je 0x4281e6
lea edx, [esp + 0x10]
push 0x4b9ef0
push edx
lea ebx, [esp + 0x14]
call fcn.00427bd0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4286cb
mov eax, dword [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
push str.___s_r_n
push ecx
lea ebx, [esp + 0x18]
call fcn.00427bd0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4286cb
lea edx, [esp + 0x10]
push str.Content_Disposition:_form_data__name_
push edx
call fcn.00427bd0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4286cb
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
push edi
push ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 4]
call fcn.00427ab0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4286cb
lea edx, [esp + 0x10]
push 0x4ba1ec
push edx
call fcn.00427bd0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4286cb
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x24], edi
je 0x4282b9
mov eax, dword [esp + 0x20]
test eax, eax
je 0x428283
push eax
call dword [0x4c9970]
add esp, 4
call fcn.004288b0
mov dword [esp + 0x20], eax
test eax, eax
je 0x42869f
push eax
lea eax, [esp + 0x14]
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
push eax
lea ebx, [esp + 0x18]
call fcn.00427bd0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4286cb
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
lea ecx, [ecx]
cmp dword [eax + 0x24], 0
je 0x4282f6
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x14]
push str._r_n___s_r_nContent_Disposition:_attachment
push edx
lea ebx, [esp + 0x18]
call fcn.00427bd0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4286cb
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
jmp 0x42830e
mov ecx, dword [eax + 0x28]
test cl, 0x51
je 0x428325
cmp dword [eax + 0x2c], 0
jne 0x428309
test cl, 1
je 0x42831d
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x10]
push ecx
call fcn.00428000
mov edi, eax
add esp, 8
test edi, edi
jne 0x4286cb
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x428351
push eax
lea eax, [esp + 0x14]
push str._r_nContent_Type:__s
push eax
lea ebx, [esp + 0x18]
call fcn.00427bd0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4286cb
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
test esi, esi
je 0x42838c
lea esp, [esp]
mov edx, dword [esi]
push edx
lea eax, [esp + 0x14]
push str._r_n_s
push eax
lea ebx, [esp + 0x18]
call fcn.00427bd0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4286cb
mov esi, dword [esi + 4]
test esi, esi
jne 0x428360
jmp 0x428394
test edi, edi
jne 0x4286cb
lea ecx, [esp + 0x10]
push str._r_n_r_n
push ecx
lea ebx, [esp + 0x14]
call fcn.00427bd0
mov edi, eax
add esp, 8
test edi, edi
jne 0x4286cb
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x28]
test al, 3
jne 0x428456
test al, 0x10
je 0x4283e6
lea edx, [esp + 0x10]
push edx
mov eax, ebx
push 1
push eax
mov eax, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x14]
call fcn.00427ab0
add esp, 0xc
mov edi, eax
jmp 0x42863e
test al, 0x40
je 0x428435
mov edi, dword [ecx + 0x10]
mov esi, dword [ecx + 0x30]
push 0x10
call dword [0x4c996c]
add esp, 4
test eax, eax
jne 0x428407
lea edi, [eax + 0x1b]
jmp 0x42863e
mov ecx, dword [esp + 0xc]
mov dword [eax], 0
mov dword [eax + 8], esi
mov dword [eax + 4], 2
mov dword [esp + 0xc], eax
test ecx, ecx
je 0x428425
mov dword [ecx], eax
add dword [esp + 0x10], edi
adc dword [esp + 0x14], 0
xor edi, edi
jmp 0x42863e
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push 1
push eax
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
call fcn.00427ab0
add esp, 0xc
mov edi, eax
jmp 0x42863e
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0xc]
push eax
push 0x4ba194
call fcn.004a5830
add esp, 8
test eax, eax
jne 0x42847c
call fcn.0048b24f
mov esi, eax
mov dword [esp + 0x2c], esi
jmp 0x428493
mov ecx, dword [ebx + 0xc]
push 0x4b9468
push ecx
call fcn.0048f922
add esp, 8
mov esi, eax
mov dword [esp + 0x2c], eax
test esi, esi
je 0x428616
call fcn.0048b24f
cmp esi, eax
je 0x42854c
push esi
call fcn.0048dfbb
mov edi, dword [ebx + 0xc]
add esp, 4
push 0x10
call dword [0x4c996c]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4284cd
lea edi, [eax + 0x1b]
jmp 0x42863e
mov eax, dword [esp + 0xc]
mov dword [esi], 0
mov dword [esi + 8], edi
mov dword [esi + 4], 3
mov dword [esp + 0xc], esi
test eax, eax
je 0x4284eb
mov dword [eax], esi
mov eax, dword [esi + 8]
push eax
push 0x4ba194
call fcn.004a5830
add esp, 8
test eax, eax
je 0x42842e
mov eax, dword [esi + 8]
lea edx, [esp + 0x40]
push edx
push eax
call fcn.0048f39e
add esp, 8
test eax, eax
jne 0x428542
mov ecx, dword [esp + 0x46]
and ecx, 0xf000
cmp ecx, 0x4000
je 0x428542
mov edx, dword [esp + 0x58]
add dword [esp + 0x10], edx
mov eax, dword [esp + 0x5c]
adc dword [esp + 0x14], eax
xor edi, edi
jmp 0x42863e
mov edi, 0x2b
jmp 0x42863e
mov ecx, dword [esp + 0x2c]
push ecx
push 0x200
lea edx, [esp + 0x80]
push 1
push edx
call fcn.0048adde
mov esi, eax
add esp, 0x10
test esi, esi
je 0x42863e
xor edi, edi
push 0x10
call dword [0x4c996c]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x42860f
lea eax, [esi + 1]
push eax
mov dword [ebx], 0
call dword [0x4c996c]
add esp, 4
mov dword [ebx + 8], eax
test eax, eax
je 0x428605
push esi
lea ecx, [esp + 0x7c]
push ecx
push eax
call fcn.0048b710
mov edx, dword [ebx + 8]
add esp, 0xc
cmp dword [esp + 0xc], 0
mov dword [ebx + 0xc], esi
mov byte [esi + edx], 0
mov dword [ebx + 4], 1
je 0x4285d0
mov eax, dword [esp + 0xc]
mov dword [eax], ebx
mov ecx, dword [esp + 0x2c]
add dword [esp + 0x10], esi
push ecx
push 0x200
adc dword [esp + 0x1c], 0
lea edx, [esp + 0x80]
push 1
push edx
mov dword [esp + 0x1c], ebx
call fcn.0048adde
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x428574
jmp 0x42863e
push ebx
call dword [0x4c9970]
add esp, 4
mov edi, 0x1b
jmp 0x42863e
mov eax, dword [esp + 0x38]
test eax, eax
je 0x42862f
mov ecx, dword [ebx + 0xc]
push ecx
push str.couldnt_open_file___s_
call fcn.00433ce0
add esp, 8
mov edx, dword [esp + 0x34]
mov dword [edx], 0
mov edi, 0x1a
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x24], eax
test eax, eax
je 0x42865a
test edi, edi
jne 0x4286cb
mov eax, dword [esp + 0x1c]
jmp 0x4282c0
test edi, edi
jne 0x4286cb
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 0x24], edi
je 0x428688
mov edx, dword [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push str._r_n___s__
push eax
lea ebx, [esp + 0x18]
call fcn.00427bd0
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x4286cb
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4286a6
mov edi, dword [esp + 0x10]
jmp 0x4281c0
mov edi, 0x1b
jmp 0x4286cb
test edi, edi
jne 0x4286cb
mov esi, dword [esp + 0x28]
push esi
lea edx, [esp + 0x14]
push str._r_n___s___r_n
push edx
lea ebx, [esp + 0x18]
call fcn.00427bd0
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4286f7
lea eax, [esp + 0x30]
push eax
call fcn.00427d00
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
je 0x4286ea
push eax
call dword [0x4c9970]
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x4c9970]
jmp 0x42872b
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x42871a
push eax
call dword [0x4c9970]
add esp, 4
push esi
call dword [0x4c9970]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov dword [eax], edx
mov ecx, dword [esp + 0x280]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00488f53
mov esp, ebp
pop ebp
ret