Function at 0x4b0860
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov r12d, ecx
mov rcx, qword [rsp + 0xe8]
mov r14, rdx
mov r13d, r8d
mov rbp, r9
call fcn.004b2270
mov edi, eax
cmp rdi, qword [rsp + 0xe0]
mov rbx, rdi
jne 0x4b0970
cmp r12d, 0x72
sete sil
test rbp, rbp
je 0x4b0900
test sil, sil
je 0x4b0900
mov r9, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xd8]
mov r8, rbp
mov dword [rsp + 0x20], 1
mov ecx, edi
xor ebx, ebx
call fcn.004b22c0
test eax, eax
jle 0x4b08e8
mov rsi, qword [rsp + 0xd0]
cdqe
mov ebx, 1
mov qword [rsi], rax
mov eax, ebx
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, str.rsa_sign.c
mov r8d, 0xd0
mov ecx, ebx
call fcn.00493db0
test rax, rax
mov r15, rax
je 0x4b0ad0
cmp r13d, 0x24
je 0x4b09a0
test sil, sil
je 0x4b09a0
lea r9, str.rsa_sign.c
mov dword [rsp + 0x20], 0xd7
mov r8d, 0x83
mov edx, 0x91
mov ecx, 4
xor ebx, ebx
call fcn.00498ab0
mov rcx, r15
mov rdx, rdi
call fcn.00494590
mov rcx, r15
call fcn.00494240
jmp 0x4b08e8
lea r9, str.rsa_sign.c
mov dword [rsp + 0x20], 0xc2
mov r8d, 0x77
mov edx, 0x91
mov ecx, 4
xor ebx, ebx
call fcn.00498ab0
jmp 0x4b08e8
mov r9, qword [rsp + 0xe8]
mov rdx, qword [rsp + 0xd8]
mov ecx, ebx
mov dword [rsp + 0x20], 1
mov r8, r15
xor ebx, ebx
call fcn.004b22c0
test eax, eax
mov esi, eax
jle 0x4b0951
cmp r12d, 0x5f
jne 0x4b0a50
cmp eax, 0x12
jne 0x4b0a50
cmp byte [r15], 4
je 0x4b0b00
lea rdx, [rsp + 0x50]
xor ecx, ecx
mov r8d, esi
mov qword [rsp + 0x50], r15
call fcn.004c31e0
test rax, rax
mov r10, rax
je 0x4b0951
movsxd r9, esi
lea rax, [r15 + r9]
cmp qword [rsp + 0x50], rax
je 0x4b0b3d
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x20], 0xfc
lea r9, str.rsa_sign.c
mov r8d, 0x68
mov edx, 0x91
mov ecx, 4
call fcn.00498ab0
mov r10, qword [rsp + 0x38]
mov rcx, r10
call fcn.004c3210
jmp 0x4b0951
cmp r12d, 0x72
jne 0x4b0dec
cmp esi, 0x24
jne 0x4b0aa0
mov rax, qword [r15]
mov rdx, qword [r15 + 8]
xor rax, qword [r14]
xor rdx, qword [r14 + 8]
or rdx, rax
jne 0x4b0aa0
mov rax, qword [r15 + 0x10]
mov rdx, qword [r15 + 0x18]
xor rax, qword [r14 + 0x10]
xor rdx, qword [r14 + 0x18]
or rdx, rax
jne 0x4b0aa0
mov eax, dword [r14 + 0x20]
cmp dword [r15 + 0x20], eax
mov ebx, 1
je 0x4b0951
nop word [rax + rax]
lea r9, str.rsa_sign.c
mov dword [rsp + 0x20], 0xf1
mov r8d, 0x68
mov edx, 0x91
mov ecx, 4
xor ebx, ebx
call fcn.00498ab0
jmp 0x4b0951
lea r9, str.rsa_sign.c
mov dword [rsp + 0x20], 0xd3
mov r8d, 0x41
mov edx, 0x91
mov ecx, 4
xor ebx, ebx
call fcn.00498ab0
jmp 0x4b08e8
cmp byte [r15 + 1], 0x10
jne 0x4b09e3
test rbp, rbp
je 0x4b0ce1
mov rax, qword [r15 + 2]
mov rdx, qword [r15 + 0xa]
mov ebx, 1
mov qword [rbp], rax
mov rax, qword [rsp + 0xd0]
mov qword [rbp + 8], rdx
mov qword [rax], 0x10
jmp 0x4b09e3
lea rdx, [rsp + 0x58]
mov rcx, r10
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x58], 0
call fcn.004c31f0
test eax, eax
mov r10, qword [rsp + 0x38]
jle 0x4b0a15
cmp esi, eax
mov r11, qword [rsp + 0x58]
mov r9, qword [rsp + 0x40]
je 0x4b0b97
mov rcx, r11
movsxd rdx, eax
call fcn.00494590
mov rcx, qword [rsp + 0x58]
call fcn.00494240
mov r10, qword [rsp + 0x38]
jmp 0x4b0a15
mov r8, r9
mov rdx, r11
mov rcx, r15
mov qword [rsp + 0x48], r10
mov qword [rsp + 0x40], r9
mov qword [rsp + 0x38], r11
call fcn.005999e8
mov r9, qword [rsp + 0x40]
mov r11, qword [rsp + 0x38]
mov esi, eax
mov rcx, r11
mov rdx, r9
call fcn.00494590
mov rcx, qword [rsp + 0x58]
call fcn.00494240
test esi, esi
mov r10, qword [rsp + 0x48]
jne 0x4b0a15
mov rax, qword [r10]
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x4b0c09
mov qword [rsp + 0x38], r10
call fcn.004c2d20
cmp eax, 5
mov r10, qword [rsp + 0x38]
jne 0x4b0cff
mov rax, qword [r10]
mov rcx, qword [rax]
mov qword [rsp + 0x38], r10
call fcn.004a0710
cmp r12d, eax
mov r10, qword [rsp + 0x38]
je 0x4b0c69
cmp r12d, 4
jne 0x4b0c2b
cmp eax, 8
je 0x4b0c3e
cmp r12d, 3
jne 0x4b0db9
cmp eax, 7
jne 0x4b0db9
mov qword [rsp + 0x38], r10
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, str.signature_has_problems__re_make_with_post_SSLeay045_n
lea r9, [rax + 0x60]
mov r8d, 0x34
mov edx, 1
call sub.msvcrt.dll_fwrite
mov r10, qword [rsp + 0x38]
test rbp, rbp
je 0x4b0d11
mov ecx, r12d
mov qword [rsp + 0x38], r10
call fcn.004a0590
mov rcx, rax
call fcn.004bfa50
test rax, rax
mov r10, qword [rsp + 0x38]
je 0x4b0d6e
mov rcx, rax
mov qword [rsp + 0x38], r10
call fcn.0049b340
mov r10, qword [rsp + 0x38]
mov rcx, qword [r10 + 8]
cmp eax, dword [rcx]
je 0x4b0d72
lea r9, str.rsa_sign.c
mov dword [rsp + 0x20], 0x12a
mov r8d, 0x8f
mov edx, 0x91
mov ecx, 4
call fcn.00498ab0
mov r10, qword [rsp + 0x38]
jmp 0x4b0a43
mov rax, qword [r14]
mov rdx, qword [r14 + 8]
xor rax, qword [r15 + 2]
xor rdx, qword [r15 + 0xa]
or rdx, rax
jne 0x4b0d45
mov ebx, 1
jmp 0x4b09e3
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x20], 0x105
jmp 0x4b0a22
mov rax, qword [r10 + 8]
cmp r13d, dword [rax]
jne 0x4b0da7
mov rdx, qword [rax + 8]
mov r8d, r13d
mov rcx, r14
mov qword [rsp + 0x38], r10
call fcn.005999e8
test eax, eax
mov r10, qword [rsp + 0x38]
jne 0x4b0da7
mov ebx, 1
jmp 0x4b0a43
lea r9, str.rsa_sign.c
mov dword [rsp + 0x20], 0xe9
mov r8d, 0x68
mov edx, 0x91
mov ecx, 4
call fcn.00498ab0
jmp 0x4b09e3
mov rcx, qword [r10 + 8]
movsxd r8, dword [rcx]
mov rdx, qword [rcx + 8]
mov rcx, rbp
mov qword [rsp + 0x38], r10
mov ebx, 1
call sub.msvcrt.dll_memcpy
mov r10, qword [rsp + 0x38]
mov rsi, qword [rsp + 0xd0]
mov rax, qword [r10 + 8]
movsxd rax, dword [rax]
mov qword [rsi], rax
jmp 0x4b0a43
mov qword [rsp + 0x38], r10
mov dword [rsp + 0x20], 0x136
jmp 0x4b0a22
lea r9, str.rsa_sign.c
mov dword [rsp + 0x20], 0x120
mov r8d, 0x64
mov edx, 0x91
mov ecx, 4
mov qword [rsp + 0x38], r10
call fcn.00498ab0
mov r10, qword [rsp + 0x38]
jmp 0x4b0a43
xor ebx, ebx
jmp 0x4b09e3