joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424b70
Capabilities:
Create thread

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x40], r12
xor ebx, ebx
test r8, r8
mov qword [rsp + 0x38], r13
mov rbp, r9
mov rsi, r8
mov r13, rcx
mov r12d, edx
jne 0x424bb2
call fcn.0042a260
mov dword [rax], 0x16
xor eax, eax
jmp 0x424c50
mov edx, 0x130
mov ecx, 1
mov qword [rsp + 0x48], rdi
call fcn.0042be30
test rax, rax
mov rdi, rax
je 0x424c36
mov rcx, rax
call fcn.00428370
mov rcx, qword [rsp + 0x98]
mov eax, dword [rsp + 0x90]
test rcx, rcx
lea r8, [rsp + 0x80]
mov rdx, r12
cmovne r8, rcx
mov r9, rdi
mov rcx, r13
mov qword [rsp + 0x28], r8
lea r8, [0x00424a90]
mov qword [rdi + 0x88], rsi
mov qword [rdi + 0x90], rbp
mov qword [rdi + 8], 0xffffffffffffffff
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateThread]
test rax, rax
jne 0x424c4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, rdi
call fcn.004230a0
test ebx, ebx
je 0x424c49
mov ecx, ebx
call fcn.0042a2c0
xor eax, eax
mov rdi, qword [rsp + 0x48]
mov r13, qword [rsp + 0x38]
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x4268f0
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
xor edx, edx
mov r8d, 0x94
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rax, rax
jne 0x426927
mov eax, 0xff
jmp 0x426b59
mov dword [rax], 0x94
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x426958
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0xff
jmp 0x426b59
mov eax, dword [rbx + 0x10]
mov dword [0x0044ab0c], eax
mov eax, dword [rbx + 4]
mov dword [0x0044ab18], eax
mov eax, dword [rbx + 8]
mov dword [0x0044ab1c], eax
mov eax, dword [rbx + 0xc]
and eax, 0x7fff
mov dword [0x0044ab10], eax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [0x0044ab0c], 2
je 0x4269a6
bts dword [0x0044ab10], 0xf
mov eax, dword [0x0044ab18]
shl eax, 8
add eax, dword [0x0044ab1c]
mov dword [0x0044ab14], eax
cmp word [0x00400000], 0x5a4d
je 0x4269ce
xor ebx, ebx
mov dword [rsp + 0x40], ebx
jmp 0x426a4a
movsxd rax, dword [0x0040003c]
lea rcx, [0x00400000]
add rax, rcx
cmp dword [rax], 0x4550
je 0x4269ef
xor ebx, ebx
mov dword [rsp + 0x40], ebx
jmp 0x426a4a
movzx ecx, word [rax + 0x18]
cmp ecx, 0x10b
je 0x426a2d
cmp ecx, 0x20b
je 0x426a0b
xor ebx, ebx
mov dword [rsp + 0x40], ebx
jmp 0x426a4a
cmp dword [rax + 0x84], 0xe
ja 0x426a1c
xor ebx, ebx
mov dword [rsp + 0x40], ebx
jmp 0x426a4a
xor ebx, ebx
cmp dword [rax + 0xf8], ebx
setne bl
mov dword [rsp + 0x40], ebx
jmp 0x426a4a
cmp dword [rax + 0x74], 0xe
ja 0x426a3b
xor ebx, ebx
mov dword [rsp + 0x40], ebx
jmp 0x426a4a
xor ebx, ebx
cmp dword [rax + 0xe8], ebx
setne bl
mov dword [rsp + 0x40], ebx
mov ecx, 1
call fcn.00427f80
test eax, eax
jne 0x426a7a
cmp dword [0x0044ab90], 2
je 0x426a66
call fcn.004302a0
mov ecx, 0x1c
call fcn.00430070
mov ecx, 0xff
call fcn.004256b0
call fcn.004286a0
test eax, eax
jne 0x426aa6
cmp dword [0x0044ab90], 2
je 0x426a91
call fcn.004302a0
mov ecx, 0x10
call fcn.00430070
mov ecx, 0xff
call fcn.004256b0
nop
call fcn.0042bab0
test eax, eax
jns 0x426ab9
mov ecx, 0x1b
call fcn.004268c0
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov qword [0x0044b8a8], rax
call fcn.00430750
mov qword [0x0044ab80], rax
call fcn.00430650
test eax, eax
jns 0x426ae5
mov ecx, 8
call fcn.004268c0
call fcn.004302f0
test eax, eax
jns 0x426af8
mov ecx, 9
call fcn.004268c0
call fcn.00425760
test eax, eax
je 0x426b08
mov ecx, eax
call fcn.004268c0
mov r8, qword [0x0044ab38]
mov qword [0x0044ab40], r8
mov rdx, qword [0x0044ab28]
mov ecx, dword [0x0044ab20]
call fcn.0040d580
mov edi, eax
mov dword [rsp + 0x20], eax
test ebx, ebx
jne 0x426b39
mov ecx, eax
call fcn.00425900
call fcn.00425920
jmp 0x426b57
mov eax, edi
mov rbx, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x38
ret
Function at 0x430070
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x40], r12
lea r12, [0x00449e70]
mov rax, r12
xor ebx, ebx
nop
nop
cmp ecx, dword [rax]
je 0x43009f
inc ebx
add rax, 0x10
cmp ebx, 0x13
jb 0x430090
cmp ebx, 0x13
je 0x430289
mov eax, dword [0x0044ab90]
mov qword [rsp + 0x68], rdi
cmp eax, 1
je 0x43023e
test eax, eax
jne 0x4300cd
cmp dword [0x00449738], 1
je 0x43023e
cmp ecx, 0xfc
je 0x430284
mov qword [rsp + 0x58], rbp
lea rbp, [0x0044aec0]
mov qword [rsp + 0x60], rsi
lea rsi, [0x00400000]
lea rdx, [0x0044aeda]
mov r8d, 0x104
mov rax, qword [rsi + 0x3d378]
xor ecx, ecx
mov qword [rbp], rax
mov rax, qword [rsi + 0x3d380]
mov qword [rbp + 8], rax
mov rax, qword [rsi + 0x3d388]
mov qword [rbp + 0x10], rax
movzx eax, word [rsi + 0x3d390]
mov word [rbp + 0x18], ax
mov byte [0x0044afde], 0
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x430180
mov rax, qword [rsi + 0x3d360]
mov qword [rsi + 0x4aeda], rax
mov rax, qword [rsi + 0x3d368]
mov qword [rsi + 0x4aee2], rax
mov eax, dword [rsi + 0x3d370]
mov dword [rsi + 0x4aeea], eax
movzx eax, word [rsi + 0x3d374]
mov word [rsi + 0x4aeee], ax
movzx eax, byte [rsi + 0x3d376]
mov byte [rsi + 0x4aef0], al
mov rsi, qword [rsp + 0x60]
xor eax, eax
lea rdi, [0x0044aeda]
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
not rcx
cmp rcx, 0x3c
jbe 0x4301b5
lea rcx, [rcx + rbp - 0x22]
lea r8d, [rax + 3]
lea rdx, [0x0043d35c]
call fcn.004273a0
xor eax, eax
mov rdi, rbp
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
movzx eax, word [0x0043d358]
movsxd rdx, ebx
mov word [rdi - 1], ax
movzx eax, byte [0x0043d35a]
add rdx, rdx
mov r8, qword [r12 + rdx*8 + 8]
mov byte [rdi + 1], al
xor eax, eax
mov rdi, rbp
mov rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor edx, edx
nop
nop
nop
nop
movzx eax, byte [r8 + rdx]
inc rdx
test al, al
mov byte [rdi + rdx - 2], al
jne 0x430200
lea rdx, str.Microsoft_Visual_C_Runtime_Library
mov r8d, 0x12010
mov rcx, rbp
call fcn.00434850
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x48
ret
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
test rax, rax
mov r11, rax
je 0x430284
xor eax, eax
movsxd rcx, ebx
lea r9, [rsp + 0x30]
add rcx, rcx
mov qword [rsp + 0x20], rax
mov rdx, qword [r12 + rcx*8 + 8]
mov rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
mov rcx, r11
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdi, qword [rsp + 0x68]
mov r12, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x48
ret

Function at 0x431ca0
Capabilities:
Get geographical location

Disassembly:
sub rsp, 0x38
mov rax, qword [0x00449028]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x20]
mov r9d, 6
mov edx, 0x1004
mov byte [rsp + 0x26], 0
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x431ce3
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x28]
call fcn.00437a60
add rsp, 0x38
ret
lea rcx, [rsp + 0x20]
call fcn.004253e0
mov rcx, qword [rsp + 0x28]
call fcn.00437a60
add rsp, 0x38
ret
Function at 0x432010
Capabilities:
Get system information on windows

Disassembly:
push rbp
sub rsp, 0xb0
lea rbp, [rsp + 0x20]
mov qword [rbp + 0xa0], rbx
mov qword [rbp + 0xa8], rsi
mov qword [rbp + 0xb0], rdi
mov qword [rbp + 0xb8], r12
mov qword [rbp + 0x88], r13
mov qword [rbp + 0x80], r14
mov qword [rbp + 0x78], r15
mov rax, qword [0x00449028]
mov qword [rbp + 0x68], rax
mov eax, dword [rsp]
sub rsp, 0x10
lea rdx, [rbp + 8]
mov eax, dword [rsp + 0x20]
lea r12, [rsp + 0x20]
mov r8d, 0x30
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x43216e
mov r14, qword [rbp + 0x10]
lea rcx, [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [0x0044ab0c]
mov edi, dword [rbp + 0x3c]
xor ebx, ebx
cmp ecx, 2
jne 0x4320e4
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test rax, rax
je 0x4320de
lea rdx, str.SetThreadStackGuarantee
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x4320de
lea rcx, [rbp]
mov dword [rbp], ebx
call rax
cmp eax, 1
jne 0x4320de
mov eax, dword [rbp]
test eax, eax
cmovne ebx, eax
mov ecx, dword [0x0044ab0c]
mov r15d, 1
lea r8d, [rdi - 1]
lea edx, [rbx + rdi - 1]
cmp ecx, r15d
mov eax, r8d
mov esi, 0x104
not eax
cmove esi, r15d
and edx, eax
je 0x432109
add edx, edi
lea eax, [rdi + rdi*2]
mov ebx, r8d
cmp edx, eax
not rbx
cmovb edx, eax
and rbx, r12
mov eax, 0x11
mov r13d, edx
sub rbx, r13
cmp ecx, r15d
cmove edi, eax
mov eax, edi
add rax, r14
cmp rbx, rax
jb 0x43216e
mov r9d, 4
mov r8d, 0x1000
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x43216e
lea r9, [rbp + 4]
mov r8d, esi
mov rdx, r13
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x43216e
mov eax, r15d
jmp 0x432170
xor eax, eax
mov rcx, qword [rbp + 0x68]
call fcn.00437a60
mov rbx, qword [rbp + 0xa0]
mov rsi, qword [rbp + 0xa8]
mov rdi, qword [rbp + 0xb0]
mov r12, qword [rbp + 0xb8]
mov r13, qword [rbp + 0x88]
mov r14, qword [rbp + 0x80]
mov r15, qword [rbp + 0x78]
lea rsp, [rbp + 0x90]
pop rbp
ret
Function at 0x432460
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
sub rsp, 0x498
mov rax, qword [0x00449028]
mov qword [rsp + 0x450], rax
mov qword [r11 - 8], rbp
mov qword [r11 - 0x10], rsi
mov qword [r11 - 0x20], r12
mov qword [r11 - 0x28], r13
xor esi, esi
xor r13d, r13d
test r8d, r8d
mov r12d, r8d
mov rbp, rdx
jne 0x4324a0
xor eax, eax
jmp 0x4326a2
movsxd rax, ecx
mov qword [rsp + 0x460], r15
lea r9, [0x0044b6a0]
mov r15b, al
mov rdx, rax
sar rdx, 5
and r15d, 0x1f
mov rax, qword [r9 + rdx*8]
mov qword [rsp + 0x38], rdx
imul r15, r15, 0x38
test byte [r15 + rax + 8], 0x20
je 0x4324ec
xor edx, edx
lea r8d, [rdx + 2]
call fcn.00434be0
mov rdx, qword [rsp + 0x38]
lea r9, [0x0044b6a0]
mov rcx, qword [r9 + rdx*8]
mov qword [rsp + 0x480], rdi
mov qword [rsp + 0x468], r14
test byte [r15 + rcx + 8], 0x80
je 0x432603
xor r14d, r14d
test r12d, r12d
mov rdi, rbp
je 0x432651
mov qword [rsp + 0x4b8], rbx
nop
nop
nop
nop
lea rbx, [rsp + 0x40]
xor ecx, ecx
mov eax, edi
sub eax, ebp
cmp eax, r12d
jae 0x432566
movzx eax, byte [rdi]
inc rdi
cmp al, 0xa
jne 0x432555
mov byte [rbx], 0xd
inc rbx
inc esi
inc rcx
inc rcx
mov byte [rbx], al
inc rbx
cmp rcx, 0x400
jl 0x432537
mov rcx, qword [r9 + rdx*8]
lea rax, [rsp + 0x40]
mov r8d, ebx
mov rcx, qword [r15 + rcx]
lea r9, [rsp + 0x30]
lea rdx, [rsp + 0x40]
sub r8d, eax
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4325f8
movsxd rax, dword [rsp + 0x30]
lea rcx, [rsp + 0x40]
sub rbx, rcx
add r13d, eax
cmp rax, rbx
jl 0x4325c0
mov rdx, qword [rsp + 0x38]
mov eax, edi
lea r9, [0x0044b6a0]
sub eax, ebp
cmp eax, r12d
jb 0x432530
mov rbx, qword [rsp + 0x4b8]
test r13d, r13d
jne 0x432684
test r14d, r14d
je 0x432645
cmp r14d, 5
jne 0x432636
call fcn.0042a260
mov dword [rax], 9
call fcn.0042a290
mov dword [rax], r14d
lea eax, [r14 - 6]
jmp 0x43268a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
jmp 0x4325c0
mov rcx, qword [r15 + rcx]
lea r9, [rsp + 0x30]
mov r8d, r12d
mov rdx, rbp
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x43262b
mov r13d, dword [rsp + 0x30]
xor r14d, r14d
jmp 0x4325c8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
jmp 0x4325d1
mov ecx, r14d
call fcn.0042a2c0
mov eax, 0xffffffff
jmp 0x43268a
mov rdx, qword [rsp + 0x38]
lea r9, [0x0044b6a0]
mov rax, qword [r9 + rdx*8]
test byte [r15 + rax + 8], 0x40
je 0x432667
cmp byte [rbp], 0x1a
jne 0x432667
xor eax, eax
jmp 0x43268a
call fcn.0042a260
mov dword [rax], 0x1c
call fcn.0042a290
mov dword [rax], 0
mov eax, 0xffffffff
jmp 0x43268a
sub r13d, esi
mov eax, r13d
mov rdi, qword [rsp + 0x480]
mov r14, qword [rsp + 0x468]
mov r15, qword [rsp + 0x460]
mov r13, qword [rsp + 0x470]
mov r12, qword [rsp + 0x478]
mov rsi, qword [rsp + 0x488]
mov rbp, qword [rsp + 0x490]
mov rcx, qword [rsp + 0x450]
call fcn.00437a60
add rsp, 0x498
ret
Function at 0x432fa0
Capabilities:
Set environment variable

Disassembly:
sub rsp, 0x48
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x30], r14
xor r12d, r12d
test rcx, rcx
mov qword [rsp + 0x28], r15
mov r15d, edx
mov rsi, rcx
je 0x43321a
lea edx, [r12 + 0x3d]
call fcn.00434d10
test rax, rax
mov r14, rax
je 0x43321a
cmp rsi, rax
je 0x43321a
cmp byte [rax + 1], r12b
mov rbx, qword [0x0044ab38]
mov qword [rsp + 0x38], r13
mov r13d, r12d
sete r13b
cmp rbx, qword [0x0044ab40]
jne 0x433020
mov rcx, rbx
call fcn.00432ef0
mov rbx, rax
mov qword [0x0044ab38], rax
test rbx, rbx
jne 0x43309d
test r15d, r15d
je 0x433046
cmp qword [0x0044ab48], r12
je 0x433046
call fcn.0042c690
test eax, eax
je 0x433096
mov eax, 0xffffffff
jmp 0x43314f
test r13d, r13d
je 0x433052
xor eax, eax
jmp 0x43314f
mov ecx, 8
call fcn.0042bdc0
test rax, rax
mov qword [0x0044ab38], rax
je 0x43303c
mov qword [rax], r12
cmp qword [0x0044ab48], r12
jne 0x433096
mov ecx, 8
call fcn.0042bdc0
test rax, rax
mov qword [0x0044ab48], rax
je 0x43303c
mov qword [rax], r12
mov rbx, qword [0x0044ab38]
jmp 0x43309d
mov rbx, qword [0x0044ab38]
mov edx, r14d
mov rcx, rsi
mov qword [rsp + 0x58], rbp
sub edx, esi
mov qword [rsp + 0x68], rdi
call fcn.00432e50
test eax, eax
movsxd rdi, eax
js 0x433118
cmp qword [rbx], r12
je 0x433118
mov rcx, qword [rbx + rdi*8]
call fcn.004230a0
test r13d, r13d
je 0x433112
cmp qword [rbx + rdi*8], r12
je 0x4330f5
lea rdx, [rbx + rdi*8]
mov rcx, rdx
nop
nop
mov rax, qword [rdx + 8]
add rcx, 8
inc edi
mov qword [rdx], rax
cmp qword [rcx], r12
mov rdx, rcx
jne 0x4330e0
movsxd rdx, edi
mov rcx, rbx
shl rdx, 3
call fcn.0042bec0
test rax, rax
je 0x433185
mov qword [0x0044ab38], rax
jmp 0x433185
mov qword [rbx + rdi*8], rsi
jmp 0x433185
test r13d, r13d
jne 0x43320b
test eax, eax
jns 0x433127
neg edi
lea eax, [rdi + 2]
mov rcx, rbx
movsxd rdx, eax
shl rdx, 3
call fcn.0042bec0
test rax, rax
mov r11, rax
jne 0x433172
lea eax, [r11 - 1]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x58]
mov r13, qword [rsp + 0x38]
mov r15, qword [rsp + 0x28]
mov r14, qword [rsp + 0x30]
mov r12, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
add rsp, 0x48
ret
movsxd rax, edi
mov qword [r11 + rax*8], rsi
mov qword [r11 + rax*8 + 8], r12
mov qword [0x0044ab38], r11
test r15d, r15d
je 0x4331f6
xor eax, eax
mov rbx, 0xffffffffffffffff
mov rdi, rsi
mov rcx, rbx
repne scasb al, byte [rdi]
not rcx
inc rcx
call fcn.0042bdc0
test rax, rax
mov rdi, rax
je 0x4331f6
mov rdx, rsi
sub rax, rsi
nop
nop
nop
movzx ecx, byte [rdx]
inc rdx
test cl, cl
mov byte [rax + rdx - 1], cl
jne 0x4331c0
lea rdx, [rax + r14]
mov rcx, rdi
mov byte [rdx], r12b
inc rdx
test r13d, r13d
cmovne rdx, r12
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov rcx, rdi
test eax, eax
cmove r12d, ebx
call fcn.004230a0
test r13d, r13d
je 0x433203
mov rcx, rsi
call fcn.004230a0
mov eax, r12d
jmp 0x433145
mov rcx, rsi
call fcn.004230a0
xor eax, eax
jmp 0x433145
mov eax, 0xffffffff
jmp 0x433154
Function at 0x434850
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x58
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rsi
xor esi, esi
mov qword [rsp + 0x78], rdi
mov qword [rsp + 0x50], r12
cmp qword [0x0044b3d8], rsi
mov ebx, r8d
mov rbp, rdx
mov r12, rcx
jne 0x434936
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rdi, rax
je 0x434926
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x0044b3d8], rax
je 0x434926
lea rdx, str.GetActiveWindow
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.GetLastActivePopup
mov rcx, rdi
mov qword [0x0044b3e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp dword [0x0044ab0c], 2
mov qword [0x0044b3e8], rax
jne 0x43492d
lea rdx, str.GetUserObjectInformationA
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
mov qword [0x0044b3f8], rax
je 0x43492d
lea rdx, str.GetProcessWindowStation
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x0044b3f0], rax
jmp 0x43493d
xor eax, eax
jmp 0x4349c7
mov rax, qword [0x0044b3f0]
jmp 0x43493d
mov rax, qword [0x0044b3f0]
test rax, rax
je 0x43498b
call rax
test rax, rax
je 0x434976
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call qword [0x0044b3f8]
test eax, eax
je 0x434976
test byte [rsp + 0x40], 1
jne 0x43498b
cmp dword [0x0044ab18], 4
jb 0x434985
bts ebx, 0x15
jmp 0x4349b5
bts ebx, 0x12
jmp 0x4349b5
mov rax, qword [0x0044b3e0]
test rax, rax
je 0x4349b5
call rax
test rax, rax
mov rsi, rax
je 0x4349b5
mov rdx, qword [0x0044b3e8]
test rdx, rdx
je 0x4349b5
mov rcx, rax
call rdx
mov rsi, rax
mov r9d, ebx
mov r8, rbp
mov rdx, r12
mov rcx, rsi
call qword [0x0044b3d8]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
add rsp, 0x58
ret
Function at 0x435180
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
sub rsp, 0x90
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x58], rbx
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x38], r13
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x28], r15
mov rax, qword [0x00449028]
mov qword [rbp + 0x18], rax
mov edi, r9d
mov r14, r8
mov r12d, edx
mov r13d, ecx
mov r10d, dword [0x0044b400]
test r10d, r10d
jne 0x435223
xor r9d, r9d
xor r8d, r8d
lea edx, [r10 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x435203
mov r10d, 1
mov dword [0x0044b400], r10d
jmp 0x435223
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r10d, dword [0x0044b400]
mov ecx, 2
cmp eax, 0x78
cmove r10d, ecx
mov dword [0x0044b400], r10d
cmp r10d, 1
jne 0x435240
mov r9d, edi
mov r8, r14
mov edx, r12d
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x43535f
cmp r10d, 2
je 0x435252
test r10d, r10d
je 0x435252
xor eax, eax
jmp 0x43535f
xor esi, esi
xor r15d, r15d
mov eax, dword [rbp + 0x90]
test eax, eax
cmove eax, dword [0x0044ae88]
mov dword [rbp + 0x90], eax
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
movsxd rcx, eax
mov dword [rbp], ecx
test eax, eax
je 0x43535f
lea rax, [rcx + 0xf]
and rax, 0xfffffffffffffff0
call fcn.00437a90
sub rsp, rax
lea rbx, [rsp + 0x30]
mov qword [rbp + 0x10], rbx
jmp 0x4352cf
test rbx, rbx
jne 0x4352ea
movsxd rcx, ecx
call fcn.0042bdc0
mov rbx, rax
test rax, rax
je 0x43535f
mov r15d, 1
mov r9d, dword [rbp]
mov r8, rbx
mov edx, r12d
mov ecx, r13d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x435350
test edi, edi
jne 0x43532c
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], 0
lea r9d, [rdi - 1]
mov r8, rbx
lea edx, [rdi + 1]
mov ecx, dword [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
jmp 0x435350
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], r14
mov r9d, 0xffffffff
mov r8, rbx
lea edx, [r9 + 2]
mov ecx, dword [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test r15d, r15d
je 0x43535d
mov rcx, rbx
call fcn.004230a0
mov eax, esi
mov rcx, qword [rbp + 0x18]
call fcn.00437a60
mov rbx, qword [rbp + 0x58]
mov rsi, qword [rbp + 0x50]
mov rdi, qword [rbp + 0x48]
mov r12, qword [rbp + 0x40]
mov r13, qword [rbp + 0x38]
mov r14, qword [rbp + 0x30]
mov r15, qword [rbp + 0x28]
lea rsp, [rbp + 0x60]
pop rbp
ret
Function at 0x435390
Capabilities:
Get geographical location

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbp
sub rsp, 0xa0
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x58], rbx
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x48], rdi
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x38], r13
mov qword [rbp + 0x30], r14
mov qword [rbp + 0x28], r15
mov rax, qword [0x00449028]
mov qword [rbp + 0x18], rax
mov esi, r9d
mov r15, r8
mov r13d, edx
mov r14d, ecx
mov r10d, dword [0x0044b404]
test r10d, r10d
jne 0x435433
xor r9d, r9d
xor r8d, r8d
lea edx, [r10 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x435413
mov r10d, 1
mov dword [0x0044b404], r10d
jmp 0x435433
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r10d, dword [0x0044b404]
mov ecx, 2
cmp eax, 0x78
cmove r10d, ecx
mov dword [0x0044b404], r10d
cmp r10d, 2
je 0x43558d
test r10d, r10d
je 0x43558d
cmp r10d, 1
jne 0x435589
xor edi, edi
mov r12d, edi
mov eax, edi
mov dword [rbp], edi
mov eax, dword [rbp + 0x90]
test eax, eax
cmove eax, dword [0x0044ae88]
mov dword [rbp + 0x90], eax
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
movsxd rcx, eax
mov dword [rbp + 4], ecx
test eax, eax
je 0x43559f
mov rax, rcx
add rax, rax
add rax, 0xf
and rax, 0xfffffffffffffff0
call fcn.00437a90
sub rsp, rax
lea rbx, [rsp + 0x40]
mov qword [rbp + 0x10], rbx
jmp 0x4354de
test rbx, rbx
jne 0x435501
movsxd rcx, ecx
add rcx, rcx
call fcn.0042bdc0
mov rbx, rax
test rax, rax
je 0x43559f
mov dword [rbp], 1
mov r9d, dword [rbp + 4]
mov r8, rbx
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x435576
test esi, esi
jne 0x435549
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
lea r9d, [rsi - 1]
mov r8, rbx
xor edx, edx
mov ecx, dword [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r12d, eax
jmp 0x435576
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], r15
mov r9d, 0xffffffff
mov r8, rbx
xor edx, edx
mov ecx, dword [rbp + 0x90]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov r12d, eax
cmp dword [rbp], 0
je 0x435584
mov rcx, rbx
call fcn.004230a0
mov eax, r12d
jmp 0x43559f
xor eax, eax
jmp 0x43559f
mov r9d, esi
mov r8, r15
mov edx, r13d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov rcx, qword [rbp + 0x18]
call fcn.00437a60
mov rbx, qword [rbp + 0x58]
mov rsi, qword [rbp + 0x50]
mov rdi, qword [rbp + 0x48]
mov r12, qword [rbp + 0x40]
mov r13, qword [rbp + 0x38]
mov r14, qword [rbp + 0x30]
mov r15, qword [rbp + 0x28]
lea rsp, [rbp + 0x60]
pop rbp
ret