Function at 0x44f982
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4a5294]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov ebx, edx
cmp ebx, edi
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x21c], edi
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x230], edi
mov dword [eax], edi
jne 0x44f9d0
xor eax, eax
jmp 0x44fe4d
call fcn.0044ff54
cmp eax, edi
mov dword [ebp - 0x220], eax
jne 0x44f9e6
push 0x1b
jmp 0x44fe4c
push eax
push str.Content_Type:_multipart_form_data__boundary_s_r_n
push edi
lea esi, [ebp - 0x210]
call fcn.0044f89d
mov esi, eax
add esp, 0xc
test esi, esi
je 0x44fa15
push dword [ebp - 0x220]
call dword [0x4a6558]
pop ecx
mov eax, esi
jmp 0x44fe4d
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x228], eax
or edi, dword [ebp - 0x218]
je 0x44fa4c
lea eax, [ebp - 0x21c]
push 0x494140
push eax
lea esi, [ebp - 0x210]
call fcn.0044f89d
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x44fdb8
push dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push str.___s_r_n
push eax
lea esi, [ebp - 0x210]
call fcn.0044f89d
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x44fdb8
lea eax, [ebp - 0x21c]
push str.Content_Disposition:_form_data__name_
push eax
lea esi, [ebp - 0x210]
call fcn.0044f89d
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x44fdb8
lea eax, [ebp - 0x21c]
push eax
push dword [ebx + 4]
mov eax, dword [ebx + 8]
push esi
lea ecx, [ebp - 0x210]
call fcn.0044f7db
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x44fdb8
lea eax, [ebp - 0x21c]
push 0x4923d8
push eax
lea esi, [ebp - 0x210]
call fcn.0044f89d
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x44fdb8
cmp dword [ebx + 0x24], eax
je 0x44fb17
call fcn.0044ff54
push eax
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x21c]
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
push eax
lea esi, [ebp - 0x210]
call fcn.0044f89d
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x44fdb8
mov dword [ebp - 0x224], ebx
xor edi, edi
cmp dword [ebx + 0x24], edi
je 0x44fb6c
mov eax, dword [ebp - 0x224]
cmp dword [eax + 0x2c], edi
jne 0x44fb3a
push dword [eax + 0xc]
call fcn.0044f951
pop ecx
mov edi, eax
mov eax, dword [ebp - 0x224]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x44fb49
mov eax, edi
push eax
push dword [ebp - 0x230]
lea eax, [ebp - 0x21c]
push str._r_n___s_r_nContent_Disposition:_attachment__filename__s_
push eax
lea esi, [ebp - 0x210]
call fcn.0044f89d
add esp, 0x10
jmp 0x44fba6
test byte [ebx + 0x28], 0x11
je 0x44fbbc
cmp dword [ebx + 0x2c], edi
jne 0x44fb82
push dword [ebx + 0xc]
call fcn.0044f951
pop ecx
mov edi, eax
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x44fb8b
mov eax, edi
push eax
lea eax, [ebp - 0x21c]
push str.__filename__s_
push eax
lea esi, [ebp - 0x210]
call fcn.0044f89d
add esp, 0xc
test edi, edi
mov esi, eax
je 0x44fbb4
push edi
call dword [0x4a6558]
pop ecx
test esi, esi
jne 0x44fdb8
mov eax, dword [ebp - 0x224]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x44fbee
push eax
lea eax, [ebp - 0x21c]
push str._r_nContent_Type:__s
push eax
lea esi, [ebp - 0x210]
call fcn.0044f89d
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x44fdb8
mov eax, dword [ebp - 0x224]
mov edi, dword [eax + 0x20]
jmp 0x44fc22
push dword [edi]
lea eax, [ebp - 0x21c]
push str._r_n_s
push eax
lea esi, [ebp - 0x210]
call fcn.0044f89d
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x44fdb8
mov edi, dword [edi + 4]
test edi, edi
jne 0x44fbf9
test esi, esi
jne 0x44fdb8
lea eax, [ebp - 0x21c]
push str._r_n_r_n
push eax
lea esi, [ebp - 0x210]
call fcn.0044f89d
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x44fdb8
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x44fc7b
test al, 0x10
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x210]
push eax
je 0x44fc73
push dword [ebx + 0x14]
mov eax, dword [ebx + 0x18]
push 0
jmp 0x44fce5
push dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
jmp 0x44fc6f
mov edi, dword [ebp - 0x224]
push dword [edi + 0xc]
push 0x495550
call fcn.00446139
test eax, eax
pop ecx
pop ecx
je 0x44fc9b
call fcn.0045f4fa
jmp 0x44fcaa
push 0x4923c4
push dword [edi + 0xc]
call fcn.00454c57
pop ecx
pop ecx
test eax, eax
mov dword [ebp - 0x22c], eax
je 0x44fe29
call fcn.0045f4fa
cmp dword [ebp - 0x22c], eax
push dword [ebp - 0x22c]
je 0x44fcf1
call fcn.00454cdc
pop ecx
lea eax, [ebp - 0x21c]
push eax
push dword [edi + 0xc]
xor eax, eax
push 1
lea ecx, [ebp - 0x210]
call fcn.0044f7db
add esp, 0xc
mov esi, eax
jmp 0x44fd50
mov edi, 0x200
push edi
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.00455371
add esp, 0x10
test eax, eax
je 0x44fd54
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push 0
lea ecx, [ebp - 0x210]
call fcn.0044f7db
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x44fdb8
push dword [ebp - 0x22c]
lea eax, [ebp - 0x20c]
push edi
push 1
push eax
call fcn.00455371
add esp, 0x10
test eax, eax
jne 0x44fd0c
test esi, esi
jne 0x44fdb8
mov eax, dword [ebp - 0x224]
mov eax, dword [eax + 0x24]
test eax, eax
mov dword [ebp - 0x224], eax
jne 0x44fb1d
test esi, esi
jne 0x44fdb8
cmp dword [ebx + 0x24], esi
je 0x44fda7
push dword [ebp - 0x230]
lea eax, [ebp - 0x21c]
push str._r_n___s__
push eax
lea esi, [ebp - 0x210]
call fcn.0044f89d
add esp, 0xc
push dword [ebp - 0x230]
mov esi, eax
call dword [0x4a6558]
test esi, esi
pop ecx
jne 0x44fdb8
mov ebx, dword [ebx]
test ebx, ebx
je 0x44fdc8
mov edi, dword [ebp - 0x21c]
jmp 0x44fa21
mov eax, dword [ebp - 0x228]
call fcn.0044f8f2
jmp 0x44fa01
test esi, esi
jne 0x44fdb8
push dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push str._r_n___s___r_n
push eax
lea esi, [ebp - 0x210]
call fcn.0044f89d
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x44fdb8
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x21c]
push dword [ebp - 0x220]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x218]
mov dword [eax + 4], ecx
call dword [0x4a6558]
mov eax, dword [ebp - 0x228]
pop ecx
mov ecx, dword [ebp - 0x234]
mov dword [ecx], eax
jmp 0x44f9c9
mov eax, dword [ebp - 0x228]
call fcn.0044f8f2
push dword [ebp - 0x220]
call dword [0x4a6558]
mov eax, dword [ebp - 0x234]
and dword [eax], 0
pop ecx
push 0x1a
pop eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00451a25
leave
ret