Function at 0x4ac2e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x22c
mov eax, dword [0x61e810]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x234]
mov ecx, dword [esp + 0x230]
mov edx, dword [esp + 0x240]
push ebp
mov ebp, dword [esp + 0x23c]
push esi
mov esi, dword [esp + 0x244]
push edi
xor edi, edi
cmp ebp, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], edi
mov dword [eax], edi
jne 0x4ac358
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.00489dc1
add esp, 0x22c
ret
push ebx
call fcn.004ac2a0
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x24], ebx
jne 0x4ac372
mov eax, 0x1b
jmp 0x4ac828
cmp esi, edi
jne 0x4ac37b
mov esi, str.Content_Type:_multipart_form_data
push ebx
push esi
push str._s__boundary_s_r_n
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.004abea0
mov esi, eax
add esp, 0x14
cmp esi, edi
je 0x4ac3a7
push ebx
call dword [0x61f8a0]
add esp, 4
mov eax, esi
jmp 0x4ac828
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
nop
or edi, dword [esp + 0x18]
je 0x4ac3db
push 0x609c94
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004abea0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4ac7cf
mov ebx, dword [esp + 0x24]
push ebx
push str.___s_r_n
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.004abea0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4ac7cf
push str.Content_Disposition:_form_data__name_
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.004abea0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4ac7cf
mov eax, dword [ebp + 8]
lea edx, [esp + 0x14]
push edx
cdq
push edx
push eax
mov eax, dword [ebp + 4]
push eax
lea ecx, [esp + 0x20]
push 1
push ecx
call fcn.004abce0
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x4ac7cf
push 0x5ade78
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004abea0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4ac7cf
cmp dword [ebp + 0x24], eax
je 0x4ac4b1
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x61f8a0]
mov ecx, dword [esp + 0x2c]
add esp, 4
call fcn.004ac2a0
test eax, eax
mov dword [esp + 0x1c], eax
je 0x4ac7a2
push eax
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004abea0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4ac7cf
mov dword [esp + 0x20], ebp
cmp dword [ebp + 0x24], 0
je 0x4ac505
mov ecx, dword [esp + 0x1c]
push ecx
push str._r_n___s_r_nContent_Disposition:_attachment
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004abea0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4ac7cf
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
mov eax, edi
call fcn.004ac020
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x4ac7cf
jmp 0x4ac538
mov eax, dword [ebp + 0x28]
test al, 0x51
je 0x4ac534
cmp dword [ebp + 0x2c], 0
jne 0x4ac516
test al, 1
je 0x4ac52c
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
mov eax, ebp
call fcn.004ac020
add esp, 8
mov ebx, eax
test ebx, ebx
jne 0x4ac7cf
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x1c]
test eax, eax
je 0x4ac561
push eax
push str._r_nContent_Type:__s
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004abea0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4ac7cf
mov esi, dword [edi + 0x20]
test esi, esi
je 0x4ac595
mov ecx, dword [esi]
push ecx
push str._r_n_s
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004abea0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4ac7cf
mov esi, dword [esi + 4]
test esi, esi
jne 0x4ac568
jmp 0x4ac59d
test ebx, ebx
jne 0x4ac7cf
push str._r_n_r_n
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004abea0
mov ebx, eax
add esp, 0xc
test ebx, ebx
jne 0x4ac7cf
mov eax, dword [ebp + 0x28]
test al, 3
jne 0x4ac658
test al, 0x10
je 0x4ac5f2
mov ecx, dword [ebp + 0x14]
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebp + 0x18]
cdq
push edx
push eax
push ecx
lea edx, [esp + 0x20]
push 2
push edx
call fcn.004abce0
add esp, 0x18
mov ebx, eax
jmp 0x4ac74a
test al, 0x40
je 0x4ac627
test al, al
jns 0x4ac602
mov eax, dword [ebp + 0x38]
mov edx, dword [ebp + 0x3c]
jmp 0x4ac606
mov eax, dword [ebp + 0x10]
cdq
lea ecx, [esp + 0x14]
push ecx
push edx
mov edx, dword [ebp + 0x30]
push eax
push edx
lea eax, [esp + 0x20]
push 3
push eax
call fcn.004abce0
add esp, 0x18
mov ebx, eax
jmp 0x4ac74a
test al, al
jns 0x4ac633
mov eax, dword [ebp + 0x38]
mov edx, dword [ebp + 0x3c]
jmp 0x4ac637
mov eax, dword [ebp + 0x10]
cdq
lea ecx, [esp + 0x14]
push ecx
push edx
mov edx, dword [ebp + 0xc]
push eax
push edx
lea eax, [esp + 0x20]
push 2
push eax
call fcn.004abce0
add esp, 0x18
mov ebx, eax
jmp 0x4ac74a
mov eax, dword [edi + 0xc]
mov edi, eax
mov esi, 0x5b5818
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x4ac674
call fcn.0048c7ff
jmp 0x4ac682
push 0x5ae1f8
push eax
call fcn.0048df35
add esp, 8
mov esi, eax
test esi, esi
je 0x4ac71d
call fcn.0048c7ff
cmp esi, eax
push esi
je 0x4ac6c2
call fcn.0048ba88
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0xc]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push edx
lea eax, [esp + 0x24]
push 4
push eax
call fcn.004abce0
add esp, 0x1c
mov ebx, eax
jmp 0x4ac74a
push 0x200
lea ecx, [esp + 0x40]
push 1
push ecx
call fcn.0048e196
add esp, 0x10
test eax, eax
je 0x4ac74a
lea ebx, [ebx]
lea edx, [esp + 0x14]
push edx
push 0
push eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x20]
push 2
push ecx
call fcn.004abce0
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x4ac74a
push esi
push 0x200
lea edx, [esp + 0x40]
push 1
push edx
call fcn.0048e196
add esp, 0x10
test eax, eax
jne 0x4ac6e0
jmp 0x4ac74a
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4ac73b
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0xc]
push edx
push str.couldnt_open_file___s_
push eax
call fcn.004b9830
add esp, 0xc
mov eax, dword [esp + 0x30]
mov dword [eax], 0
mov ebx, 0x1a
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x24]
test eax, eax
mov dword [esp + 0x20], eax
je 0x4ac763
test ebx, ebx
je 0x4ac4b5
jmp 0x4ac7cf
test ebx, ebx
jne 0x4ac7cf
cmp dword [ebp + 0x24], ebx
je 0x4ac78e
mov edx, dword [esp + 0x1c]
push edx
push str._r_n___s__
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.004abea0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4ac7cf
mov ebp, dword [ebp]
test ebp, ebp
je 0x4ac7a9
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
jmp 0x4ac3b0
mov ebx, 0x1b
jmp 0x4ac7cf
test ebx, ebx
jne 0x4ac7cf
mov esi, dword [esp + 0x24]
push esi
push str._r_n___s___r_n
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.004abea0
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x4ac7f6
lea ecx, [esp + 0x2c]
push ecx
call fcn.004abef0
mov edx, dword [esp + 0x20]
push edx
call dword [0x61f8a0]
mov eax, dword [esp + 0x2c]
push eax
call dword [0x61f8a0]
add esp, 0xc
mov eax, ebx
jmp 0x4ac828
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [esp + 0x1c]
push eax
call dword [0x61f8a0]
push esi
call dword [0x61f8a0]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
add esp, 8
mov dword [edx], ecx
xor eax, eax
mov ecx, dword [esp + 0x238]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00489dc1
add esp, 0x22c
ret