joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401520
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, edx
mov dword [ebp - 0x24], 0xffffffff
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 0x2c], eax
mov esi, eax
mov dword [ebp - 0x28], edi
nop dword [eax]
push 0x1c
lea eax, [ebp - 0x20]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x4015c0
cmp dword [ebp - 0x10], 0x10000
jne 0x40159c
mov ecx, dword [ebp - 0x14]
cmp ecx, edi
jb 0x40159f
mov edi, dword [ebp - 0x20]
mov eax, edi
sub eax, dword [ebp - 0x2c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0x7fffffff
jge 0x40159f
push 0x40
push 0x3000
push dword [ebp - 0x28]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
test eax, eax
jne 0x4015d0
mov ecx, dword [ebp - 0x14]
cmp dword [ebp - 0x24], 0
jle 0x4015a9
add esi, ecx
jmp 0x4015ab
sub esi, ecx
push 0x1c
lea eax, [ebp - 0x20]
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov edi, dword [ebp - 0x28]
test eax, eax
jne 0x401562
mov eax, dword [ebp - 0x24]
add eax, 2
mov dword [ebp - 0x24], eax
cmp eax, 1
jle 0x401550
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040418d
mov esp, ebp
pop ebp
ret
Function at 0x404a2e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404a6d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404a6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404a6d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404a6d
cmp dword [ecx + 0x74], 0xe
jbe 0x404a6d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x401080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x13c
mov eax, dword [0x404008]
xor eax, esp
mov dword [esp + 0x138], eax
push esi
lea eax, [esp + 8]
mov dword [esp + 4], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionOpenWith
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
push reloc.OLEAUT32.dll_SysReAllocString
movaps xmmword [esp + 0x34], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401191
mov esi, dword [esp + 8]
test esi, esi
je 0x401191
push pe_nt_image_headers32
push eax
lea eax, [esp + 0x40]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x1c], pe_nt_image_headers32
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0x403224
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401191
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401130
sub ecx, edx
sar ecx, 1
cmp ecx, 0x26
jne 0x401191
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x401191
lea eax, [esp + 4]
mov dword [esp + 0xc], 0x6a283fe2
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x4599ecfa
push eax
push 4
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x24], 0x9e8c491
push eax
mov dword [esp + 0x2c], 0x267b1357
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.004012f0
mov esp, ebp
pop ebp
ret

Function at 0x4011b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 2
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.00401080
mov ebx, eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CoAllowSetForegroundWindow]
push str..pdf
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x401232
mov edi, dword [ebx]
push 4
push esi
push dword [ebp - 4]
mov edi, dword [edi + 0xc]
mov ecx, edi
push ebx
call dword [0x403110]
call edi
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x403110]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x8007000e
call fcn.00401030
int3
Function at 0x1a418f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x148c000]
push edi
or ebp, 0xffffffff
jmp 0x1a41912
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1a41919
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a41908
mov eax, 1
add ebx, ebx
jne 0x1a4192b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1a4193c
jne 0x1a4195b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a4195b
dec eax
add ebx, ebx
jne 0x1a41948
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1a41920
add ebx, ebx
jne 0x1a41957
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1a419ad
xor ecx, ecx
sub eax, 3
jb 0x1a41973
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1a419e2
sar eax, 1
mov ebp, eax
jmp 0x1a4197e
add ebx, ebx
jne 0x1a4197e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a4194c
inc ecx
add ebx, ebx
jne 0x1a4198c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1a4194c
add ebx, ebx
jne 0x1a41999
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1a4198e
jne 0x1a419aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1a4198e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1a419cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1a419be
jmp 0x1a4190e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1a419cc
add edi, ecx
jmp 0x1a4190e
pop esi
mov edi, esi
mov ecx, 0x4ca7fd
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x1a41a07
cmp byte [edi], 0x65
jne 0x1a419ec
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1a419ea
lea edi, [esi + 0x1605000]
mov eax, dword [edi]
or eax, eax
je 0x1a41a4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x25e5e3c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25e5f6c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1a41a0d
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x25e5f74]
or eax, eax
je 0x1a41a49
mov dword [ebx], eax
add ebx, 4
jmp 0x1a41a2a
call dword [esi + 0x25e5f70]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1a41a80
cmp al, 0xef
ja 0x1a41a73
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1a41a55
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1a41a62
mov ebp, dword [esi + 0x25e5f78]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x1a41ab4
sub esp, 0xffffff80
jmp 0x92006c
Function at 0x10003820
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058e65
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1000388c
lea eax, [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10003881
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1000387f
push 0x8fa
push 0x4e3b
push 0
push 0x3b49
call fcn.1001011d
add esp, 0x10
jmp 0x10003887
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
jmp 0x10003986
lea eax, [ebp + 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x100038be
mov byte [ebp - 0x12], 0
push 0
push 0
push 0x4e06
lea edx, [ebp - 0x12]
mov ecx, 0x703f
call fcn.10001cef
add esp, 0xc
jmp 0x10003986
mov dword [ebp - 0x24], 0x4538
mov dword [ebp - 0x30], str.wfbg_mpqsoe_syavjptfd_lsctphzzy_qdyyxdnd_rzbaqvib_mvintvhes_vyfmrtme_gbm
cmp dword [ebp - 0x24], 0x48b9
jle 0x10003940
and dword [ebp - 0x20], 0
jmp 0x100038e2
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xbaf
jge 0x10003940
and dword [ebp - 0x18], 0
jmp 0x100038f8
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2b19
jge 0x1000393e
and dword [ebp - 0x1c], 0
jmp 0x1000390e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x620e
jge 0x1000393c
mov eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 0x1c]
add edx, dword [ebp - 0x20]
mov eax, edx
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov ecx, 0x10072098
call fcn.10013ec4
jmp 0x10003907
jmp 0x100038f1
jmp 0x100038db
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x4386
jge 0x10003960
mov edx, dword [ebp - 0x30]
mov ecx, 0x10072098
call fcn.1001684d
jmp 0x1000397c
or dword [ebp - 4], 0xffffffff
jmp 0x10003986
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004ad6
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058eb5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x5c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10004b1e
push 0
push 0x704f
push 0x2e68
push 0x6fff
call fcn.100138ea
add esp, 0x10
jmp 0x10004caf
mov dword [ebp - 0x20], 0x2302
mov dword [ebp - 0x34], str.efiidzz_doepyiv_rdpvllrnx_qjrluv_are_umqpw_feq_vfnn_rerk_xefr_bbbozct
cmp dword [ebp - 0x20], 0x251f
jle 0x10004b8d
and dword [ebp - 0x14], 0
jmp 0x10004b42
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x494
jge 0x10004b85
and dword [ebp - 0x18], 0
jmp 0x10004b58
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3b21
jge 0x10004b83
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x18]
mov eax, edx
cdq
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], edx
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
mov ecx, 0x10072098
call fcn.10013ec4
jmp 0x10004b51
jmp 0x10004b3b
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
lea eax, [ebp + 8]
mov dword [ebp - 0x38], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0x2141
jge 0x10004bad
mov edx, dword [ebp - 0x34]
mov ecx, 0x10072098
call fcn.1001684d
jmp 0x10004bc9
or dword [ebp - 4], 0xffffffff
jmp 0x10004bd3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x10004c99
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
cmp dword [eax], 1
je 0x10004c3a
mov dword [ebp - 0x1c], 1
jmp 0x10004c3e
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
cmp dword [ebp - 0x1c], 0xbc0a
jl 0x10004c58
mov dword [ebp - 0x24], 1
jmp 0x10004c5c
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x64]
mov eax, dword [eax]
imul eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx], eax
jl 0x10004c75
mov dword [ebp - 0x28], 1
jmp 0x10004c79
and dword [ebp - 0x28], 0
cmp dword [ebp - 0x28], 0xef5b
jne 0x10004c8b
mov dword [ebp - 0x30], 1
jmp 0x10004c8f
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
jmp 0x10004caf
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawFocusRect]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004e4d
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10058ec9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10004e8a
push 0x59f4
push 1
call fcn.1000500a
pop ecx
pop ecx
jmp 0x10004ff9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x10004fcd
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x28], 0x283c
mov dword [ebp - 0x40], str.omhpuo_itdgql_mqnjx_znzpzwbw
cmp dword [ebp - 0x28], 0x2c14
jle 0x10004f76
and dword [ebp - 0x18], 0
jmp 0x10004ed8
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x4f6b
jge 0x10004f76
and dword [ebp - 0x1c], 0
jmp 0x10004ef2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2db1
jge 0x10004f71
and dword [ebp - 0x20], 0
jmp 0x10004f08
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x2e28
jge 0x10004f6c
and dword [ebp - 0x24], 0
jmp 0x10004f1e
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x6ddd
jge 0x10004f6a
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sar edx, cl
and eax, edx
cdq
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
push dword [ebp - 0x44]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x60]
call fcn.10001ade
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.10013ea4
push eax
call fcn.1004041f
pop ecx
lea ecx, [ebp - 0x60]
call fcn.10013e9a
jmp 0x10004f17
jmp 0x10004f01
jmp 0x10004eeb
jmp 0x10004ed1
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x10004f8f
push 0x11cb
push 0
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x28], 0x2685
jge 0x10004fa5
push dword [ebp - 0x40]
call fcn.1004041f
pop ecx
jmp 0x10004fc1
or dword [ebp - 4], 0xffffffff
jmp 0x10004fcb
jmp 0x10004ff9
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x10004ff9
push 0x61e
push 0x4927
push 0x3479
push 0
push 0x1c95
push 0
call fcn.10004ad6
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100053be
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10005404
lea eax, [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x100053fc
mov byte [ebp - 1], 0
push 0x94a
lea eax, [ebp - 1]
push eax
push 1
push 0x760a
push 1
call fcn.100044b5
add esp, 0x14
jmp 0x10005402
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
jmp 0x1000541a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
push 0
mov edx, dword [ebp - 0xc]
mov ecx, 0x963
call fcn.10001cd8
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x10005575
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
movzx eax, byte [ebp + 0x24]
test eax, eax
je 0x10005690
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x10005688
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0xc840
je 0x10005611
mov dword [ebp - 8], 1
jmp 0x10005615
and dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
cmp eax, dword [ecx]
jne 0x1000562d
mov dword [ebp - 0x14], 1
jmp 0x10005631
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jge 0x10005644
mov dword [ebp - 0x18], 1
jmp 0x10005648
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 6
jbe 0x10005657
mov dword [ebp - 0x1c], 1
jmp 0x1000565b
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
add eax, dword [ebp - 0x1c]
test eax, eax
jle 0x10005670
mov dword [ebp - 0x20], 1
jmp 0x10005674
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
jmp 0x1000568e
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
jmp 0x100056b7
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x58], eax
push 0x26f5
push 0
push 0x3322
push 0x6126
push 0x3f37
push dword [ebp - 0x58]
call fcn.10013b93
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x10005a48
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10005ac6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10005aab
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x10005aa9
push 0x3fbc
push 1
push 1
push 0x5b2c
push 0x27a0
push 0x4e80
push 0x400b
push 0
call fcn.10010144
add esp, 0x20
jmp 0x10005ac4
mov byte [ebp - 1], 0
lea eax, [ebp - 1]
push eax
push 0x565b
push 1
push 1
call fcn.10003390
add esp, 0x10
jmp 0x10005b08
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x10005b00
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x10005afe
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetKeySecurity]
jmp 0x10005b08
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov esp, ebp
pop ebp
ret
Function at 0x10005b0c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10005b38
push 0x50f4
push 0x59a0
push 0x455e
push 0
call fcn.10007b31
add esp, 0x10
jmp 0x10005cba
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x10005b74
push 0xfd6
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
jmp 0x10005cba
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x10005bc1
mov dword [ebp - 8], 1
jmp 0x10005bc5
and dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 8], eax
je 0x10005bd8
mov dword [ebp - 0x54], 1
jmp 0x10005bdc
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 8
jle 0x10005bf5
mov dword [ebp - 0x10], 1
jmp 0x10005bf9
and dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0xc698
jle 0x10005c0b
mov dword [ebp - 0x14], 1
jmp 0x10005c0f
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
add eax, 9
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x10005c2f
mov dword [ebp - 0x1c], 1
jmp 0x10005c33
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
sub eax, dword [ebp - 0x1c]
add eax, 6
cmp eax, 0x8bbe
jg 0x10005c4e
mov dword [ebp - 0x20], 1
jmp 0x10005c52
and dword [ebp - 0x20], 0
cmp dword [ebp - 0x20], 1
ja 0x10005c61
mov dword [ebp - 0x58], 1
jmp 0x10005c65
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0x7f45b6d4
jl 0x10005c81
mov dword [ebp - 0x24], 1
jmp 0x10005c85
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0x4ce5fef4
jle 0x10005c97
mov dword [ebp - 0x28], 1
jmp 0x10005c9b
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jl 0x10005cae
mov dword [ebp - 0x2c], 1
jmp 0x10005cb2
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret