joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d310
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov word [rbp + 0x36], dx
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x48], 0
nop
lea rcx, [0x00472c80]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
cmp word [0x00472ca8], ax
jne 0x40d37b
mov rcx, qword [rbp + 0x28]
lea rdx, [0x00472caa]
mov r8d, 0x55
call fcn.0040b320
lea rcx, [0x00472c80]
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40d486
lea rcx, [0x00472c80]
call sub.kernel32.dll_LeaveCriticalSection
mov rcx, qword [rbp + 0x28]
call fcn.00409f90
movzx rcx, word [rbp + 0x36]
movzx ecx, cx
mov edx, 2
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d440
cmp byte [0x00472c78], 0
je 0x40d3d4
mov rcx, rbp
lea rdx, [rbp + 0x48]
movzx r8, word [rbp + 0x36]
call fcn.0040d1a0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x48]
call fcn.0040a550
jmp 0x40d440
mov rcx, rbp
lea rdx, [rbp + 0x40]
movzx r8, word [rbp + 0x36]
call fcn.0040ced0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.0040a550
call sub.kernel32.dll_GetSystemDefaultUILanguage
movzx rcx, word [rbp + 0x36]
cmp cx, ax
mov word [rbp + 0x36], cx
je 0x40d440
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
je 0x40d41f
mov rcx, qword [rbp + 0x28]
lea rdx, [0x0040d4d4]
call fcn.0040b500
call sub.kernel32.dll_GetSystemDefaultUILanguage
mov rcx, rbp
lea rdx, [rbp + 0x38]
mov r8d, eax
call fcn.0040ced0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x38]
call fcn.0040b500
lea rcx, [0x00472c80]
call sub.kernel32.dll_EnterCriticalSection
movzx rax, word [rbp + 0x36]
mov word [0x00472ca8], ax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rax]
call fcn.0040b250
lea rcx, [0x00472caa]
mov edx, 0xaa
mov r8, rax
call fcn.0040cc90
lea rcx, [0x00472c80]
call sub.kernel32.dll_LeaveCriticalSection
nop
lea rcx, [rbp + 0x38]
mov edx, 3
call fcn.0040a070
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x40deb0
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x50
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x20], rdx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x70], r8
mov rcx, qword [rbp + 0x70]
call fcn.0040a120
nop
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx ecx, ax
mov edx, 3
lea r8, [rbp + 0x48]
mov r9d, 4
call sub.kernel32.dll_GetLocaleInfoW
lea rcx, [rbp + 0x38]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.0040b320
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x38]
call fcn.0040b5f0
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.0040dcd0
test al, al
jne 0x40df7e
mov word [rbp + 0x4c], 0
lea rcx, [rbp + 0x30]
lea rdx, [rbp + 0x48]
mov r8d, 4
call fcn.0040b320
mov rcx, qword [rbp + 0x20]
mov rdx, qword [rbp + 0x70]
mov r8, qword [rbp + 0x30]
call fcn.0040b5f0
mov rcx, qword [rbp + 0x28]
mov rax, qword [rbp + 0x20]
mov rdx, qword [rax]
call fcn.0040dcd0
test al, al
jne 0x40df7e
mov rcx, qword [rbp + 0x20]
call fcn.00409f90
nop
lea rcx, [rbp + 0x30]
mov edx, 2
call fcn.0040a070
lea rcx, [rbp + 0x70]
call fcn.00409f90
mov rax, qword [rbp + 0x20]
lea rsp, [rbp + 0x50]
pop rbp
ret
Function at 0x40dff0
Capabilities:
Identify system language via api

Disassembly:
push rbp
sub rsp, 0x70
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x38], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x48], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x88], rdx
mov qword [rbp + 0x90], r8
mov rcx, qword [rbp + 0x88]
call fcn.0040a120
mov rcx, qword [rbp + 0x90]
call fcn.0040a120
nop
mov rcx, qword [rbp + 0x28]
call fcn.00409f90
cmp qword [rbp + 0x90], 0
je 0x40e1b6
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
call fcn.0040a5d0
xor rax, rax
cmp qword [rbp + 0x90], 0
je 0x40e0a1
mov rax, qword [rbp + 0x90]
mov eax, dword [rax - 4]
cmp eax, 1
jl 0x40e0db
mov rcx, qword [rbp + 0x90]
movsxd rdx, eax
cmp word [rcx + rdx*2 - 2], 0x2e
jne 0x40e0d4
lea rcx, [rbp + 0x60]
mov rdx, qword [rbp + 0x90]
mov r8d, 1
mov r9d, eax
call fcn.0040b800
jmp 0x40e0db
sub eax, 1
test eax, eax
jne 0x40e0a6
nop
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x88]
call fcn.0040dbc0
cmp qword [rbp + 0x68], 0
je 0x40e119
mov rcx, rbp
lea rdx, [rbp + 0x58]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x68]
call fcn.0040dd70
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x58]
call fcn.0040a550
jmp 0x40e1b5
call sub.kernel32.dll_GetUserDefaultUILanguage
lea rcx, [rbp + 0x48]
mov edx, eax
call fcn.0040d310
mov rcx, rbp
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x48]
call fcn.0040dd70
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x50]
call fcn.0040a550
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x40e18e
cmp byte [0x00472c78], 0
jne 0x40e18e
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea rcx, [rbp + 0x38]
mov edx, eax
call fcn.0040d310
mov rcx, rbp
lea rdx, [rbp + 0x40]
mov r8, qword [rbp + 0x60]
mov r9, qword [rbp + 0x38]
call fcn.0040dd70
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x40]
call fcn.0040a550
mov rax, qword [rbp + 0x28]
cmp qword [rax], 0
jne 0x40e1b5
mov rcx, rbp
lea rdx, [rbp + 0x30]
mov r8, qword [rbp + 0x60]
call fcn.0040deb0
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x30]
call fcn.0040a550
nop
lea rcx, [rbp + 0x30]
mov edx, 8
call fcn.0040a070
lea rcx, [rbp + 0x88]
mov edx, 2
call fcn.0040a070
mov rax, qword [rbp + 0x28]
lea rsp, [rbp + 0x70]
pop rbp
ret

Function at 0x40eb50
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
lea rcx, [rsp + 0x20]
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [rsp + 0x40]
add rsp, 0x58
ret

Function at 0x40eb70
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call sub.kernel32.dll_GetVersion
mov ecx, eax
and ecx, 0xff
and eax, 0xff00
shr eax, 8
cmp ecx, 5
jne 0x40eb94
cmp eax, 1
jae 0x40eb99
cmp ecx, 5
jbe 0x40eba5
mov dword [0x0046e9a0], 0x7f
jmp 0x40ebaf
mov dword [0x0046e9a0], 0x409
add rsp, 0x28
ret
Function at 0x40ee50
Capabilities:
Set thread local storage value

Disassembly:
push rbx
sub rsp, 0x20
call fcn.0040ee40
mov ebx, eax
test ebx, ebx
je 0x40ee9b
cmp dword [0x0046254c], 0xffffffff
jne 0x40ee74
mov ecx, 0xe2
call fcn.00409d80
mov ecx, ebx
call fcn.0040ee20
test rax, rax
jne 0x40ee8d
mov ecx, 0xe2
call fcn.00409d80
jmp 0x40ee9b
mov ecx, dword [0x0046254c]
mov rdx, rax
call sub.kernel32.dll_TlsSetValue
add rsp, 0x20
pop rbx
ret

Function at 0x40eeb0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
cmp byte [0x00472d54], 0
je 0x40eeeb
mov ecx, dword [0x0046254c]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x40eeff
call fcn.0040ee50
mov ecx, dword [0x0046254c]
call sub.kernel32.dll_TlsGetValue
test rax, rax
jne 0x40eeff
mov rax, qword [0x00472d88]
jmp 0x40eeff
mov rax, qword gs:[0x58]
movsxd rcx, dword [0x0046254c]
mov rax, qword [rax + rcx*8]
add rsp, 0x28
ret

Function at 0x41cd10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbp, rsp
mov rbx, rcx
mov esi, edx
xor rdi, rdi
mov rcx, rbx
call fcn.0040b250
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
mov r13d, eax
cmp r13d, 0xffffffff
je 0x41ce20
mov eax, r13d
test eax, 0x400
jne 0x41cd5e
test r13d, 0x10
setne dil
jmp 0x41ce53
test sil, sil
je 0x41cdbe
mov rcx, rbx
call fcn.0040b250
mov rcx, rax
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x2000000
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW_1
cmp rax, 0xffffffffffffffff
je 0x41ce53
mov rcx, rax
call sub.kernel32.dll_CloseHandle_1
test r13d, 0x10
setne dil
jmp 0x41ce53
test r13d, 0x10
je 0x41cdcf
mov dil, 1
jmp 0x41ce53
mov rcx, rbx
call fcn.0040b250
mov rcx, rax
mov edx, 0x80000000
mov r8d, 1
xor r9, r9
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x28], 0x2000000
mov qword [rsp + 0x30], 0
call sub.kernel32.dll_CreateFileW_1
cmp rax, 0xffffffffffffffff
je 0x41ce1b
mov rcx, rax
call sub.kernel32.dll_CloseHandle_1
xor rdi, rdi
jmp 0x41ce53
mov dil, 1
jmp 0x41ce53
call sub.kernel32.dll_GetLastError_2
cmp eax, 2
je 0x41ce4b
cmp eax, 3
je 0x41ce4b
cmp eax, 0xa1
je 0x41ce4b
cmp eax, 0x7b
je 0x41ce4b
cmp eax, 0x35
je 0x41ce4b
cmp eax, 0x15
je 0x41ce4b
cmp eax, 0x43
jne 0x41ce50
xor rdi, rdi
jmp 0x41ce53
mov dil, 1
mov eax, edi
lea rsp, [rbp + 0x40]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x41d060
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rbp, rsp
mov rbx, rcx
mov rcx, rbx
call fcn.0040b250
mov rcx, rax
call sub.kernel32.dll_DeleteFileW
test eax, eax
setne sil
test sil, sil
jne 0x41d0d6
call sub.kernel32.dll_GetLastError_2
mov edi, eax
mov rcx, rbx
call fcn.0040b250
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x41d0cf
mov ecx, eax
test ecx, 0x400
je 0x41d0cf
test eax, 0x10
je 0x41d0cf
mov rcx, rbx
call fcn.0040b250
mov rcx, rax
call sub.kernel32.dll_RemoveDirectoryW
test eax, eax
setne sil
jmp 0x41d0d6
mov ecx, edi
call sub.kernel32.dll_SetLastError
mov eax, esi
lea rsp, [rbp + 0x28]
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x41fa50
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x30
mov rbp, rsp
movdqa xmmword [rbp + 0x20], xmm6
mov rbx, rdx
movapd xmm6, xmm2
mov rcx, rbx
mov edx, 0xa
xor r8, r8
call fcn.00406300
movsd xmm0, qword [0x0041fb10]
comisd xmm0, xmm6
jbe 0x41fa89
mov byte [rbx + 9], 0x80
movapd xmm0, xmm6
call fcn.00405ca0
call fcn.00405bb0
mov rcx, rax
xor r8, r8
jmp 0x41faf1
mov r9d, 0x64
mov rax, rcx
cqo
idiv r9
mov r9, rdx
movsxd r10, r8d
mov r11d, 0xa
mov eax, r9d
cdq
idiv r11d
mov r11, rdx
mov esi, 0xa
mov eax, r9d
cdq
idiv esi
shl eax, 4
add r11b, al
mov byte [rbx + r10], r11b
mov r9d, 0x64
mov rax, rcx
cqo
idiv r9
mov rcx, rax
add r8d, 1
test rcx, rcx
jle 0x41fafc
cmp r8d, 9
jl 0x41fa9f
mov rax, rbx
movdqa xmm6, xmmword [rbp + 0x20]
lea rsp, [rbp + 0x30]
pop rbx
pop rsi
pop rbp
ret

Function at 0x423a00
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
sub rsp, 0x38
mov rbp, rsp
mov ebx, r8d
lea r8, [rbp + 0x2c]
mov r9d, 2
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x423a27
movzx rax, word [rbp + 0x2c]
jmp 0x423a29
mov eax, ebx
lea rsp, [rbp + 0x38]
pop rbx
pop rbp
ret
Function at 0x425060
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x8e0
mov rbp, rsp
mov qword [rbp + 0x40], rcx
mov qword [rbp + 0x48], rdx
mov qword [rbp + 0x58], 0
nop
mov rcx, qword [rbp + 0x40]
mov rdx, qword [rbp + 0x48]
lea r8, [rbp + 0x60]
mov r9d, 0x400
call fcn.00424e00
mov ebx, eax
mov rax, qword [0x0046d870]
cmp byte [rax], 0
je 0x425198
mov rcx, qword [0x0046d638]
call fcn.00406250
call fcn.004055a0
mov ecx, 1
xor rdx, rdx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte_1
mov esi, eax
lea rcx, [rbp + 0x58]
mov rdx, qword [0x00425020]
mov r8d, 1
movsxd r9, esi
call fcn.0040c7c0
mov ecx, 1
xor rdx, rdx
lea r8, [rbp + 0x60]
mov r9d, ebx
mov rax, qword [rbp + 0x58]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
call sub.kernel32.dll_WideCharToMultiByte_1
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle_1
mov rcx, rax
mov rdx, qword [rbp + 0x58]
mov r8d, esi
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
mov ecx, 0xfffffff4
call sub.kernel32.dll_GetStdHandle_1
mov rcx, rax
lea rdx, [0x00425238]
mov r8d, 2
lea r9, [rbp + 0x54]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_WriteFile_1
jmp 0x4251de
mov rcx, qword [0x00472d58]
call fcn.0040c930
mov rcx, rax
mov rax, qword [0x0046d5e0]
mov edx, dword [rax + 8]
lea r8, [rbp + 0x860]
mov r9d, 0x40
call sub.user32.dll_LoadStringW_1
xor rcx, rcx
lea rdx, [rbp + 0x60]
lea r8, [rbp + 0x860]
mov r9d, 0x2010
call sub.user32.dll_MessageBoxW
nop
lea rcx, [rbp + 0x58]
mov rdx, qword [0x00425020]
call fcn.0040c800
lea rsp, [rbp + 0x8e0]
pop rbx
pop rsi
pop rbp
ret

Function at 0x427140
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x240
mov rbp, rsp
mov rbx, rcx
mov rcx, rbx
call fcn.0040a700
mov r13d, eax
mov ecx, 0xfde9
xor rdx, rdx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 0
call fcn.0040eb30
mov esi, eax
cmp esi, 0x104
jbe 0x42719d
mov ecx, esi
add ecx, ecx
mov ecx, ecx
call fcn.00405260
mov rdi, rax
jmp 0x4271a1
lea rdi, [rbp + 0x38]
mov ecx, 0xfde9
xor rdx, rdx
mov r8, rbx
mov r9d, r13d
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], esi
call fcn.0040eb30
mov rax, rdi
mov rcx, rax
call sub.user32.dll_CharUpperW
xor rbx, rbx
xor rax, rax
mov ecx, esi
sub ecx, 1
cmp eax, ecx
jg 0x4271f7
add ecx, 1
mov edx, ebx
shl edx, 5
shr ebx, 0x1b
or edx, ebx
mov ebx, edx
movsxd rdx, eax
movzx edx, word [rdi + rdx*2]
xor ebx, edx
add eax, 1
cmp eax, ecx
jne 0x4271db
nop
lea rax, [rbp + 0x38]
cmp rdi, rax
je 0x427209
mov rcx, rdi
call fcn.00405290
mov eax, ebx
lea rsp, [rbp + 0x240]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x428f00
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
call sub.kernel32.dll_GetCommandLineW_1
mov rsi, rax
xor rax, rax
movzx rcx, word [rsi]
sub cx, 1
cmp cx, 0xffff
je 0x428f44
cmp cx, 0x20
jb 0x428f33
sub cx, 0x21
test cx, cx
jne 0x428f3e
jmp 0x428f39
test al, al
je 0x428f44
jmp 0x428f3e
test al, al
sete al
add rsi, 2
jmp 0x428f14
nop
jmp 0x428f4b
add rsi, 2
movzx rcx, word [rsi]
lea rdx, [0x00428f74]
call fcn.0041ba20
test al, al
jne 0x428f47
mov rcx, rbx
mov rdx, rsi
call fcn.0040b2f0
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x429090
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call fcn.0040b250
mov rcx, rax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4290ae
test eax, 0x10
je 0x4290b3
xor rax, rax
jmp 0x4290b5
mov al, 1
add rsp, 0x28
ret

Function at 0x429250
Capabilities:
Hash data with crc32

Disassembly:
xor rax, rax
mov edx, eax
mov ecx, 1
mov r8d, edx
test r8d, 1
je 0x429272
shr edx, 1
xor edx, 0xedb88320
jmp 0x429275
shr edx, 1
add ecx, 1
cmp ecx, 9
jne 0x42925b
nop
lea rcx, [0x00477210]
mov r8d, eax
mov dword [rcx + r8*4], edx
add eax, 1
cmp eax, 0x100
jne 0x429253
nop
ret

Function at 0x4292a0
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
not eax
mov ecx, 1
cmp ecx, r8d
jg 0x4292dd
add r8d, 1
lea r9, [0x00477210]
mov r10d, eax
xor r10b, byte [rdx]
movzx r10, r10b
shr eax, 8
mov r9d, dword [r9 + r10*4]
xor r9d, eax
mov eax, r9d
add rdx, 1
add ecx, 1
cmp ecx, r8d
jne 0x4292b3
nop
not eax
ret
Function at 0x429a50
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r13
push rdi
push rsi
push rbx
sub rsp, 0x40
mov rbp, rsp
mov qword [rbp + 0x28], rcx
mov rax, qword [rbp + 0x28]
movzx rbx, word [rax]
mov rax, qword [rbp + 0x28]
movzx rax, word [rax + 2]
mov word [rbp + 0x3c], ax
mov rax, qword [rbp + 0x28]
movzx rsi, word [rax + 4]
mov rax, qword [rbp + 0x28]
movzx rax, word [rax + 6]
mov word [rbp + 0x3e], ax
mov qword [rbp + 0x30], rdx
mov r13d, 1
mov rcx, rbp
mov edx, ebx
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00429a00
mov ebx, eax
mov rcx, qword [rbp + 0x30]
add rcx, 2
mov qword [rbp + 0x30], rcx
movzx rax, word [rbp + 0x3c]
add ax, word [rcx]
mov word [rbp + 0x3c], ax
add rcx, 2
mov qword [rbp + 0x30], rcx
add si, word [rcx]
add rcx, 2
mov qword [rbp + 0x30], rcx
mov rcx, rbp
movzx rdx, word [rbp + 0x3e]
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00429a00
mov word [rbp + 0x3e], ax
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
mov edi, ebx
xor di, si
mov rcx, rbp
mov edx, edi
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00429a00
mov edi, eax
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
movzx rax, word [rbp + 0x3c]
movzx rcx, word [rbp + 0x3e]
xor ax, cx
mov ecx, edi
add cx, ax
mov eax, ecx
mov rcx, rbp
mov edx, eax
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00429a00
mov rcx, qword [rbp + 0x30]
add rcx, 2
mov qword [rbp + 0x30], rcx
add di, ax
xor bx, ax
movzx rcx, word [rbp + 0x3e]
xor cx, di
mov word [rbp + 0x3e], cx
movzx rcx, word [rbp + 0x3c]
xor di, cx
xor si, ax
mov word [rbp + 0x3c], si
mov esi, edi
add r13d, 1
cmp r13d, 9
jne 0x429a97
nop
mov rcx, rbp
mov edx, ebx
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00429a00
mov ebx, eax
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 0x28]
mov word [rax], bx
mov rax, qword [rbp + 0x30]
add si, word [rax]
mov rax, qword [rbp + 0x28]
mov word [rax + 2], si
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
movzx rax, word [rbp + 0x3c]
mov rcx, qword [rbp + 0x30]
add ax, word [rcx]
mov rcx, qword [rbp + 0x28]
mov word [rcx + 4], ax
mov rax, qword [rbp + 0x30]
add rax, 2
mov qword [rbp + 0x30], rax
mov rcx, rbp
movzx rdx, word [rbp + 0x3e]
mov rax, qword [rbp + 0x30]
movzx r8, word [rax]
call fcn.00429a00
mov rcx, qword [rbp + 0x28]
mov word [rcx + 6], ax
lea rsp, [rbp + 0x40]
pop rbx
pop rsi
pop rdi
pop r13
pop rbp
ret
Function at 0x44dfc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
cmp qword [rsp + 0xc0], 0
je 0x44e015
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x28], 0
je 0x44e015
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x10], 0
je 0x44e015
mov rax, qword [rsp + 0xc0]
cmp qword [rax], 0
jne 0x44e01f
mov rax, qword [rsp + 0xc0]
cmp dword [rax + 8], 0
je 0x44e01f
mov eax, 0xfffffffe
jmp 0x450f13
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0xb
jne 0x44e04e
mov rax, qword [rsp + 0x80]
mov dword [rax], 0xc
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x40]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x44]
mov dword [rsp + 0x4c], eax
xor eax, eax
test eax, eax
jne 0x44e04e
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x60], 0
Function at 0x4560d0
Capabilities:
Parse pe header

Disassembly:
push rsi
push rbx
mov rax, rcx
movsxd r10, dword [rax + 0x3c]
lea rcx, [rcx + r10]
cmp word [rax], 0x5a4d
jne 0x4560ec
cmp dword [rcx], 0x4550
je 0x4560f4
mov eax, 1
jmp 0x456148
lea rax, [rcx + 0x108]
xor r10, r10
xor r11, r11
xor rbx, rbx
movzx esi, word [rcx + 6]
sub esi, 1
cmp ebx, esi
jg 0x45612f
add esi, 1
cmp dword [rax + 0x14], r10d
jbe 0x456124
mov r10d, dword [rax + 0x14]
mov r11d, dword [rax + 0x14]
add r11d, dword [rax + 0x10]
add rax, 0x28
add ebx, 1
cmp ebx, esi
jne 0x456112
nop
mov dword [rdx], r11d
lea rax, [rcx + 0xa8]
mov ecx, dword [rax]
mov dword [r8], ecx
mov eax, dword [rax + 4]
mov dword [r9], eax
xor rax, rax
pop rbx
pop rsi
ret
Function at 0x456150
Capabilities:
Get file size
Read file via mapping

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x38], rbp
mov qword [rbp + 0x80], rcx
mov byte [rbp + 0x88], dl
mov qword [rbp + 0x90], r8
mov dword [rbp + 0x98], r9d
cmp byte [rbp + 0x88], 0
je 0x45619c
mov rcx, qword [rbp + 0x80]
movzx rdx, byte [rbp + 0x88]
call fcn.00407ba0
mov qword [rbp + 0x80], rax
nop
cmp qword [rbp + 0x90], 0
jbe 0x4563ba
cmp dword [rbp + 0xa0], 0
jne 0x4561c9
mov rcx, qword [rbp + 0x90]
xor rdx, rdx
call sub.kernel32.dll_GetFileSize_1
mov dword [rbp + 0xa0], eax
mov rcx, qword [rbp + 0x90]
xor rdx, rdx
mov r8d, 2
xor r9, r9
mov dword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0
call sub.kernel32.dll_CreateFileMappingW
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 0x28], rax
mov rax, qword [rbp + 0x80]
cmp qword [rax + 0x28], 0
jne 0x456235
mov rcx, qword [rbp + 0x80]
call fcn.00455870
mov rcx, qword [0x00454b48]
mov dl, 1
lea r8, [0x0045644c]
call fcn.00425260
mov rcx, rax
call fcn.004091f0
mov rax, qword [rbp + 0x80]
mov rcx, qword [rax + 0x28]
mov edx, 4
xor r8, r8
xor r9, r9
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_MapViewOfFile
mov rcx, qword [rbp + 0x80]
mov qword [rcx + 8], rax
mov rax, qword [rbp + 0x80]
cmp qword [rax + 8], 0
jne 0x45629c
mov rcx, qword [rbp + 0x80]
call fcn.00455870
mov rcx, qword [0x00454b48]
mov dl, 1
lea r8, [0x00456474]
call fcn.00425260
mov rcx, rax
call fcn.004091f0
mov rax, qword [rbp + 0x80]
mov rcx, qword [rax + 8]
lea rdx, [rbp + 0x54]
lea r8, [rbp + 0x50]
lea r9, [rbp + 0x4c]
call fcn.004560d0
test eax, eax
jne 0x4562cb
cmp dword [rbp + 0x50], 0
jbe 0x4562cb
mov eax, dword [rbp + 0x50]
mov dword [rbp + 0xa0], eax
mov dword [rbp + 0x58], 0xffffffff
mov eax, dword [rbp + 0x98]
mov ecx, dword [rbp + 0xa0]
sub ecx, 5
mov dword [rbp + 0x5c], eax
cmp dword [rbp + 0x5c], ecx
jg 0x45631a
add ecx, 1
mov rax, qword [rbp + 0x80]
mov rax, qword [rax + 8]
movsxd rdx, dword [rbp + 0x5c]
mov eax, dword [rax + rdx]
add eax, 1
cmp eax, 0x4034b51
jne 0x456311
mov eax, dword [rbp + 0x5c]
mov dword [rbp + 0x58], eax
jmp 0x45631a
add dword [rbp + 0x5c], 1
cmp dword [rbp + 0x5c], ecx
jne 0x4562ec
nop
cmp dword [rbp + 0x58], 0
jge 0x45636a
mov eax, dword [rbp + 0x98]
mov ecx, dword [rbp + 0xa0]
sub ecx, 5
mov dword [rbp + 0x5c], eax
cmp dword [rbp + 0x5c], ecx
jg 0x456369
add ecx, 1
mov rax, qword [rbp + 0x80]
mov rax, qword [rax + 8]
movsxd rdx, dword [rbp + 0x5c]
mov eax, dword [rax + rdx]
add eax, 1
cmp eax, 0x6054b51
jne 0x456360
mov eax, dword [rbp + 0x5c]
mov dword [rbp + 0x58], eax
jmp 0x456369
add dword [rbp + 0x5c], 1
cmp dword [rbp + 0x5c], ecx
jne 0x45633b
nop
cmp dword [rbp + 0x58], 0
jge 0x456399
mov rcx, qword [rbp + 0x80]
call fcn.00455870
mov rcx, qword [0x00454b48]
mov dl, 1
lea r8, [0x004564a0]
call fcn.00425260
mov rcx, rax
call fcn.004091f0
mov rcx, qword [rbp + 0x80]
xor rdx, rdx
mov rax, qword [rbp + 0x80]
mov r8, qword [rax + 8]
mov r9d, dword [rbp + 0xa0]
call fcn.004558f0
cmp byte [rbp + 0x88], 0
je 0x456415
mov rcx, qword [rbp + 0x80]
call fcn.00407be0
mov qword [rbp + 0x80], rax
jmp 0x456415
mov rax, qword [rbp + 0x80]
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret