Function at 0x14008dc00
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r12, rdx
mov r13d, ecx
xor r15d, r15d
mov qword [rax - 0x58], r15
mov dword [rax + 0x20], r15d
xor r9d, r9d
lea r8, [rax + 0x20]
mov edx, ecx
mov rcx, qword [0x140167678]
call fcn.1400b3410
mov rbp, rax
test rax, rax
jne 0x14008dc55
lea eax, [rbp + 1]
jmp 0x14008debf
mov ecx, 0xe0
call fcn.14008c4a0
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14008dc76
mov rcx, rax
call fcn.1400b9e30
mov rdi, rax
jmp 0x14008dc79
mov rdi, r15
mov r9d, dword [rbp]
mov r8d, dword [rbp + 4]
lea rdx, [rbp + 8]
lea rcx, [rsp + 0x40]
call fcn.1400b9b50
mov esi, r15d
test eax, eax
sete sil
mov ebx, 1
test rdi, rdi
je 0x14008dcac
mov rax, qword [rdi]
mov edx, ebx
mov rcx, rdi
call qword [rax]
test esi, esi
je 0x14008dcb7
mov eax, ebx
jmp 0x14008debf
mov r14, qword [rsp + 0x40]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x140167250]
repne scasb al, byte [rdi]
not rcx
sub rcx, rbx
mov dword [rsp + 0xb8], ecx
mov edx, dword [rbp]
sub edx, ecx
sub edx, 0xa
mov dword [rsp + 0xb0], edx
lea r9, str.ocxdrv32.dll
lea r8, [0x140167250]
mov rcx, r14
call fcn.140089250
cmp r13d, 0xb9
jne 0x14008dd23
lea r9, [0x140167570]
lea r8, str.msurlbot.dll
mov edx, dword [rsp + 0xb0]
mov rcx, r14
call fcn.140089250
mov rdi, qword [rsp + 0x40]
cmp dword [0x140167cd4], 0
jne 0x14008de3c
cmp r13d, 0xb9
je 0x14008de3c
cmp r13d, 0x1396
je 0x14008de3c
mov rcx, rdi
call fcn.140001500
test eax, eax
je 0x14008de3c
mov rcx, rdi
call fcn.140001360
mov rbp, rax
mov rcx, rdi
call fcn.14002d0b0
test rbp, rbp
je 0x14008de29
or r8d, 0xffffffff
or edx, r8d
mov rcx, rbp
call fcn.140001d50
mov rdi, rax
test rax, rax
je 0x14008dd9f
mov rcx, rbp
call fcn.14002d0b0
mov rbp, rdi
jmp 0x14008ddc1
cmp dword [0x140167ef4], 0
jne 0x14008ddc1
xor r9d, r9d
lea r8, [0x1400eaaa8]
lea rdx, str.Rebase_failed
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov rcx, rbp
call fcn.140001c80
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r12
repne scasb al, byte [rdi]
not rcx
lea rcx, [rcx + r12 - 4]
lea rdx, [0x1400fd69c]
call fcn.1400c1f80
test eax, eax
jne 0x14008ddf4
mov rcx, rbp
call fcn.140001af0
mov rdx, rbp
mov rcx, r12
call fcn.140001930
test eax, eax
je 0x14008de32
cmp dword [0x140167ef4], 0
jne 0x14008de25
xor r9d, r9d
lea r8, [0x1400eaaa8]
lea rdx, str.Could_not_save_image.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov esi, ebx
jmp 0x14008de32
mov esi, ebx
xor ecx, ecx
call fcn.1400b71d0
mov rcx, rbp
call fcn.14002d0b0
jmp 0x14008deb5
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, ebx
mov edx, 0x40000000
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14008dea2
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0xb0]
mov r8d, dword [rbp]
mov rdx, qword [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rbp]
cmp dword [rsp + 0xb0], ecx
cmovne esi, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14008deab
mov esi, ebx
xor ecx, ecx
call fcn.1400b71d0
mov rcx, qword [rsp + 0x40]
call fcn.14002d0b0
mov rcx, r12
call fcn.140039ad0
mov eax, esi
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret