joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d614
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x4d0
push ebp
push esi
push edi
mov esi, ecx
mov edi, pe_nt_image_headers32
push 0x2b0
push 0
cmp dword [esi + 0x64], 4
lea eax, [edi + 0x10]
cmovne edi, eax
and dword [esp + 0x20], 0
lea eax, [esp + 0x24]
push eax
call sub.msvcrt.dll_memset
mov ecx, dword [esi + 0x60]
lea edx, [esp + 0x1c]
add esp, 0xc
mov eax, dword [ecx]
push edx
call dword [eax + 0x20]
push dword [esp + 0x10]
lea eax, [esp + 0x2d4]
push 0x457b14
push 0x104
push eax
call fcn.0040203a
add esp, 0x10
lea eax, [esp + 0x18]
mov ebp, 0x2b4
push edi
push ebp
push eax
push 0x80
lea eax, [esp + 0x2e0]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp dword [esp + 0x18], 0
jne 0x43d6c2
cmp dword [esi + 0x64], 4
jne 0x43d6c2
or edi, 0x10
mov byte [esi + 0xa8], 1
push edi
push ebp
lea eax, [esp + 0x20]
push eax
push 0x80
lea eax, [esp + 0x2e0]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea edi, [esi + 0x78]
mov ecx, edi
call fcn.0041a355
mov edx, dword [esp + 0x18]
test edx, edx
je 0x43d6f8
lea ecx, [esp + 0x14]
call fcn.00419bfd
push eax
mov ecx, edi
call fcn.0041988c
lea ecx, [esp + 0x14]
call fcn.00419953
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov esi, dword [esi + 0x7c]
push edi
lea ecx, [esi + 0x54]
call fcn.0041988c
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x40]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.0040169b
pop edi
pop esi
pop ebp
add esp, 0x4d0
ret

Function at 0x43e0ef
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x125c
call fcn.0044c307
mov eax, dword [ecx]
push edi
mov edi, edx
lea edx, [ebp - 0xc]
push edx
push 0x45f120
push ecx
call dword [eax + 0xc]
test eax, eax
jns 0x43e119
xor al, al
jmp 0x43e1e9
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
jne 0x43e130
xor al, al
jmp 0x43e1e8
push ebx
push 0x104
lea eax, [ebp - 0x214]
xor ebx, ebx
push eax
push ebx
push esi
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
test eax, eax
je 0x43e1d5
push str..url
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jne 0x43e1d5
lea eax, [ebp - 0x214]
push eax
push 0x824
lea eax, [ebp - 0x125c]
push eax
push ebx
push 0x45a050
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x43e1d5
lea ecx, [ebp - 0x125c]
call fcn.00401bae
push eax
lea eax, [ebp - 0x125c]
mov ecx, edi
push eax
call fcn.00401b24
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ecx, dword [ebp + 8]
push eax
call fcn.00401b08
mov bl, 1
push esi
call dword [sym.imp.SHELL32.dll_DragFinish]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov al, bl
pop ebx
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x44a9e7
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x28]
push ebp
push esi
mov esi, dword [esp + 0x2c]
mov ebp, ecx
push edi
mov edi, pe_nt_image_headers32
cmp esi, edi
jne 0x44aa30
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 7
test al, 1
je 0x44aa30
cmp ebx, 0x41
je 0x44aa1a
cmp ebx, 0x61
jne 0x44aa30
push 0xffffffffffffffff
push 0
push 0xb1
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
jmp 0x44aaa7
xor al, al
cmp esi, edi
je 0x44aa46
cmp esi, 0x101
je 0x44aa46
cmp esi, 0x102
jne 0x44aa52
xor ecx, ecx
movzx eax, al
inc ecx
cmp ebx, 0xd
cmove eax, ecx
and dword [esp + 0x30], 0
test al, al
jne 0x44aa6c
push dword [esp + 0x38]
mov ecx, ebp
push ebx
push esi
call fcn.00425b09
mov dword [esp + 0x30], eax
push 6
pop ecx
xor eax, eax
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x38]
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 0
push 0x37f
push dword [ebp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 0xc

Function at 0x44ab58
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, dword [esi + 0x24]
jne 0x44abdf
mov ecx, esi
call fcn.0044b14e
test al, al
je 0x44abdf
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x208]
push 0x104
push eax
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ecx, [ebp - 0x208]
call fcn.00401bae
mov ecx, dword [esi + 0x20]
push eax
lea eax, [ebp - 0x208]
add ecx, 0x44
push eax
call fcn.00401b24
mov ecx, dword [esi + 0x1c]
lea edx, [ebp - 0x208]
mov eax, dword [ebp + 8]
mov dword [esi + 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax]
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x494aa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 4
add eax, 0xa2b
call 0x494aa0
add byte [ecx + 0x3a], al
dec ebx
aas
xor al, byte [esi + esi - 0x7d]
les eax, [eax + ebx*2]
mov eax, dword [ebp - 0x394]
mov cl, byte [eax + 0xa]
mov byte [ebp - 0x382], cl
mov edx, dword [ebp - 0xa44]
sub edx, dword [ebp - 0x394]
mov dword [ebp - 0x15e0], edx
mov dword [ebp - 0xcb4], 0
push esi
sub esi, 0x176da
and esi, 0xc55c
pop esi
push edx
and edx, 0x863f
jmp 0x494aea
pop edx
push eax
jmp 0x494af4
xor eax, 0x9cbe
or eax, 0xe5f4
pop eax
mov byte [ebp - 0x960], 0x56
mov byte [ebp - 0x95f], 0x69
mov byte [ebp - 0x95e], 0x72
mov byte [ebp - 0x95d], 0x74
mov byte [ebp - 0x95c], 0x75
mov byte [ebp - 0x95b], 0x61
mov byte [ebp - 0x95a], 0x6c
mov byte [ebp - 0x959], 0x50
mov byte [ebp - 0x958], 0x72
mov byte [ebp - 0x957], 0x6f
mov byte [ebp - 0x956], 0x74
mov byte [ebp - 0x955], 0x65
mov byte [ebp - 0x954], 0x63
mov byte [ebp - 0x953], 0x74
mov byte [ebp - 0x952], 0
push eax
call 0x494b78
add byte [eax + 0x3a], dl
aas
cmp cl, byte [edi + 0x34]
cmp dword [ebx - 0xf7efb3c], eax
xor bh, bl
add byte [eax], al
and eax, 0x31e0
pop eax
push esi
add esi, 0xb53d
sub esi, 0x12f96
and esi, 0x9f0
pop esi
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1924], eax
mov ecx, dword [ebp - 0x1924]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1c8c], edx
mov eax, dword [ebp - 0x1c8c]
dec dword [ecx - 0x15637b]
call dword [edi - 0x7f]
test edi, 0x5f000036
push ecx
push ecx
add esp, 4
jmp 0x494bd6
add ecx, 0x1806d
add ecx, 0xa64e
and ecx, 0xaa7
pop ecx
push esi
push ebx
add esp, 4
or esi, 0x10ebf
Function at 0x494b78
Capabilities:
Get number of processors

Disassembly:
add esp, 4
add eax, 0xa2b
call 0x494aa0
add byte [ecx + 0x3a], al
dec ebx
aas
xor al, byte [esi + esi - 0x7d]
les eax, [eax + ebx*2]
mov eax, dword [ebp - 0x394]
mov cl, byte [eax + 0xa]
mov byte [ebp - 0x382], cl
mov edx, dword [ebp - 0xa44]
sub edx, dword [ebp - 0x394]
mov dword [ebp - 0x15e0], edx
mov dword [ebp - 0xcb4], 0
push esi
sub esi, 0x176da
and esi, 0xc55c
pop esi
push edx
and edx, 0x863f
jmp 0x494aea
pop edx
push eax
jmp 0x494af4
xor eax, 0x9cbe
or eax, 0xe5f4
pop eax
mov byte [ebp - 0x960], 0x56
mov byte [ebp - 0x95f], 0x69
mov byte [ebp - 0x95e], 0x72
mov byte [ebp - 0x95d], 0x74
mov byte [ebp - 0x95c], 0x75
mov byte [ebp - 0x95b], 0x61
mov byte [ebp - 0x95a], 0x6c
mov byte [ebp - 0x959], 0x50
mov byte [ebp - 0x958], 0x72
mov byte [ebp - 0x957], 0x6f
mov byte [ebp - 0x956], 0x74
mov byte [ebp - 0x955], 0x65
mov byte [ebp - 0x954], 0x63
mov byte [ebp - 0x953], 0x74
mov byte [ebp - 0x952], 0
push eax
call 0x494b78
add byte [eax + 0x3a], dl
aas
cmp cl, byte [edi + 0x34]
cmp dword [ebx - 0xf7efb3c], eax
xor bh, bl
add byte [eax], al
and eax, 0x31e0
pop eax
push esi
add esi, 0xb53d
sub esi, 0x12f96
and esi, 0x9f0
pop esi
mov eax, dword fs:[0x18]
mov dword [ebp - 0x1924], eax
mov ecx, dword [ebp - 0x1924]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x1c8c], edx
mov eax, dword [ebp - 0x1c8c]
dec dword [ecx - 0x15637b]
call dword [edi - 0x7f]
test edi, 0x5f000036
push ecx
push ecx
add esp, 4
jmp 0x494bd6
add ecx, 0x1806d
add ecx, 0xa64e
and ecx, 0xaa7
pop ecx
push esi
push ebx
add esp, 4
or esi, 0x10ebf
Function at 0x494c80
Capabilities:
Get number of processors

Disassembly:
or edx, 0x12e6d
xor edx, 0xaed
pop edx
push eax
push ebx
add esp, 4
xor eax, 0x3ea7
and eax, 0x113af
pop eax
push edx
add edx, 0xb76f
pop edx
lea edx, [ebp - 0x168c]
mov dword [ebp - 0xc8c], edx
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc88], ecx
xor edx, edx
mov word [ebp - 0x1b4], dx
xor eax, eax
mov word [ebp - 0x38], ax
push ecx
push esi
add esp, 4
add ecx, 0x6478
xor ecx, 0x154e5
xor ecx, 0xf230
and ecx, 0xa88
pop ecx
push edx
add edx, 0x128bf
sub edx, 0x1577f
or edx, 0x505f
pop edx
mov ecx, dword [ebp - 0xc88]
mov dx, word [ecx]
mov word [ebp - 0xfe4], dx
mov eax, dword [ebp - 0xc88]
add eax, 2
mov dword [ebp - 0xc88], eax
mov cx, word [ebp - 0xfe4]
mov word [ebp - 0x1b4], cx
mov edx, dword [ebp - 0xc8c]
mov ax, word [edx]
mov word [ebp - 0xfe6], ax
mov ecx, dword [ebp - 0xc8c]
add ecx, 2
mov dword [ebp - 0xc8c], ecx
mov dx, word [ebp - 0xfe6]
mov word [ebp - 0x38], dx
push eax
push edx
add esp, 4
and eax, 0x164ed
and eax, 0xcf7d
xor eax, 0xced8
pop eax
push ebx
push esi
add esp, 4
and ebx, 0x16a2d
sub ebx, 0x3f7e
jmp 0x494d8b
pop ebx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x494da9
movzx ecx, word [ebp - 0x1b4]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x156c], ecx
jmp 0x494e03
movzx eax, word [ebp - 0x1b4]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x494cd1
movzx edx, word [ebp - 0x1b4]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x494cd1
movzx ecx, word [ebp - 0x1b4]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x494ded
mov dword [ebp - 0x1568], 0xffffffff
jmp 0x494df7
mov dword [ebp - 0x1568], 1
mov eax, dword [ebp - 0x1568]
mov dword [ebp - 0x156c], eax
cmp dword [ebp - 0x156c], 0
jne 0x494e4c
push esi
push ecx
add esp, 4
sub esi, 0xd9f5
sub esi, 0x176d
call 0x494e2c
add byte [ebx], bh
dec edi
inc edi
aaa
xor al, 0x41
aaa
add esp, 4
and esi, 0x4407
pop esi
push esi
or esi, 0x12755
pop esi
mov ecx, dword [ebp - 0x4c4]
mov dword [ebp - 0x2c8], ecx
jmp 0x494eb4
push edi
push edx
add esp, 4
or edi, 0x13d0f
and edi, 0xfb2b
sub edi, 0xbf9b
and edi, 0xfc10
pop edi
push edi
sub edi, 0x11d7
or edi, 0x10ba5
or edi, 0xa752
pop edi
mov edx, dword [ebp - 0x4c4]
mov eax, dword [edx]
mov dword [ebp - 0x4c4], eax
mov ecx, dword [ebp - 0x4c4]
cmp ecx, dword [ebp - 0xc90]
je 0x494eaa
mov edx, dword [ebp - 0x4c4]
cmp dword [edx + 0x30], 0
jne 0x494c75
mov dword [ebp - 0x2c8], 0
Function at 0x494e2c
Capabilities:
Get number of processors

Disassembly:
or edx, 0x12e6d
xor edx, 0xaed
pop edx
push eax
push ebx
add esp, 4
xor eax, 0x3ea7
and eax, 0x113af
pop eax
push edx
add edx, 0xb76f
pop edx
lea edx, [ebp - 0x168c]
mov dword [ebp - 0xc8c], edx
mov eax, dword [ebp - 0x4c4]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xc88], ecx
xor edx, edx
mov word [ebp - 0x1b4], dx
xor eax, eax
mov word [ebp - 0x38], ax
push ecx
push esi
add esp, 4
add ecx, 0x6478
xor ecx, 0x154e5
xor ecx, 0xf230
and ecx, 0xa88
pop ecx
push edx
add edx, 0x128bf
sub edx, 0x1577f
or edx, 0x505f
pop edx
mov ecx, dword [ebp - 0xc88]
mov dx, word [ecx]
mov word [ebp - 0xfe4], dx
mov eax, dword [ebp - 0xc88]
add eax, 2
mov dword [ebp - 0xc88], eax
mov cx, word [ebp - 0xfe4]
mov word [ebp - 0x1b4], cx
mov edx, dword [ebp - 0xc8c]
mov ax, word [edx]
mov word [ebp - 0xfe6], ax
mov ecx, dword [ebp - 0xc8c]
add ecx, 2
mov dword [ebp - 0xc8c], ecx
mov dx, word [ebp - 0xfe6]
mov word [ebp - 0x38], dx
push eax
push edx
add esp, 4
and eax, 0x164ed
and eax, 0xcf7d
xor eax, 0xced8
pop eax
push ebx
push esi
add esp, 4
and ebx, 0x16a2d
sub ebx, 0x3f7e
jmp 0x494d8b
pop ebx
movzx eax, word [ebp - 0x38]
test eax, eax
jne 0x494da9
movzx ecx, word [ebp - 0x1b4]
movzx edx, word [ebp - 0x38]
sub ecx, edx
mov dword [ebp - 0x156c], ecx
jmp 0x494e03
movzx eax, word [ebp - 0x1b4]
movzx ecx, word [ebp - 0x38]
cmp eax, ecx
je 0x494cd1
movzx edx, word [ebp - 0x1b4]
xor edx, 0x20
movzx eax, word [ebp - 0x38]
cmp edx, eax
je 0x494cd1
movzx ecx, word [ebp - 0x1b4]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x494ded
mov dword [ebp - 0x1568], 0xffffffff
jmp 0x494df7
mov dword [ebp - 0x1568], 1
mov eax, dword [ebp - 0x1568]
mov dword [ebp - 0x156c], eax
cmp dword [ebp - 0x156c], 0
jne 0x494e4c
push esi
push ecx
add esp, 4
sub esi, 0xd9f5
sub esi, 0x176d
call 0x494e2c
add byte [ebx], bh
dec edi
inc edi
aaa
xor al, 0x41
aaa
add esp, 4
and esi, 0x4407
pop esi
push esi
or esi, 0x12755
pop esi
mov ecx, dword [ebp - 0x4c4]
mov dword [ebp - 0x2c8], ecx
jmp 0x494eb4
push edi
push edx
add esp, 4
or edi, 0x13d0f
and edi, 0xfb2b
sub edi, 0xbf9b
and edi, 0xfc10
pop edi
push edi
sub edi, 0x11d7
or edi, 0x10ba5
or edi, 0xa752
pop edi
mov edx, dword [ebp - 0x4c4]
mov eax, dword [edx]
mov dword [ebp - 0x4c4], eax
mov ecx, dword [ebp - 0x4c4]
cmp ecx, dword [ebp - 0xc90]
je 0x494eaa
mov edx, dword [ebp - 0x4c4]
cmp dword [edx + 0x30], 0
jne 0x494c75
mov dword [ebp - 0x2c8], 0

Function at 0x494ee0
Capabilities:
Contain obfuscated stackstrings
Get number of processors

Disassembly:
shl dword [edx + 0x59000002], 0x83
mov ebp, 0xfffffd38
add byte [edi], cl
test eax, edi
or byte [eax], al
add byte [eax + 0x6b], bh
Function at 0x4ade4c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4adff7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x4adfd8
mov dl, 1
mov eax, dword [0x4dec88]
call fcn.004f6258
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.004f6d38
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4adfc7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004c54d8
test al, al
je 0x4adfba
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x4ae008
lea eax, [ebp - 0x254]
call fcn.004ef970
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4adfba
xor eax, eax
push ebp
push 0x4adfb3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4ae040
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x4adf9c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004f6f68
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x4adf9c
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.004f6f68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4adfba
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4adebd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.004e2518
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4adffe
lea eax, [ebp - 0x260]
call fcn.004f6d38
ret
Function at 0x4ae9f4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4aea0b
add esp, 0xfffffff0
call fcn.004f65c8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004e6d68
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x4de7d4]
call fcn.004f6258
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4de7d4]
call fcn.004f6258
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x49bc5c]
call fcn.004a36c8
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x4aeb80
mov eax, dword [0x71d2cc]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004a3a98
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4b0594
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x71d2cc]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.USER32.DLL_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.004f2950
test eax, eax
je 0x4aeafe
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004ef310
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004f2978
test eax, eax
je 0x4aeb12
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.004f6f68
mov eax, dword [0x71d2d0]
cmp byte [eax], 0
jne 0x4aeb43
mov eax, ebx
call fcn.004aec6c
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4aeb75
call fcn.004f6620
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4aeedc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x71d8dc]
cmp dword [eax + 0x24], 0
je 0x4aef7f
cmp dword [ebx + 0x84], 0
jne 0x4aef79
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4aee6c
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x4aef79
push 3
mov eax, dword [esp + 4]
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x4aef42
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4aef79
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.004e026c
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4aef51
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret