Function at 0x4f1c00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x710
mov r9, r8
mov r8, rdx
mov rsi, rcx
xor eax, eax
cmp r9, 0x1f5
adc al, 1
mov qword [rsp + 0x68], 3
mov byte [rsp + 0x72], 0
mov qword [rsp + 0x90], 2
mov qword [rsp + 0x98], 3
mov byte [rsp + 0xa2], 0
mov byte [rsp + 0xa8], 1
mov qword [rsp + 0x78], 3
mov byte [rsp + 0x82], 0
mov byte [rsp + 0xb1], al
mov word [rsp + 0x70], 1
mov word [rsp + 0xa0], 1
mov word [rsp + 0x80], 1
mov word [rsp + 0x88], 0x100
mov byte [rsp + 0xb0], 0
lea rcx, [rsp + 0xb8]
lea rdx, [rsp + 0x68]
call fcn.0046eab0
movzx ebx, byte [rsp + 0x268]
mov rdi, qword [rsp + 0xb8]
mov r14, qword [rsp + 0xc0]
movzx ebp, byte [rsp + 0xc8]
movzx r15d, byte [rsp + 0xc9]
mov eax, dword [rsp + 0xca]
mov dword [rsp + 0x50], eax
movzx eax, word [rsp + 0xce]
mov word [rsp + 0x54], ax
cmp bl, 3
jne 0x4f1d13
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
movzx eax, word [rsp + 0x54]
mov word [rsp + 0x2c], ax
mov byte [rsi + 0x11], 3
jmp 0x4f2193
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x288]
mov r8d, 0x198
call sub.msvcrt.dll_memcpy
mov eax, dword [rsp + 0x269]
mov ecx, dword [rsp + 0x26c]
mov dword [rsp + 0x421], eax
mov dword [rsp + 0x424], ecx
mov qword [rsp + 0x270], rdi
mov qword [rsp + 0x278], r14
mov byte [rsp + 0x280], bpl
mov byte [rsp + 0x281], r15b
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x282], eax
movzx eax, word [rsp + 0x54]
mov word [rsp + 0x286], ax
mov byte [rsp + 0x420], bl
movzx eax, byte [rsp + 0xb1]
cmp rax, 3
jne 0x4f1de4
lea rdi, [rsp + 0xb8]
lea rdx, [rsp + 0x270]
mov r8d, 0x1b8
mov rcx, rdi
call sub.msvcrt.dll_memcpy
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x68]
mov r8, rdi
call fcn.0043c4a0
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
movzx ebp, byte [rsp + 0x60]
movzx r14d, byte [rsp + 0xb0]
jmp 0x4f2174
test rax, rax
je 0x4f1f56
cmp eax, 1
jne 0x4f1fda
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0xb8]
lea r8, [rsp + 0x270]
call fcn.00424220
movzx ebx, byte [rsp + 0x230]
mov r14, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xc0]
movzx ebp, byte [rsp + 0xc8]
movzx r12d, byte [rsp + 0xc9]
mov eax, dword [rsp + 0xca]
mov dword [rsp + 0x20], eax
movzx eax, word [rsp + 0xce]
mov word [rsp + 0x24], ax
cmp bl, 3
je 0x4f2046
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x428]
mov r8d, 0x160
call sub.msvcrt.dll_memcpy
mov eax, dword [rsp + 0x231]
mov ecx, dword [rsp + 0x234]
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x43], ecx
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x30], eax
movzx eax, word [rsp + 0x24]
mov word [rsp + 0x34], ax
movzx eax, byte [0x009bf181]
mov rcx, qword [0x009bf100]
test rcx, rcx
jne 0x4f1ecb
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x4f21b6
mov rcx, rax
mov qword [0x009bf100], rax
mov r8d, 0x190
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x4f21b6
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r15
mov byte [rax + 0x20], bpl
mov byte [rax + 0x21], r12b
mov eax, dword [rsp + 0x30]
mov dword [rdi + 0x22], eax
movzx eax, word [rsp + 0x34]
mov word [rdi + 0x26], ax
mov rcx, rdi
add rcx, 0x28
lea rdx, [rsp + 0x428]
mov r8d, 0x160
call sub.msvcrt.dll_memcpy
mov byte [rdi + 0x188], bl
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x43]
mov dword [rdi + 0x189], eax
mov dword [rdi + 0x18c], ecx
lea rbx, [0x008ac2f8]
mov bpl, 1
jmp 0x4f215e
movzx eax, byte [0x009bf181]
mov rcx, qword [0x009bf100]
test rcx, rcx
jne 0x4f1f81
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x4f21a5
mov rcx, rax
mov qword [0x009bf100], rax
mov r8d, 0x1c8
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x4f21a5
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov rcx, rax
add rcx, 0x10
lea rdx, [rsp + 0x270]
mov r8d, 0x1b8
call sub.msvcrt.dll_memcpy
lea rbx, fcn.004ac3c0
xor ebp, ebp
movzx r14d, byte [rsp + 0xb0]
jmp 0x4f2174
movzx edx, byte [rsp + 0x88]
movzx r8d, byte [rsp + 0x89]
lea rcx, [rsp + 0xb8]
lea r9, [rsp + 0x270]
call fcn.0043c6e0
movzx ebx, byte [rsp + 0x258]
mov r14, qword [rsp + 0xb8]
mov r15, qword [rsp + 0xc0]
movzx ebp, byte [rsp + 0xc8]
movzx r12d, byte [rsp + 0xc9]
mov eax, dword [rsp + 0xca]
mov dword [rsp + 0x20], eax
movzx eax, word [rsp + 0xce]
mov word [rsp + 0x24], ax
cmp bl, 3
jne 0x4f206a
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
movzx eax, word [rsp + 0x24]
mov word [rsp + 0x2c], ax
lea rcx, [rsp + 0x270]
call fcn.004ac3c0
jmp 0x4f1d0a
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x588]
mov r8d, 0x188
call sub.msvcrt.dll_memcpy
mov eax, dword [rsp + 0x259]
mov ecx, dword [rsp + 0x25c]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4b], ecx
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x38], eax
movzx eax, word [rsp + 0x24]
mov word [rsp + 0x3c], ax
movzx eax, byte [0x009bf181]
mov rcx, qword [0x009bf100]
test rcx, rcx
jne 0x4f20d8
call sub.KERNEL32.dll_GetProcessHeap
test rax, rax
je 0x4f21c7
mov rcx, rax
mov qword [0x009bf100], rax
mov r8d, 0x1b8
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x4f21c7
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r15
mov byte [rax + 0x20], bpl
mov byte [rax + 0x21], r12b
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x22], eax
movzx eax, word [rsp + 0x3c]
mov word [rdi + 0x26], ax
mov rcx, rdi
add rcx, 0x28
lea rdx, [rsp + 0x588]
mov r8d, 0x188
call sub.msvcrt.dll_memcpy
mov byte [rdi + 0x1b0], bl
mov eax, dword [rsp + 0x48]
mov ecx, dword [rsp + 0x4b]
mov dword [rdi + 0x1b1], eax
mov dword [rdi + 0x1b4], ecx
lea rbx, [0x008ac400]
mov bpl, 2
movzx r14d, byte [rsp + 0xb0]
lea rcx, [rsp + 0x270]
call fcn.004ac3c0
mov qword [rsi], rdi
mov qword [rsi + 8], rbx
mov byte [rsi + 0x10], bpl
mov byte [rsi + 0x11], r14b
mov eax, dword [rsp + 0x28]
mov dword [rsi + 0x12], eax
movzx eax, word [rsp + 0x2c]
mov word [rsi + 0x16], ax
add rsp, 0x710
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x1c8
call fcn.0044dfd0
ud2
mov ecx, 8
mov edx, 0x190
call fcn.0044dfd0
ud2
mov ecx, 8
mov edx, 0x1b8
call fcn.0044dfd0
ud2