joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b49b7
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x20], eax
and dword [ebp - 8], 0
jmp 0x100b49e7
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x100b4a05
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push dword [ecx + eax*4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x18], eax
jmp 0x100b49e0
mov dword [ebp - 0x1c], 0xe3779b90
and dword [ebp - 8], 0
jmp 0x100b4a19
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x100b4a74
mov eax, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x1c]
xor eax, ecx
mov ecx, dword [ebp - 4]
shr ecx, 5
add ecx, dword [ebp - 0xc]
xor eax, ecx
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
shl eax, 4
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x1c]
xor eax, ecx
mov ecx, dword [ebp - 0x20]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor eax, ecx
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x1c]
add eax, 0x61c88647
mov dword [ebp - 0x1c], eax
jmp 0x100b4a12
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
leave
ret
Function at 0x100b4a93
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x20], eax
and dword [ebp - 8], 0
jmp 0x100b4ac3
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x100b4ae1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push dword [ecx + eax*4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x18], eax
jmp 0x100b4abc
and dword [ebp - 0x1c], 0
and dword [ebp - 8], 0
jmp 0x100b4af2
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x100b4b49
mov eax, dword [ebp - 0x1c]
sub eax, 0x61c88647
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
shl eax, 4
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x1c]
xor eax, ecx
mov ecx, dword [ebp - 0x20]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor eax, ecx
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x1c]
xor eax, ecx
mov ecx, dword [ebp - 4]
shr ecx, 5
add ecx, dword [ebp - 0xc]
xor eax, ecx
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
jmp 0x100b4aeb
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
leave
ret
Function at 0x100b816d
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc834
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x100ea3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x2c]
call fcn.10001704
and dword [ebp - 4], 0
mov byte [ebp - 0x2d], 0
push 0x208
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.10073a50
add esp, 0xc
push 1
movzx eax, byte [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 0xfffffff7
add eax, 0x23
push eax
lea eax, [ebp - 0x23c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100b8287
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x258]
call fcn.1000172d
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x264]
lea ecx, [ebp - 0x2c]
call fcn.100017c6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
call fcn.1000179b
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100b8249
push 0x100d2c7c
lea ecx, [ebp - 0x2c]
call fcn.10005025
jmp 0x100b8256
push 0x100d2ca4
lea ecx, [ebp - 0x2c]
call fcn.10005025
lea eax, [ebp - 0x2c]
push eax
call fcn.100b6deb
pop ecx
movzx eax, al
test eax, eax
jne 0x100b8276
lea eax, [ebp - 0x2c]
push eax
call fcn.100b7d22
pop ecx
mov byte [ebp - 0x2d], al
jmp 0x100b827a
mov byte [ebp - 0x2d], 1
push 0x100d2cc8
lea ecx, [ebp - 0x2c]
call fcn.10005025
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10001763
mov eax, dword [ebp - 0x25c]
or eax, 1
mov dword [ebp - 0x25c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.1000179b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10070dd1
leave
ret
Function at 0x100b82c8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc864
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100ea3e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 0x31], 0
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.100b816d
pop ecx
pop ecx
and dword [ebp - 4], 0
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x30]
call fcn.100050ac
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100b8365
push 1
lea eax, [ebp - 0x50]
push eax
call fcn.100b816d
pop ecx
pop ecx
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x50]
call fcn.100050ac
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x50]
call fcn.1000179b
cmp dword [ebp - 0x10], 0xffffffff
je 0x100b8396
push 0
lea eax, [ebp - 0x54]
push eax
push 0x10
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100b838d
cmp dword [ebp - 0x54], 0x10
jne 0x100b838d
mov byte [ebp - 0x31], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x31]
mov byte [ebp - 0x55], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1000179b
mov al, byte [ebp - 0x55]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10070dd1
leave
ret 4
Function at 0x100b83c4
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bc891
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100ea3e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov byte [ebp - 0x31], 0
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.100b816d
pop ecx
pop ecx
and dword [ebp - 4], 0
or dword [ebp - 0x10], 0xffffffff
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x30]
call fcn.100050ac
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100b84b8
push 1
lea eax, [ebp - 0x50]
push eax
call fcn.100b816d
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
call fcn.100b5a4f
pop ecx
movzx eax, al
test eax, eax
jne 0x100b848f
lea eax, [ebp - 0x50]
push eax
call fcn.100b5a4f
pop ecx
movzx eax, al
test eax, eax
je 0x100b848f
push 0
lea ecx, [ebp - 0x30]
call fcn.100050ac
push eax
lea ecx, [ebp - 0x50]
call fcn.100050ac
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x100b848f
lea ecx, [ebp - 0x50]
call fcn.100050ac
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
lea ecx, [ebp - 0x50]
call fcn.100050ac
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x50]
call fcn.1000179b
cmp dword [ebp - 0x10], 0xffffffff
je 0x100b8506
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x10
jb 0x100b84fd
cmp dword [ebp - 0x54], 0xffffffff
je 0x100b84fd
push 0
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x54]
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b84fd
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x54]
jne 0x100b84fd
mov byte [ebp - 0x31], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x31]
mov byte [ebp - 0x59], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.1000179b
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10070dd1
leave
ret 4
Function at 0x100b8b8f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100ea3e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x10106870]
and eax, 1
jne 0x100b8bd5
mov eax, dword [0x10106870]
or eax, 1
mov dword [0x10106870], eax
mov ecx, 0x1010686c
call fcn.10003dd8
push 0x100c290f
call fcn.1007133b
pop ecx
mov ecx, 0x1010686c
call fcn.100308ac
movzx eax, al
test eax, eax
je 0x100b8c28
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10073a50
add esp, 0xc
push 1
push 0x24
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x1010686c
call fcn.10003ea0
push 0x1010686c
mov ecx, dword [ebp + 8]
call fcn.10003df2
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10070dd1
leave
ret

Function at 0x100b8c53
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100ea3e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x10106878]
and eax, 1
jne 0x100b8c99
mov eax, dword [0x10106878]
or eax, 1
mov dword [0x10106878], eax
mov ecx, 0x10106874
call fcn.10003dd8
push 0x100c2900
call fcn.1007133b
pop ecx
mov ecx, 0x10106874
call fcn.100308ac
movzx eax, al
test eax, eax
je 0x100b8cec
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10073a50
add esp, 0xc
push 1
push 0x25
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x10106874
call fcn.10003ea0
push 0x10106874
mov ecx, dword [ebp + 8]
call fcn.10003df2
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10070dd1
leave
ret
Function at 0x100b9112
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10004e55
movzx eax, al
test eax, eax
jne 0x100b9141
push 4
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.100050ac
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
leave
ret 4
Function at 0x4030b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x4030c9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x403104
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403100
lea ebx, [ebx]
cmp esi, eax
jae 0x403104
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4030f0
cmp esi, eax
jb 0x40310a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x408778
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0040becb
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x4087b1
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.004083c9
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x40880f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x408833
cmp dword [edi + 0x54], 0
jne 0x408833
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040becb
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004087d0
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4138cf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x413916
call fcn.0040becb
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x413916
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x413932
push ebx
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00413449
mov esi, eax
test edi, edi
je 0x413930
test ebx, ebx
je 0x413930
push ebx
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41574e
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x415779
call fcn.0040becb
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x41579c
push eax
push dword [esi + 4]
call fcn.004156d4
push esi
push eax
mov ecx, 0x56a448
call fcn.00415388
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4166b5
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x514dc1
call fcn.004fa9df
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4166da
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x416720
lea ecx, [ebp - 0x10]
call fcn.00403630
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040a23a
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00403700
mov eax, esi
call fcn.004faab7
ret 8
Function at 0x41c382
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x567070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
mov ebx, 0x8000
cmp eax, 9
ja 0x41c3bb
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x41c3e2
cmp dword [0x56a950], 0
jne 0x41c3e2
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x41c3d5
push 0x12
call esi
test bx, ax
je 0x41c3d9
mov eax, edi
jmp 0x41c44d
push edi
call fcn.004fe07b
pop ecx
jmp 0x41c44d
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
call fcn.00408f9f
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
mov al, byte [ebp - 0x10c]
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x108]
push eax
mov byte [ebp - 0x107], 0
call dword [sym.imp.USER32.dll_CharUpperA]
movsx eax, byte [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f9420
leave
ret 4
Function at 0x42c47f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
movzx ebx, word [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x42c499
call fcn.0040af62
call fcn.0040becb
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
jne 0x42c4b9
xor eax, eax
jmp 0x42c5d4
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42c4b2
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov esi, eax
test esi, esi
je 0x42c4b2
movzx eax, word [esi + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004053de
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x42c494
cmp dword [ebp + 0x10], 0
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
push eax
lea ebx, [ecx + 6]
lea edx, [eax + 6]
push ebx
push edx
je 0x42c516
mov ecx, edi
call fcn.00424eef
jmp 0x42c51b
call fcn.00424dd9
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x42c52d
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x42c548
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x42c5c0
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x42c597
lea eax, [esi + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 8]
mov dword [ecx + ebx*4], eax
jne 0x42c58a
test eax, eax
jbe 0x42c58a
push eax
mov ecx, 0x563f24
call fcn.00432573
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
mov dword [eax], ecx
movzx eax, word [esi + 6]
add dword [ebp - 4], 2
inc ebx
cmp ebx, eax
jl 0x42c561
mov eax, dword [ebp + 8]
mov dword [edi + 0xbe0], eax
movzx ecx, word [esi + 6]
mov eax, dword [edi]
push 1
push ecx
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 0x318]
mov ebx, eax
test ebx, ebx
jne 0x42c5c0
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.0040540d
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x431f71
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x4320b2
push esi
push edi
push 0x528ea0
call fcn.00417c14
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x432001
mov esi, dword [ebx + 0x168]
jmp 0x431fed
mov eax, esi
mov edi, dword [eax + 8]
mov esi, dword [esi]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x431fed
push edi
call fcn.00410591
push eax
push 0x5647a8
call fcn.00417c32
pop ecx
pop ecx
test eax, eax
je 0x431fed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x431fed
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x431fad
lea ecx, [ebx + 0x164]
call fcn.0044490d
jmp 0x4320b0
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x4320b0
jmp 0x432017
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.004668e5
mov esi, dword [eax]
test esi, esi
jne 0x432030
xor ebx, ebx
jmp 0x432033
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4320a6
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4320a6
test edi, edi
je 0x432078
push esi
push 0x5647a8
call fcn.00417c32
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x531954
call fcn.00417c32
pop ecx
pop ecx
test eax, eax
je 0x4320a6
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 4]
push 0
lea eax, [ebp + 8]
add esi, 0x164
push eax
mov ecx, esi
call fcn.00431528
test eax, eax
jne 0x4320a6
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.00431493
cmp dword [ebp - 8], 0
jne 0x432014
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4366d3
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x567070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x10c]
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x10c], esi
mov dword [ebp - 0x108], esi
call fcn.00436193
mov ebx, eax
cmp ebx, esi
je 0x436740
lea ecx, [ebp - 0x10c]
call fcn.00407b66
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f9420
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x43675e
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
call fcn.004366d3
cmp eax, esi
jne 0x4367a5
lea eax, [ebp - 0x11c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push esi
push dword [ebp - 0x10c]
mov dword [ebp - 0x110], 0x100
call ebx
test eax, eax
je 0x436748
lea ecx, [ebp - 0x10c]
call fcn.00407b66
push dword [ebp - 0x114]
mov ecx, edi
call fcn.004360d8
lea ecx, [ebp - 0x10c]
mov esi, eax
call fcn.00407b66
mov eax, esi
jmp 0x43672f
Function at 0x439bc5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x56a6b8], 0
mov dword [ebp - 4], ecx
jne 0x439bdb
xor eax, eax
jmp 0x439c15
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x439beb
call fcn.0040becb
mov esi, dword [eax + 0xc]
push edi
push dword [0x56b438]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov edi, eax
test edi, edi
je 0x439c11
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x439c19
xor eax, eax
pop edi
pop esi
leave
ret 8
push ebx
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x439c37
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, esi
pop ebx
jmp 0x439c13
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.00439ae7
mov esi, eax
jmp 0x439c29