joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46926c
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 0x469417
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4693f8
mov dl, 1
mov eax, dword [0x417438]
call fcn.00404220
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405130
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4693e7
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.0045a868
test al, al
je 0x4693da
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, 0x469428
lea eax, [ebp - 0x254]
call fcn.0040ac34
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4693da
xor eax, eax
push ebp
push 0x4693d3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x469460
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4693bc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004053a0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4693bc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004053a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4693da
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4692dd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041bab8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46941e
lea eax, [ebp - 0x260]
call fcn.00405130
ret

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

Disassembly:
push ecx
mov eax, dword [0x4cbed0]
cmp byte [eax + 0xad], 0
jne 0x469e01
cmp dword [0x4cbeec], 0
jne 0x469dc2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x469d4c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4cbeec], eax
cmp dword [0x4cbee8], 0
jne 0x469ddd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4cbee8], eax
cmp dword [0x4cbef0], 0
jne 0x469e01
push esp
push 0
push 0
push 0x469cf0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4cbef0], eax
pop edx
ret
Function at 0x46a004
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46a01b
add esp, 0xfffffff0
call fcn.00404574
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004202e8
mov eax, dword [0x4c5fa4]
cmp word [eax + 2], 0
jne 0x46a043
mov eax, dword [0x4c5fa4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046bd64
mov eax, dword [0x4c6088]
cmp word [eax + 2], 0
jne 0x46a05d
mov eax, dword [0x4c6088]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0046bf70
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416ea0]
call fcn.00404220
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416ea0]
call fcn.00404220
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x416ea0]
call fcn.00404220
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x42a114]
call fcn.00431b84
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x46a214
mov eax, dword [0x4c5e80]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00431f58
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46c644
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c5e80]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040e764
test eax, eax
je 0x46a164
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a5b0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e798
test eax, eax
je 0x46a178
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004053a0
mov byte [ebx + 0xd4], 0
push ebx
push 0x46b7d8
call fcn.00421464
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4c5d20]
cmp byte [eax], 0
jne 0x46a1c9
mov eax, ebx
call fcn.0046a358
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0046c858
mov eax, ebx
call fcn.0046d3bc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46a209
call fcn.004045cc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46a5d8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46a677
cmp dword [ebx + 0x94], 0
jne 0x46a671
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46a560
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46a671
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 0x46a637
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46a671
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419464
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46a646
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46a890
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4cbed0]
cmp dword [eax + 0x30], 0
je 0x46a9ed
test bl, bl
jne 0x46a93e
cmp dword [esi + 0x9c], 0
jne 0x46a933
mov eax, esi
call fcn.0046d238
push eax
push 0x46a7bc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x46a904
mov eax, dword [0x4cbed0]
call fcn.0046d918
test al, al
je 0x46a904
mov eax, dword [0x4cbef4]
call fcn.00406364
mov edi, eax
cmp edi, 0
jl 0x46a904
push 0
mov eax, dword [0x4cbef4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46a8ee
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46a933
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419464
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46a913
inc dword [esi + 0x9c]
jmp 0x46a9ed
cmp dword [esi + 0x9c], 0
jle 0x46a9ed
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x46a9ed
cmp dword [esi + 0x44], 0
je 0x46a999
mov eax, dword [0x4cbed0]
call fcn.0046d918
test al, al
je 0x46a999
mov eax, dword [0x4cbef4]
call fcn.00406364
mov edi, eax
cmp edi, 0
jl 0x46a999
push 5
mov eax, dword [0x4cbef4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46a983
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46a9c8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419464
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46a9a8
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4cbef4
mov ecx, 1
mov edx, dword [0x46a79c]
call fcn.00406518
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x46b4d4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x46b53e
mov eax, ebx
call fcn.0046d918
test al, al
jne 0x46b53e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405220
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46b52b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46b54b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405184
jmp 0x46b54b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405184
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46ca3c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46caaa
mov eax, esi
call fcn.00455474
test al, al
je 0x46caaa
mov eax, dword [ebx + 0x84]
call fcn.004550d4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46caaa
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46ca9e
push 0
mov eax, dword [ebx + 0x84]
call fcn.004550d4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044cf0c
jmp 0x46caaa
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046c878
pop esi
pop ebx
ret

Function at 0x46ff04
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004055b0
xor eax, eax
push ebp
push 0x46ffea
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.0046fe9c
mov esi, eax
test esi, esi
jle 0x46ffcf
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405628
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x20006
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.004055c0
push eax
push edi
call sub.advapi32.dll_RegCreateKeyExA_1
test eax, eax
jne 0x46ffcf
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x46ff8e
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 8]
push eax
mov ecx, ebx
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.00405628
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004055c0
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
sete bl
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fff1
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405154
ret
Function at 0x46fffc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004055b0
xor eax, eax
push ebp
push 0x470127
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov edx, dword [ebp - 4]
mov al, 0x5c
call fcn.0046fe9c
mov esi, eax
test esi, esi
jle 0x47010c
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00405628
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 8]
call fcn.004055c0
push eax
push edi
call sub.advapi32.dll_RegOpenKeyExA_2
test eax, eax
jne 0x47010c
mov edi, dword [ebp - 4]
test edi, edi
je 0x470080
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 8]
push eax
mov ecx, edi
sub ecx, esi
lea edx, [esi + 1]
mov eax, dword [ebp - 4]
call fcn.00405628
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004055c0
mov edi, eax
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_2
test eax, eax
jne 0x470103
mov eax, dword [ebp - 0x18]
call fcn.00402ec0
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_2
test eax, eax
jne 0x4700fc
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x10]
jne 0x4700f3
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov bl, 1
jmp 0x470103
mov eax, esi
call fcn.00402edc
jmp 0x470103
mov eax, esi
call fcn.00402edc
mov eax, dword [ebp - 0x14]
push eax
call sub.advapi32.dll_RegCloseKey_2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47012e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405154
ret

Function at 0x470284
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
lea eax, [ebp - 0x94]
xor ecx, ecx
mov edx, 0x94
call fcn.004039ac
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
xor eax, eax
cmp dword [ebp - 0x84], 2
jne 0x4702f9
mov edx, dword [ebp - 0x90]
sub edx, 3
je 0x4702d3
dec edx
je 0x4702d7
dec edx
je 0x4702db
jmp 0x470339
mov al, 4
jmp 0x470339
mov al, 5
jmp 0x470339
mov edx, dword [ebp - 0x8c]
sub edx, 1
jb 0x4702ed
je 0x4702f1
dec edx
je 0x4702f5
jmp 0x470339
mov al, 6
jmp 0x470339
mov al, 7
jmp 0x470339
mov al, 8
jmp 0x470339
cmp dword [ebp - 0x90], 4
jne 0x47030f
cmp dword [ebp - 0x8c], 0
jne 0x47030f
mov al, 1
jmp 0x470339
cmp dword [ebp - 0x90], 4
jne 0x470325
cmp dword [ebp - 0x8c], 0xa
jne 0x470325
mov al, 2
jmp 0x470339
cmp dword [ebp - 0x90], 4
jne 0x470339
cmp dword [ebp - 0x8c], 0x5a
jne 0x470339
mov al, 3
mov esp, ebp
pop ebp
ret
Function at 0x470340
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ebx
call fcn.00470284
mov ebx, eax
push 0
push 0x47039c
call sub.user32.dll_FindWindowA
push 0
push 0x4703ac
push 0
push eax
call sub.user32.dll_FindWindowExA
mov edx, ebx
add dl, 0xf9
sub dl, 2
jae 0x47037f
push 0
push 0x4703bc
push 0
push eax
call sub.user32.dll_FindWindowExA
add bl, 0xfa
sub bl, 3
jae 0x470396
push 0
push 0x4703c8
push 0
push eax
call sub.user32.dll_FindWindowExA
pop ebx
pop ebp
ret

Function at 0x4704fc
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004710e0
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
pop ebp
ret

Function at 0x470fdc
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff20
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x40
jle 0x471021
lea eax, [ebp - 0x60]
call fcn.004704fc
mov edx, ebx
lea eax, [ebp - 0x60]
mov ecx, dword [ebp + 0xc]
call fcn.00470528
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.00470614
mov dword [ebp + 0xc], 0x10
mov esi, dword [ebp + 8]
jmp 0x471023
mov esi, ebx
xor ecx, ecx
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0xe0]
lea ebx, [ecx + 1]
cmp ebx, dword [ebp + 0xc]
jg 0x47104c
movzx ebx, byte [esi]
xor bl, 0x36
mov byte [eax], bl
movzx ebx, byte [esi]
xor bl, 0x5c
mov byte [edx], bl
inc esi
jmp 0x471052
mov byte [eax], 0x36
mov byte [edx], 0x5c
inc ecx
inc edx
inc eax
cmp ecx, 0x40
jne 0x471031
lea eax, [ebp - 0x60]
call fcn.004704fc
lea edx, [ebp - 0xa0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.00470528
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x60]
mov ecx, dword [ebp - 8]
call fcn.00470ebc
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.00470614
lea eax, [ebp - 0x60]
call fcn.004704fc
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0x60]
mov ecx, 0x40
call fcn.00470528
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x60]
mov ecx, 0x10
call fcn.00470528
lea edx, [ebp - 0x60]
mov eax, dword [ebp + 8]
call fcn.00470614
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x472aac
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov ebx, eax
mov byte [ebp - 9], 0
or esi, 0xffffffff
mov eax, dword [ebx + 0x40]
mov dword [ebp - 8], eax
jmp 0x472b9e
inc esi
cmp esi, dword [ebx + 0x70]
jl 0x472b2d
cmp dword [ebx + 0x48], 0xfde9
je 0x472aeb
movzx eax, byte [ebp - 2]
movzx eax, al
bt dword [ebx + 0x4c], eax
jb 0x472aeb
mov byte [ebp - 0xb], 1
jmp 0x472b11
cmp dword [ebx + 0x48], 0xfde9
jne 0x472b06
movzx eax, byte [ebp - 2]
add al, 0x80
sub al, 0x40
setb al
xor al, 1
mov byte [ebp - 0xa], al
jmp 0x472b0a
mov byte [ebp - 0xa], 0
movzx eax, byte [ebp - 0xa]
mov byte [ebp - 0xb], al
cmp byte [ebp - 0xb], 0
je 0x472b2d
push 0xffffffffffffffff
push 0xffffffffffffffff
mov dl, 1
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov byte [ebp - 1], 1
jmp 0x472bd0
lea ecx, [ebp - 8]
lea edx, [esi + 1]
mov eax, ebx
call fcn.004732fc
movzx eax, byte [ebp - 2]
sub al, 0xa
je 0x472b48
sub al, 3
je 0x472b55
jmp 0x472b7b
mov eax, dword [ebp - 8]
mov byte [eax + esi], 0
mov byte [ebp - 1], 1
jmp 0x472bd0
cmp byte [ebp - 9], 0
je 0x472b6e
push 0xffffffffffffffff
push 0xffffffffffffffff
mov dl, 1
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov byte [ebp - 1], 1
jmp 0x472bd0
mov eax, dword [ebp - 8]
mov byte [eax + esi], 0
mov byte [ebp - 9], 1
jmp 0x472b9e
cmp byte [ebp - 9], 0
je 0x472b94
push 0xffffffffffffffff
push 0xffffffffffffffff
mov dl, 1
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov byte [ebp - 1], 1
jmp 0x472bd0
mov eax, dword [ebp - 8]
movzx edx, byte [ebp - 2]
mov byte [eax + esi], dl
lea edx, [ebp - 2]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0xc]
dec eax
je 0x472ac9
test esi, esi
jl 0x472bc6
mov eax, dword [ebp - 8]
mov byte [eax + esi + 1], 0
mov byte [ebp - 1], 1
jmp 0x472bd0
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47628c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov edi, eax
xor eax, eax
push ebp
push 0x47647f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
cmp dword [edi + 0x38], 0
jne 0x476466
mov eax, dword [edi + 0x30]
test eax, eax
je 0x4762ca
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4762ea
mov eax, dword [edi + 0x34]
test eax, eax
je 0x4762da
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4762ea
mov eax, edi
call fcn.00476520
jmp 0x476466
cmp dword [edi + 0xa0], 0
jne 0x476321
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x30]
call fcn.0040a61c
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4cbf28]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa0], eax
cmp dword [edi + 0xa4], 0
jne 0x476358
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0x34]
call fcn.0040a61c
push 0x3ec
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4cbf28]
mov eax, dword [eax + 0x44]
push eax
call sub.user32.dll_DdeCreateStringHandleA
mov dword [edi + 0xa4], eax
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00476560
mov ebx, eax
test bl, bl
jne 0x47641b
mov eax, dword [edi + 0x30]
test eax, eax
je 0x476381
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x47639b
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x476394
sub eax, 4
mov eax, dword [eax]
test eax, eax
sete al
jmp 0x47639d
xor eax, eax
test al, al
jne 0x47641b
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x4763b0
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x4763c7
lea eax, [ebp - 0x101]
mov edx, dword [edi + 0xc0]
call fcn.0040a61c
jmp 0x4763f3
push dword [edi + 0x30]
push 0x47649c
push dword [edi + 0x34]
lea eax, [ebp - 0x108]
mov edx, 3
call fcn.004054c4
mov edx, dword [ebp - 0x108]
lea eax, [ebp - 0x101]
call fcn.0040a61c
push 7
lea eax, [ebp - 0x101]
push eax
call sub.kernel32.dll_WinExec
cmp eax, 0x20
jb 0x47641b
mov ecx, dword [edi + 0xa4]
mov edx, dword [edi + 0xa0]
mov eax, edi
call fcn.00476560
mov ebx, eax
test bl, bl
jne 0x476428
mov eax, edi
call fcn.00476520
jmp 0x476466
mov eax, dword [edi + 0x58]
test eax, eax
je 0x476437
mov dword [edi + 0xa8], eax
jmp 0x476441
mov dword [edi + 0xa8], 1
mov eax, edi
call fcn.004765d8
test al, al
je 0x476466
mov eax, edi
mov si, 0xffee
call fcn.0040444c
xor ecx, ecx
xor edx, edx
mov eax, edi
call fcn.00476688
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476486
lea eax, [ebp - 0x108]
call fcn.00405130
ret

Function at 0x478258
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
xor ecx, ecx
mov edx, 0x40
call fcn.004039ac
pop ebp
ret
Function at 0x4787f4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055b0
xor eax, eax
push ebp
push 0x4788a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405130
mov eax, dword [ebp - 4]
call fcn.00409f1c
test al, al
je 0x47888a
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004055c0
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x47888a
mov eax, dword [ebp - 8]
call fcn.00402ea8
mov esi, eax
push esi
mov eax, dword [ebp - 8]
push eax
push 0
push edi
call sub.version.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x4788b0
push esi
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x478880
mov eax, ebx
mov edx, dword [ebp - 0x10]
call fcn.00405328
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00402edc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4788a7
lea eax, [ebp - 4]
call fcn.00405130
ret

Function at 0x478cd8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0
xor eax, eax
push ebp
push 0x478d41
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4c6054]
mov eax, dword [eax]
call fcn.0046bcf4
push 1
push 0x478d4c
push 0x478d4c
lea edx, [ebp - 4]
xor eax, eax
call fcn.004033bc
mov eax, dword [ebp - 4]
call fcn.004055c0
push eax
push 0x478d50
mov eax, dword [0x4c6054]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478d48
lea eax, [ebp - 4]
call fcn.00405130
ret

Function at 0x478d58
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004055b0
xor eax, eax
push ebp
push 0x478e0d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x428b18]
call fcn.00428be8
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x478de0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.00428c88
xor ecx, ecx
mov edx, 0x478e20
mov eax, dword [ebp - 0x10]
call fcn.00428cec
test al, al
je 0x478dca
lea ecx, [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00429078
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478de7
mov eax, dword [ebp - 0x10]
call fcn.00404250
ret