Function at 0x1003a1c6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], ebx
mov dword [eax], ebx
je 0x1003a5d0
call fcn.1003a8bc
cmp eax, ebx
mov dword [ebp - 0x10], eax
jne 0x1003a203
push 0x1b
jmp 0x1003a5ee
push eax
push str.Content_Type:_multipart_form_data__boundary_s_r_n
lea eax, [ebp - 4]
push ebx
push eax
call fcn.1003a6b4
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x1003a22a
push dword [ebp - 0x10]
call dword [0x100b0bd4]
jmp 0x1003a5ab
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
or eax, dword [ebp - 8]
je 0x1003a257
lea eax, [ebp - 0xc]
push 0x100b2294
push eax
lea eax, [ebp - 4]
push eax
call fcn.1003a6b4
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x1003a599
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push str.___s_r_n
push eax
lea eax, [ebp - 4]
push eax
call fcn.1003a6b4
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x1003a599
lea eax, [ebp - 0xc]
push str.Content_Disposition:_form_data__name_
push eax
lea eax, [ebp - 4]
push eax
call fcn.1003a6b4
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x1003a599
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push dword [edi + 8]
push dword [edi + 4]
push ebx
push eax
call fcn.1003a5f4
mov esi, eax
add esp, 0x14
cmp esi, ebx
jne 0x1003a599
lea eax, [ebp - 0xc]
push 0x100b4fc4
push eax
lea eax, [ebp - 4]
push eax
call fcn.1003a6b4
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x1003a599
cmp dword [edi + 0x24], ebx
je 0x1003a305
call fcn.1003a8bc
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
push eax
lea eax, [ebp - 4]
push eax
call fcn.1003a6b4
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x1003a599
mov dword [ebp - 0x14], edi
jmp 0x1003a30d
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x24], ebx
je 0x1003a357
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x2c], ebx
jne 0x1003a327
push dword [eax + 0xc]
call fcn.1003a6f4
pop ecx
mov edi, eax
jmp 0x1003a329
xor edi, edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x2c]
cmp eax, ebx
jne 0x1003a335
mov eax, edi
push eax
lea eax, [ebp - 0xc]
push dword [ebp - 0x20]
push str._r_n___s_r_nContent_Disposition:_attachment__filename__s_
push eax
lea eax, [ebp - 4]
push eax
call fcn.1003a6b4
add esp, 0x14
cmp edi, ebx
mov esi, eax
je 0x1003a3a4
push edi
jmp 0x1003a39d
test byte [edi + 0x28], 0x11
je 0x1003a3ac
cmp dword [edi + 0x2c], ebx
jne 0x1003a370
push dword [edi + 0xc]
call fcn.1003a6f4
pop ecx
mov dword [ebp - 0x1c], eax
jmp 0x1003a373
mov dword [ebp - 0x1c], ebx
mov edi, dword [edi + 0x2c]
cmp edi, ebx
jne 0x1003a37d
mov edi, dword [ebp - 0x1c]
push edi
lea eax, [ebp - 0xc]
push str.__filename__s_
push eax
lea eax, [ebp - 4]
push eax
call fcn.1003a6b4
add esp, 0x10
cmp dword [ebp - 0x1c], ebx
mov esi, eax
je 0x1003a3a4
push dword [ebp - 0x1c]
call dword [0x100b0bd4]
pop ecx
cmp esi, ebx
jne 0x1003a599
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
cmp eax, ebx
je 0x1003a3d6
push eax
lea eax, [ebp - 0xc]
push str._r_nContent_Type:__s
push eax
lea eax, [ebp - 4]
push eax
call fcn.1003a6b4
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x1003a599
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 0x20]
cmp edi, ebx
je 0x1003a406
push dword [edi]
lea eax, [ebp - 0xc]
push str._r_n_s
push eax
lea eax, [ebp - 4]
push eax
call fcn.1003a6b4
mov esi, eax
add esp, 0x10
cmp esi, ebx
jne 0x1003a599
mov edi, dword [edi + 4]
jmp 0x1003a3dc
cmp esi, ebx
jne 0x1003a599
lea eax, [ebp - 0xc]
push str._r_n_r_n
push eax
lea eax, [ebp - 4]
push eax
call fcn.1003a6b4
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x1003a599
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x28]
test cl, 3
jne 0x1003a463
test cl, 0x10
lea ecx, [ebp - 0xc]
push ecx
je 0x1003a449
push dword [eax + 0x18]
push dword [eax + 0x14]
jmp 0x1003a44f
push dword [eax + 0x10]
push dword [eax + 0xc]
lea eax, [ebp - 4]
push ebx
push eax
call fcn.1003a5f4
add esp, 0x14
mov esi, eax
jmp 0x1003a51f
mov edi, dword [ebp - 0x14]
push dword [edi + 0xc]
push 0x100b2998
call fcn.1002c6e8
pop ecx
test eax, eax
pop ecx
je 0x1003a481
mov edi, dword [sym.imp.MSVCRT.dll__iob]
jmp 0x1003a493
push 0x100af2d4
push dword [edi + 0xc]
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
mov edi, eax
pop ecx
cmp edi, ebx
je 0x1003a5d4
cmp edi, dword [sym.imp.MSVCRT.dll__iob]
push edi
je 0x1003a4c5
call dword [sym.imp.MSVCRT.dll_fclose]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push ebx
push dword [eax + 0xc]
lea eax, [ebp - 4]
push 1
push eax
call fcn.1003a5f4
add esp, 0x18
jmp 0x1003a45c
push 0x200
lea eax, [ebp - 0x220]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, ebx
je 0x1003a523
lea ecx, [ebp - 0xc]
push ecx
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 4]
push ebx
push eax
call fcn.1003a5f4
mov esi, eax
add esp, 0x14
cmp esi, ebx
jne 0x1003a599
push edi
push 0x200
lea eax, [ebp - 0x220]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
cmp eax, ebx
jne 0x1003a4e0
cmp esi, ebx
jne 0x1003a599
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x24]
cmp eax, ebx
mov dword [ebp - 0x14], eax
jne 0x1003a30a
cmp esi, ebx
jne 0x1003a599
mov edi, dword [ebp + 0xc]
cmp dword [edi + 0x24], ebx
je 0x1003a567
push dword [ebp - 0x20]
lea eax, [ebp - 0xc]
push str._r_n___s__
push eax
lea eax, [ebp - 4]
push eax
call fcn.1003a6b4
push dword [ebp - 0x20]
mov esi, eax
call dword [0x100b0bd4]
add esp, 0x14
cmp esi, ebx
jne 0x1003a599
mov eax, dword [edi]
cmp eax, ebx
mov dword [ebp + 0xc], eax
je 0x1003a577
mov edi, eax
jmp 0x1003a230
cmp esi, ebx
jne 0x1003a599
push dword [ebp - 0x10]
lea eax, [ebp - 0xc]
push str._r_n___s___r_n
push eax
lea eax, [ebp - 4]
push eax
call fcn.1003a6b4
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x1003a5b0
push dword [ebp - 0x18]
call fcn.1003a12c
push dword [ebp - 0x10]
call dword [0x100b0bd4]
pop ecx
pop ecx
mov eax, esi
jmp 0x1003a5ef
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
push dword [ebp - 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
call dword [0x100b0bd4]
mov eax, dword [ebp - 0x18]
pop ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
jmp 0x1003a5ef
push dword [ebp - 0x18]
call fcn.1003a12c
push dword [ebp - 0x10]
call dword [0x100b0bd4]
mov eax, dword [ebp + 8]
pop ecx
pop ecx
mov dword [eax], ebx
push 0x1a
pop eax
pop edi
pop esi
pop ebx
leave
ret