joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404ff0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5a02b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
test esi, esi
je 0x40500f
lea eax, [esi + 4]
jmp 0x405011
xor eax, eax
push 0x34
push 0
push eax
call fcn.00526560
mov eax, dword [esi + 0x38]
add esp, 0xc
test eax, eax
je 0x405043
push 0x104
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x58], 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x405054
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00525aac
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x54]
test eax, eax
je 0x40506b
push eax
call fcn.00409d75
add esp, 4
mov dword [esi + 0x54], 0
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x4050c4
push edi
call fcn.00409d6c
add esp, 4
mov dword [esi + 0x54], eax
push eax
push edi
push 0
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4050c4
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x54f3f0
push dword [esi + 0x54]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x4050d6
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00525aac
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x210]
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi + 4], xmm0
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [esi + 0x14], xmm0
movdqu xmm0, xmmword [eax + 0x20]
movdqu xmmword [esi + 0x24], xmm0
mov eax, dword [eax + 0x30]
mov dword [esi + 0x34], eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push 0x54f51c
push dword [esi + 0x54]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x405132
cmp dword [ebp - 0x214], 4
jb 0x405132
mov eax, dword [ebp - 0x210]
mov eax, dword [eax]
mov dword [esi + 0x3c], eax
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [esi + 4], 0xfeef04bd
pop edi
sete al
xor ecx, ebp
pop esi
call fcn.00525aac
mov esp, ebp
pop ebp
ret
Function at 0x408560
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0041414a

Function at 0x409230
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x409245
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x409284
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x409280
lea ebx, [ebx]
cmp esi, edx
jae 0x409284
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x409270
cmp esi, edx
jb 0x409289
xor eax, eax
pop esi
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
Function at 0x40e69a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x40e6df
call fcn.00413e77
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40e6df
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40e6fb
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041af8e
mov ebx, eax
test edi, edi
je 0x40e6f9
test esi, esi
je 0x40e6f9
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4141a6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00413e77
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4141dd
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004141fe
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41fc21
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.00413120
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x41fc5d
call fcn.0041fe40
mov dword [esi + 0xc], 1
jmp 0x41fc62
call fcn.0041fe40
cmp dword [esi], 0
je 0x41fcab
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x41fc85
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0040e752
jmp 0x41fc96
push 0xff
mov ecx, esi
call fcn.004033f0
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00410ad3
jmp 0x41fccf
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x41fccf
push dword [esi]
push dword [ebp - 4]
call fcn.0041a317
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41fd95
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0041fe40
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x41fddd
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040e752
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00410ad3
jmp 0x41fde8
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041a317
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4c6375
Capabilities:
Get file system object information

Disassembly:
push 0x4c8
mov eax, 0x548d57
call fcn.00528012
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0040acb3
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x54f3f0
call fcn.004158a7
cmp eax, 0xffffffff
jne 0x4c6429
push 0
push 0x54ffec
lea ecx, [ebp - 0x4d0]
call fcn.004158a7
cmp eax, 0xffffffff
jne 0x4c6429
push 0
push 0x552634
lea ecx, [ebp - 0x4d0]
call fcn.004158a7
cmp eax, 0xffffffff
jne 0x4c6429
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.0040acb3
pop ecx
lea edi, [eax + 0x10]
mov dword [ebp - 0x4d4], edi
xor ecx, ecx
mov byte [ebp - 4], 1
push ecx
lea eax, [ebp - 0x218]
push eax
push 0x104
push ecx
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4c6405
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
lea ecx, [edi - 0x10]
mov ebx, eax
call fcn.004034e0
jmp 0x4c6458
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00409130
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 0
call fcn.004034e0
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x4c644f
mov ebx, dword [ebp - 0x4cc]
jmp 0x4c6458
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov ebx, eax
lea ecx, [esi - 0x10]
call fcn.004034e0
mov eax, ebx
call fcn.00527fc1
ret
Function at 0x53885d
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5a02b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0052d4c0
mov dword [ebp - 0x14], eax
cmp dword [0x5abb9c], esi
jne 0x538950
push 0x800
push esi
push 0x57ffb0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5388dd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x538a30
push esi
push esi
push 0x57ffb0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x538a30
push 0x57ffc8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x538a30
push eax
call ebx
push 0x57ffd4
push edi
mov dword [0x5abb9c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x57ffe4
push edi
mov dword [0x5abba0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x5abba4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5abbac], eax
test eax, eax
je 0x53894d
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x5abba8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x538975
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x538968
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x53898a
push 4
pop eax
jmp 0x538a32
cmp dword [ebp - 0x14], esi
je 0x53898a
push dword [0x5abb9c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x53896f
mov eax, dword [0x5abba8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5389e8
cmp dword [0x5abbac], edi
je 0x5389e8
push eax
call ebx
push dword [0x5abbac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5389e8
test eax, eax
je 0x5389e8
call ecx
test eax, eax
je 0x5389dd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x5389dd
test byte [ebp - 8], 1
jne 0x5389e8
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x538a18
mov eax, dword [0x5abba0]
cmp eax, edi
je 0x538a15
push eax
call ebx
test eax, eax
je 0x538a15
call eax
mov esi, eax
test esi, esi
je 0x538a15
mov eax, dword [0x5abba4]
cmp eax, edi
je 0x538a15
push eax
call ebx
test eax, eax
je 0x538a15
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x5abb9c]
call ebx
test eax, eax
je 0x538a30
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x538a32
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00525aac
mov esp, ebp
pop ebp
ret
Function at 0x10019ca
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1046080]
jne 0x103cbb4
test ecx, 0xffff0000
jne 0x103cbb4
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x320
push edi
mov dword [0x1047dd8], eax
mov dword [0x1047dd4], ecx
mov dword [0x1047dd0], edx
mov dword [0x1047dcc], ebx
mov dword [0x1047dc8], esi
mov dword [0x1047dc4], edi
mov word [0x1047df0], ss
mov word [0x1047de4], cs
mov word [0x1047dc0], ds
mov word [0x1047dbc], es
mov word [0x1047db8], fs
mov word [0x1047db4], gs
pushfd
pop dword [0x1047de8]
mov eax, dword [ebp + 4]
lea ecx, [ebp + 4]
add ecx, 4
mov dword [0x1047dec], ecx
mov dword [0x1047de0], eax
mov dword [0x1047d28], 0x10001
lea ecx, [ebp + 4]
mov ecx, dword [ecx - 4]
mov dword [0x1047ce4], eax
mov eax, dword [0x1046080]
mov dword [ebp - 4], eax
mov eax, dword [0x10478cc]
xor edi, edi
inc edi
mov dword [ebp - 4], eax
push 0
mov dword [0x1047ddc], ecx
mov dword [0x1047cd8], 0xc0000409
mov dword [0x1047cdc], edi
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x103cc94
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0xc0000409
mov dword [ebp - 0x320], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
leave
ret
Function at 0x1001f2e
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
cmp eax, 0xffffffea
mov esi, ecx
jbe 0x100304f
cmp eax, 0xffffffec
je 0x101f274
cmp eax, 0xfffffff1
je 0x1024cc6
cmp eax, 0xfffffff4
jne 0x10030bb
push 0
push edi
mov ecx, esi
call fcn.0100229b
pop edi
pop esi
pop ebx
leave
ret 4
je 0x101108e
cmp eax, 0xfffffd33
je 0x101109a
cmp eax, 0xfffffd37
je 0x1024c96
cmp eax, 0xfffffd3a
je 0x1022318
cmp eax, 0xfffffdee
jne 0x10030bb
push dword [edi + 4]
lea ecx, [esi + 0x3c]
call fcn.0101ebb4
push 1
xor ebx, ebx
push ebx
push eax
mov ecx, esi
mov dword [ebp + 8], eax
call fcn.01001e00
test eax, eax
je 0x10030a4
cmp dword [eax], ebx
je 0x101f05c
push 0
push 0x50
pop eax
sub eax, ebx
push eax
lea eax, [edi + ebx*2 + 0x10]
push eax
push dword [ebp + 8]
mov ecx, esi
call fcn.01001f7b
xor eax, eax
jmp 0x1001f6f
mov ecx, esi
call fcn.010110ac
jmp 0x10030bb
push edi
mov ecx, esi
call fcn.01030a2c
jmp 0x10030bb
push dword [ebp + 8]
mov ecx, esi
lea ebx, [edi + 0x10]
call fcn.01002d1a
push eax
push 0x101f088
push 0x50
push ebx
call fcn.010032fd
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, eax
jmp 0x10030a4
push dword [edi + 0xc]
lea ecx, [esi + 0x3c]
call fcn.0101ebb4
push 1
push 0
push eax
mov ecx, esi
call fcn.01001e00
test eax, eax
je 0x10030bb
cmp dword [eax], 0
je 0x10030bb
mov ecx, esi
call fcn.01002532
mov dword [esi + 0x48], eax
jmp 0x10030bb
push dword [edi + 0xc]
lea ecx, [esi + 0x3c]
call fcn.0101ebb4
mov ecx, esi
mov edi, eax
call fcn.01002532
cmp eax, 0xffffffff
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [esi + 0x48], eax
je 0x1022654
push eax
mov ecx, esi
call fcn.0100226a
cmp eax, edi
jne 0x1022654
push 0x11
call ebx
test ax, ax
jl 0x1022654
push 0x11
call ebx
test ax, ax
jl 0x10030bb
push 0
push edi
mov ecx, esi
call fcn.01003ade
push edi
mov ecx, esi
call fcn.01022384
jmp 0x10030bb
push 0
push edi
mov ecx, esi
call fcn.01003ade
jmp 0x102235b
cmp dword [esi + 0x64], 0
je 0x1024ca4
xor eax, eax
inc eax
jmp 0x1001f6f
test byte [edi + 0x14], 2
je 0x10030bb
push dword [edi + 0x10]
lea ecx, [esi + 0x3c]
call fcn.0101ebb4
push eax
mov ecx, esi
call fcn.010045cc
jmp 0x10030bb
mov edi, dword [edi + 0xc]
cmp edi, 0xd
je 0x1024cd7
cmp edi, 0x20
jne 0x10030bb
push 0
push 0
push 0x447
lea edi, [esi + 0x3c]
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
test ebx, ebx
jl 0x1024c9c
lea eax, [ebp - 0x20]
push eax
push ebx
mov ecx, edi
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x1c], 0x80000004
call fcn.01001e70
xor byte [ebp - 0x10], 1
lea eax, [ebp - 0x20]
push eax
push ebx
mov ecx, edi
call fcn.010020a2
push 1
push 0
push ebx
mov ecx, esi
call fcn.01001e00
push 0
push eax
push ebx
mov ecx, esi
call fcn.0101f2d0
jmp 0x1024c9c
Function at 0x100229b
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
jne 0x10022bd
mov eax, dword [ebx + 0x2c]
mov dword [ebp + 0xc], eax
mov esi, eax
mov eax, dword [ebx + 0xc]
and dword [ebp + 8], 0
dec eax
je 0x1002303
sub eax, 0x10000
jne 0x10023a4
test byte [ebx + 0x28], 8
jne 0x10023cf
test byte [esi + 4], 1
jne 0x101eed3
test byte [esi + 4], 0x20
jne 0x10246be
cmp dword [esi], 0
je 0x101ec1e
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 8
mov dword [ebp + 8], 0x20
jmp 0x10022f9
dec eax
jne 0x10022f9
cmp dword [esi], 0
je 0x101ec54
test byte [ebx + 0x28], 8
je 0x10022f9
push dword [edi + 0x6c]
push dword [ebx + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x10022f9
call fcn.01002401
test eax, eax
jne 0x10022dc
mov eax, dword [edi + 0x80]
mov ecx, dword [ebx + 0x10]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [edi + 0x6c], eax
mov dword [ebp + 8], 0x12
jmp 0x10022dc
push dword [ebx + 0x24]
or dword [ebp + 8], 0x10
lea ecx, [edi + 0x3c]
call fcn.0101ebb4
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
mov ecx, edi
call fcn.01002d1a
push eax
push dword [ebx + 0x10]
mov ecx, edi
call fcn.0101eca8
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ebx + 0x6c], eax
jmp 0x10022f9
push dword [ebx + 0x24]
lea ecx, [edi + 0x3c]
call fcn.0101ebb4
mov ecx, dword [ebx + 0x1c]
lea esi, [ebx + 0x54]
cmp ecx, dword [esi]
jl 0x10023b4
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], ecx
sub ecx, dword [ebx + 0x6c]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 4]
push 0
push eax
call fcn.01002d1a
mov ecx, dword [ebp - 4]
push eax
push dword [ebx + 0x10]
call fcn.0101eca8
mov edi, dword [ebp - 4]
jmp 0x10023b4
mov eax, dword [edi + 0x84]
test eax, eax
jne 0x1024696
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push 0xd
call esi
push 0xd
mov dword [ebx + 0x50], eax
call esi
push 0xe
mov dword [ebx + 0x48], eax
call esi
mov dword [ebx + 0x3c], eax
mov eax, dword [ebx + 0x28]
test al, 0x40
jne 0x101ef0d
or eax, 0x40
or byte [ebp + 0xa], 1
mov dword [ebx + 0x28], eax
or byte [ebp + 0xa], 2
mov esi, dword [ebp + 0xc]
jmp 0x10022e6
push 0
lea ecx, [ebx + 0x14]
push ecx
mov ecx, dword [ebx]
xor edx, edx
cmp ecx, dword [edi + 0x3c]
push 0
setne dl
inc edx
inc edx
push edx
push dword [ebx + 0x10]
push eax
call dword [sym.imp.UxTheme.dll_DrawThemeBackground]
or byte [ebp + 0xa], 0x40
jmp 0x10022e6
mov dword [ebp + 8], 4
jmp 0x10022f0

Function at 0x1002401
Capabilities:
Identify system language via api

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov ecx, eax
and cx, 0x3ff
cmp cx, 4
je 0x1024414
xor eax, eax
ret
shr ax, 0xa
cmp ax, 1
je 0x1024428
cmp ax, 2
jne 0x1002418
xor eax, eax
inc eax
ret
Function at 0x10026a4
Capabilities:
Enumerate gui resources

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
push esi
mov esi, ecx
push 2
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push dword [esi + 0x50]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x102447d
lea eax, [ebp - 0x10]
push eax
push fcn.01002700
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x50], eax
pop esi
leave
ret 4
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x50]
call fcn.01002700
test eax, eax
jne 0x10026dc
mov eax, dword [ebp - 0xc]
jmp 0x10026f1
Function at 0x1004527
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x10045f4
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, dword [esi + 8]
cmp ecx, 0xdbba00
jbe 0x1004536
jmp 0x1024551
mov dword [esi + 8], eax
mov ecx, esi
pop esi
jmp fcn.0102e62c

Function at 0x10051dc
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 2
push 1
push 0
push 0
push 0x1005258
push 0x80000001
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1005239
mov ecx, dword [esi + 0x68]
call fcn.01005283
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
push 0
push 0x100523c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret

Function at 0x1006fac
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1046080]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
push 0x1007030
lea eax, [ebp - 0x40c]
push 0x100
push eax
call fcn.010032fd
and word [ebp - 0x20c], 0
add esp, 0x10
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x40c]
push eax
push 0x80000001
mov dword [ebp - 0x410], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
test eax, eax
jne 0x100701f
cmp word [ebp - 0x20c], ax
jne 0x1027c90
mov ecx, dword [ebp - 4]
call fcn.010019ca
leave
ret 4
push 0x20013
push eax
lea eax, [ebp - 0x20c]
push eax
call sub.WINMM.dll_PlaySoundW
jmp 0x100701f
Function at 0x1008212
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, ecx
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x10275a3
push ebx
lea eax, [esi + 0xb4]
cmp word [eax], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, 0x400
je 0x1013248
lea eax, [esi + 0x10]
cmp word [eax], 0
je 0x1013260
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10275aa
push ebx
mov ecx, esi
call fcn.0100719b
mov eax, dword [esi + 0x1b0]
cmp eax, ebx
je 0x1008292
push eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 8], eax
xor eax, eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x10], ebx
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
mov ecx, esi
call fcn.01008805
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x14]
add ebx, dword [ebp - 0xc]
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ebp - 0x10]
sar edi, 1
cmp eax, dword [ebp - 0x18]
jle 0x10082cb
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
mov ecx, esi
call fcn.01008381
mov eax, dword [ebp - 0xc]
add eax, edi
add eax, ebx
cmp eax, dword [ebp + 0xc]
jl 0x101f4be
xor edi, edi
cmp dword [esi + 0x1b0], edi
je 0x10082ff
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0x1046164]
lea eax, [ebx + eax*4]
push eax
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push edi
push edi
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push dword [esi + 4]
call ebx
push eax
push edi
push 0xfffffffffffffff0
push dword [esi + 4]
call ebx
push eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
mov ecx, dword [0x10466ec]
mov eax, dword [0x10460a8]
mov edx, dword [ebp - 0x24]
add eax, ecx
mov ecx, dword [ebp - 0x1c]
mov esi, ecx
sub esi, edx
cmp esi, eax
jge 0x1008362
lea ecx, [edx + eax]
sub ecx, edx
movzx eax, cx
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 0x28]
shl eax, 0x10
movzx ecx, cx
or eax, ecx
pop edi
pop ebx
pop esi
leave
ret 8
push 0x28
push eax
push 0x1003
push ebx
call edi
and word [esi + 0x104], 0
jmp 0x1008250
push 0x28
push eax
push 0x1f
push ebx
call edi
and word [esi + 0x60], 0
jmp 0x100825d
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jge 0x10082e9
cmp ecx, dword [ebp - 0x18]
mov ebx, eax
jle 0x101f4d4
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
mov ecx, esi
call fcn.0101f514
mov eax, dword [ebp - 0xc]
add edi, eax
lea eax, [edi + ebx]
cmp eax, dword [ebp + 0xc]
jge 0x10082e9
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jge 0x10082e9
cmp ecx, dword [ebp - 0x18]
mov ebx, eax
jle 0x10082e9
jmp 0x10275b1
xor eax, eax
jmp 0x1008377
xor eax, eax
jmp 0x1008375
mov dword [ebp - 0x18], ecx
jmp 0x10082e9