joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a374
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov r12, rcx
mov edx, dword [rcx + 0x20]
mov rax, qword [rcx + 0x18]
mov rbp, qword [rax + rdx*8 - 8]
lea rdx, str.CreateDecoder
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x28], rax
lea rdx, str.CreateEncoder
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x30], rax
lea rdx, str.GetMethodProperty
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x20], rax
xor edi, edi
cmp rax, rdi
je 0x43a545
mov dword [rsp + 0xb0], 1
lea rdx, str.GetNumberOfMethods
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rdi
je 0x43a417
lea rcx, [rsp + 0xb0]
call rax
cmp eax, edi
jne 0x43a5c0
mov esi, edi
cmp dword [rsp + 0xb0], edi
jbe 0x43a545
mov eax, dword [r12 + 0x20]
dec eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], esi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x5c]
mov r8d, 3
mov edx, esi
mov rcx, qword [rbp + 0x20]
call fcn.00439144
cmp eax, edi
jne 0x43a5c0
lea rax, [rsp + 0x59]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x6c]
mov r8d, 2
mov edx, esi
mov rcx, qword [rbp + 0x20]
call fcn.00439144
cmp eax, edi
jne 0x43a5c0
mov rax, qword [rbp + 0x20]
mov word [rsp + 0x38], di
mov word [rsp + 0x3a], di
mov qword [rsp + 0x40], rdi
mov byte [rsp + 0x5a], dil
mov byte [rsp + 0x5b], dil
lea r8, [rsp + 0x38]
mov edx, 0xa
mov ecx, esi
call rax
mov ebx, eax
cmp eax, edi
je 0x43a4c2
lea rcx, [rsp + 0x38]
call fcn.0040c5dc
jmp 0x43a4ee
cmp word [rsp + 0x38], 0xb
jne 0x43a4db
mov byte [rsp + 0x5b], 1
cmp word [rsp + 0x40], di
setne byte [rsp + 0x5a]
jmp 0x43a4e2
cmp word [rsp + 0x38], di
jne 0x43a532
lea rcx, [rsp + 0x38]
call fcn.0040c5dc
mov ebx, edi
cmp ebx, edi
jne 0x43a541
lea rcx, [r12 + 0x60]
call fcn.004398a0
mov ecx, dword [r12 + 0x68]
lea eax, [rcx + 1]
mov dword [r12 + 0x68], eax
imul rcx, rcx, 0x2c
add rcx, qword [r12 + 0x60]
lea rdx, [rsp + 0x50]
mov r8d, 0x2c
call sub.msvcrt.dll_memcpy
inc esi
cmp esi, dword [rsp + 0xb0]
jae 0x43a545
jmp 0x43a426
lea rcx, [rsp + 0x38]
call fcn.0040c5dc
mov ebx, 0x80004005
mov eax, ebx
jmp 0x43a5c0
lea rdx, str.GetHashers
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp rax, rdi
je 0x43a5be
lea rcx, [rbp + 0x40]
call rax
cmp eax, edi
jne 0x43a5c0
mov rcx, qword [rbp + 0x40]
cmp rcx, rdi
je 0x43a5be
mov rax, qword [rcx]
call qword [rax + 0x18]
mov esi, eax
cmp eax, edi
jbe 0x43a5be
mov ecx, dword [r12 + 0x20]
dec ecx
mov dword [rsp + 0xb0], ecx
mov dword [rsp + 0xb4], edi
lea rcx, [r12 + 0x70]
call fcn.0040f7bc
mov r11d, dword [r12 + 0x78]
lea eax, [r11 + 1]
mov dword [r12 + 0x78], eax
mov rcx, qword [r12 + 0x70]
mov rax, qword [rsp + 0xb0]
mov qword [rcx + r11*8], rax
inc edi
cmp edi, esi
jb 0x43a57a
xor eax, eax
add rsp, 0x80
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x450f88
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
mov rax, rsp
sub rsp, 0x58
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov r13, r9
mov rbp, r8
mov rsi, rdx
mov rbx, rcx
mov dword [rax + 0x40], 0
mov edi, dword [rdx]
cmp byte [rdx + 4], 0
je 0x451004
mov edi, 1
lea r8d, [rdi + 2]
lea rdx, [rax - 0x30]
mov rcx, rbp
call fcn.00450f68
nop
mov rcx, qword [rsp + 0x28]
call fcn.0040b2f4
test al, al
je 0x450ffa
mov rcx, qword [rsp + 0x28]
call sub.KERNEL32.dll_GetDriveTypeW
cmp eax, 5
je 0x450ff8
cmp eax, 2
jne 0x450ffa
mov edi, dword [rsi]
mov rcx, qword [rsp + 0x28]
call fcn.004046d0
mov rcx, rbp
call fcn.00403e14
lea r12d, [rax + 1]
mov rax, qword [rbp]
lea rdx, [rax + r12*2]
mov rcx, r13
call fcn.00403a1c
mov rcx, rbx
call fcn.00403838
mov dword [rsp + 0x98], 1
dec edi
je 0x451075
dec edi
je 0x451067
mov rcx, rbx
call fcn.00407ed4
test al, al
jne 0x45109c
mov dword [rsp + 0xa0], 0x22995
lea rdx, [0x00499bf0]
lea rcx, [rsp + 0xa0]
call sub.msvcrt.dll__CxxThrowException
int3
lea rdx, [rsi + 8]
mov rcx, rbx
call fcn.00403a84
jmp 0x45109c
mov r8d, r12d
lea rdx, [rsp + 0x38]
mov rcx, rbp
call fcn.00417d54
nop
mov rdx, rax
mov rcx, rbx
call fcn.00403a84
nop
mov rcx, qword [rsp + 0x38]
call fcn.004046d0
mov rcx, rbx
call fcn.0040b27c
mov rax, rbx
add rsp, 0x58
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x455b48
Capabilities:
Identify system language via api

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x20
movsxd rbx, dword [rcx + 8]
mov r12, rdx
mov rsi, rcx
test ebx, ebx
mov rdi, rbx
je 0x455b90
shl rdi, 3
mov rax, qword [rsi]
sub rdi, 8
add ebx, 0xffffffff
mov rbp, qword [rdi + rax]
test rbp, rbp
je 0x455b8c
mov rcx, qword [rbp]
call fcn.004046d0
mov rcx, rbp
call fcn.004046d0
test ebx, ebx
jne 0x455b68
mov dword [rsi + 8], 0
mov dword [r12], 0
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx ebx, ax
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp bx, ax
jne 0x455bcd
movzx ecx, ax
mov rdx, rsi
mov eax, ecx
and ecx, 0x3ff
shr eax, 0xa
mov dword [r12], eax
call fcn.004559cc
add rsp, 0x20
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x4569ec
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, 0x12
call qword [sym.imp.USER32.dll_GetKeyState]
mov r11w, ax
shr r11d, 0xf
test r11b, 1
jne 0x456a1f
cmp dword [rbx + 0x54], 1
ja 0x456a1f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x40]
jmp 0x456a27
mov rcx, rbx
call fcn.00456648
add rsp, 0x20
pop rbx
ret
Function at 0x457074
Capabilities:
Get file system object information

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x378
mov qword [rsp + 0xa0], 0xfffffffffffffffe
mov rdi, r9
mov ebp, r8d
mov r12d, edx
mov rsi, rcx
lea rcx, [rsp + 0x50]
call fcn.00403838
nop
cmp byte [rdi], 0
je 0x4570f7
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x80]
call fcn.00455398
nop
mov r8, rax
mov edx, 0xdb0
lea rcx, [rsp + 0x70]
call fcn.00455488
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.00403a84
nop
mov rcx, qword [rsp + 0x70]
call fcn.004046d0
nop
mov rcx, qword [rsp + 0x80]
call fcn.004046d0
lea rcx, [rdi + 0x18]
call fcn.00403e14
lea ebx, [rax + 1]
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rdi + 0x18]
call fcn.00417d54
nop
mov rax, qword [rdi + 0x18]
lea rdx, [rax + rbx*2]
lea rcx, [rsp + 0x60]
call fcn.004038a4
nop
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.00456fa0
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.00456fa0
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.00403994
nop
lea rcx, [rsp + 0x30]
call fcn.00403c0c
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.00403c98
lea rcx, [rsp + 0x30]
call fcn.00403c0c
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.00403c98
lea rcx, [rsp + 0x30]
call fcn.00403c0c
cmp byte [rdi + 1], 0
je 0x4571da
mov edx, 0x3f4
lea rcx, [rsp + 0x30]
call fcn.0045588c
lea rdx, [0x0047b270]
lea rcx, [rsp + 0x30]
call fcn.00403cdc
lea rcx, [rdi + 0x10]
xor r8d, r8d
lea rdx, [rsp + 0x80]
call fcn.0040cc08
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.00403cdc
mov edx, r12d
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov dword [rsp + 0x20], 0x110
mov r9d, 0x2b8
lea r8, [rsp + 0xb0]
mov edx, 0x80
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test rax, rax
je 0x457245
mov edx, ebp
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor r9d, r9d
mov r8, qword [rsp + 0xb0]
mov edx, 0x170
mov rcx, rax
call qword [sym.imp.USER32.dll_SendMessageW]
nop
mov rcx, qword [rsp + 0x30]
call fcn.004046d0
nop
mov rcx, qword [rsp + 0x60]
call fcn.004046d0
nop
mov rcx, qword [rsp + 0x40]
call fcn.004046d0
nop
mov rcx, qword [rsp + 0x50]
call fcn.004046d0
add rsp, 0x378
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x45ad38
Capabilities:
Hide graphical window

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x88
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rsi, rcx
mov rcx, qword [rcx + 0x110]
test rcx, rcx
je 0x45ad71
mov rdx, qword [rsi + 0x118]
test rdx, rdx
je 0x45ad71
mov rax, qword [rcx]
xor r8d, r8d
call qword [rax + 0x50]
mov dl, 1
mov rcx, rsi
call fcn.0045a4fc
mov edx, 0x198
lea rcx, [rsp + 0x28]
call fcn.00455848
mov r8, qword [rax]
mov ebx, 2
mov edx, ebx
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
mov rcx, qword [rsp + 0x28]
call fcn.004046d0
mov edx, ebx
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov edx, 0xf4
lea r9d, [rbx - 1]
mov r8, r9
call qword [sym.imp.USER32.dll_SendMessageW]
mov edx, 0x1bc
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov edx, 0x1be
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
xor edx, edx
mov rcx, rax
call qword [sym.imp.USER32.dll_ShowWindow]
mov r11, qword [rsi]
mov rcx, rsi
call qword [r11 + 0x68]
lea rcx, [rsp + 0x40]
call fcn.00403838
nop
lea rcx, [rsp + 0x50]
call fcn.00403838
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0x60]
call fcn.00403838
nop
lea rcx, [rsp + 0x70]
call fcn.00403838
nop
lea rbx, [rsi + 0x280]
mov qword [rsp + 0xb0], rbx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp dword [rsi + 0x238], 0
setne bpl
lea rdx, [rsi + 0x240]
lea rcx, [rsp + 0x40]
call fcn.00403a84
lea rdx, [rsi + 0x250]
lea rcx, [rsp + 0x50]
call fcn.00403a84
lea rdx, [rsi + 0x260]
lea rcx, [rsp + 0x60]
call fcn.00403a84
lea rdx, [rsi + 0x270]
lea rcx, [rsp + 0x70]
call fcn.00403a84
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [rsp + 0x58], 0
je 0x45aef4
mov byte [rsi + 0x2ab], 1
cmp dword [rsp + 0x48], 0
jne 0x45aed8
lea rdx, [0x0047b95c]
lea rcx, [rsp + 0x40]
call fcn.00403b94
mov r9d, InitCommonControls
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x45af36
test bpl, bpl
jne 0x45af3b
mov byte [rsi + 0x2ab], 1
cmp dword [rsp + 0x78], 0
je 0x45af80
cmp dword [rsp + 0x68], 0
jne 0x45af1f
lea rdx, [0x0047b95c]
lea rcx, [rsp + 0x60]
call fcn.00403b94
xor r9d, r9d
mov r8, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_MessageBoxW]
test bpl, bpl
je 0x45af80
cmp byte [rsi + 0x1ae], 0
jne 0x45af80
mov byte [rsi + 0x1ad], 1
mov rcx, rsi
call fcn.0045a054
nop
mov rcx, qword [rsp + 0x70]
call fcn.004046d0
mov rcx, qword [rsp + 0x60]
call fcn.004046d0
mov rcx, qword [rsp + 0x50]
call fcn.004046d0
mov rcx, qword [rsp + 0x40]
call fcn.004046d0
mov al, 1
jmp 0x45afb7
xor edx, edx
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_EndDialog]
nop
mov rcx, qword [rsp + 0x70]
call fcn.004046d0
mov rcx, qword [rsp + 0x60]
call fcn.004046d0
mov rcx, qword [rsp + 0x50]
call fcn.004046d0
mov rcx, qword [rsp + 0x40]
call fcn.004046d0
mov al, 1
add rsp, 0x88
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x45dc9c
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
push rdi
sub rsp, 0x28
mov rdi, rcx
mov ecx, reloc.COMCTL32.dll_InitCommonControls
mov rbx, rdx
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ecx, word [rbx + 0x18]
mov r11w, ax
shr r11d, 0xf
and r11b, 1
cmp ecx, 8
je 0x45dcf0
cmp ecx, 0x52
je 0x45dce1
cmp ecx, 0x76
je 0x45dcd7
xor al, al
jmp 0x45dcfa
mov rcx, rdi
call fcn.0045d86c
jmp 0x45dcf8
test r11b, r11b
je 0x45dcd3
mov rcx, rdi
call fcn.0045cb8c
jmp 0x45dcf8
mov rcx, rdi
call fcn.0045cc84
mov al, 1
add rsp, 0x28
pop rdi
pop rbx
ret

Function at 0x45e608
Capabilities:
Get file system object information

Disassembly:
push rbx
sub rsp, 0x2f0
mov rbx, r8
lea r8, [rsp + 0x30]
bts edx, 7
mov r9d, 0x2b8
mov dword [rsp + 0x20], 0x4010
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov ecx, dword [rsp + 0x38]
mov dword [rbx], ecx
add rsp, 0x2f0
pop rbx
ret

Function at 0x45e640
Capabilities:
Get file system object information

Disassembly:
sub rsp, 0x2f8
neg cl
lea r8, [rsp + 0x30]
lea rcx, [0x004754e8]
sbb eax, eax
mov r9d, 0x2b8
mov edx, 0x90
and eax, 0xffffff01
add eax, 0x100
or eax, 0x4010
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHELL32.dll_SHGetFileInfoW]
add rsp, 0x2f8
ret
Function at 0x4719c0
Capabilities:
Check os version

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x4719f9
lea rcx, [0x00474c80]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.SetDefaultDllDirectories
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x4719f9
mov ecx, 0xc00
call rax
add rsp, 0x28
ret

Function at 0x471b00
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
lea rax, [rsp + 0x40]
mov r9, r8
mov rbx, rcx
mov r8, rdx
mov qword [rsp + 0x28], rax
xor ecx, ecx
xor edx, edx
mov dword [rsp + 0x20], 0
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov qword [rbx], rax
je 0x471b3b
xor eax, eax
add rsp, 0x30
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
test eax, eax
cmovne ecx, eax
mov eax, ecx
add rsp, 0x30
pop rbx
ret

Function at 0x471b60
Capabilities:
Create thread
Resume thread

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rsi
mov rsi, r9
mov r9, r8
mov rbx, rcx
mov r8, rdx
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x68], rdi
mov dword [rsp + 0x20], 4
call qword [sym.imp.msvcrt.dll__beginthreadex]
test rax, rax
mov qword [rbx], rax
mov rbx, qword [rsp + 0x58]
mov rdi, rax
je 0x471bc5
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x471be6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
test eax, eax
cmovne ecx, eax
mov eax, ecx
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
add rsp, 0x48
ret
mov rdi, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x60]
xor eax, eax
add rsp, 0x48
ret
Function at 0x471e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x198
mov rax, qword [0x0049c730]
mov qword [rsp + 0x150], rax
mov rax, qword [0x0049cd70]
mov qword [r11 - 0x10], rbp
mov qword [r11 - 0x18], rsi
test rax, rax
mov qword [r11 - 0x20], rdi
mov qword [r11 - 0x28], r12
mov qword [r11 - 0x30], r13
mov rdi, r9
mov esi, r8d
mov r12, rdx
mov rbp, rcx
mov r13d, 1
jne 0x471f46
cmp dword [0x0049cd68], eax
jne 0x471f46
lea rax, [rsp + 0x38]
mov qword [r11 - 8], rbx
lea rdx, str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], rax
xor ebx, ebx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x471f19
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, [0x004758da]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x38]
test eax, eax
cmove ebx, r13d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x471f19
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x0049cd70], rax
jmp 0x471f20
mov rax, qword [0x0049cd70]
test rax, rax
mov rbx, qword [rsp + 0x190]
jne 0x471f46
lea rcx, str.hhctrl.ocx
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov qword [0x0049cd70], rax
je 0x471f6e
mov r10, qword [0x0049cd60]
test r10, r10
jne 0x471f79
lea edx, [r10 + 0xf]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov r10, rax
mov qword [0x0049cd60], rax
jne 0x471f79
mov dword [0x0049cd68], r13d
xor eax, eax
jmp 0x471f88
mov r9, rdi
mov r8d, esi
mov rdx, r12
mov rcx, rbp
call r10
mov r13, qword [rsp + 0x168]
mov r12, qword [rsp + 0x170]
mov rdi, qword [rsp + 0x178]
mov rsi, qword [rsp + 0x180]
mov rbp, qword [rsp + 0x188]
mov rcx, qword [rsp + 0x150]
call fcn.004727f0
add rsp, 0x198
ret
Function at 0x4722e0
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
sub rsp, 0xc8
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
lea rcx, [rax - 0x78]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
nop
cmp word [0x00400000], 0x5a4d
je 0x47231d
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
lea rdi, [0x00400000]
jmp 0x4723ab
movsxd rax, dword [0x0040003c]
lea rdi, [0x00400000]
add rax, rdi
cmp dword [rax], 0x4550
je 0x472341
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x4723ab
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x472388
cmp ecx, 0x20b
je 0x472360
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x4723ab
cmp dword [rax + 0x84], 0xe
ja 0x472374
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x4723ab
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
jmp 0x4723ab
cmp dword [rax + 0x74], 0xe
ja 0x472399
xor ebx, ebx
mov dword [rsp + 0xd0], ebx
jmp 0x4723ab
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0xd0], ebx
mov ecx, 2
call qword [sym.imp.msvcrt.dll___set_app_type]
mov qword [0x0049f328], 0xffffffffffffffff
mov qword [0x0049f330], 0xffffffffffffffff
mov rcx, qword [sym.imp.msvcrt.dll__fmode]
mov eax, dword [0x0049cd84]
mov dword [rcx], eax
mov rcx, qword [sym.imp.msvcrt.dll__commode]
mov eax, dword [0x0049cd80]
mov dword [rcx], eax
call fcn.00472590
cmp dword [0x0049c720], 0
jne 0x472405
lea rcx, [fcn.00472590]
call qword [sym.imp.msvcrt.dll___setusermatherr]
lea rdx, [0x00474700]
lea rcx, [0x004746f8]
call fcn.0053f000
mov r11d, dword [0x0049cd7c]
mov dword [rsp + 0xd8], r11d
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, dword [0x0049cd78]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x3c]
call qword [sym.imp.msvcrt.dll___getmainargs]
lea rdx, [0x004746f0]
lea rcx, [0x00474698]
call sub.msvcrt.dll__initterm
mov r11, qword [sym.imp.msvcrt.dll__acmdln]
mov r8, qword [r11]
mov qword [rsp + 0x30], r8
cmp byte [r8], 0x22
jne 0x4724a6
nop
nop
inc r8
mov qword [rsp + 0x30], r8
movzx eax, byte [r8]
test al, al
je 0x472496
cmp al, 0x22
je 0x472496
jmp 0x472480
cmp byte [r8], 0x22
jne 0x4724b6
inc r8
mov qword [rsp + 0x30], r8
jmp 0x4724b6
cmp byte [r8], 0x20
jbe 0x4724b6
inc r8
mov qword [rsp + 0x30], r8
jmp 0x4724a6
movzx eax, byte [r8]
test al, al
je 0x4724cc
cmp al, 0x20
ja 0x4724cc
inc r8
mov qword [rsp + 0x30], r8
jmp 0x4724b6
test byte [rsp + 0x8c], 1
je 0x4724e1
movzx r9d, word [rsp + 0x90]
jmp 0x4724e7
mov r9d, 0xa
xor edx, edx
mov rcx, rdi
call fcn.0046d44c
mov edi, eax
mov dword [rsp + 0x38], eax
test ebx, ebx
jne 0x472503
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
call qword [sym.imp.msvcrt.dll__cexit]
jmp 0x472527
mov eax, edi
jmp 0x472530
mov rbx, qword [rsp + 0xe0]
mov rdi, qword [rsp + 0xe8]
add rsp, 0xc8
ret
Function at 0x472660
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
sub rsp, 0x68
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rdi, rcx
lea rsi, [0x0049ce30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rbx, qword [0x0049cf28]
lea rdx, [rsp + 0x70]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x4726e1
mov rdx, qword [rsp + 0x70]
mov qword [rsp + 0x38], 0
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x48]
mov r9, rax
mov qword [rsp + 0x28], rcx
xor ecx, ecx
mov r8, rbx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
mov r11, qword [0x0049cf28]
jmp 0x4726fd
mov r11, qword [rsp + 0x68]
lea rax, [rsp + 0x68]
add rax, 8
mov qword [0x0049cf28], r11
mov qword [0x0049cec8], rax
mov rax, qword [0x0049c730]
mov qword [0x0049cda0], r11
mov qword [0x0049ceb0], rdi
mov dword [0x0049cd90], 0xc0000409
mov dword [0x0049cd94], 1
mov qword [rsp + 0x50], rax
mov rax, qword [0x0049c728]
xor ecx, ecx
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x0047ed80]
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]
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbx, qword [rsp + 0x78]
add rsp, 0x68
ret
cmp rcx, qword [0x0049c730]
jne 0x472809
rol rcx, 0x10
test cx, 0xffff
jne 0x472805
ret
ror rcx, 0x10
jmp 0x472660
Function at 0x417120
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4172cb
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433d40
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
nop
jne 0x41718e
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
jmp 0x4171a1
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
sub rcx, rbx
add rax, rbx
mov rbx, rcx
test rbx, rbx
jbe 0x4171c5
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x40], rax
mov rcx, rbx
jmp 0x4171d9
cmp rbx, 0x1000
jae 0x417198
nop
jmp 0x417249
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
shr rbx, 1
and rbx, 0xfffffffffffff000
mov qword [rsp + 0x38], rbx
nop
cmp rbx, 0x1000
jae 0x4171ed
xor edx, edx
jmp 0x417240
mov rcx, qword [sym.imp.kernel32.dll_VirtualFree]
mov qword [rsp], rcx
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], 0x4000
call fcn.00433d40
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
cmp qword [rsp + 0x20], 0
sete al
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x38]
mov edx, eax
mov rax, qword [rsp + 0x40]
nop
test dl, dl
jne 0x4171cf
jmp 0x4171b5
call fcn.00464900
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov eax, dword [rsp]
mov qword [rsp + 0x30], rax
call fcn.004384a0
lea rax, [0x005124db]
mov ebx, 0x18
nop dword [rax + rax]
call fcn.00438da0
mov rax, qword [rsp + 0x38]
call fcn.00438aa0
lea rax, [0x005125b3]
mov ebx, 0x19
nop dword [rax + rax]
call fcn.00438da0
mov rax, qword [rsp + 0x30]
call fcn.00438aa0
call fcn.00438700
call fcn.00438520
lea rax, [0x00514a11]
mov ebx, 0x21
call fcn.00436be0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00460d40
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00417120