Function at 0x435076
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x480244]
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 0x4350c4
xor eax, eax
jmp 0x435541
call fcn.00435675
cmp eax, edi
mov dword [ebp - 0x220], eax
jne 0x4350da
push 0x1b
jmp 0x435540
push eax
push str.Content_Type:_multipart_form_data__boundary_s_r_n
push edi
lea esi, [ebp - 0x210]
call fcn.00434f1e
mov esi, eax
add esp, 0xc
test esi, esi
je 0x435109
push dword [ebp - 0x220]
call dword [0x4815d4]
pop ecx
mov eax, esi
jmp 0x435541
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x228], eax
or edi, dword [ebp - 0x218]
je 0x435140
lea eax, [ebp - 0x21c]
push 0x474570
push eax
lea esi, [ebp - 0x210]
call fcn.00434f1e
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x4354ac
push dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push str.___s_r_n
push eax
lea esi, [ebp - 0x210]
call fcn.00434f1e
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4354ac
lea eax, [ebp - 0x21c]
push str.Content_Disposition:_form_data__name_
push eax
lea esi, [ebp - 0x210]
call fcn.00434f1e
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x4354ac
lea eax, [ebp - 0x21c]
push eax
push dword [ebx + 4]
mov eax, dword [ebx + 8]
push esi
lea ecx, [ebp - 0x210]
call fcn.00434e5c
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4354ac
lea eax, [ebp - 0x21c]
push 0x4788cc
push eax
lea esi, [ebp - 0x210]
call fcn.00434f1e
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x4354ac
cmp dword [ebx + 0x24], eax
je 0x43520b
call fcn.00435675
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.00434f1e
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4354ac
mov dword [ebp - 0x224], ebx
xor edi, edi
cmp dword [ebx + 0x24], edi
je 0x435260
mov eax, dword [ebp - 0x224]
cmp dword [eax + 0x2c], edi
jne 0x43522e
push dword [eax + 0xc]
call fcn.00435045
pop ecx
mov edi, eax
mov eax, dword [ebp - 0x224]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x43523d
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.00434f1e
add esp, 0x10
jmp 0x43529a
test byte [ebx + 0x28], 0x11
je 0x4352b0
cmp dword [ebx + 0x2c], edi
jne 0x435276
push dword [ebx + 0xc]
call fcn.00435045
pop ecx
mov edi, eax
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x43527f
mov eax, edi
push eax
lea eax, [ebp - 0x21c]
push str.__filename__s_
push eax
lea esi, [ebp - 0x210]
call fcn.00434f1e
add esp, 0xc
test edi, edi
mov esi, eax
je 0x4352a8
push edi
call dword [0x4815d4]
pop ecx
test esi, esi
jne 0x4354ac
mov eax, dword [ebp - 0x224]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4352e2
push eax
lea eax, [ebp - 0x21c]
push str._r_nContent_Type:__s
push eax
lea esi, [ebp - 0x210]
call fcn.00434f1e
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4354ac
mov eax, dword [ebp - 0x224]
mov edi, dword [eax + 0x20]
jmp 0x435316
push dword [edi]
lea eax, [ebp - 0x21c]
push str._r_n_s
push eax
lea esi, [ebp - 0x210]
call fcn.00434f1e
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4354ac
mov edi, dword [edi + 4]
test edi, edi
jne 0x4352ed
test esi, esi
jne 0x4354ac
lea eax, [ebp - 0x21c]
push str._r_n_r_n
push eax
lea esi, [ebp - 0x210]
call fcn.00434f1e
mov esi, eax
test esi, esi
pop ecx
pop ecx
jne 0x4354ac
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x43536f
test al, 0x10
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x210]
push eax
je 0x435367
push dword [ebx + 0x14]
mov eax, dword [ebx + 0x18]
push 0
jmp 0x4353d9
push dword [ebx + 0xc]
mov eax, dword [ebx + 0x10]
jmp 0x435363
mov edi, dword [ebp - 0x224]
push dword [edi + 0xc]
push 0x474c90
call fcn.0042977b
test eax, eax
pop ecx
pop ecx
je 0x43538f
call fcn.0044b93c
jmp 0x43539e
push 0x478964
push dword [edi + 0xc]
call fcn.004607a8
pop ecx
pop ecx
test eax, eax
mov dword [ebp - 0x22c], eax
je 0x43551d
call fcn.0044b93c
cmp dword [ebp - 0x22c], eax
push dword [ebp - 0x22c]
je 0x4353e5
call fcn.0045cc06
pop ecx
lea eax, [ebp - 0x21c]
push eax
push dword [edi + 0xc]
xor eax, eax
push 1
lea ecx, [ebp - 0x210]
call fcn.00434e5c
add esp, 0xc
mov esi, eax
jmp 0x435444
mov edi, 0x200
push edi
lea eax, [ebp - 0x20c]
push 1
push eax
call fcn.0045ff83
add esp, 0x10
test eax, eax
je 0x435448
lea ecx, [ebp - 0x21c]
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push 0
lea ecx, [ebp - 0x210]
call fcn.00434e5c
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4354ac
push dword [ebp - 0x22c]
lea eax, [ebp - 0x20c]
push edi
push 1
push eax
call fcn.0045ff83
add esp, 0x10
test eax, eax
jne 0x435400
test esi, esi
jne 0x4354ac
mov eax, dword [ebp - 0x224]
mov eax, dword [eax + 0x24]
test eax, eax
mov dword [ebp - 0x224], eax
jne 0x435211
test esi, esi
jne 0x4354ac
cmp dword [ebx + 0x24], esi
je 0x43549b
push dword [ebp - 0x230]
lea eax, [ebp - 0x21c]
push str._r_n___s__
push eax
lea esi, [ebp - 0x210]
call fcn.00434f1e
add esp, 0xc
push dword [ebp - 0x230]
mov esi, eax
call dword [0x4815d4]
test esi, esi
pop ecx
jne 0x4354ac
mov ebx, dword [ebx]
test ebx, ebx
je 0x4354bc
mov edi, dword [ebp - 0x21c]
jmp 0x435115
mov eax, dword [ebp - 0x228]
call fcn.00434f73
jmp 0x4350f5
test esi, esi
jne 0x4354ac
push dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push str._r_n___s___r_n
push eax
lea esi, [ebp - 0x210]
call fcn.00434f1e
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4354ac
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 [0x4815d4]
mov eax, dword [ebp - 0x228]
pop ecx
mov ecx, dword [ebp - 0x234]
mov dword [ecx], eax
jmp 0x4350bd
mov eax, dword [ebp - 0x228]
call fcn.00434f73
push dword [ebp - 0x220]
call dword [0x4815d4]
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.00437538
leave
ret