joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405e7c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor esi, esi
cmp dword [0x4229f4], esi
push edi
jne 0x405eb6
mov ecx, 0x4229f0
push 8
mov eax, esi
pop edi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec edi
jne 0x405e92
mov dword [ecx], eax
add ecx, 4
inc esi
cmp ecx, 0x422df0
jl 0x405e8d
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
mov edx, ecx
dec ecx
test edx, edx
not eax
jbe 0x405eeb
lea edx, [ecx + 1]
mov ecx, dword [esp + 0x10]
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4229f0]
xor eax, esi
inc ecx
dec edx
jne 0x405ece
pop edi
pop esi
not eax
ret 0xc

Function at 0x401000
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push ecx
push edx
enter 0x84, 0
sub ebp, 0x82
add byte [eax], 0
add bh, al
inc ebp
inc byte [eax]
add byte [eax], al
add byte [ebp - 0x301781ab], cl
add eax, 0xc3890000
push edx
mov edx, ebx
or dl, 0x40
push edx
mov edx, 0x401e9a
sub edx, fcn.00401665
push edx
xor eax, eax
push fcn.00401665
mov dword [ebp + 0x7e], eax
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x401058
mov eax, ebx

Function at 0x4015eb
Capabilities:
Delete file
Encode data using base64 via winapi

Disassembly:
push ebx
push ecx
push edx
enter 0x324, 0
push 0
call dword [sym.imp.OLE32.DLL_CoInitialize]
push 0
call dword [sym.imp.OLE32.DLL_CoCreateGuid]
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
push 1
lea eax, [ebp - 0x11c]
push eax
mov dword [ebp - 4], 0x14
mov byte [ebp - 0x11c], 0
call dword [sym.imp.CRYPT32.DLL_CryptBinaryToStringW]
lea eax, [ebp - 0x324]
push eax
movzx ebx, word [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
call dword [sym.imp.OLE32.DLL_CoUninitialize]
lea eax, [ebx - 0x41]
leave
pop edx
pop ecx
pop ebx
ret
Function at 0x401000
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, dword [0x40408c]
push edi
push 0x10000
push 2
call esi
mov edi, dword [0x4040c8]
push eax
mov dword [0x405434], eax
call edi
push 0x8040
push 2
mov dword [0x405430], eax
call esi
push eax
mov dword [0x40546c], eax
call edi
push 0x400
push 2
mov dword [0x40545c], eax
call esi
push eax
mov dword [0x40544c], eax
call edi
mov dword [0x405438], eax
and dword [eax], 0
push 1
pop eax
pop edi
pop esi
push 8
mov ecx, eax
pop edx
test cl, 1
je 0x40106c
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x40106e
shr ecx, 1
dec edx
jne 0x40105d
mov edx, dword [0x405438]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, 0x100
jl 0x401058
ret

Function at 0x4020a0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4020b2
or eax, 0xffffffff
mov dword [section..data], eax
jmp 0x4020eb
mov edx, dword [esp + 8]
mov eax, dword [section..data]
push esi
mov esi, edx
dec edx
test esi, esi
je 0x4020e5
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
mov edi, dword [0x405438]
shr eax, 8
mov esi, dword [edi + esi*4]
xor eax, esi
inc ecx
dec edx
jne 0x4020c5
pop edi
mov dword [section..data], eax
pop esi
not eax
ret 8
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6a
nop
nop
sub eax, 0x403d10
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219

Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x402ee4
pop dword [ebp - 0x1c]
mov eax, 0x6fbe363f
sub eax, 0x6f7e075b
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x23bfabe
sub dword [ebp - 0x2c], 0xb3e9b573
mov dword [ebp - 0x28], 0xe322eb15
add dword [ebp - 0x28], 0x4f106130
mov dword [ebp - 0x24], 0xe4f78aba
add dword [ebp - 0x24], 0x6754b974
mov dword [ebp - 0x20], 0xc2b0bb58
sub dword [ebp - 0x20], 0xc2b0bb58
lea eax, [ebp - 0x2c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x196a64f5
sub dword [ebp - 0x2c], 0xa4f7fb9f
mov dword [ebp - 0x28], 0xebf84b37
add dword [ebp - 0x28], 0x5574163e
mov dword [ebp - 0x24], 0xb65fe9e7
add dword [ebp - 0x24], 0xad0f8285
mov dword [ebp - 0x20], 0x7940a3fe
sub dword [ebp - 0x20], 0x7940a3fe
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x7ebd730
sub eax, 0x7ab5630
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x35cdb
push 0
call eax
mov ecx, 0x3e04129d
add ecx, 0xc1fc3075
xor esi, esi
add esi, eax
mov edx, 0x46e400
add edx, dword [ebp - 0x1c]
mov edi, 0x5a952475
mov ebx, dword [edx]
add dword [ebp - 4], 0x798b0163
sub ebx, edi
xor dword [ebp - 4], edx
mov dword [esi], ebx
sub dword [ebp - 8], edi
add esi, 0xe829fd78
add esi, 0x17d6028c
add edx, 0xc01a12f6
add edx, 0x3fe5ed0e
loop 0x402ff7
add eax, 0x2dcc5a9f
add eax, 0xd234a47c
mov ebx, eax
add eax, 5
mov ecx, 0xaaf38ffd
add ecx, 0x554c7003
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x40317b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4031a6
mov ecx, dword [0x42a298]
push esi
add eax, ecx
push esi
push eax
mov dword [0x418ed4], eax
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 4
call fcn.00403283
cmp eax, esi
jl 0x40327d
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp + 8]
add dword [0x418ed4], 4
call fcn.00403283
mov ebx, eax
cmp ebx, esi
jl 0x40327b
cmp dword [ebp + 0x10], esi
jne 0x403249
cmp dword [ebp + 8], esi
jle 0x40327b
mov esi, 0x414ed0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x40320b
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.00402ed5
test eax, eax
je 0x40326d
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00402ed5
test eax, eax
je 0x403245
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x418ed4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4031fa
jmp 0x40327b
push 0xfffffffffffffffe
jmp 0x40326f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403254
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.kernel32.dll_ReadFile]
test eax, eax
jne 0x403272
push 0xfffffffffffffffd
pop eax
jmp 0x40327d
mov ebx, dword [ebp - 4]
add dword [0x418ed4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10
Function at 0x55d590
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xff000]
push edi
or ebp, 0xffffffff
jmp 0x55d5b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x55d5b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55d5a8
mov eax, 1
add ebx, ebx
jne 0x55d5cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x55d5dc
jne 0x55d5fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55d5fb
dec eax
add ebx, ebx
jne 0x55d5e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x55d5c0
add ebx, ebx
jne 0x55d5f7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x55d64d
xor ecx, ecx
sub eax, 3
jb 0x55d613
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x55d682
sar eax, 1
mov ebp, eax
jmp 0x55d61e
add ebx, ebx
jne 0x55d61e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55d5ec
inc ecx
add ebx, ebx
jne 0x55d62c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x55d5ec
add ebx, ebx
jne 0x55d639
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x55d62e
jne 0x55d64a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x55d62e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x55d66c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x55d65e
jmp 0x55d5ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x55d66c
add edi, ecx
jmp 0x55d5ae
pop esi
mov edi, esi
mov ecx, 0x3acf
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x55d68a
cmp byte [edi], 0x11
jne 0x55d68a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x55d68f
lea edi, [esi + 0x159000]
mov eax, dword [edi]
or eax, eax
je 0x55d707
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a6b20]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a6de4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x55d6bc
mov ecx, edi
jns 0x55d6eb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a6dec]
or eax, eax
je 0x55d701
mov dword [ebx], eax
add ebx, 4
jmp 0x55d6d9
call dword [esi + 0x1a6de8]
mov ebp, dword [esi + 0x1a6df0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x55d73b
sub esp, 0xffffff80
jmp 0x478eb8
Function at 0x401000
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401012
mov eax, dword [0x44b2c7]
shl eax, 2
mov dword [0x44b2cb], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.004412cc
pop edx
call fcn.00441230
call fcn.0044130c
push 0
call fcn.00442530
pop ecx
push 0x44b270
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x44b2cf], eax
push 0
jmp fcn.00446374

Function at 0x406724
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0043f06c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x406773
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.0043f29c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40c6d4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x40c6da
ret

Function at 0x40ea38
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.KERNEL32.DLL_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x40ea89
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x40ea70
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x40ea60
jmp 0x40ea89
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x40ea71
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415ae4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x44f62c
cmp dword [edi], 0
jne 0x415b60
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x44f628]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x44ba4c
mov ecx, 2
call fcn.0043e0d8
mov edx, 0x415abc
lea eax, [esi + 5]
call fcn.00415adc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00415adc
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x415b35
mov dword [0x44f628], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x415c7c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x415ccc]
test si, 4
je 0x415c90
or bl, 1
test si, 8
je 0x415c9a
or bl, 4
test si, 1
je 0x415ca4
or bl, 8
test si, 2
je 0x415cae
or bl, 0x10
test si, 0x10
je 0x415cb8
or bl, 0x20
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x415cc7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x415cd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x415d08]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x415ce9
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x415cf8
or bl, 4
test esi, 0x20000000
je 0x415d03
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x41c258
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x41c26a
add esp, 0xfffffff0
call fcn.0043e8fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00435784
mov eax, ebx
call fcn.0041c5a4
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x42f4bc]
call fcn.0043e5e4
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x42f4bc]
call fcn.0043e5e4
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x42f4bc]
call fcn.0043e5e4
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x42f4bc]
call fcn.0043e5e4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x42f4bc]
call fcn.0043e5e4
mov dword [ebx + 0x70], eax
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x418d48
push eax
push 0
push 0
mov eax, dword [0x44f394]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x40be58]
call fcn.0040d134
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40be58]
call fcn.0040d134
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x40be58]
call fcn.0040d134
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.0041c984
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x41c8a0
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x41c8a0
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x41c8a0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x41c379
call fcn.0043e954
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41c684
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 0x41c82f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x41c810
mov dl, 1
mov eax, dword [0x42f7f8]
call fcn.0043e5e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.0043f06c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x41c7ff
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.0042e7dc
test al, al
je 0x41c7f2
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, 0x41c840
lea eax, [ebp - 0x254]
call fcn.00439a58
push eax
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x41c7f2
xor eax, eax
push ebp
push 0x41c7eb
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 0x41c878
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x41c7d4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0043f29c
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 0x41c7d4
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0043f29c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41c7f2
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x41c6f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00432818
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 0x41c836
lea eax, [ebp - 0x260]
call fcn.0043f06c
ret

Function at 0x41d07c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x44f61c]
cmp byte [eax + 0x95], 0
jne 0x41d0ed
cmp dword [0x44f638], 0
jne 0x41d0ae
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x41d038
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x44f638], eax
cmp dword [0x44f634], 0
jne 0x41d0c9
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x44f634], eax
cmp dword [0x44f63c], 0
jne 0x41d0ed
push esp
push 0
push 0
push 0x41cfdc
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x44f63c], eax
pop edx
ret
Function at 0x41d1e4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x41d1fb
add esp, 0xfffffff0
call fcn.0043e8fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00435784
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x42f4bc]
call fcn.0043e5e4
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x42f4bc]
call fcn.0043e5e4
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 [0x40c58c]
call fcn.00411fb4
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x41d370
mov eax, dword [0x44f524]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00412384
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x41ecf4
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x44f524]
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.0043ad84
test eax, eax
je 0x41d2ee
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0043940c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0043adac
test eax, eax
je 0x41d302
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.0043f29c
mov eax, dword [0x44f528]
cmp byte [eax], 0
jne 0x41d333
mov eax, ebx
call fcn.0041d45c
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 0x41d365
call fcn.0043e954
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41d6cc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x44f61c]
cmp dword [eax + 0x24], 0
je 0x41d76f
cmp dword [ebx + 0x84], 0
jne 0x41d769
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x41d65c
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x41d769
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 0x41d732
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x41d769
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.00430b70
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x41d741
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret