joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e8e0
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.00406f58
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.004494a0
test ebx, ebx
jne 0x44e933
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0044e81c
mov ebx, eax
test ebx, ebx
je 0x44ea1e
cmp esi, ebx
je 0x44e95c
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 0x44e971
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
add byte [ebx - 0x7b76fbb9], cl
and al, 0x24
add dword [eax], eax
add byte [edi], cl
mov bh, 0x47
or bh, byte [0x201]
xor eax, eax

Function at 0x44e97b
Capabilities:
Log keystrokes via polling

Disassembly:
add byte [ebx - 0x7b76fbb9], cl
and al, 0x24
add dword [eax], eax
add byte [edi], cl
mov bh, 0x47
or bh, byte [0x201]
jge 0x44e9a9
add eax, 0xffffff5f
sub eax, 2
jb 0x44e9c1
dec eax
sub eax, 2
jb 0x44e9d5
dec eax
sub eax, 2
jb 0x44e9cb
jmp 0x44e9df
add eax, 0xfffffdff
sub eax, 2
jb 0x44e9c1
dec eax
sub eax, 2
jb 0x44e9d5
dec eax
sub eax, 2
jb 0x44e9cb
jmp 0x44e9df
mov byte [esp + 0x120], 0
jmp 0x44e9e7
mov byte [esp + 0x120], 2
jmp 0x44e9e7
mov byte [esp + 0x120], 1
jmp 0x44e9e7
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0045d838
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0044ac4c
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x44ea20
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x456ea8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4b06c4]
cmp byte [eax + 0xc], 0
je 0x457015
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45700e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b5c90], 0
jne 0x456efc
push 0x45701c
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x457024
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5c90], eax
cmp dword [0x4ae790], 0
jne 0x456ff7
push 0x457034
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4ae790], eax
cmp dword [0x4ae790], 0
je 0x456ff7
push 0x457040
mov eax, dword [0x4ae790]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5c94], eax
push 0x457050
mov eax, dword [0x4ae790]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5c98], eax
push 0x457064
mov eax, dword [0x4ae790]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5c9c], eax
push 0x45707c
mov eax, dword [0x4ae790]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5ca0], eax
push 0x457094
mov eax, dword [0x4ae790]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5ca4], eax
push 0x4570a8
mov eax, dword [0x4ae790]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5ca8], eax
push 0x4570c0
mov eax, dword [0x4ae790]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5cac], eax
push 0x4570d8
mov eax, dword [0x4ae790]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5cb0], eax
push 0x4570f4
mov eax, dword [0x4ae790]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5cb4], eax
push 0x457100
mov eax, dword [0x4ae790]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b5cb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457015
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x45d364
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov edi, eax
push 0xffffffffffffffec
push edi
call sub.user32.dll_GetWindowLongA
mov esi, eax
test bl, bl
je 0x45d385
test esi, 0x40000
je 0x45d39f
test bl, bl
jne 0x45d439
mov eax, esi
and eax, 0x40000
cmp eax, 0x40000
jne 0x45d439
push edi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push edi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x45d3d2
mov eax, dword [0x4b5cd4]
cmp edi, dword [eax + 0x30]
jne 0x45d3ce
mov eax, dword [0x4b5cd4]
cmp byte [eax + 0x5b], 0
jne 0x45d3d2
xor eax, eax
jmp 0x45d3d4
mov al, 1
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x45d3eb
push 0
push edi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x45d400
or esi, 0x40000
push esi
push 0xffffffffffffffec
push edi
call sub.user32.dll_SetWindowLongA
jmp 0x45d40f
and esi, 0xfffbffff
push esi
push 0xffffffffffffffec
push edi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x45d420
cmp byte [esp + 2], 0
je 0x45d439
cmp byte [esp + 2], 0
je 0x45d431
push 6
push edi
call sub.user32.dll_ShowWindow
jmp 0x45d439
push 5
push edi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x45d6dc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x45d702
mov eax, esp
push eax
push 0x45d6a4
call sub.user32.dll_EnumWindows
jmp 0x45d715
mov eax, esp
push eax
push 0x45d684
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x45d7a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45d7f4]
test si, 4
je 0x45d7b5
or bl, 1
test si, 8
je 0x45d7bf
or bl, 4
test si, 1
je 0x45d7c9
or bl, 8
test si, 2
je 0x45d7d3
or bl, 0x10
test si, 0x10
je 0x45d7dd
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d7ec
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45d7f8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45d834]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d812
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d821
or bl, 4
test esi, 0x20000000
je 0x45d82c
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4658a0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4658b2
add esp, 0xfffffff0
call fcn.00404018
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042309c
mov eax, dword [0x4b005c]
mov dword [eax + 4], ebx
mov dword [eax], 0x465c44
mov eax, dword [0x4b0070]
mov dword [eax + 4], ebx
mov dword [eax], 0x465c50
mov eax, ebx
call fcn.00465c5c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419a10]
call fcn.00403cc4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419a10]
call fcn.00403cc4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419a10]
call fcn.00403cc4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419a10]
call fcn.00403cc4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419a10]
call fcn.00403cc4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x461104
push eax
push 0
push 0
mov eax, dword [0x4b0324]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x427408]
call fcn.00428c5c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x427408]
call fcn.00428c5c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x427408]
call fcn.00428c5c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004660d4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x465fa4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x465fa4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x465fa4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4659ef
call fcn.00404070
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x465d88
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 0x465f33
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x465f14
mov dl, 1
mov eax, dword [0x41a07c]
call fcn.00403cc4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404c18
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x465f03
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.00457204
test al, al
je 0x465ef6
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, 0x465f44
lea eax, [ebp - 0x254]
call fcn.0040a480
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x465ef6
xor eax, eax
push ebp
push 0x465eef
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 0x465f7c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x465ed8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404e88
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 0x465ed8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404e88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x465ef6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x465df9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041e87c
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 0x465f3a
lea eax, [ebp - 0x260]
call fcn.00404c18
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b5cd4]
cmp byte [eax + 0xad], 0
jne 0x46691d
cmp dword [0x4b5cf0], 0
jne 0x4668de
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x466868
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b5cf0], eax
cmp dword [0x4b5cec], 0
jne 0x4668f9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b5cec], eax
cmp dword [0x4b5cf4], 0
jne 0x46691d
push esp
push 0
push 0
push 0x46680c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b5cf4], eax
pop edx
ret
Function at 0x466b20
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x466b37
add esp, 0xfffffff0
call fcn.00404018
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042309c
mov eax, dword [0x4b02fc]
cmp word [eax + 2], 0
jne 0x466b5f
mov eax, dword [0x4b02fc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468880
mov eax, dword [0x4b0450]
cmp word [eax + 2], 0
jne 0x466b79
mov eax, dword [0x4b0450]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468a8c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x419a10]
call fcn.00403cc4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x419a10]
call fcn.00403cc4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x419a10]
call fcn.00403cc4
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 [0x427f18]
call fcn.0042f7b8
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x466d30
mov eax, dword [0x4b0120]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042fb8c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x469160
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b0120]
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.0040e284
test eax, eax
je 0x466c80
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409a88
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e2b8
test eax, eax
je 0x466c94
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.00404e88
mov byte [ebx + 0xd4], 0
push ebx
push 0x4682f4
call fcn.00424218
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4afedc]
cmp byte [eax], 0
jne 0x466ce5
mov eax, ebx
call fcn.00466e74
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.00469344
mov eax, ebx
call fcn.00469ea8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x466d25
call fcn.00404070
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4670f4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x467193
cmp dword [ebx + 0x94], 0
jne 0x46718d
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46707c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46718d
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 0x467153
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46718d
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.0041c110
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x467162
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4b5cd4]
cmp dword [eax + 0x30], 0
je 0x467509
test bl, bl
jne 0x46745a
cmp dword [esi + 0x9c], 0
jne 0x46744f
mov eax, esi
call fcn.00469d24
push eax
push 0x4672d8
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x467420
mov eax, dword [0x4b5cd4]
call fcn.0046a404
test al, al
je 0x467420
mov eax, dword [0x4b5cf8]
call fcn.00405ed4
mov edi, eax
cmp edi, 0
jl 0x467420
push 0
mov eax, dword [0x4b5cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46740a
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46744f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041c110
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46742f
inc dword [esi + 0x9c]
jmp 0x467509
cmp dword [esi + 0x9c], 0
jle 0x467509
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x467509
cmp dword [esi + 0x44], 0
je 0x4674b5
mov eax, dword [0x4b5cd4]
call fcn.0046a404
test al, al
je 0x4674b5
mov eax, dword [0x4b5cf8]
call fcn.00405ed4
mov edi, eax
cmp edi, 0
jl 0x4674b5
push 5
mov eax, dword [0x4b5cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46749f
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4674e4
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041c110
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4674c4
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4b5cf8
mov ecx, 1
mov edx, dword [0x4672b8]
call fcn.00406088
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x467ff0
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 0x46805a
mov eax, ebx
call fcn.0046a404
test al, al
jne 0x46805a
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.00404d08
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x468047
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x468067
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c6c
jmp 0x468067
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c6c
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x469528
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x469596
mov eax, esi
call fcn.00451da8
test al, al
je 0x469596
mov eax, dword [ebx + 0x84]
call fcn.00451a08
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x469596
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46958a
push 0
mov eax, dword [ebx + 0x84]
call fcn.00451a08
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00449888
jmp 0x469596
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00469364
pop esi
pop ebx
ret
Function at 0x4a9ba8
Capabilities:
Hide graphical window

Disassembly:
call fcn.004a9b70
test al, al
je 0x4a9bd6
mov eax, dword [0x4b040c]
mov eax, dword [eax]
cmp dword [eax + 0x44], 0
je 0x4a9bd6
push 0
mov eax, dword [0x4b040c]
mov eax, dword [eax]
mov eax, dword [eax + 0x44]
call fcn.00451a08
push eax
call sub.user32.dll_ShowWindow
ret
push 0
mov eax, dword [0x4b040c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x4aa5cc
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov byte [ebp - 1], cl
mov ebx, edx
mov eax, 0x40
call fcn.00402f0c
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 0x40
call fcn.00403614
xor eax, eax
push ebp
push 0x4aa654
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebp - 8]
mov byte [esi + 0x30], bl
movzx eax, byte [ebp + 8]
mov byte [esi + 2], al
movzx eax, byte [ebp - 1]
mov byte [esi + 0xa], al
mov byte [esi + 0xb], 0
movzx eax, byte [ebp + 0xc]
mov byte [esi + 0xc], al
mov byte [esi + 0xd], 0
mov byte [esi], 0x32
mov eax, dword [ebp - 8]
push eax
call sub.netapi32.dll_Netbios
movzx eax, byte [esi + 0x31]
mov byte [ebp - 2], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa65b
mov edx, 0x40
mov eax, dword [ebp - 8]
call fcn.00402f28
ret
Function at 0x414460
Capabilities:
Encode data using xor

Disassembly:
jle fcn.0041444e
cwde
jmp 0xb528212e
out 0xb4, al

Function at 0x414528
Capabilities:
Encode data using xor

Disassembly:
in eax, dx
inc dword [eax]
xlatb
scasd eax, dword es:[edi]
mov bh, byte [ebx + edi + 0x6f]
cmp ebp, dword [edi + 0x71]
scasb al, byte es:[edi]
fisub word [esi]
mov ch, 0xad
jg 0x4144b9
out 0x5f, eax
add edi, esp
Function at 0x40351a
Capabilities:
Get common file path
Set current directory

Disassembly:
mov eax, 0x41fef8
call fcn.00417aac
sub esp, 0x310
push ebx
push esi
push edi
mov esi, ecx
xor ebx, ebx
push 0x425108
push 1
lea ecx, [ebp - 0x10]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
call fcn.004169d0
lea eax, [ebp - 0x114]
push 0x100
push eax
push 0x42537c
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00416a10
test eax, eax
mov edi, 0x104
jne 0x4035c9
lea eax, [ebp - 0x114]
push edi
push eax
push dword [0x4290a4]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
lea eax, [ebp - 0x218]
push ebx
push eax
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00417ceb
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00417450
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.00417460
add esp, 0x24
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea eax, [ebp - 0x114]
push eax
call edi
lea eax, [ebp - 0x114]
push eax
call fcn.00417c70
cmp byte [ebp + eax - 0x115], 0x5c
pop ecx
je 0x403610
lea eax, [ebp - 0x114]
push 0x42506c
push eax
call fcn.00417460
pop ecx
pop ecx
lea eax, [ebp - 0x114]
push 0x42536c
push eax
call fcn.00417460
pop ecx
lea eax, [ebp - 0x114]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [esi], eax
lea eax, [ebp - 0x218]
push eax
call edi
mov eax, dword [esi]
cmp eax, ebx
je 0x403679
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x425358
push eax
call edi
cmp eax, ebx
mov dword [esi + 4], eax
je 0x403679
push 0x425340
push dword [esi]
call edi
cmp eax, ebx
mov dword [esi + 8], eax
je 0x403679
push 0x425334
push dword [0x4290a4]
call dword [esi + 4]
pop ecx
mov dword [esi + 0xc], eax
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004169f0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x403cfb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 8]
push esi
push edi
push 2
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push 0
push esi
call dword [sym.imp.GDI32.dll_CreateDIBPatternBrushPt]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, edi
pop edi
pop esi
ret 8