Function at 0x4323b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x51d56c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x18]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x22c], edx
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x218], ebx
mov dword [ecx], ebx
cmp eax, ebx
je 0x4329b2
call fcn.00432380
mov dword [ebp - 0x21c], eax
test eax, eax
jne 0x432434
pop edi
pop esi
lea eax, [ebx + 0x1b]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ab15e
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x43243d
mov edi, str.Content_Type:_multipart_form_data
push eax
push edi
push str._s__boundary_s_r_n
lea eax, [ebp - 0x208]
push 0
push eax
call fcn.00432000
mov esi, eax
add esp, 0x14
test esi, esi
je 0x43247e
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [0x515004]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ab15e
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x224], edx
lea ebx, [ebx]
or ebx, dword [ebp - 0x20c]
je 0x4324bd
push 0x4d8684
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.00432000
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x432934
mov edx, dword [ebp - 0x21c]
push edx
push str.___s_r_n
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.00432000
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x432934
push str.Content_Disposition:_form_data__name_
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x208]
push eax
call fcn.00432000
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x432934
mov ebx, dword [ebp - 0x214]
mov eax, dword [ebx + 8]
cdq
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebx + 4]
push edx
push eax
lea edx, [ebp - 0x208]
push 1
push edx
call fcn.00431df0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x432934
push 0x4dab34
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.00432000
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x432934
cmp dword [ebx + 0x24], eax
je 0x4325b8
mov edx, dword [ebp - 0x218]
push edx
call dword [0x515004]
mov esi, dword [ebp - 0x220]
add esp, 4
call fcn.00432380
mov dword [ebp - 0x218], eax
test eax, eax
je 0x432901
push eax
push str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.00432000
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x432934
mov esi, ebx
mov dword [ebp - 0x214], esi
cmp dword [ebx + 0x24], 0
je 0x432604
mov edx, dword [ebp - 0x218]
push edx
push str._r_n___s_r_nContent_Disposition:_attachment
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.00432000
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x432934
lea edx, [ebp - 0x210]
lea eax, [ebp - 0x208]
push edx
push eax
mov eax, esi
jmp 0x432625
mov eax, dword [ebx + 0x28]
test al, 0x51
je 0x432637
cmp dword [ebx + 0x2c], 0
jne 0x432615
test al, 1
je 0x43262f
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x208]
push edx
mov eax, ebx
call fcn.00432110
mov edi, eax
add esp, 8
test edi, edi
jne 0x432934
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x432664
push eax
push str._r_nContent_Type:__s
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.00432000
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x432934
mov esi, dword [esi + 0x20]
test esi, esi
je 0x4326a1
jmp 0x432670
mov edx, dword [esi]
push edx
push str._r_n_s
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x208]
push ecx
call fcn.00432000
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x432934
mov esi, dword [esi + 4]
test esi, esi
jne 0x432670
jmp 0x4326a9
test edi, edi
jne 0x432934
push str._r_n_r_n
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x208]
push eax
call fcn.00432000
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x432934
mov eax, dword [ebx + 0x28]
test al, 3
jne 0x432771
test al, 0x10
je 0x432705
mov eax, dword [ebx + 0x18]
cdq
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebx + 0x14]
push edx
push eax
lea edx, [ebp - 0x208]
push 2
push edx
call fcn.00431df0
add esp, 0x14
mov edi, eax
jmp 0x432897
test al, 0x40
je 0x43273d
test al, al
jns 0x432715
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
jmp 0x432719
mov eax, dword [ebx + 0x10]
cdq
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebx + 0x30]
push edx
push eax
lea edx, [ebp - 0x208]
push 3
push edx
call fcn.00431df0
add esp, 0x14
mov edi, eax
jmp 0x432897
test al, al
jns 0x432749
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x3c]
jmp 0x43274d
mov eax, dword [ebx + 0x10]
cdq
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebx + 0xc]
push edx
push eax
lea edx, [ebp - 0x208]
push 2
push edx
call fcn.00431df0
add esp, 0x14
mov edi, eax
jmp 0x432897
mov eax, dword [ebp - 0x214]
mov esi, dword [eax + 0xc]
mov ecx, esi
mov eax, 0x4d94a8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4327a1
test dl, dl
je 0x43279d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4327a1
add eax, 2
add ecx, 2
test dl, dl
jne 0x432781
xor eax, eax
jmp 0x4327a6
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4327b1
call fcn.004accea
jmp 0x4327bf
push 0x4d8394
push esi
call fcn.004ac799
add esp, 8
mov esi, eax
test esi, esi
je 0x432864
call fcn.004accea
push esi
cmp esi, eax
je 0x432804
call fcn.004ac103
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [eax + 0xc]
push 0
push 0
lea edx, [ebp - 0x208]
push 4
push edx
call fcn.00431df0
add esp, 0x18
mov edi, eax
jmp 0x432897
push 0x200
lea ecx, [ebp - 0x204]
push 1
push ecx
call fcn.004ac3c1
add esp, 0x10
test eax, eax
je 0x432897
mov edi, edi
lea edx, [ebp - 0x210]
push edx
push 0
push eax
lea eax, [ebp - 0x208]
push 2
push eax
lea ecx, [ebp - 0x204]
call fcn.00431df0
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x432897
push esi
push 0x200
lea ecx, [ebp - 0x204]
push 1
push ecx
call fcn.004ac3c1
add esp, 0x10
test eax, eax
jne 0x432820
jmp 0x432897
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x432886
mov edx, dword [ebp - 0x214]
mov ecx, dword [edx + 0xc]
push ecx
push str.couldnt_open_file___s_
push eax
call fcn.0040d530
add esp, 0xc
mov edx, dword [ebp - 0x228]
mov dword [edx], 0
mov edi, 0x1a
mov eax, dword [ebp - 0x214]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x214], eax
test eax, eax
je 0x4328b9
test edi, edi
jne 0x432934
mov esi, eax
jmp 0x4325c0
test edi, edi
jne 0x432934
cmp dword [ebx + 0x24], edi
je 0x4328ea
mov ecx, dword [ebp - 0x218]
push ecx
push str._r_n___s__
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x208]
push eax
call fcn.00432000
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x432934
mov eax, dword [ebx]
mov dword [ebp - 0x214], eax
test eax, eax
je 0x432908
mov ebx, dword [ebp - 0x210]
jmp 0x432490
mov edi, 0x1b
jmp 0x432934
test edi, edi
jne 0x432934
mov ecx, dword [ebp - 0x21c]
push ecx
push str._r_n___s___r_n
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x208]
push eax
call fcn.00432000
mov edi, eax
add esp, 0x10
test edi, edi
je 0x432970
lea ecx, [ebp - 0x224]
push ecx
call fcn.00432050
mov edx, dword [ebp - 0x218]
push edx
call dword [0x515004]
mov eax, dword [ebp - 0x21c]
push eax
call dword [0x515004]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ab15e
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x210]
mov edx, dword [ebp - 0x20c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x218]
push eax
call dword [0x515004]
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [0x515004]
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x228]
add esp, 8
mov dword [eax], edx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004ab15e
mov esp, ebp
pop ebp
ret