Function at 0x140055a30
Capabilities:
Read file on windows

Disassembly:
push rbp
push rbx
push rsi
push r14
push r15
lea rbp, [rsp - 0x1e0]
mov eax, 0x2e0
call fcn.1401ef830
sub rsp, rax
mov rax, qword [0x140310170]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, rcx
mov qword [rsp + 0x58], rcx
mov rcx, qword [rbp + 0x230]
mov rbx, r9
mov qword [rsp + 0x70], rcx
mov r15, r8
xor ecx, ecx
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x30], rcx
mov r14d, ecx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rcx
mov qword [rdx], rcx
test r8, r8
jne 0x140055aa0
xor eax, eax
jmp 0x14005613f
mov r8d, 2
mov qword [rsp + 0x2c8], r13
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.14006aef0
test eax, eax
jne 0x1400561d7
mov r8d, dword [rsp + 0x64]
lea rcx, str._________________________08x_08x
mov edx, dword [rsp + 0x60]
call fcn.14006acb0
mov qword [rsp + 0x50], rax
mov r13, rax
test rax, rax
je 0x1400561d7
test rbx, rbx
mov qword [rsp + 0x20], rax
lea r9, str.Content_Type:_multipart_form_data
cmovne r9, rbx
lea r8, str._s__boundary_s_r_n
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400556b0
mov ebx, eax
test eax, eax
je 0x140055b25
mov rcx, r13
call qword [fcn.1402196e8]
mov eax, ebx
jmp 0x140056137
mov qword [rsp + 0x2d8], rdi
mov qword [rsp + 0x2d0], r12
mov r12, qword [rsp + 0x30]
nop word [rax + rax]
cmp qword [rsp + 0x38], 0
je 0x140055b68
lea r8, [0x14027c42c]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400556b0
mov edi, eax
test eax, eax
jne 0x140056173
mov r9, r13
lea r8, str.___s_r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400556b0
mov edi, eax
test eax, eax
jne 0x140056173
lea r8, str.Content_Disposition:_form_data__name_
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400556b0
mov edi, eax
test eax, eax
jne 0x140056173
movsxd r9, dword [r15 + 0x10]
test r9, r9
js 0x14005616e
mov r8, qword [r15 + 8]
lea rax, [rsp + 0x38]
lea edx, [rdi + 1]
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x30]
call fcn.140055520
mov edi, eax
test eax, eax
jne 0x140056173
lea r8, [0x14027c2a0]
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400556b0
mov edi, eax
test eax, eax
jne 0x140056173
cmp qword [r15 + 0x48], 0
je 0x140055c6f
mov rcx, r14
call qword [fcn.1402196e8]
lea r8d, [rdi + 2]
mov rcx, rsi
lea rdx, [rsp + 0x68]
call fcn.14006aef0
test eax, eax
jne 0x14005615d
mov r8d, dword [rsp + 0x6c]
lea rcx, str._________________________08x_08x
mov edx, dword [rsp + 0x68]
call fcn.14006acb0
mov qword [rsp + 0x40], rax
mov r14, rax
test rax, rax
je 0x140056164
mov r9, rax
lea r8, str._r_nContent_Type:_multipart_mixed__boundary_s_r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400556b0
mov edi, eax
test eax, eax
jne 0x1400561c1
mov r13, r15
cmp qword [r15 + 0x48], 0
je 0x140055cb4
mov r9, r14
lea r8, str._r_n___s_r_nContent_Disposition:_attachment
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400556b0
mov edi, eax
test eax, eax
jne 0x1400561c6
lea r8, [rsp + 0x38]
mov rcx, r13
lea rdx, [rsp + 0x30]
call fcn.1400558f0
mov edi, eax
test eax, eax
jmp 0x140055cdd
mov eax, dword [r15 + 0x50]
test al, 0x51
je 0x140055ce3
cmp qword [r15 + 0x58], 0
jne 0x140055cc7
test al, 1
je 0x140055cdb
lea r8, [rsp + 0x38]
mov rcx, r15
lea rdx, [rsp + 0x30]
call fcn.1400558f0
mov edi, eax
test edi, edi
jne 0x1400561c6
mov r9, qword [r13 + 0x38]
test r9, r9
je 0x140055d0c
lea r8, str._r_nContent_Type:__s
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400556b0
mov edi, eax
test eax, eax
jne 0x1400561c6
mov rbx, qword [r13 + 0x40]
test rbx, rbx
je 0x140055d4e
nop word [rax + rax]
mov r9, qword [rbx]
lea r8, str._r_n_s
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400556b0
mov edi, eax
test eax, eax
jne 0x1400561c6
mov rbx, qword [rbx + 8]
test rbx, rbx
jne 0x140055d20
jmp 0x140055d56
test edi, edi
jne 0x1400561c6
lea r8, str._r_n_r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400556b0
mov edi, eax
test eax, eax
jne 0x1400561c6
mov eax, dword [r15 + 0x50]
test al, 3
jne 0x140055e4a
test al, 0x10
je 0x140055db7
movsxd r9, dword [r15 + 0x30]
test r9, r9
js 0x140055f45
mov r8, qword [r15 + 0x28]
lea rax, [rsp + 0x38]
mov edx, 2
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call fcn.140055520
mov edi, eax
jmp 0x140056032
test al, 0x40
je 0x140055e2a
test al, al
jns 0x140055dc5
mov rbx, qword [r15 + 0x68]
jmp 0x140055dc9
movsxd rbx, dword [r15 + 0x20]
mov rdi, qword [r15 + 0x60]
test rbx, rbx
js 0x140055f45
cmp qword [rsp + 0x38], 0
jl 0x140055f45
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [fcn.14021a348]
test rax, rax
jne 0x140055dfa
lea edi, [rax + 0x1b]
jmp 0x140056032
mov rcx, qword [rsp + 0x30]
add qword [rsp + 0x38], rbx
mov qword [rax], 0
mov qword [rax + 0x10], rdi
mov dword [rax + 8], 3
mov qword [rsp + 0x30], rax
test rcx, rcx
je 0x140055e23
mov qword [rcx], rax
xor edi, edi
jmp 0x140056032
test al, al
jns 0x140055e34
mov r9, qword [r15 + 0x68]
jmp 0x140055e38
movsxd r9, dword [r15 + 0x20]
test r9, r9
js 0x140055f45
mov r8, qword [r15 + 0x18]
jmp 0x140055d97
mov rcx, qword [r13 + 0x18]
movzx eax, byte [0x14027c3dc]
cmp al, byte [rcx]
jne 0x140055e6e
movzx eax, byte [0x14027c3dd]
cmp al, byte [rcx + 1]
jne 0x140055e6e
xor ecx, ecx
call fcn.14021bd7c
jmp 0x140055e7a
lea rdx, [0x14027c4dc]
call fcn.140219988
mov r14, rax
test rax, rax
je 0x140056069
xor ecx, ecx
call fcn.14021bd7c
cmp r14, rax
je 0x140055f4f
mov rcx, r14
call fcn.140219a18
cmp qword [rsp + 0x38], 0
mov rdi, qword [r13 + 0x18]
jl 0x140055f45
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [fcn.14021a348]
mov rbx, rax
test rax, rax
jne 0x140055ec9
lea edi, [rax + 0x1b]
jmp 0x140056032
mov qword [rax], 0
mov qword [rax + 0x10], rdi
mov dword [rax + 8], 4
movzx eax, byte [0x14027c3dc]
cmp al, byte [rdi]
jne 0x140055ef2
movzx eax, byte [0x14027c3dd]
cmp al, byte [rdi + 1]
je 0x140055f23
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.140225114
test eax, eax
jne 0x140055f3c
movzx eax, word [rsp + 0x7e]
mov ecx, 0xf000
and ax, cx
mov ecx, 0x4000
cmp ax, cx
je 0x140055f3c
mov rax, qword [rbp - 0x70]
add qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x30], rbx
test rax, rax
je 0x140055f35
mov qword [rax], rbx
xor edi, edi
jmp 0x140056032
mov rcx, rbx
call qword [fcn.1402196e8]
mov edi, Ordinal_46
jmp 0x140056032
mov r9, r14
lea rcx, [rbp - 0x50]
mov edx, 1
mov r8d, 0x200
call fcn.140219d04
mov rbx, rax
test rax, rax
je 0x140056032
mov rsi, qword [rsp + 0x30]
test rbx, rbx
js 0x140056062
cmp qword [rsp + 0x38], 0
jl 0x140056062
mov ecx, reloc.WLDAP32.dll_Ordinal_32
call qword [fcn.14021a348]
mov rdi, rax
test rax, rax
je 0x14005605b
mov qword [rax], 0
test rbx, rbx
jne 0x140055fc0
lea rax, [rbp - 0x50]
or rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140055fb7
lea rcx, [rbx + 1]
call qword [fcn.14021a348]
mov qword [rdi + 0x10], rax
test rax, rax
je 0x140056052
mov r8, rbx
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.14020f990
mov rax, qword [rdi + 0x10]
add qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rdi
mov byte [rbx + rax], 0
mov qword [rdi + 0x18], rbx
mov dword [rdi + 8], 2
test rsi, rsi
je 0x140056007
mov qword [rsi], rdi
mov rsi, rdi
lea rcx, [rbp - 0x50]
xor edi, edi
mov r9, r14
mov r8d, 0x200
lea edx, [rdi + 1]
call fcn.140219d04
mov rbx, rax
test rax, rax
jne 0x140055f77
mov rsi, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x48]
mov r13, qword [r13 + 0x48]
test r13, r13
je 0x140056094
test edi, edi
jne 0x1400561c6
mov r14, qword [rsp + 0x40]
jmp 0x140055c72
mov rcx, rdi
call qword [fcn.1402196e8]
mov edi, reloc.WLDAP32.dll_Ordinal_27
jmp 0x14005602d
mov edi, Ordinal_46
jmp 0x14005602d
test rsi, rsi
je 0x140056081
mov r8, qword [r13 + 0x18]
lea rdx, str.couldnt_open_file___s_
mov rcx, rsi
call fcn.140059810
mov rbx, qword [rsp + 0x48]
mov edi, reloc.WLDAP32.dll_Ordinal_26
mov qword [rbx], 0
jmp 0x140056037
test edi, edi
jne 0x1400561c6
cmp qword [r15 + 0x48], 0
mov r14, qword [rsp + 0x40]
je 0x1400560cb
mov r9, r14
lea r8, str._r_n___s__
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400556b0
mov edi, eax
test eax, eax
jne 0x1400561cd
mov r15, qword [r15]
mov r13, qword [rsp + 0x50]
test r15, r15
jne 0x140055b40
test edi, edi
jne 0x140056173
mov r9, r13
lea r8, str._r_n___s___r_n
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x30]
call fcn.1400556b0
mov edi, eax
test eax, eax
jne 0x140056173
mov rcx, qword [rsp + 0x70]
mov rax, qword [rsp + 0x38]
mov qword [rcx], rax
mov rcx, r14
call qword [fcn.1402196e8]
mov rcx, r13
call qword [fcn.1402196e8]
xor eax, eax
mov qword [rbx], r12
mov r12, qword [rsp + 0x2d0]
mov rdi, qword [rsp + 0x2d8]
mov r13, qword [rsp + 0x2c8]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1401ef4e0
add rsp, 0x2e0
pop r15
pop r14
pop rsi
pop rbx
pop rbp
ret
xor esi, esi
lea edi, [rsi + 0x1b]
jmp 0x140056178
mov rsi, rax
mov edi, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140056178
mov edi, Ordinal_46
mov rsi, qword [rsp + 0x40]
test r12, r12
je 0x1400561a8
nop dword [rax]
cmp dword [r12 + 8], 2
mov rbx, qword [r12]
jg 0x140056197
mov rcx, qword [r12 + 0x10]
call qword [fcn.1402196e8]
mov rcx, r12
call qword [fcn.1402196e8]
mov r12, rbx
test rbx, rbx
jne 0x140056180
mov rcx, rsi
call qword [fcn.1402196e8]
mov rcx, r13
call qword [fcn.1402196e8]
mov eax, edi
jmp 0x140056127
mov rsi, r14
jmp 0x140056178
mov r13, qword [rsp + 0x50]
jmp 0x140056173
mov r13, qword [rsp + 0x50]
mov rsi, r14
jmp 0x140056178
mov eax, reloc.WLDAP32.dll_Ordinal_27
jmp 0x140056137