Function at 0x140051c40
Capabilities:
Access peb ldr_data
Get kernel32 base address
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1fd8]
mov eax, 0x20d8
call fcn.140099280
sub rsp, rax
mov r14d, edx
mov r12, rcx
xor r13d, r13d
mov rax, qword gs:[0x60]
mov r8, qword [rax + 0x18]
mov rdi, qword [r8 + 0x10]
cmp qword [rdi + 0x60], r13
je 0x140051d2d
nop
mov r11, qword [rdi + 0x30]
movsxd rax, dword [r11 + 0x3c]
mov ecx, dword [rax + r11 + 0x88]
test ecx, ecx
je 0x140051d1f
lea rax, [r11 + rcx]
mov r8d, dword [rax + 0x20]
add r8, r11
mov r10d, dword [rax + 0x24]
add r10, r11
mov esi, dword [rax + 0x1c]
add rsi, r11
mov r9, r13
mov ebx, dword [rax + 0x18]
test rbx, rbx
je 0x140051d1f
nop word [rax + rax]
mov edx, dword [r8]
add rdx, r11
mov ecx, 0x27029944
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140051d0f
nop word [rax + rax]
ror ecx, 0x1b
movsx eax, al
add ecx, eax
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x140051cf0
cmp ecx, 0x440bea18
je 0x1400522d2
inc r9
add r8, 4
add r10, 2
cmp r9, rbx
jb 0x140051cd0
mov rdi, qword [rdi]
cmp qword [rdi + 0x60], 0
jne 0x140051c90
mov rbx, r13
movdqa xmm0, xmmword [0x1400b3600]
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x8137bd69
mov dword [rsp + 0x44], 0x113da9c6
mov word [rsp + 0x48], 0x100
lea rcx, [rsp + 0x30]
call fcn.1400760f0
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x30]
call rbx
mov r15, rax
test rax, rax
jne 0x14005213b
mov rcx, qword gs:[0x60]
mov rdx, qword [rcx + 0x18]
mov rdi, qword [rdx + 0x10]
cmp qword [rdi + 0x60], rax
je 0x140051e3d
nop word [rax + rax]
mov r11, qword [rdi + 0x30]
movsxd rax, dword [r11 + 0x3c]
mov ecx, dword [rax + r11 + 0x88]
test ecx, ecx
je 0x140051e2f
lea rax, [r11 + rcx]
mov r8d, dword [rax + 0x20]
add r8, r11
mov r10d, dword [rax + 0x24]
add r10, r11
mov esi, dword [rax + 0x1c]
add rsi, r11
mov r9, r13
mov ebx, dword [rax + 0x18]
test rbx, rbx
je 0x140051e2f
nop word [rax + rax]
mov edx, dword [r8]
add rdx, r11
mov ecx, 0x27029944
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140051e1f
nop word [rax + rax]
ror ecx, 0x1b
movsx eax, al
add ecx, eax
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x140051e00
cmp ecx, 0xb7c7633e
je 0x1400522e1
inc r9
add r8, 4
add r10, 2
cmp r9, rbx
jb 0x140051de0
mov rdi, qword [rdi]
cmp qword [rdi + 0x60], 0
jne 0x140051da0
mov rbx, r13
movdqa xmm0, xmmword [0x1400b39e0]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x40], 0x100
lea rcx, [rsp + 0x30]
call fcn.140006b10
movdqa xmm0, xmmword [0x1400b3a10]
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x1400b3540]
movdqu xmmword [rbp - 0x80], xmm1
movdqa xmm0, xmmword [0x1400b3990]
movdqu xmmword [rbp - 0x70], xmm0
movdqa xmm1, xmmword [0x1400b3910]
movdqu xmmword [rbp - 0x60], xmm1
movdqa xmm0, xmmword [0x1400b3a40]
movdqu xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x40], 0xa0dfad02
mov dword [rbp - 0x3c], 0xd1bd0986
mov word [rbp - 0x38], 0x46
mov byte [rbp - 0x36], 1
lea rcx, [rsp + 0x70]
call fcn.1400760a0
mov r9d, 0x30
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x70]
xor ecx, ecx
call rbx
mov dword [0], 5
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rdi, qword [rcx + 0x10]
cmp qword [rdi + 0x60], 0
je 0x140051f9d
nop
mov r11, qword [rdi + 0x30]
movsxd rax, dword [r11 + 0x3c]
mov ecx, dword [rax + r11 + 0x88]
test ecx, ecx
je 0x140051f8f
lea rax, [r11 + rcx]
mov r8d, dword [rax + 0x20]
add r8, r11
mov r10d, dword [rax + 0x24]
add r10, r11
mov esi, dword [rax + 0x1c]
add rsi, r11
mov r9, r13
mov ebx, dword [rax + 0x18]
test rbx, rbx
je 0x140051f8f
nop word [rax + rax]
mov edx, dword [r8]
add rdx, r11
mov ecx, 0x27029944
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x140051f7f
nop word [rax + rax]
ror ecx, 0x1b
movsx eax, al
add ecx, eax
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x140051f60
cmp ecx, 0x5bb6fc47
je 0x1400522f0
inc r9
add r8, 4
add r10, 2
cmp r9, rbx
jb 0x140051f40
mov rdi, qword [rdi]
cmp qword [rdi + 0x60], 0
jne 0x140051f00
mov r14, r13
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rdi, qword [rcx + 0x10]
cmp qword [rdi + 0x60], 0
je 0x14005205d
nop dword [rax]
mov r11, qword [rdi + 0x30]
movsxd rax, dword [r11 + 0x3c]
mov ecx, dword [rax + r11 + 0x88]
test ecx, ecx
je 0x14005204f
lea rax, [r11 + rcx]
mov r8d, dword [rax + 0x20]
add r8, r11
mov r10d, dword [rax + 0x24]
add r10, r11
mov esi, dword [rax + 0x1c]
add rsi, r11
mov r9, r13
mov ebx, dword [rax + 0x18]
test rbx, rbx
je 0x14005204f
nop word [rax + rax]
mov edx, dword [r8]
add rdx, r11
mov ecx, 0x27029944
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x14005203f
nop word [rax + rax]
ror ecx, 0x1b
movsx eax, al
add ecx, eax
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x140052020
cmp ecx, 0xb457c240
je 0x140052300
inc r9
add r8, 4
add r10, 2
cmp r9, rbx
jb 0x140052000
mov rdi, qword [rdi]
cmp qword [rdi + 0x60], 0
jne 0x140051fc0
mov rcx, r13
call rcx
xor edx, edx
mov rcx, rax
call r14
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rdi, qword [rcx + 0x10]
cmp qword [rdi + 0x60], 0
je 0x14005212d
nop word [rax + rax]
mov r11, qword [rdi + 0x30]
movsxd rax, dword [r11 + 0x3c]
mov ecx, dword [rax + r11 + 0x88]
test ecx, ecx
je 0x14005211f
lea rax, [r11 + rcx]
mov r8d, dword [rax + 0x20]
add r8, r11
mov r10d, dword [rax + 0x24]
add r10, r11
mov esi, dword [rax + 0x1c]
add rsi, r11
mov r9, r13
mov ebx, dword [rax + 0x18]
test rbx, rbx
je 0x14005211f
nop word [rax + rax]
mov edx, dword [r8]
add rdx, r11
mov ecx, 0x27029944
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x14005210f
nop word [rax + rax]
ror ecx, 0x1b
movsx eax, al
add ecx, eax
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x1400520f0
cmp ecx, 0x9476ddbd
je 0x14005230f
inc r9
add r8, 4
add r10, 2
cmp r9, rbx
jb 0x1400520d0
mov rdi, qword [rdi]
cmp qword [rdi + 0x60], 0
jne 0x140052090
mov rdx, r13
xor ecx, ecx
call rdx
mov r14d, dword [rbp + 0x2028]
xor ecx, ecx
call fcn.140089c18
mov ecx, eax
call fcn.14007cb08
mov r8d, 1
lea rdx, [0x1400b0834]
mov rcx, r12
call fcn.140076390
call fcn.14007cadc
mov edx, eax
lea rcx, [rsp + 0x30]
call fcn.140076410
nop
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0xf
cmova rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x40]
mov rcx, r12
call fcn.140076390
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400521cc
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400521c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005279a
call fcn.140077164
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rdi, qword [rcx + 0x10]
cmp qword [rdi + 0x60], 0
je 0x14005228d
nop dword [rax + rax]
mov r11, qword [rdi + 0x30]
movsxd rax, dword [r11 + 0x3c]
mov ecx, dword [rax + r11 + 0x88]
test ecx, ecx
je 0x14005227f
lea rax, [r11 + rcx]
mov r8d, dword [rax + 0x20]
add r8, r11
mov r10d, dword [rax + 0x24]
add r10, r11
mov esi, dword [rax + 0x1c]
add rsi, r11
mov r9, r13
mov ebx, dword [rax + 0x18]
test rbx, rbx
je 0x14005227f
nop word [rax + rax]
mov edx, dword [r8]
add rdx, r11
mov ecx, 0x27029944
movzx eax, byte [rdx]
inc rdx
test al, al
je 0x14005226f
nop word [rax + rax]
ror ecx, 0x1b
movsx eax, al
add ecx, eax
movzx eax, byte [rdx]
lea rdx, [rdx + 1]
test al, al
jne 0x140052250
cmp ecx, 0xf517f7c6
je 0x14005231e
inc r9
add r8, 4
add r10, 2
cmp r9, rbx
jb 0x140052230
mov rdi, qword [rdi]
cmp qword [rdi + 0x60], 0
jne 0x1400521f0
mov r10, r13
mov rdx, r12
cmp qword [r12 + 0x18], 0xf
jbe 0x14005229f
mov rdx, qword [r12]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call r10
mov r15, rax
test rax, rax
jne 0x140052368
test r14d, r14d
jne 0x14005232e
mov dword [0x1401038e0], r13d
jmp 0x140052368
movzx eax, word [r10]
mov ebx, dword [rsi + rax*4]
add rbx, r11
jmp 0x140051d30
movzx eax, word [r10]
mov ebx, dword [rsi + rax*4]
add rbx, r11
jmp 0x140051e40
movzx eax, word [r10]
mov r14d, dword [rsi + rax*4]
add r14, r11
jmp 0x140051fa0
movzx eax, word [r10]
mov ecx, dword [rsi + rax*4]
add rcx, r11
jmp 0x140052060
movzx eax, word [r10]
mov edx, dword [rsi + rax*4]
add rdx, r11
jmp 0x140052130
movzx eax, word [r10]
mov r10d, dword [rsi + rax*4]
add r10, r11
jmp 0x140052290
cmp r14d, 1
jne 0x14005233d
mov dword [0x1401038d0], r13d
jmp 0x140052368
cmp r14d, 2
jne 0x14005234c
mov dword [0x1401038c4], r13d
jmp 0x140052368
cmp r14d, 3
jne 0x14005235b
mov dword [0x1401038e4], r13d
jmp 0x140052368
cmp r14d, 4
jne 0x140052368
mov dword [0x1401038dc], r13d
mov r14d, dword [rbp + 0x2030]
nop
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rdi, qword [rcx + 0x10]
cmp qword [rdi + 0x60], 0
je 0x140052428
nop dword [rax]
mov r11, qword [rdi + 0x30]
movsxd rax, dword [r11 + 0x3c]
mov ecx, dword [rax + r11 + 0x88]
test ecx, ecx
je 0x14005241a
lea rax, [r11 + rcx]
mov r8d, dword [rax + 0x20]
add r8, r11
mov r10d, dword [rax + 0x24]
add r10, r11
mov esi, dword [rax + 0x1c]
add rsi, r11
mov r9, r13
mov ebx, dword [rax + 0x18]
test rbx, rbx
je 0x14005241a
nop word [rax + rax]
mov edx, dword [r8]
add rdx, r11
mov eax, 0x27029944
movzx ecx, byte [rdx]
inc rdx
test cl, cl
je 0x14005240a
nop word [rax + rax]
ror eax, 0x1b
movsx ecx, cl
add eax, ecx
movzx ecx, byte [rdx]
lea rdx, [rdx + 1]
test cl, cl
jne 0x1400523f0
cmp eax, 0x2c705400
je 0x14005245b
inc r9
add r8, 4
add r10, 2
cmp r9, rbx
jb 0x1400523d0
mov rdi, qword [rdi]
cmp qword [rdi + 0x60], 0
jne 0x140052390
mov r10, r13
lea r9, [rbp + 0x2038]
mov r8d, 0x1000
lea rdx, [rbp + 0xfd0]
mov rcx, r15
call r10
test eax, eax
je 0x140052468
mov eax, dword [rbp + 0x2038]
test eax, eax
je 0x140052468
mov r14d, eax
jmp 0x140052370
movzx eax, word [r10]
mov r10d, dword [rsi + rax*4]
add r10, r11
jmp 0x14005242b
mov word [rbp + 0x2031], 0x73
mov byte [rbp + 0x2030], 0x25
mov byte [rbp + 0x2033], 0
lea edx, [r14 + 1]
lea r9, [rbp + 0xfd0]
lea r8, [rbp + 0x2030]
lea rcx, [rbp - 0x30]
call fcn.140050670
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
lea rax, [rbp - 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400524c0
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x50]
call fcn.1400073d0
nop
mov word [rbp + 0x2033], 0x70
mov word [rbp + 0x2030], 0x7468
mov byte [rbp + 0x2032], 0x74
mov byte [rbp + 0x2035], 0
lea rax, [rbp + 0x2030]
mov rsi, rbx
inc rsi
cmp byte [rax + rsi], 0
jne 0x140052503
lea r14, [rsp + 0x50]
mov r12, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
cmp r13, 0xf
cmova r14, r12
mov rax, qword [rsp + 0x60]
cmp rsi, rax
ja 0x140052595
sub rax, rsi
test rsi, rsi
je 0x1400525b7
lea r15, [r14 + rax]
lea r8, [r15 + 1]
sub r8, r14
mov edx, 0x68
mov rcx, r14
call fcn.14009bd60
mov rdi, rax
test rax, rax
je 0x140052595
nop dword [rax]
mov r8, rsi
lea rdx, [rbp + 0x2030]
mov rcx, rdi
call fcn.14009bc80
test eax, eax
je 0x1400525ae
inc rdi
lea r8, [r15 + 1]
sub r8, rdi
mov edx, 0x68
mov rcx, rdi
call fcn.14009bd60
mov rdi, rax
test rax, rax
jne 0x140052560
mov eax, dword [rbp + 0x2028]
test eax, eax
jne 0x1400526bf
mov dword [0x1401038e0], eax
jmp 0x140052701
sub rdi, r14
cmp rdi, 0xffffffffffffffff
je 0x140052595
mov eax, dword [rbp + 0x2028]
test eax, eax
jne 0x1400525f1
mov dword [0x1401038e0], 1
lea rax, [rbp - 0x30]
nop
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400525d0
mov r8, rbx
lea rdx, [rbp - 0x30]
lea rcx, [0x140103dc8]
call fcn.140007240
jmp 0x140052701
cmp eax, 1
jne 0x140052621
mov dword [0x1401038d0], eax
lea rax, [rbp - 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140052600
mov r8, rbx
lea rdx, [rbp - 0x30]
lea rcx, [0x140103de8]
call fcn.140007240
jmp 0x140052701
cmp eax, 2
jne 0x140052655
mov dword [0x1401038c4], 1
lea rax, [rbp - 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140052634
mov r8, rbx
lea rdx, [rbp - 0x30]
lea rcx, [0x140103e08]
call fcn.140007240
jmp 0x140052701
cmp eax, 3
jne 0x14005268e
mov dword [0x1401038e4], 1
lea rax, [rbp - 0x30]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140052670
mov r8, rbx
lea rdx, [rbp - 0x30]
lea rcx, [0x140103e28]
call fcn.140007240
jmp 0x140052701
cmp eax, 4
jne 0x140052701
mov dword [0x1401038dc], 1
lea rax, [rbp - 0x30]
inc rbx
cmp byte [rax + rbx], 0
jne 0x1400526a1
mov r8, rbx
lea rdx, [rbp - 0x30]
lea rcx, [0x140103e48]
call fcn.140007240
jmp 0x140052701
cmp eax, 1
jne 0x1400526d0
mov dword [0x1401038d0], 0
jmp 0x140052701
cmp eax, 2
jne 0x1400526e1
mov dword [0x1401038c4], 0
jmp 0x140052701
cmp eax, 3
jne 0x1400526f2
mov dword [0x1401038e4], 0
jmp 0x140052701
cmp eax, 4
jne 0x140052701
mov dword [0x1401038dc], 0
cmp r13, 0xf
jbe 0x140052736
lea rdx, [r13 + 1]
mov rax, r12
cmp rdx, 0x1000
jb 0x14005272d
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005279a
mov rcx, r12
call fcn.140077164
nop
mov rbx, qword [rbp + 0x2020]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140052773
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14005276e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400527a0
mov rcx, r8
call fcn.140077164
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
add rsp, 0x20d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.14007cf90
nop
call fcn.14007cf90
int3