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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x428
mov rax, qword [0x14000b010]
xor rax, rsp
mov qword [rsp + 0x418], rax
mov qword [rsp + 0x78], 0
mov qword [rsp + 0x108], 0
mov qword [rsp + 0x148], 0
mov qword [rsp + 0x68], 0
mov rax, qword [rsp + 0x440]
movzx eax, word [rax]
mov dword [rsp + 0x150], eax
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x20], 0
jmp 0x140001fe1
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x64
jge 0x1400020ff
mov eax, dword [rsp + 0x20]
inc eax
cdqe
mov rcx, rax
call fcn.1400011c4
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x20]
inc eax
cdqe
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x440]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
movsx eax, byte [rcx + rax]
xor eax, 0x21
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x40]
mov byte [rdx + rcx], al
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x40]
movsx eax, byte [rcx + rax]
cmp eax, 0x7c
jne 0x1400020b1
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xd8], rax
mov rcx, qword [rsp + 0xd8]
call fcn.1400059c0
cmp qword [rsp + 0xd8], 0
jne 0x140002099
mov qword [rsp + 0x160], 0
jmp 0x1400020af
mov qword [rsp + 0x40], 0x8123
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x160], rax
jmp 0x1400020ff
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xe0], rax
mov rcx, qword [rsp + 0xe0]
call fcn.1400059c0
cmp qword [rsp + 0xe0], 0
jne 0x1400020e4
mov qword [rsp + 0x168], 0
jmp 0x1400020fa
mov qword [rsp + 0x40], 0x8123
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x168], rax
jmp 0x140001fd7
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x440]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x440], rax
mov dword [rsp + 0x30], 0
jmp 0x14000212e
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
cmp rax, qword [rsp + 0x448]
jae 0x140002163
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x440]
movzx eax, byte [rcx + rax]
xor eax, 0x15
movsxd rcx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x440]
mov byte [rdx + rcx], al
jmp 0x140002124
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x170], rax
lea rax, [rsp + 0x24]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x2e0]
mov qword [rsp + 0x180], rax
lea rax, [rsp + 0x25]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x24]
call fcn.140002dc4
mov rcx, rax
call fcn.140003ce8
mov rdx, rax
mov rcx, qword [rsp + 0x170]
call fcn.14000425c
mov qword [rsp + 0x178], rax
mov rax, qword [rsp + 0x178]
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x25]
call fcn.140002ca4
mov rcx, rax
call fcn.140003ce8
mov rdx, rax
mov rcx, qword [rsp + 0x180]
call fcn.14000425c
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov rcx, rax
call fcn.140004844
mov qword [rsp + 0x188], rax
mov rcx, qword [rsp + 0x188]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0xe8], rax
cmp qword [rsp + 0xe8], 0
jne 0x14000227a
mov qword [rsp + 0x190], 0
mov rcx, qword [rsp + 0x90]
call fcn.140004560
mov rcx, qword [rsp + 0x98]
call fcn.140004560
mov rax, qword [rsp + 0x190]
mov qword [rsp + 0xf0], rax
jmp 0x1400022ea
mov rax, qword [rsp + 0x98]
mov rcx, rax
call fcn.140004844
mov qword [rsp + 0x198], rax
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x1a0], rax
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x1a8], rax
mov rcx, qword [rsp + 0x90]
call fcn.140004560
mov rcx, qword [rsp + 0x98]
call fcn.140004560
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x110], rax
mov r9d, 0x40
mov r8d, 0x3000
mov edx, 0x2000
xor ecx, ecx
call qword [rsp + 0x110]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x140002328
xor al, al
jmp 0x140002c8a
mov dword [rsp + 0x48], 0
jmp 0x14000233c
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0x2000
jge 0x140002365
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
mov ecx, 0xff
idiv ecx
mov eax, edx
movsxd rcx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
mov byte [rdx + rcx], al
jmp 0x140002332
mov rax, qword [rsp + 0x58]
add rax, 0x1000
mov qword [rsp + 0x58], rax
mov ecx, 0x40
call fcn.1400011c4
mov qword [rsp + 0x1b0], rax
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0xd0], rax
lea rax, [rsp + 0x400]
mov rdi, rax
xor eax, eax
mov ecx, 0x18
rep stosb byte [rdi], al
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x1b8], rax
mov rax, qword [rsp + 0x1b8]
mov rcx, rax
call fcn.140004fdc
nop
mov r8, qword [rsp + 0x448]
mov rdx, qword [rsp + 0x440]
lea rcx, [rsp + 0x2a0]
call fcn.1400049e4
nop
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x1c0], rax
mov rdx, qword [rsp + 0x1c0]
lea rcx, [rsp + 0x400]
call fcn.140001a20
nop
lea rcx, [rsp + 0x2a0]
call fcn.140004560
mov dword [rsp + 0x4c], 4
jmp 0x140002431
mov eax, dword [rsp + 0x4c]
inc eax
mov dword [rsp + 0x4c], eax
lea rax, [rsp + 0x400]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xf8]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
mov qword [rsp + 0x1c8], rax
movsxd rax, dword [rsp + 0x4c]
cmp rax, qword [rsp + 0x1c8]
jae 0x1400024cd
mov rax, qword [rsp + 0x298]
mov qword [rsp + 0xa0], rax
lea rax, [rsp + 0x400]
mov qword [rsp + 0x1d0], rax
movsxd rax, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x1d0]
mov rcx, qword [rcx]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
movzx eax, byte [rax]
xor eax, 0x21
mov rcx, qword [rsp + 0xa0]
mov byte [rcx], al
jmp 0x140002427
mov rax, qword [rsp + 0x400]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x440], rax
lea rax, [rsp + 0x400]
mov qword [rsp + 0x100], rax
mov rax, qword [rsp + 0x100]
mov rcx, qword [rsp + 0x100]
mov rcx, qword [rcx]
mov rax, qword [rax + 8]
sub rax, rcx
mov qword [rsp + 0x448], rax
mov rax, qword [rsp + 0x440]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x440]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
add rax, 0x18
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x78]
add rax, 4
mov qword [rsp + 0x148], rax
mov rax, qword [rsp + 0x108]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x34], 0
jmp 0x140002596
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
movsxd rax, dword [rsp + 0x34]
cmp rax, qword [rsp + 0x448]
jae 0x1400025cb
movsxd rax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x440]
movzx eax, byte [rcx + rax]
xor eax, 0x15
movsxd rcx, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x440]
mov byte [rdx + rcx], al
jmp 0x14000258c
mov eax, dword [rsp + 0x88]
mov r9d, 0x40
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [rsp + 0x110]
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
jne 0x140002611
mov byte [rsp + 0x26], 0
lea rcx, [rsp + 0x400]
call fcn.140004424
mov al, byte [rsp + 0x26]
jmp 0x140002c8a
mov dword [rsp + 0x38], 0
jmp 0x140002625
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
movsxd rax, dword [rsp + 0x38]
cmp rax, qword [rsp + 0x448]
jae 0x14000265a
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x440]
movzx eax, byte [rcx + rax]
xor eax, 0x15
movsxd rcx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x440]
mov byte [rdx + rcx], al
jmp 0x14000261b
lea rax, [rsp + 0x3c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
lea rax, [rsp + 0x300]
mov qword [rsp + 0x1e8], rax
lea rax, [rsp + 0x27]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x320]
mov qword [rsp + 0x1f8], rax
lea rax, [rsp + 0x28]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x27]
call fcn.140003004
mov rcx, rax
call fcn.140003c60
mov rdx, rax
mov rcx, qword [rsp + 0x1e8]
call fcn.14000425c
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x28]
call fcn.140002ee4
mov rcx, rax
call fcn.140003c60
mov rdx, rax
mov rcx, qword [rsp + 0x1f8]
call fcn.14000425c
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov rcx, rax
call fcn.140004844
mov qword [rsp + 0x200], rax
mov rcx, qword [rsp + 0x200]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 0
jne 0x140002785
mov qword [rsp + 0x208], 0
mov rcx, qword [rsp + 0xa8]
call fcn.140004560
mov rcx, qword [rsp + 0xb0]
call fcn.140004560
mov rax, qword [rsp + 0x208]
mov qword [rsp + 0x120], rax
jmp 0x1400027e5
mov rcx, qword [rsp + 0xb0]
call fcn.140004040
mov rdx, rax
mov rcx, qword [rsp + 0x118]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x210], rax
mov rax, qword [rsp + 0x210]
mov qword [rsp + 0x218], rax
mov rcx, qword [rsp + 0xa8]
call fcn.140004560
mov rcx, qword [rsp + 0xb0]
call fcn.140004560
mov rax, qword [rsp + 0x218]
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x3c0], rax
lea rax, [rsp + 0x340]
mov qword [rsp + 0x220], rax
lea rax, [rsp + 0x29]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x360]
mov qword [rsp + 0x230], rax
lea rax, [rsp + 0x2a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x29]
call fcn.140003244
mov rcx, rax
call fcn.140003b50
mov rdx, rax
mov rcx, qword [rsp + 0x220]
call fcn.14000425c
mov qword [rsp + 0x228], rax
mov rax, qword [rsp + 0x228]
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x2a]
call fcn.140003124
mov rcx, rax
call fcn.140003bd8
mov rdx, rax
mov rcx, qword [rsp + 0x230]
call fcn.14000425c
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov rcx, rax
call fcn.140004844
mov qword [rsp + 0x238], rax
mov rcx, qword [rsp + 0x238]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x128], rax
cmp qword [rsp + 0x128], 0
jne 0x14000290c
mov qword [rsp + 0x240], 0
mov rcx, qword [rsp + 0xb8]
call fcn.140004560
mov rcx, qword [rsp + 0xc0]
call fcn.140004560
mov rax, qword [rsp + 0x240]
mov qword [rsp + 0x130], rax
jmp 0x14000296c
mov rcx, qword [rsp + 0xc0]
call fcn.140004040
mov rdx, rax
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x248], rax
mov rax, qword [rsp + 0x248]
mov qword [rsp + 0x250], rax
mov rcx, qword [rsp + 0xb8]
call fcn.140004560
mov rcx, qword [rsp + 0xc0]
call fcn.140004560
mov rax, qword [rsp + 0x250]
mov qword [rsp + 0x130], rax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x3c8], rax
lea rax, [rsp + 0x380]
mov qword [rsp + 0x258], rax
lea rax, [rsp + 0x2b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rsp + 0x3a0]
mov qword [rsp + 0x268], rax
lea rax, [rsp + 0x2c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rcx, [rsp + 0x2b]
call fcn.14000347c
mov rcx, rax
call fcn.140003a40
mov rdx, rax
mov rcx, qword [rsp + 0x258]
call fcn.14000425c
mov qword [rsp + 0x260], rax
mov rax, qword [rsp + 0x260]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x2c]
call fcn.14000336c
mov rcx, rax
call fcn.140003ac8
mov rdx, rax
mov rcx, qword [rsp + 0x268]
call fcn.14000425c
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140004040
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x138], rax
cmp qword [rsp + 0x138], 0
jne 0x140002a83
mov qword [rsp + 0x270], 0
mov rcx, qword [rsp + 0xc8]
call fcn.140004560
mov rcx, qword [rsp + 0x80]
call fcn.140004560
mov rax, qword [rsp + 0x270]
mov qword [rsp + 0x140], rax
jmp 0x140002ae3
mov rcx, qword [rsp + 0x80]
call fcn.140004040
mov rdx, rax
mov rcx, qword [rsp + 0x138]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x278], rax
mov rax, qword [rsp + 0x278]
mov qword [rsp + 0x280], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140004560
mov rcx, qword [rsp + 0x80]
call fcn.140004560
mov rax, qword [rsp + 0x280]
mov qword [rsp + 0x140], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x3d0], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x3d8], rax
mov dword [rsp + 0x3e8], 0
mov qword [rsp + 0x3f0], 0
mov dword [rsp + 0x3f8], 1
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x440]
mov ecx, 0x1000
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x78]
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x78]
lea rax, [rcx + rax + 0x18]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x54], 0
jmp 0x140002b70
mov eax, dword [rsp + 0x54]
inc eax
mov dword [rsp + 0x54], eax
mov rax, qword [rsp + 0x60]
add rax, 0x28
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x148]
movzx eax, word [rax + 2]
cmp dword [rsp + 0x54], eax
je 0x140002bca
mov rax, qword [rsp + 0x60]
cmp dword [rax + 0x10], 0
je 0x140002bc8
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + 0x14]
mov rdx, qword [rsp + 0x440]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x60]
mov edx, dword [rdx + 0xc]
mov rdi, qword [rsp + 0x68]
add rdi, rdx
mov rdx, rdi
mov rdi, rdx
mov rsi, rcx
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
jmp 0x140002b58
lea rax, [rsp + 0x3c0]
mov rdi, qword [rsp + 0xd0]
mov rsi, rax
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
lea rax, [0x140001224]
mov qword [rsp + 0x288], rax
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x288]
mov ecx, 0x1000
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x400]
call fcn.140003d70
mov dword [rsp + 0x50], 0
jmp 0x140002c28
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
movsxd rax, dword [rsp + 0x50]
cmp rax, qword [rsp + 0x448]
jae 0x140002c4a
movsxd rax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x440]
mov byte [rcx + rax], 0
jmp 0x140002c1e
mov rdi, qword [rsp + 0x68]
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x290], rax
mov rcx, qword [rsp + 0xd0]
call qword [rsp + 0x290]
mov byte [rsp + 0x2d], 1
lea rcx, [rsp + 0x400]
call fcn.140004424
mov al, byte [rsp + 0x2d]
mov rcx, qword [rsp + 0x418]
xor rcx, rsp
call fcn.1400059a0
add rsp, 0x428
pop rdi
pop rsi
ret