Function at 0x446f50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x4a7740]
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 0x446f9e
xor eax, eax
jmp 0x44741b
call fcn.00447522
cmp eax, edi
mov dword [ebp - 0x220], eax
jne 0x446fb4
push 0x1b
jmp 0x44741a
push eax
push str.Content_Type:_multipart_form_data__boundary_s_r_n
push edi
lea esi, [ebp - 0x210]
call fcn.00446e6b
mov esi, eax
add esp, 0xc
test esi, esi
je 0x446fe3
push dword [ebp - 0x220]
call dword [0x4a87e0]
pop ecx
mov eax, esi
jmp 0x44741b
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x228], eax
or edi, dword [ebp - 0x218]
je 0x44701a
lea eax, [ebp - 0x21c]
push 0x4989f8
push eax
lea esi, [ebp - 0x210]
call fcn.00446e6b
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x447386
push dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push str.___s_r_n
push eax
lea esi, [ebp - 0x210]
call fcn.00446e6b
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x447386
lea eax, [ebp - 0x21c]
push str.Content_Disposition:_form_data__name_
push eax
lea esi, [ebp - 0x210]
call fcn.00446e6b
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x447386
lea eax, [ebp - 0x21c]
push eax
push dword [ebx + 4]
mov eax, dword [ebx + 8]
push esi
lea ecx, [ebp - 0x210]
call fcn.00446da9
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x447386
lea eax, [ebp - 0x21c]
push 0x49ba30
push eax
lea esi, [ebp - 0x210]
call fcn.00446e6b
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x447386
cmp dword [ebx + 0x24], eax
je 0x4470e5
call fcn.00447522
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.00446e6b
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x447386
mov dword [ebp - 0x224], ebx
xor edi, edi
cmp dword [ebx + 0x24], edi
je 0x44713a
mov eax, dword [ebp - 0x224]
cmp dword [eax + 0x2c], edi
jne 0x447108
push dword [eax + 0xc]
call fcn.00446f1f
pop ecx
mov edi, eax
mov eax, dword [ebp - 0x224]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x447117
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.00446e6b
add esp, 0x10
jmp 0x447174
test byte [ebx + 0x28], 0x11
je 0x44718a
cmp dword [ebx + 0x2c], edi
jne 0x447150
push dword [ebx + 0xc]
call fcn.00446f1f
pop ecx
mov edi, eax
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x447159
mov eax, edi
push eax
lea eax, [ebp - 0x21c]
push str.__filename__s_
push eax
lea esi, [ebp - 0x210]
call fcn.00446e6b
add esp, 0xc
test edi, edi
mov esi, eax
je 0x447182
push edi
call dword [0x4a87e0]
pop ecx
test esi, esi
jne 0x447386
mov eax, dword [ebp - 0x224]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4471bc
push eax
lea eax, [ebp - 0x21c]
push str._r_nContent_Type:__s
push eax
lea esi, [ebp - 0x210]
call fcn.00446e6b
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x447386
mov eax, dword [ebp - 0x224]
mov edi, dword [eax + 0x20]
jmp 0x4471f0
push dword [edi]
lea eax, [ebp - 0x21c]
push str._r_n_s
push eax
lea esi, [ebp - 0x210]
call fcn.00446e6b
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x447386
mov edi, dword [edi + 4]
test edi, edi
jne 0x4471c7
test esi, esi
jne 0x447386
lea eax, [ebp - 0x21c]
push str._r_n_r_n
push eax
lea esi, [ebp - 0x210]
call fcn.00446e6b
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x447386
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x447249
test al, 0x10
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x210]
push eax
je 0x447241
push dword [ebx + 0x14]
mov eax, dword [ebx + 0x18]
push 0
jmp 0x4472b3
push dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
jmp 0x44723d
mov edi, dword [ebp - 0x224]
push dword [edi + 0xc]
push 0x4990fc
call fcn.0043c5e4
test eax, eax
pop ecx
pop ecx
je 0x447269
call fcn.00457d6a
jmp 0x447278
push 0x49bac8
push dword [edi + 0xc]
call fcn.00457ba8
pop ecx
pop ecx
test eax, eax
mov dword [ebp - 0x22c], eax
je 0x4473f7
call fcn.00457d6a
cmp dword [ebp - 0x22c], eax
push dword [ebp - 0x22c]
je 0x4472bf
call fcn.00453d9c
pop ecx
lea eax, [ebp - 0x21c]
push eax
push dword [edi + 0xc]
xor eax, eax
push 1
lea ecx, [ebp - 0x210]
call fcn.00446da9
add esp, 0xc
mov esi, eax
jmp 0x44731e
mov edi, 0x200
push edi
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.0046cf7c
add esp, 0x10
test eax, eax
je 0x447322
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push 0
lea ecx, [ebp - 0x210]
call fcn.00446da9
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x447386
push dword [ebp - 0x22c]
lea eax, [ebp - 0x20c]
push edi
push 1
push eax
call fcn.0046cf7c
add esp, 0x10
test eax, eax
jne 0x4472da
test esi, esi
jne 0x447386
mov eax, dword [ebp - 0x224]
mov eax, dword [eax + 0x24]
test eax, eax
mov dword [ebp - 0x224], eax
jne 0x4470eb
test esi, esi
jne 0x447386
cmp dword [ebx + 0x24], esi
je 0x447375
push dword [ebp - 0x230]
lea eax, [ebp - 0x21c]
push str._r_n___s__
push eax
lea esi, [ebp - 0x210]
call fcn.00446e6b
add esp, 0xc
push dword [ebp - 0x230]
mov esi, eax
call dword [0x4a87e0]
test esi, esi
pop ecx
jne 0x447386
mov ebx, dword [ebx]
test ebx, ebx
je 0x447396
mov edi, dword [ebp - 0x21c]
jmp 0x446fef
mov eax, dword [ebp - 0x228]
call fcn.00446ec0
jmp 0x446fcf
test esi, esi
jne 0x447386
push dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push str._r_n___s___r_n
push eax
lea esi, [ebp - 0x210]
call fcn.00446e6b
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x447386
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 [0x4a87e0]
mov eax, dword [ebp - 0x228]
pop ecx
mov ecx, dword [ebp - 0x234]
mov dword [ecx], eax
jmp 0x446f97
mov eax, dword [ebp - 0x228]
call fcn.00446ec0
push dword [ebp - 0x220]
call dword [0x4a87e0]
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.00450ba2
leave
ret