joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140198bf0
Capabilities:
Resolve dns

Disassembly:
push rdi
push r12
push r13
push r15
sub rsp, 0x28
mov r13, r9
xor edi, edi
mov qword [r9], rdi
xor r15d, r15d
lea r9, [rsp + 0x68]
call qword [sym.imp.WS2_32.dll_getaddrinfo]
mov r12d, eax
test eax, eax
jne 0x140198d8e
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov rsi, qword [rsp + 0x68]
test rsi, rsi
je 0x140198d6e
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x20], r14
nop
mov rax, qword [rsi + 0x18]
test rax, rax
je 0x140198c5e
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140198c50
inc rbx
jmp 0x140198c60
xor ebx, ebx
mov eax, dword [rsi + 4]
cmp eax, 2
jne 0x140198c6d
lea ebp, [rax + 0xe]
jmp 0x140198c79
cmp eax, 0x17
jne 0x140198d11
lea ebp, [rax + 5]
cmp qword [rsi + 0x20], 0
je 0x140198d11
mov rax, qword [rsi + 0x10]
test rax, rax
je 0x140198d11
cmp rax, rbp
jb 0x140198d11
lea rcx, [rbp + 0x30]
add rcx, rbx
call qword [str.h5_]
mov r14, rax
test rax, rax
je 0x140198d20
mov ecx, dword [rsi]
mov r8, rbp
mov dword [rax], ecx
mov ecx, dword [rsi + 4]
mov dword [rax + 4], ecx
mov ecx, dword [rsi + 8]
mov dword [rax + 8], ecx
mov ecx, dword [rsi + 0xc]
mov dword [rax + 0xc], ecx
lea rcx, [r14 + 0x30]
mov dword [rax + 0x10], ebp
xor eax, eax
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x28], rax
mov qword [r14 + 0x20], rcx
mov rdx, qword [rsi + 0x20]
call fcn.140373d30
test rbx, rbx
je 0x140198cfe
mov rcx, qword [r14 + 0x20]
mov r8, rbx
add rcx, rbp
mov qword [r14 + 0x18], rcx
mov rdx, qword [rsi + 0x18]
call fcn.140373d30
test rdi, rdi
cmove rdi, r14
test r15, r15
je 0x140198d0e
mov qword [r15 + 0x28], r14
mov r15, r14
mov rsi, qword [rsi + 0x28]
test rsi, rsi
jne 0x140198c40
jmp 0x140198d26
mov r12d, 8
mov rcx, qword [rsp + 0x68]
mov r14, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x58]
test rcx, rcx
je 0x140198d40
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
test r12d, r12d
je 0x140198d69
test rdi, rdi
je 0x140198d65
nop word [rax + rax]
mov rbx, qword [rdi + 0x28]
mov rcx, rdi
call qword [fcn.140355fe8]
mov rdi, rbx
test rbx, rbx
jne 0x140198d50
xor edi, edi
jmp 0x140198d7d
test rdi, rdi
jne 0x140198d7d
mov r12d, 0x2af9
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov rsi, qword [rsp + 0x60]
mov eax, r12d
mov rbx, qword [rsp + 0x50]
mov qword [r13], rdi
add rsp, 0x28
pop r15
pop r13
pop r12
pop rdi
ret
Function at 0x14019f070
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
mov ebx, 1
mov edx, ebx
xor ecx, ecx
xor ebp, ebp
call qword [0x140464058]
mov rdi, rax
test rax, rax
je 0x14019f0ed
nop word [rax + rax]
mov r8d, ebx
mov rdx, rdi
mov rcx, r14
mov rbp, rdi
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov ebx, eax
test eax, eax
je 0x14019f118
cmp ebx, esi
je 0x14019f118
cmp ebx, 0x8000
ja 0x14019f118
cmp ebx, esi
jb 0x14019f113
mov edx, ebx
mov rcx, rdi
call qword [0x140464058]
mov rdi, rax
test rax, rax
jne 0x14019f0b0
mov rcx, rbp
call qword [fcn.140355fe8]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
mov rax, rdi
jmp 0x14019f0f8
mov rcx, rdi
jmp 0x14019f0f0
Function at 0x1401a0c70
Capabilities:
Convert ip address from string

Disassembly:
push rbx
push rsi
push rdi
push r15
sub rsp, 0x88
mov rax, qword [0x140463cc0]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rsi, 0xffffffffffffffff
mov qword [rsp + 0x20], rcx
mov rbx, rsi
mov rdi, rdx
nop
inc rbx
cmp byte [rdx + rbx], 0
jne 0x1401a0ca0
mov qword [rsp + 0xc0], rbp
xor r15d, r15d
cmp byte [rdx], 0x5b
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x70], r14
jne 0x1401a0e8d
cmp rbx, 4
jb 0x1401a0e86
inc rdi
sub rbx, 2
cmp byte [rdi + rbx], 0x5d
jne 0x1401a0e86
lea rdx, str.0123456789abcdefABCDEF:.
mov rcx, rdi
call fcn.14035c5a0
cmp rbx, rax
je 0x1401a0dc4
cmp byte [rdi + rax], 0x25
lea r12, [rdi + rax]
mov rbx, rax
jne 0x1401a0e86
lea r8d, [r15 + 2]
mov ebp, r15d
lea rdx, [0x1404023f0]
lea rcx, [r12 + 1]
lea r14, [r12 + 1]
call fcn.14035bf30
test eax, eax
jne 0x1401a0d49
movzx eax, byte [r12 + 3]
lea rcx, [r12 + 3]
test al, al
je 0x1401a0d49
cmp al, 0x5d
cmovne r14, rcx
movzx eax, byte [r14]
test al, al
je 0x1401a0e7f
mov rcx, r15
cmp al, 0x5d
je 0x1401a0d76
cmp rcx, 0xf
jge 0x1401a0d76
inc r14
mov byte [rsp + rcx + 0x28], al
inc ebp
inc rcx
movzx eax, byte [r14]
test al, al
jne 0x1401a0d58
test ebp, ebp
je 0x1401a0e7f
cmp byte [r14], 0x5d
jne 0x1401a0e7f
movsxd rax, ebp
cmp rax, 0x10
jae 0x1401a0ea8
lea rcx, [rsp + 0x28]
mov byte [rsp + rax + 0x28], r15b
call qword [fcn.140350d10]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x28], rax
test rax, rax
jne 0x1401a0dbd
mov eax, 7
jmp 0x1401a0e4b
mov word [r12], 0x5d
lea r8, [rsp + 0x28]
mov byte [rdi + rbx], r15b
mov rdx, rdi
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.WS2_32.dll_inet_pton]
cmp eax, 1
jne 0x1401a0e86
lea r9d, [rax + 0x2d]
lea r8, [rsp + 0x38]
lea rdx, [rsp + 0x28]
lea ecx, [rax + 0x16]
call fcn.1401a2980
test rax, rax
je 0x1401a0e38
lea rax, [rsp + 0x38]
inc rsi
cmp byte [rax + rsi], r15b
jne 0x1401a0e04
cmp rsi, rbx
jae 0x1401a0e38
lea rax, [rsp + 0x38]
mov rdx, rdi
sub rdx, rax
lea rcx, [rsp + 0x38]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1401a0e22
mov rbx, rsi
mov byte [rdi + rsi + 1], r15b
mov byte [rdi + rbx], 0x5d
cmp byte [rdi], r15b
mov eax, ntohs
cmove r15d, eax
mov eax, r15d
mov r14, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14016e4d0
add rsp, 0x88
pop r15
pop rdi
pop rsi
pop rbx
ret
mov eax, 3
jmp 0x1401a0e4b
mov eax, reloc.WS2_32.dll_shutdown
jmp 0x1401a0e4b
lea rdx, str.__r_n_t_:___
mov rcx, rdi
call fcn.14035b8f0
cmp rbx, rax
je 0x1401a0e3c
mov eax, reloc.WS2_32.dll_setsockopt
jmp 0x1401a0e4b
call fcn.14017330c
int3
Function at 0x1401b2df0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov ebp, dword [rsp + 0xa0]
mov rdi, rcx
mov ecx, ebp
mov r14d, 1
neg ecx
mov ebx, r9d
mov r12d, r8d
mov r15, rdx
mov esi, r14d
mov eax, 0x5a0000
cmp ebp, eax
jg 0x1401b2e40
cmp ecx, eax
jle 0x1401b2e49
inc esi
add eax, 0x5a0000
jmp 0x1401b2e38
lea ecx, [rsi*4]
mov eax, ebp
cdq
idiv ecx
mov ecx, eax
call fcn.1401a9d30
mov r13d, eax
lea rcx, [rsp + 0x28]
mov eax, 0x55555556
mov r8d, ebx
imul r13d
mov eax, edx
shr eax, 0x1f
add edx, eax
add r13d, edx
mov edx, r12d
call fcn.1401aa110
mov ecx, dword [rsp + 0x2c]
mov edx, r13d
neg ecx
call fcn.1401a6380
mov ecx, dword [rsp + 0x28]
mov edx, r13d
mov ebx, eax
call fcn.1401a6380
mov ecx, dword [rsp + 0x2c]
mov edx, eax
add ecx, dword [r15 + 4]
mov eax, dword [rsp + 0x28]
add eax, dword [r15]
mov dword [rsp + 0x28], eax
add eax, ebx
mov dword [rsp + 0x30], eax
lea eax, [rcx + rdx]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x2c], ecx
cmp esi, r14d
jl 0x1401b2fbf
mov r12d, ebp
nop
mov eax, ebp
lea rcx, [rsp + 0x20]
cdq
idiv esi
mov edx, dword [rsp + 0x90]
add eax, dword [rsp + 0x98]
mov r8d, eax
call fcn.1401aa110
mov ecx, dword [rsp + 0x24]
mov edx, r13d
call fcn.1401a6380
mov ecx, dword [rsp + 0x20]
mov edx, r13d
neg ecx
mov ebx, eax
call fcn.1401a6380
mov ecx, dword [rsp + 0x20]
mov edx, eax
add ecx, dword [r15]
mov eax, dword [rsp + 0x24]
add ebx, ecx
add eax, dword [r15 + 4]
mov dword [rsp + 0x20], ecx
mov rcx, rdi
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x38], ebx
lea r15d, [rax + rdx]
mov edx, 3
mov dword [rsp + 0x3c], r15d
call fcn.1401b2b60
mov r9d, eax
test eax, eax
jne 0x1401b2fb9
mov ecx, dword [rdi]
inc r14d
mov rax, qword [rdi + 8]
add ebp, r12d
mov r8, qword [rdi + 0x10]
lea rdx, [rax + rcx*8]
mov rax, qword [rsp + 0x30]
mov qword [rdx], rax
mov rax, qword [rsp + 0x38]
mov qword [rdx + 8], rax
mov rax, qword [rsp + 0x20]
mov qword [rdx + 0x10], rax
mov word [r8 + rcx], 0x202
mov byte [r8 + rcx + 2], 1
mov eax, dword [rsp + 0x20]
add dword [rdi], 3
add eax, eax
sub eax, ebx
mov byte [rdi + 0x18], r9b
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x24]
add eax, eax
sub eax, r15d
mov r15, qword [rsp + 0x88]
mov dword [rsp + 0x34], eax
cmp r14d, esi
jle 0x1401b2ed0
mov eax, r9d
jmp 0x1401b2fc1
mov byte [rdi + 0x18], 0
jmp 0x1401b2fc1
xor eax, eax
mov rbx, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401b3930
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov ebp, r8d
mov esi, edx
lea r8d, [rdx + 0x5a0000]
mov rdi, rcx
mov edx, dword [rcx + 0x3c]
lea rcx, [rsp + 0x58]
call fcn.1401aa110
mov r9d, dword [rdi + 8]
add r9d, dword [rsp + 0x58]
mov ecx, dword [rdi + 0xc]
add ecx, dword [rsp + 0x5c]
mov r8d, dword [rdi + 0x5c]
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x44], ecx
test r8d, r8d
js 0x1401b39c6
mov r9d, dword [rdi + 0x40]
lea eax, [r8 + 1]
cmp r9d, eax
ja 0x1401b398d
mov dword [rdi + 0x40], r8d
jmp 0x1401b39c2
mov rcx, qword [rdi + 0x48]
dec r9d
mov dword [rdi + 0x40], r9d
mov rax, qword [rcx + r9*8]
mov qword [rcx + r8*8], rax
mov rcx, qword [rdi + 0x50]
movzx eax, byte [rcx + r9]
mov byte [rcx + r8], al
lea ecx, [r9 - 1]
mov rax, qword [rdi + 0x50]
or byte [r8 + rax], 4
mov rax, qword [rdi + 0x50]
or byte [rcx + rax], 8
mov byte [rdi + 0x58], 0
mov eax, dword [rdi + 0x40]
lea rcx, [rdi + 0x40]
mov edx, 1
mov dword [rdi + 0x5c], eax
mov byte [rdi + 0x58], 0
call fcn.1401b2b60
test eax, eax
jne 0x1401b3ae1
mov r8d, dword [rdi + 0x40]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rdi + 0x48]
mov rdx, qword [rdi + 0x50]
mov qword [rcx + r8*8], rax
mov byte [rdx + r8], 1
inc dword [rdi + 0x40]
mov byte [rdi + 0x58], 0
mov eax, dword [rdi + 8]
sub eax, dword [rsp + 0x58]
mov r8d, dword [rdi + 0x8c]
mov dword [rsp + 0x40], eax
mov eax, dword [rdi + 0xc]
sub eax, dword [rsp + 0x5c]
mov dword [rsp + 0x44], eax
test r8d, r8d
js 0x1401b3a81
mov r9d, dword [rdi + 0x70]
lea eax, [r8 + 1]
cmp r9d, eax
ja 0x1401b3a3c
mov dword [rdi + 0x70], r8d
jmp 0x1401b3a7a
mov rcx, qword [rdi + 0x78]
dec r9d
mov dword [rdi + 0x70], r9d
mov rax, qword [rcx + r9*8]
mov qword [rcx + r8*8], rax
mov rcx, qword [rdi + 0x80]
movzx eax, byte [rcx + r9]
mov byte [rcx + r8], al
lea ecx, [r9 - 1]
mov rax, qword [rdi + 0x80]
or byte [r8 + rax], 4
mov rax, qword [rdi + 0x80]
or byte [rcx + rax], 8
mov byte [rdi + 0x88], 0
mov eax, dword [rdi + 0x70]
lea rcx, [rdi + 0x70]
mov edx, 1
mov dword [rdi + 0x8c], eax
mov byte [rdi + 0x88], 0
call fcn.1401b2b60
test eax, eax
jne 0x1401b3ac3
mov r9d, dword [rdi + 0x70]
mov rdx, qword [rdi + 0x78]
mov r8, qword [rdi + 0x80]
mov rcx, qword [rsp + 0x40]
mov qword [rdx + r9*8], rcx
mov byte [r8 + r9], 1
inc dword [rdi + 0x70]
mov byte [rdi + 0x88], 0
mov dword [rdi + 0x18], esi
mov byte [rdi + 0x14], 0
mov dword [rdi + 0x24], ebp
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
mov byte [rdi + 0x58], 0
mov rbx, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x1401bc610
Capabilities:
Encode data using xor

Disassembly:
push rbx
movsxd rbx, r9d
mov r10, r8
mov r11, rdx
cmp rdx, r8
je 0x1401bc772
mov qword [rsp + 0x10], rsi
lea rsi, [rcx - 1]
not rcx
shr rsi, 0x3f
shr rcx, 0x3f
and rsi, rcx
mov ecx, dword [rdx + 8]
xor ecx, dword [r8 + 8]
dec rsi
and ecx, esi
xor dword [rdx + 8], ecx
xor dword [r8 + 8], ecx
mov ecx, dword [rdx + 0x10]
movq xmm4, rsi
xor ecx, dword [r8 + 0x10]
and ecx, esi
punpcklqdq xmm4, xmm4
xor dword [rdx + 0x10], ecx
xor dword [r8 + 0x10], ecx
mov edx, dword [rdx + 0x14]
mov ecx, dword [r8 + 0x14]
xor rcx, rdx
and ecx, 4
and rcx, rsi
mov eax, ecx
xor eax, edx
mov dword [r11 + 0x14], eax
xor dword [r8 + 0x14], ecx
xor ecx, ecx
mov edx, ecx
test r9d, r9d
jle 0x1401bc72e
cmp ebx, 2
jb 0x1401bc72e
mov r9, qword [r8]
lea rax, [rbx - 1]
mov r8, qword [r11]
mov qword [rsp + 0x18], rdi
lea rdi, [rbx - 1]
lea rdi, [r9 + rdi*8]
lea rax, [r8 + rax*8]
cmp r9, rax
ja 0x1401bc6be
cmp rdi, r8
jae 0x1401bc729
cmp r9, r10
ja 0x1401bc6c8
cmp rdi, r10
jae 0x1401bc729
cmp r9, r11
ja 0x1401bc6d2
cmp rdi, r11
jae 0x1401bc729
cmp r8, r10
ja 0x1401bc6dc
cmp rax, r10
jae 0x1401bc729
cmp r8, r11
ja 0x1401bc6e6
cmp rax, r11
jae 0x1401bc729
mov eax, ebx
and eax, 0xfffffffe
nop dword [rax + rax]
movdqu xmm2, xmmword [rcx + r9]
add edx, 2
movdqu xmm1, xmmword [rcx + r8]
lea rcx, [rcx + 0x10]
movdqa xmm3, xmm2
xorps xmm3, xmm1
andps xmm3, xmm4
movdqa xmm0, xmm3
xorps xmm3, xmm2
xorps xmm0, xmm1
movdqu xmmword [rcx + r8 - 0x10], xmm0
movdqu xmmword [rcx + r9 - 0x10], xmm3
cmp edx, eax
jl 0x1401bc6f0
mov rdi, qword [rsp + 0x18]
movsxd rax, edx
cmp rax, rbx
jge 0x1401bc76d
nop word [rax + rax]
mov rcx, qword [r11]
mov rdx, qword [rcx + rax*8]
lea r8, [rcx + rax*8]
mov rcx, qword [r10]
mov r9, rdx
xor r9, qword [rcx + rax*8]
and r9, rsi
xor rdx, r9
mov qword [r8], rdx
mov rcx, qword [r10]
xor qword [rcx + rax*8], r9
inc rax
cmp rax, rbx
jl 0x1401bc740
mov rsi, qword [rsp + 0x10]
pop rbx
ret
Function at 0x1401e4d60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rdi
push r12
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov r12d, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.1401a63a0
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1401e4db8
xor eax, eax
add rsp, 0x50
pop r12
pop rdi
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rbp
mov ebp, dword [rbx + 0x40]
mov qword [rsp + 0x48], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x3c]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x34]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x38]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r13d
test r12d, r12d
jg 0x1401e4e0f
mov ebx, 0x4b0000
jmp 0x1401e4e1f
shl r12d, 0x10
mov edx, ecx
mov ecx, r12d
call fcn.1401a6380
mov ebx, eax
bsr ecx, ebx
bsr eax, edi
shl r13d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x1401e4e35
mov ecx, r13d
jmp 0x1401e4e40
mov edx, edi
mov ecx, ebx
call fcn.1401a6380
mov ecx, eax
mov r8d, dword [rsp + 0x88]
mov eax, r8d
shl eax, 0x10
cmp ecx, eax
jge 0x1401e4e5c
shl esi, 0x10
mov ecx, esi
jmp 0x1401e4f22
mov edx, dword [rsp + 0x70]
mov r12d, edx
shl r12d, 0x10
cmp ecx, r12d
jge 0x1401e4e8f
mov r13d, edx
mov ecx, eax
mov edx, edi
sub r13d, r8d
call fcn.1401a63a0
mov ecx, ebx
sub ecx, eax
test r13d, r13d
je 0x1401e4edf
sub r15d, esi
mov r8d, r13d
mov edx, r15d
jmp 0x1401e4ec8
mov eax, r14d
shl eax, 0x10
cmp ecx, eax
jl 0x1401e4ee3
cmp ecx, r13d
jge 0x1401e4f1d
mov r15d, dword [rsp + 0x20]
mov edx, edi
sub r15d, r14d
shl r14d, 0x10
mov ecx, r14d
call fcn.1401a63a0
sub ebx, eax
test r15d, r15d
je 0x1401e4f1d
mov esi, dword [rsp + 0x78]
mov r8d, r15d
sub ebp, esi
mov ecx, ebx
mov edx, ebp
call fcn.1401a62e0
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.1401a63a0
add ebx, eax
jmp 0x1401e4f2b
mov edx, dword [rsp + 0x70]
mov esi, r14d
mov ecx, r12d
sub esi, edx
mov edx, edi
call fcn.1401a63a0
mov ecx, ebx
sub ecx, eax
test esi, esi
je 0x1401e4e9e
mov edx, dword [rsp + 0x78]
mov r8d, esi
sub edx, r15d
call fcn.1401a62e0
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.1401a63a0
add ebx, eax
jmp 0x1401e4f2b
shl ebp, 0x10
mov ecx, ebp
mov edx, edi
call fcn.1401a63a0
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x80]
add rsp, 0x50
pop r12
pop rdi
pop rbx
jmp fcn.1401a63a0
Function at 0x140230ae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x140463cc0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x140230c7c
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x140230c7c
cmp r10d, r14d
jne 0x140230b80
sub rbx, 0x10
jmp 0x140230cc4
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x140230bf2
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x140230bb4
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x140230bbc
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x140230bdb
movzx edx, r11b
mov rcx, rsi
call fcn.1402303b0
test al, al
jne 0x140230cd5
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1402302c0
test al, al
jne 0x140230cd5
mov edx, dword [rsi + 0x64]
lea r9, [0x1402304e0]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x140230c1e
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1402307a0
jmp 0x140230c72
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.1402307a0
test dil, dil
je 0x140230c6a
cmp byte [rsi + 0x6a], 0
jne 0x140230c6a
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x140230cd5
sub rbx, 0x10
jmp 0x140230cc4
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x140230cd9
mov ebp, dword [rbx]
jmp 0x140230b40
mov al, 1
jmp 0x140230ce2
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14016e4d0
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x140231310
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
xor r15d, r15d
sub rax, 0x34
mov qword [rcx + 0x78], r15
mov qword [rcx + 0x28], rax
mov r14d, edx
mov rax, qword [rcx + 0x30]
mov rbx, rcx
mov word [rcx + 0x6a], r15w
lea ebp, [r15 - 1]
mov dword [rcx + 0x3c], r15d
mov edi, r15d
mov qword [rcx + 0x70], rax
mov qword [rax + 0x10], rax
mov word [rcx + 0x68], r15w
cmp r15w, word [rcx + 0xb8]
jge 0x14023144b
mov esi, r15d
mov rax, qword [rbx + 0xd0]
lea edx, [rbp + 1]
mov dword [rbx + 0x88], r15d
mov r9d, r14d
mov qword [rbx + 0x80], r15
mov rcx, rbx
movsx ebp, word [rsi + rax]
mov r8d, ebp
call fcn.140230fd0
test al, al
jne 0x1402314e6
mov r8d, dword [rbx + 4]
mov edx, dword [rbx + 0x5c]
lea eax, [r8 - 1]
test edx, eax
jne 0x1402313df
cmp edx, dword [rbx + 0x60]
jl 0x1402313df
cmp edx, dword [rbx + 0x64]
jg 0x1402313df
mov rcx, qword [rbx + 0x80]
test rcx, rcx
je 0x1402313df
mov rax, qword [rbx + 0x70]
movzx ecx, byte [rcx + 0x18]
xor cl, byte [rax + 0x18]
test cl, 8
jne 0x1402313df
add qword [rbx + 0x30], 0xfffffffffffffffc
mov r9, qword [rbx + 0x70]
mov rax, qword [r9 + 0x10]
cmp qword [rbx + 0x30], rax
je 0x140231402
test byte [r9 + 0x18], 8
je 0x140231402
neg r8d
and r8d, edx
sub edx, r8d
cmp edx, dword [rbx + 8]
jmp 0x140231413
lea eax, [r8 - 1]
neg r8d
add eax, edx
and eax, r8d
sub eax, edx
cmp eax, dword [rbx + 8]
setge dl
mov rcx, rbx
call fcn.1402303b0
test al, al
jne 0x1402314e6
mov rax, qword [rbx + 0x80]
test rax, rax
je 0x140231436
mov qword [r9 + 0x28], rax
movsx eax, word [rbx + 0xb8]
inc edi
add rsi, 2
cmp edi, eax
jl 0x140231373
movzx edi, word [rbx + 0x68]
mov rdx, qword [rbx + 0x78]
cmp di, 1
jbe 0x1402314ea
test rdx, rdx
je 0x1402314ea
mov ebp, 0xffff
nop dword [rax + rax]
lea rsi, [rdx + 8]
cmp di, 1
jbe 0x140231488
movsxd rcx, dword [rdx + 0x1c]
mov rax, qword [rdx + 0x10]
lea r10, [rax + rcx*4]
jmp 0x14023148b
mov r10, r15
mov qword [rsi], r10
test byte [rdx + 0x18], 8
mov r11d, dword [rdx + 0x20]
mov r8d, r11d
mov eax, dword [rdx + 0x1c]
je 0x1402314a6
dec r11d
add r11d, eax
jmp 0x1402314bd
sub r8d, eax
inc r8d
dec eax
mov dword [rdx + 0x20], r8d
movsxd rcx, eax
shl rcx, 2
add qword [rdx + 0x10], rcx
mov edx, r8d
mov rcx, rbx
call fcn.140230450
test al, al
jne 0x1402314e6
lea edx, [r11 + 1]
mov rcx, rbx
call fcn.140230450
test al, al
jne 0x1402314e6
mov rdx, qword [rsi]
add di, bp
jne 0x140231470
jmp 0x1402314ee
mov al, 1
jmp 0x1402314f9
mov qword [rbx + 0x78], r15
mov rax, qword [rbx + 0x28]
cmp qword [rbx + 0x30], rax
setae al
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret