joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100024e34
Capabilities:
Get token membership

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xd0
mov rbx, rcx
mov rdi, r8
lea rdx, [0x1000084b8]
lea rcx, [rsp + 0x40]
mov r9d, 1
mov r8d, 0x11a
call fcn.10001ed8c
and dword [rsp + 0xe0], 0
and qword [rsp + 0x80], 0
xor edx, edx
lea rcx, [rsp + 0x88]
lea r8d, [rdx + 0x40]
call fcn.10002a670
and qword [rsp + 0x30], 0
and dword [rsp + 0xf8], 0
mov dword [rsp + 0x78], 0x48
mov dword [rsp + 0x38], 1
mov eax, 0x123
test rbx, rbx
jne 0x100024ec3
mov ebx, 0x80070057
mov dword [rsp + 0x40], ebx
mov word [rsp + 0x46], ax
jmp 0x100025070
and dword [rsp + 0x40], 0
xor edx, edx
lea r9, [rsp + 0x78]
lea r8, [rsp + 0x80]
lea ecx, [rdx + 0x1a]
mov word [rsp + 0x44], ax
call qword [sym.imp.ADVAPI32.dll_CreateWellKnownSid]
test eax, eax
jne 0x100024efb
call fcn.100020b84
mov ebx, eax
mov dword [rsp + 0x40], eax
mov eax, 0x125
jmp 0x100024eb9
and dword [rsp + 0x40], 0
mov eax, 0x125
mov r9d, 4
mov word [rsp + 0x44], ax
lea rax, [rsp + 0xf8]
lea r8, [rsp + 0x38]
lea edx, [r9 + 4]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x100024f48
call fcn.100020b84
mov ebx, eax
mov dword [rsp + 0x40], eax
mov eax, 0x126
jmp 0x100024eb9
cmp dword [rsp + 0xf8], 4
mov eax, 0x126
mov word [rsp + 0x44], ax
mov eax, 0x127
je 0x100024f6b
mov ebx, 0x80004005
jmp 0x100024eb5
and dword [rsp + 0x40], 0
cmp dword [rsp + 0x38], 2
mov word [rsp + 0x44], ax
je 0x100025025
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x100024f9c
cmp rcx, 0xffffffffffffffff
je 0x100024f9c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x30], 0
lea rax, [rsp + 0x30]
mov r9d, 2
xor r8d, r8d
mov qword [rsp + 0x28], rax
xor edx, edx
mov rcx, rbx
mov dword [rsp + 0x20], 2
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x100024fdb
call fcn.100020b84
mov ebx, eax
mov dword [rsp + 0x40], eax
mov eax, 0x12a
jmp 0x100024eb9
mov rcx, qword [rsp + 0x30]
and dword [rsp + 0x40], 0
mov eax, 0x12a
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x80]
mov word [rsp + 0x44], ax
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x10002501e
call fcn.100020b84
mov ebx, eax
mov dword [rsp + 0x40], eax
mov eax, 0x12b
jmp 0x100024eb9
mov eax, 0x12b
jmp 0x10002505c
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x100025057
call fcn.100020b84
mov ebx, eax
mov dword [rsp + 0x40], eax
mov eax, 0x12f
jmp 0x100024eb9
mov eax, 0x12f
mov word [rsp + 0x44], ax
mov eax, dword [rsp + 0xe0]
xor ebx, ebx
mov dword [rdi], eax
mov dword [rsp + 0x40], ebx
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x10002508c
cmp rcx, 0xffffffffffffffff
je 0x10002508c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x40]
call fcn.10001eea4
mov eax, ebx
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret
Function at 0x1000250b0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x80
mov r9d, 1
mov ebx, ecx
lea rdx, [0x1000084c8]
lea r8d, [r9 + 0x20]
lea rcx, [rsp + 0x40]
call fcn.10001ed8c
xor eax, eax
xor edi, edi
lea r8, [rsp + 0x20]
lea r9d, [rdi + 0x10]
lea edx, [rdi + 0x58]
mov ecx, ebx
mov dword [rsp + 0x20], edi
mov dword [rsp + 0x24], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x2c], eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp eax, edi
jne 0x100025127
call fcn.100020b84
mov edi, eax
mov dword [rsp + 0x40], eax
mov eax, 0x26
mov word [rsp + 0x46], ax
jmp 0x100025147
bt dword [rsp + 0x2c], 0x1b
jae 0x100025136
mov eax, 0x2b
jmp 0x10002513e
mov edi, 1
lea eax, [rdi + 0x2d]
mov word [rsp + 0x44], ax
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x40]
call fcn.10001eea4
mov rbx, qword [rsp + 0x90]
mov eax, edi
add rsp, 0x80
pop rdi
ret

Function at 0x10002524c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rdi, rcx
lea rdx, [0x100008508]
lea rcx, [rsp + 0x20]
mov r9d, 1
mov r8d, 0x8c
call fcn.10001ed8c
mov dword [rsp + 0x70], 1
mov eax, 0x8f
test rdi, rdi
jne 0x10002529b
mov ebx, 0x80070057
mov dword [rsp + 0x20], ebx
mov word [rsp + 0x26], ax
jmp 0x10002539c
and dword [rsp + 0x20], 0
mov word [rsp + 0x24], ax
call fcn.10002516c
mov ebx, eax
mov dword [rsp + 0x20], eax
test eax, eax
mov eax, 0x92
js 0x100025291
mov word [rsp + 0x24], ax
cmp ebx, 1
jne 0x1000252d8
mov eax, 0x96
xor ebx, ebx
mov word [rsp + 0x24], ax
mov dword [rsp + 0x20], ebx
jmp 0x10002539c
mov eax, dword [rdi]
test al, 0xb
jne 0x1000252e3
or eax, 1
mov dword [rdi], eax
lea r8, [rsp + 0x70]
mov r9d, 2
mov edx, 0x20001009
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x100025317
call fcn.100020b84
mov ebx, eax
mov dword [rsp + 0x20], eax
mov eax, 0xa0
jmp 0x100025291
mov ecx, dword [rsp + 0x70]
and dword [rsp + 0x20], 0
mov eax, 0xa0
mov word [rsp + 0x24], ax
call fcn.1000251d0
mov ebx, eax
mov dword [rsp + 0x20], eax
test eax, eax
mov eax, 0xa3
js 0x100025291
mov word [rsp + 0x24], ax
test ebx, ebx
jne 0x100025396
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ecx, 0x3ff
and ax, cx
mov ecx, 0xffffffef
cmp ax, 0xd
jne 0x100025387
mov eax, dword [rdi]
test al, 1
je 0x100025380
cmp dword [rsp + 0x70], 8
je 0x100025380
and eax, 0xffffffcf
mov dword [rdi], eax
mov eax, 0xb4
jmp 0x1000252c8
and eax, ecx
or eax, 0x20
mov dword [rdi], eax
and dword [rdi], ecx
or dword [rdi], 0x20
mov eax, 0xba
jmp 0x1000252c8
and dword [rdi], 0xffffffdf
or dword [rdi], 0x10
lea rcx, [rsp + 0x20]
call fcn.10001eea4
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1000258f0
Capabilities:
Access the windows event log

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rbp, qword [rsp + 0x90]
xor edi, edi
xor ebx, ebx
movzx r12d, r9w
movzx r13d, r8w
mov r14d, edx
test rbp, rbp
je 0x100025988
mov rsi, qword [rsp + 0x98]
test rsi, rsi
je 0x100025988
lea rdx, [0x100005ba0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov rbx, rax
test rax, rax
je 0x100025981
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x30], 0x24
xor r8d, r8d
mov r9d, r14d
movzx edx, r13w
mov rcx, rax
mov word [rsp + 0x28], r12w
and qword [rsp + 0x20], rdi
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x10002598d
call fcn.100020b84
jmp 0x10002598d
mov edi, 0x80070057
test rbx, rbx
je 0x1000259a4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
test eax, eax
jne 0x1000259a4
call fcn.100020b84
lea r11, [rsp + 0x50]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret

Function at 0x10002662c
Capabilities:
Enumerate gui resources

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x80
mov rsi, rcx
mov ebx, 1
lea rdx, [0x100008648]
lea rcx, [rsp + 0x40]
mov r8d, 0x23e
mov r9d, ebx
call fcn.10001ed8c
mov rdi, qword [rsp + 0xb0]
and dword [rsp + 0x20], 0
xor eax, eax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
test rdi, rdi
je 0x100026686
and qword [rdi], rax
test rsi, rsi
jne 0x10002669f
mov eax, 0x246
mov ebx, 0x80070057
mov word [rsp + 0x46], ax
jmp 0x100026776
mov eax, 0x247
mov word [rsp + 0x44], ax
mov eax, 0x248
test rdi, rdi
je 0x100026690
and dword [rsp + 0x40], 0
lea rcx, [0x100006ad0]
mov word [rsp + 0x44], ax
call qword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov r11d, eax
test eax, eax
jne 0x1000266eb
call fcn.100020b84
mov ebx, eax
mov dword [rsp + 0x40], eax
mov eax, 0x24b
mov word [rsp + 0x46], ax
jmp 0x10002677a
and dword [rsp + 0x40], 0
and qword [rsp + 0x38], 0
mov eax, 0x24b
lea rdx, [rsp + 0x20]
lea rcx, [0x100026494]
mov word [rsp + 0x44], ax
mov dword [rsp + 0x20], r11d
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x30], 0xbfbfbfbf
mov dword [rsp + 0x34], ebx
call qword [sym.imp.USER32.dll_EnumWindows]
mov r11, qword [rsp + 0x38]
test r11, r11
jne 0x100026767
mov rcx, qword [0x10002e120]
lea rax, [0x10002e120]
cmp rcx, rax
je 0x100026760
bt dword [rcx + 0x1c], 0x1a
jae 0x100026760
mov rcx, qword [rcx + 0x10]
lea edx, [r11 + 0xd]
lea r8, [0x100005e78]
call fcn.10001031c
mov eax, 0x258
jmp 0x100026771
mov qword [rdi], r11
xor ebx, ebx
mov eax, 0x25c
mov word [rsp + 0x44], ax
mov dword [rsp + 0x40], ebx
lea rcx, [rsp + 0x40]
call fcn.10001eea4
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x100028dd8
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
xor esi, esi
mov rdi, rdx
mov rbx, rcx
cmp dword [rcx + 8], esi
je 0x100028dfd
mov rax, qword [rcx]
mov dword [rcx + 8], esi
mov word [rax], si
cmp rdx, rsi
jne 0x100028e09
mov edx, 0x80070057
jmp 0x100028e70
mov r8d, dword [rcx + 0xc]
mov rdx, qword [rcx]
jmp 0x100028e3e
cmp r11d, dword [rbx + 0xc]
jbe 0x100028e82
cmp dword [rbx + 8], esi
je 0x100028e26
mov rax, qword [rbx]
mov dword [rbx + 8], esi
mov word [rax], si
mov edx, r11d
mov rcx, rbx
call fcn.100027ff8
cmp eax, esi
mov edx, eax
jl 0x100028e70
mov r8d, dword [rbx + 0xc]
mov rdx, qword [rbx]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r11d, eax
cmp eax, esi
jne 0x100028e12
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
or edx, 0x80070000
cmp eax, esi
cmovle edx, eax
cmp dword [rbx + 8], esi
je 0x100028e70
mov rax, qword [rbx]
mov dword [rbx + 8], esi
mov word [rax], si
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov eax, edx
add rsp, 0x20
pop rdi
ret
lea eax, [r11 - 1]
mov edx, esi
cmp eax, dword [rbx + 0xc]
ja 0x100028e02
mov dword [rbx + 8], eax
mov ecx, eax
mov rax, qword [rbx]
mov word [rax + rcx*2], si
jmp 0x100028e70

Function at 0x100029598
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rdi, rdx
mov rbx, rcx
lea rdx, [0x100008a50]
lea rcx, [rsp + 0x30]
mov r9d, 1
mov r8d, 0xb9
call fcn.10001ed8c
mov rcx, rdi
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
mov eax, 0xbb
jne 0x1000295e4
mov dword [rsp + 0x30], 0x80070057
jmp 0x1000296bb
movsxd r9, dword [rbx + 0x10]
and dword [rsp + 0x30], 0
mov edx, 0x46f
mov r8d, 2
mov rcx, rdi
mov word [rsp + 0x34], ax
mov qword [rbx + 8], rdi
call qword [sym.imp.USER32.dll_SendMessageW]
mov rcx, qword [rbx + 8]
mov r9d, 0x1e
mov edx, 0x46b
lea r8d, [r9 - 0x1d]
call qword [sym.imp.USER32.dll_SendMessageW]
and qword [rsp + 0x28], 0
and dword [rsp + 0x20], 0
lea r8, [0x1000298b8]
mov r9, rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbx + 0x38]
mov rdi, rax
test rcx, rcx
je 0x10002965f
cmp rcx, 0xffffffffffffffff
je 0x10002965f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [rbx + 0x38], 0
mov qword [rbx + 0x38], rdi
cmp rdi, 0
je 0x1000296ad
cmp rdi, 0xffffffffffffffff
je 0x1000296ad
and dword [rsp + 0x30], 0
mov eax, 0xce
mov rcx, rdi
lea edx, [rax - 6]
mov word [rsp + 0x34], ax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000296c0
mov rcx, qword [rbx + 8]
lea r8d, [rax + 2]
xor r9d, r9d
mov edx, 0x466
mov dword [rbx + 0x2c], 1
call qword [sym.imp.USER32.dll_SendMessageW]
jmp 0x1000296c0
call fcn.100020b84
mov dword [rsp + 0x30], eax
mov eax, 0xce
mov word [rsp + 0x36], ax
mov ebx, dword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.10001eea4
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
ret
Function at 0x100029d6c
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rsi
mov qword [rsp + 0x10], rdi
push r12
sub rsp, 0xb0
and dword [rsp + 0x20], 0
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rdi, qword [rax + 8]
xor esi, esi
xor eax, eax
lock cmpxchg qword [0x10002eeb8], rdi
je 0x100029dc5
cmp rax, rdi
jne 0x100029db8
mov esi, 1
jmp 0x100029dc5
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100029d9f
mov eax, dword [0x10002eeb0]
cmp eax, 1
jne 0x100029dda
lea ecx, [rax + 0x1e]
call sub.msvcrt.dll__amsg_exit
jmp 0x100029e3f
mov eax, dword [0x10002eeb0]
test eax, eax
jne 0x100029e35
mov dword [0x10002eeb0], 1
lea r12, [0x100001858]
lea rdi, [0x100001840]
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], eax
cmp rdi, r12
jae 0x100029e27
test eax, eax
jne 0x100029e27
mov rcx, qword [rdi]
test rcx, rcx
je 0x100029e1c
call rcx
mov dword [rsp + 0x30], eax
add rdi, 8
mov qword [rsp + 0x38], rdi
jmp 0x100029e05
test eax, eax
je 0x100029e3f
mov eax, 0xff
jmp 0x100029f89
mov dword [0x10002e734], 1
mov eax, dword [0x10002eeb0]
cmp eax, 1
jne 0x100029e67
lea rdx, [0x100001838]
lea rcx, [0x100001810]
call sub.msvcrt.dll__initterm
mov dword [0x10002eeb0], 2
test esi, esi
jne 0x100029e74
xor eax, eax
xchg qword [0x10002eeb8], rax
cmp qword [0x10002eed0], 0
je 0x100029e9d
lea rcx, [0x10002eed0]
call fcn.10002a2ac
test eax, eax
je 0x100029e9d
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
call qword [0x10002eed0]
mov rax, qword [sym.imp.msvcrt.dll__acmdln]
mov rdi, qword [rax]
mov qword [rsp + 0x28], rdi
mov esi, dword [rsp + 0x20]
cmp byte [rdi], 0x20
ja 0x100029f28
cmp byte [rdi], 0
je 0x100029ebe
test esi, esi
jne 0x100029f28
cmp byte [rdi], 0
je 0x100029ed2
cmp byte [rdi], 0x20
ja 0x100029ed2
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x100029ebe
test byte [rsp + 0x7c], 1
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rdi
xor edx, edx
lea rcx, [0x100000000]
call fcn.10000fd7c
mov dword [0x10002e730], eax
cmp dword [0x10002e714], 0
jne 0x100029f11
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x10002e734], 0
jne 0x100029f26
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x10002e730]
jmp 0x100029f89
cmp byte [rdi], 0x22
jne 0x100029f3a
xor eax, eax
test esi, esi
sete al
mov esi, eax
mov dword [rsp + 0x20], eax
movzx ecx, byte [rdi]
call qword [sym.imp.msvcrt.dll__ismbblead]
test eax, eax
je 0x100029f4f
inc rdi
mov qword [rsp + 0x28], rdi
inc rdi
mov qword [rsp + 0x28], rdi
jmp 0x100029eb0
lea r11, [rsp + 0xb0]
mov rsi, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop r12
ret
sub rsp, 0x28
call fcn.10002a3c0
add rsp, 0x28
jmp 0x100029d6c
Function at 0x10002a318
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x10002a365
cmp rcx, 0xffffffffffffffff
je 0x10002a365
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x10002a35d
cmp dword [rcx + 0x3c], edx
jl 0x10002a35d
cmp dword [rcx + 0x3c], 0x10000000
jae 0x10002a35d
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x10002a365
mov rax, rdx
add rsp, 0x18
ret
Function at 0x18010bb1d
Capabilities:
Write file on windows

Disassembly:
jmp 0x180319d30
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1804298d6]
call fcn.180112756
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x180319d87
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x180319e93
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x180319e2c
cmp qword [rbp + 0x28], 0
jle 0x180319e2c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x180319dcc
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.180111f45
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x180319e82
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x180319e82
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x18010c482
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x1802bd290
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x18042995b]
call fcn.180112756
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x270
jne 0x1802bd2cc
mov rcx, qword [rbp + 0x100]
call fcn.18010c7cf
jmp 0x1802bd2e7
mov rax, qword [rbp + 0x100]
cmp dword [rax], 0x4e0
jb 0x1802bd2e7
mov rcx, qword [rbp + 0x100]
call fcn.18010ea11
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x100]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rbp + 0xd4], eax
mov rax, qword [rbp + 0x100]
mov eax, dword [rax]
inc eax
mov rcx, qword [rbp + 0x100]
mov dword [rcx], eax
mov eax, dword [rbp + 0xd4]
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0xb
mov rcx, qword [rbp + 0x100]
and eax, dword [rcx + 0x1384]
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 7
and eax, 0x9d2c5680
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shl eax, 0xf
and eax, 0xefc60000
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
shr eax, 0x12
mov ecx, dword [rbp + 4]
xor ecx, eax
mov eax, ecx
mov dword [rbp + 4], eax
mov eax, dword [rbp + 4]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret

Function at 0x18010c4e1
Capabilities:
Hash data using fnv

Disassembly:
jmp 0x1802e19e0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x108
lea rbp, [rsp + 0x20]
lea rcx, [0x1804298a6]
call fcn.180112756
mov qword [rbp + 8], 0
jmp 0x1802e1a1e
mov rax, qword [rbp + 8]
inc rax
mov qword [rbp + 8], rax
mov rax, qword [rbp + 0x110]
cmp qword [rbp + 8], rax
jae 0x1802e1a74
mov rax, qword [rbp + 8]
mov rcx, qword [rbp + 0x108]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov rcx, qword [rbp + 0x100]
xor rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
movabs rax, 0x100000001b3
mov rcx, qword [rbp + 0x100]
imul rcx, rax
mov rax, rcx
mov qword [rbp + 0x100], rax
jmp 0x1802e1a13
mov rax, qword [rbp + 0x100]
lea rsp, [rbp + 0xe8]
pop rdi
pop rbp
ret
Function at 0x18010ea11
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
jmp 0x1802eaac0
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1e8
lea rbp, [rsp + 0x20]
lea rcx, [0x18042995b]
call fcn.180112756
mov qword [rbp + 8], 0x26f
mov qword [rbp + 0x28], 0xe3
mov qword [rbp + 0x48], 0
jmp 0x1802eab04
mov rax, qword [rbp + 0x48]
inc rax
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0xe3
jae 0x1802eab95
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x48]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0x64], eax
mov eax, dword [rbp + 0x64]
and eax, 1
test eax, eax
je 0x1802eab5a
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x1802eab64
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0x64]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
xor eax, dword [rcx + rdx*4 + 0xff8]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x48]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1802eaaf9
mov qword [rbp + 0x88], 0xe3
jmp 0x1802eabb3
mov rax, qword [rbp + 0x88]
inc rax
mov qword [rbp + 0x88], rax
cmp qword [rbp + 0x88], 0x26f
jae 0x1802eac5c
mov rax, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x88]
mov eax, dword [rax + rcx*4 + 0x9c4]
and eax, 0x80000000
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov ecx, dword [rcx + rdx*4 + 0x9c8]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
and eax, 1
test eax, eax
je 0x1802eac18
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x1802eac22
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xa4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
xor eax, dword [rcx + rdx*4 - 0x388]
mov rcx, qword [rbp + 0x1e0]
mov rdx, qword [rbp + 0x88]
mov dword [rcx + rdx*4 + 4], eax
jmp 0x1802eaba2
mov qword [rbp + 0xc8], 0x26f
mov eax, 4
imul rax, rax, 0x4df
mov rcx, qword [rbp + 0x1e0]
mov eax, dword [rcx + rax + 4]
and eax, 0x80000000
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x1e0]
mov ecx, dword [rdx + rcx + 4]
btr ecx, 0x1f
or eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xe4]
and eax, 1
test eax, eax
je 0x1802eacbc
mov dword [rbp + 0x1b4], 0x9908b0df
jmp 0x1802eacc6
mov dword [rbp + 0x1b4], 0
mov eax, dword [rbp + 0xe4]
shr eax, 1
xor eax, dword [rbp + 0x1b4]
mov ecx, 4
imul rcx, rcx, 0x18c
mov rdx, qword [rbp + 0x1e0]
xor eax, dword [rdx + rcx + 4]
mov ecx, 4
imul rcx, rcx, 0x26f
mov rdx, qword [rbp + 0x1e0]
mov dword [rdx + rcx + 4], eax
mov rax, qword [rbp + 0x1e0]
mov dword [rax], 0
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret
Function at 0x18010f06a
Capabilities:
Terminate process

Disassembly:
jmp 0x18030b180
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x20]
lea rcx, [0x18042997b]
call fcn.180112756
mov edx, 0x3c
mov cl, 1
call fcn.180111491
movzx eax, al
test eax, eax
jne 0x18030b1c1
mov ecx, 0x12c
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x180404228], rax
mov rax, qword [0x180404000]
mov qword [0x180404230], rax
lea rdx, str.ThisDLL
lea rcx, [rbp + 0xc8]
call fcn.180112c1a
mov rcx, rax
call fcn.18010b1bd
mov qword [rbp + 0x138], rax
mov rax, qword [0x1804044a8]
mov qword [rbp + 0x140], rax
mov rdx, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x140]
call fcn.18010b898
lea rdx, str.Base_Address
lea rcx, [rbp + 0xe8]
call fcn.180111405
mov rcx, rax
call fcn.18010bf37
mov qword [rbp + 0x138], rax
mov rax, qword [0x180404228]
mov qword [rbp + 0x140], rax
mov rdx, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x140]
call fcn.18010b898
lea rdx, str.GameAssembly
lea rcx, [rbp + 0x118]
call fcn.180111405
mov rcx, rax
call fcn.18010bf37
mov qword [rbp + 0x138], rax
mov rax, qword [0x180404230]
mov qword [rbp + 0x140], rax
mov rdx, qword [rbp + 0x138]
mov rcx, qword [rbp + 0x140]
call fcn.18010b898
lea rsp, [rbp + 0x158]
pop rdi
pop rbp
ret

Function at 0x18010f1f0
Capabilities:
Terminate process

Disassembly:
jmp 0x180321dc0
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x28
ret