joyce8/EMBER2024-capa huggingface dataset:
Function at 0x452f58
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x452f6f
add esp, 0xfffffff0
call fcn.00428c54
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00414c04
mov eax, dword [0x4a3314]
cmp word [eax + 2], 0
jne 0x452f97
mov eax, dword [0x4a3314]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454cb8
mov eax, dword [0x4a3318]
cmp word [eax + 2], 0
jne 0x452fb1
mov eax, dword [0x4a3318]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00454ec4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x40c138]
call fcn.00428900
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x40c138]
call fcn.00428900
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x40c138]
call fcn.00428900
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 [0x43dcd0]
call fcn.00445a6c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x453168
mov eax, dword [0x4a32d4]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00445e40
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x455598
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a32d4]
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.0041d668
test eax, eax
je 0x4530b8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0041977c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0041d69c
test eax, eax
je 0x4530cc
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.USER32.DLL_CharNextA
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.004299b8
mov byte [ebx + 0xd4], 0
push ebx
push 0x45472c
call fcn.00415d80
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4a32dc]
cmp byte [eax], 0
jne 0x45311d
mov eax, ebx
call fcn.004532ac
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.004557ac
mov eax, ebx
call fcn.00456310
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45315d
call fcn.00428cac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45352c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4535cb
cmp dword [ebx + 0x94], 0
jne 0x4535c5
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4534b4
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4535c5
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 0x45358b
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4535c5
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.0040e5d0
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45359a
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4a827c]
cmp dword [eax + 0x30], 0
je 0x453941
test bl, bl
jne 0x453892
cmp dword [esi + 0x9c], 0
jne 0x453887
mov eax, esi
call fcn.0045618c
push eax
push 0x453710
call sub.USER32.DLL_EnumWindows
cmp dword [esi + 0x44], 0
je 0x453858
mov eax, dword [0x4a827c]
call fcn.0045686c
test al, al
je 0x453858
mov eax, dword [0x4a82a0]
call fcn.0042a888
mov edi, eax
cmp edi, 0
jl 0x453858
push 0
mov eax, dword [0x4a82a0]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x453842
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x453887
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0040e5d0
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x453867
inc dword [esi + 0x9c]
jmp 0x453941
cmp dword [esi + 0x9c], 0
jle 0x453941
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x453941
cmp dword [esi + 0x44], 0
je 0x4538ed
mov eax, dword [0x4a827c]
call fcn.0045686c
test al, al
je 0x4538ed
mov eax, dword [0x4a82a0]
call fcn.0042a888
mov edi, eax
cmp edi, 0
jl 0x4538ed
push 5
mov eax, dword [0x4a82a0]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4538d7
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45391c
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0040e5d0
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4538fc
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4a82a0
mov ecx, 1
mov edx, dword [0x4536f0]
call fcn.0042aa3c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x454428
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 0x454492
mov eax, ebx
call fcn.0045686c
test al, al
jne 0x454492
push 0x100
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.00429838
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45447f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45449f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0042979c
jmp 0x45449f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0042979c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x455990
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4559fe
mov eax, esi
call fcn.004685dc
test al, al
je 0x4559fe
mov eax, dword [ebx + 0x84]
call fcn.0046823c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4559fe
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4559f2
push 0
mov eax, dword [ebx + 0x84]
call fcn.0046823c
push eax
call sub.USER32.DLL_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004600ac
jmp 0x4559fe
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004557cc
pop esi
pop ebx
ret

Function at 0x458af4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00429bc8
xor eax, eax
push ebp
push 0x458c29
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x458bfc
xor edx, edx
push ebp
push 0x458bf5
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x458b41
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x458bca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x458bb9
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x458b80
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.00429bd8
lea ecx, [ebx + 1]
mov edx, esi
call fcn.00427d20
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458bc0
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x4a34c0]
mov dl, 1
mov eax, dword [0x417ab4]
call fcn.0041c89c
call fcn.004291a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458c30
lea eax, [ebp - 4]
call fcn.00429748
ret
Function at 0x458c38
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x458df3
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00429ecc
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x458e0c
call fcn.00429a60
mov eax, ebx
call fcn.00415244
mov edi, eax
dec edi
test edi, edi
jl 0x458cf0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00415218
mov edx, dword [0x432d48]
call fcn.00428abc
test al, al
je 0x458cec
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00415218
lea edx, [ebp - 0x14]
call fcn.0046018c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00429ecc
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00429adc
inc esi
dec edi
jne 0x458c9e
movzx eax, byte [0x458e10]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x458e1c
mov eax, dword [ebp - 8]
call fcn.0041db74
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.004297e0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0046018c
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x458e0c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.0046018c
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x458e0c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x458e0c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x458e28
call fcn.00419e58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458dfa
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0042976c
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0042976c
lea eax, [ebp - 0x14]
call fcn.00429748
lea eax, [ebp - 0x10]
call fcn.00429748
lea eax, [ebp - 8]
mov edx, 2
call fcn.0042976c
ret
Function at 0x45d93c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4a8344], 0
je 0x45da85
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4a3300]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x45da85
mov eax, dword [0x4a8348]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4a8344]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x45da54
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4a8344]
call fcn.0040e5d0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x45da4c
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x45da4c
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x45da4c
mov eax, dword [ebp - 0x14]
call fcn.0046823c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x45da4c
push ebp
call fcn.0045d8f8
pop ecx
test al, al
jne 0x45da4c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00428b2c
test al, al
je 0x45da4c
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00428b2c
cmp byte [ebp - 1], 0
je 0x45da4c
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x45da4c
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4a8348]
call fcn.0045d064
inc edi
dec ebx
jne 0x45d9a1
mov eax, dword [0x4a8348]
cmp dword [eax + 8], 0
jle 0x45da6c
mov eax, dword [0x4a8348]
call fcn.0045d11c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45da85
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0045d75c
pop ecx
test al, al
jne 0x45da85
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465110
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.USER32.DLL_GetMessagePos
call fcn.004178a4
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0045fcc4
test ebx, ebx
jne 0x465163
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0046504c
mov ebx, eax
test ebx, ebx
je 0x46524e
cmp esi, ebx
je 0x46518c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x4651a1
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x4651d9
add eax, 0xffffff5f
sub eax, 2
jb 0x4651f1
dec eax
sub eax, 2
jb 0x465205
dec eax
sub eax, 2
jb 0x4651fb
jmp 0x46520f
add eax, 0xfffffdff
sub eax, 2
jb 0x4651f1
dec eax
sub eax, 2
jb 0x465205
dec eax
sub eax, 2
jb 0x4651fb
jmp 0x46520f
mov byte [esp + 0x120], 0
jmp 0x465217
mov byte [esp + 0x120], 2
jmp 0x465217
mov byte [esp + 0x120], 1
jmp 0x465217
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00449934
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0046147c
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x465250
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x46d694
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4a3128]
cmp byte [eax + 0xc], 0
je 0x46d801
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46d7fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a8354], 0
jne 0x46d6e8
push 0x46d808
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x46d810
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4a8354], eax
cmp dword [0x49cf04], 0
jne 0x46d7e3
push 0x46d820
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x49cf04], eax
cmp dword [0x49cf04], 0
je 0x46d7e3
push 0x46d82c
mov eax, dword [0x49cf04]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4a8358], eax
push 0x46d83c
mov eax, dword [0x49cf04]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4a835c], eax
push 0x46d850
mov eax, dword [0x49cf04]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4a8360], eax
push 0x46d868
mov eax, dword [0x49cf04]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4a8364], eax
push 0x46d880
mov eax, dword [0x49cf04]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4a8368], eax
push 0x46d894
mov eax, dword [0x49cf04]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4a836c], eax
push 0x46d8ac
mov eax, dword [0x49cf04]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4a8370], eax
push 0x46d8c4
mov eax, dword [0x49cf04]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4a8374], eax
push 0x46d8e0
mov eax, dword [0x49cf04]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4a8378], eax
push 0x46d8ec
mov eax, dword [0x49cf04]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4a837c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d801
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x476634
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov al, byte [ebp + 8]
mov eax, dword [eax*4 + 0x49cf48]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00429bd8
push eax
mov eax, dword [ebp - 8]
call fcn.00429bd8
push eax
mov eax, dword [ebp - 4]
call fcn.00429bd8
push eax
push 0
mov eax, dword [0x4a3300]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.SHELL32.DLL_ShellExecuteA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4
Function at 0x47668c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x3c
call fcn.00428258
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x40
mov eax, dword [0x4a3300]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
call fcn.00429bd8
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 8]
call fcn.00429bd8
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xc]
call fcn.00429bd8
mov dword [ebp - 0x38], eax
xor eax, eax
mov al, byte [ebp + 8]
mov eax, dword [eax*4 + 0x49cf48]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x50]
push eax
call sub.SHELL32.DLL_ShellExecuteExA
test eax, eax
je 0x47673c
mov eax, dword [0x4a3300]
mov eax, dword [eax]
call fcn.004548dc
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
cmp dword [ebp - 0x14], 0x103
jne 0x476734
mov eax, dword [0x4a3300]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
je 0x476702
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x476743
mov dword [ebp - 0x10], 0xffffffff
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 4

Function at 0x476fb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47706b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
add eax, 0x44
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], 0x1e8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xc], 7
mov eax, dword [ebp - 4]
call sym.tetris.exe__Rxshell_TRxTrayIcon_GetActiveIcon_qqrv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x477015
mov eax, dword [ebp - 8]
call fcn.00445bac
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x14], eax
jmp 0x47701f
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x14], 0xffffffff
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x238]
call fcn.0045ce50
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
add eax, 0x18
mov ecx, 0x7f
call fcn.00419810
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], 0xb054
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 8], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477072
lea eax, [ebp - 0x10]
call fcn.00429748
ret

Function at 0x4773e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [0x477424]
mov byte [ebp - 1], al
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x4773fc
or byte [ebp - 1], 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x47740c
or byte [ebp - 1], 4
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x47741c
or byte [ebp - 1], 2
mov al, byte [ebp - 1]
pop ecx
pop ebp
ret
Function at 0x4795e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0042813c
mov eax, dword [ebp - 4]
cmp byte [eax], 0
jbe 0x479648
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
jle 0x479648
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
dec eax
mov edx, dword [ebp - 4]
movzx edx, byte [edx]
mov ecx, edx
cdq
idiv ecx
inc edx
mov eax, dword [ebp - 4]
mov al, byte [eax + edx]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov dl, byte [edx + ecx]
xor al, dl
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
dec dword [ebp - 0x14]
jne 0x479616
mov esp, ebp
pop ebp
ret

Function at 0x47b898
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], eax
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 8], eax
mov eax, dword [0x4a3300]
mov eax, dword [eax]
call fcn.004548dc
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x47b8d0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jge 0x47b8a9
mov esp, ebp
pop ebp
ret

Function at 0x47bf2c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.0047bec4
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x47bf4d
xor eax, eax
call fcn.0047befc
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.USER32.DLL_ShowWindow
cmp byte [ebp - 9], 0
je 0x47bf67
mov al, 1
call fcn.0047befc
mov esp, ebp
pop ebp
ret

Function at 0x47c990
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x800
lea eax, [ebp - 0x809]
push eax
mov eax, dword [ebp - 4]
call fcn.00429bd8
push eax
call sub.KERNEL32.DLL_GetEnvironmentVariableA
test eax, eax
jbe 0x47c9cd
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x809]
call fcn.00419968
jmp 0x47c9d5
mov eax, dword [ebp - 8]
call fcn.00429748
mov esp, ebp
pop ebp
ret