joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401904
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x40190e
repz ret
jmp fcn.00402c2a

Function at 0x404058
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x40e4a8]
je 0x404073
inc edi
cmp edi, 0x17
jb 0x404064
cmp edi, 0x17
jae 0x4041f3
push ebp
push 3
call fcn.00407df1
cmp eax, 1
pop ecx
je 0x4041bf
push 3
call fcn.00407df1
test eax, eax
pop ecx
jne 0x4040a7
cmp dword [0x40e010], 1
je 0x4041bf
cmp ebx, 0xfc
je 0x4041f2
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x40f648
push ebp
call fcn.00407d8c
add esp, 0xc
test eax, eax
je 0x4040dd
push esi
push esi
push esi
push esi
push esi
call fcn.00402a8b
add esp, 0x14
push 0x104
mov esi, 0x40f661
push esi
push 0
mov byte [0x40f765], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404121
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00407d8c
add esp, 0xc
test eax, eax
je 0x404121
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00402a8b
add esp, 0x14
push esi
call fcn.00405d60
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x404166
push esi
call fcn.00405d60
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x40f95c
push 0x40b90c
sub ecx, eax
push ecx
push eax
call fcn.00407cd9
add esp, 0x14
test eax, eax
je 0x404166
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00402a8b
add esp, 0x14
jmp 0x404168
xor esi, esi
push 0x40b908
push ebx
push ebp
call fcn.00407c68
add esp, 0xc
test eax, eax
je 0x404188
push esi
push esi
push esi
push esi
push esi
call fcn.00402a8b
add esp, 0x14
push dword [edi*8 + 0x40e4ac]
push ebx
push ebp
call fcn.00407c68
add esp, 0xc
test eax, eax
je 0x4041aa
push esi
push esi
push esi
push esi
push esi
call fcn.00402a8b
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00407aab
add esp, 0xc
jmp 0x4041f2
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x4041f2
cmp ebp, 0xffffffff
je 0x4041f2
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x40e4ac]
push dword [esi]
call fcn.00405d60
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x407aab
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00402f02
xor ebx, ebx
cmp dword [0x40fc34], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x407b81
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x407c61
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x407c61
push eax
call fcn.00402e94
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40fc34], eax
call esi
push eax
call fcn.00402e94
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40fc38], eax
call esi
push eax
call fcn.00402e94
mov dword [0x40fc3c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00403674
test eax, eax
pop ecx
pop ecx
je 0x407b4f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402a8b
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x407b81
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00402e94
cmp eax, ebx
pop ecx
mov dword [0x40fc44], eax
je 0x407b81
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402e94
pop ecx
mov dword [0x40fc40], eax
mov eax, dword [0x40fc40]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x407c06
cmp dword [0x40fc44], ecx
je 0x407c06
push eax
call fcn.00402f0b
push dword [0x40fc44]
mov esi, eax
call fcn.00402f0b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x407c06
cmp edi, ebx
je 0x407c06
call esi
cmp eax, ebx
je 0x407bd3
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407bd3
test byte [ebp - 0x18], 1
jne 0x407c06
lea eax, [ebp - 0x10]
push eax
call fcn.004036ab
test eax, eax
pop ecx
je 0x407bee
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402a8b
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x407bfd
or dword [ebp + 0x10], 0x200000
jmp 0x407c41
or dword [ebp + 0x10], 0x40000
jmp 0x407c41
mov eax, dword [0x40fc38]
cmp eax, dword [ebp - 8]
je 0x407c41
push eax
call fcn.00402f0b
cmp eax, ebx
pop ecx
je 0x407c41
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x407c41
mov eax, dword [0x40fc3c]
cmp eax, dword [ebp - 8]
je 0x407c41
push eax
call fcn.00402f0b
cmp eax, ebx
pop ecx
je 0x407c41
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40fc34]
call fcn.00402f0b
cmp eax, ebx
pop ecx
je 0x407c61
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407c63
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100042ae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x100042cd
xor eax, eax
jmp 0x10004348
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100042e3
xor eax, eax
jmp 0x10004348
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x1000432b
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jae 0x1000432b
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax*2 + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
jmp 0x10004304
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jb 0x10004337
xor eax, eax
jmp 0x10004348
mov eax, dword [ebp - 4]
movzx eax, word [eax]
test eax, eax
jne 0x10004345
xor eax, eax
jmp 0x10004348
mov eax, dword [ebp - 4]
leave
ret

Function at 0x10009ad5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x10009ade
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
shl eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
and dword [eax], 0
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10009b1b
mov eax, dword [ebp - 0xc]
jmp 0x10009b71
cmp dword [ebp - 4], 1
je 0x10009b2c
cmp dword [ebp - 4], 2
je 0x10009b2c
push 0xd
pop eax
jmp 0x10009b71
cmp dword [ebp + 0xc], 0
je 0x10009b65
cmp dword [ebp - 8], 0
je 0x10009b5e
mov eax, dword [ebp - 8]
xor edx, edx
push 2
pop ecx
div ecx
test edx, edx
jne 0x10009b57
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0xc]
movzx eax, word [ecx + eax*2 - 2]
test eax, eax
je 0x10009b5c
push 0xd
pop eax
jmp 0x10009b71
jmp 0x10009b65
mov eax, dword [ebp + 0xc]
and word [eax], 0
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
leave
ret 0xc
Function at 0x10009b9c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x228], ecx
lea ecx, [ebp - 0x10]
call fcn.1001db5c
push 0x2001f
push dword [ebp + 8]
mov eax, dword [ebp - 0x228]
push dword [eax]
lea ecx, [ebp - 0x10]
call fcn.10009924
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10009bfa
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x21c], eax
lea ecx, [ebp - 0x10]
call fcn.10009996
mov eax, dword [ebp - 0x21c]
jmp 0x10009c89
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10009c5f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x10]
call fcn.10009b9c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10009c56
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x10]
call fcn.10009996
mov eax, dword [ebp - 0x220]
jmp 0x10009c89
mov dword [ebp - 4], pe_nt_image_headers32
jmp 0x10009c01
lea ecx, [ebp - 0x10]
call fcn.10009969
push dword [ebp + 8]
mov ecx, dword [ebp - 0x228]
call fcn.10009a3b
mov dword [ebp - 0x224], eax
lea ecx, [ebp - 0x10]
call fcn.10009996
mov eax, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1006e001
leave
ret 4
Function at 0x1000f58e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x218]
and dword [eax], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 4], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 8], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 0x218]
and dword [eax + 0x10], 0
and word [ebp - 0x210], 0
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.10070ca0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x100c8700
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x1000f645
jmp 0x1000f6b9
mov eax, dword [ebp - 0x218]
mov dword [eax], 1
push str.OpenThemeData
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 4], eax
push str.CloseThemeData
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 8], eax
push str.DrawThemeBackground
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0xc], eax
push str.SetWindowTheme
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e001
leave
ret

Function at 0x10013578
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.1002088f
test eax, eax
je 0x100135dd
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx eax, ax
test eax, eax
jl 0x100135d3
cmp dword [ebp + 8], 0x1b
jne 0x100135b9
push 0
push 2
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.100209a8
jmp 0x100135d3
cmp dword [ebp + 8], 0xd
jne 0x100135d3
push 0
push 1
push 0x111
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.100209a8
push 0
mov ecx, dword [ebp - 4]
call fcn.10013687
leave
ret 0xc
Function at 0x100291a3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.1000f76a
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100291d4
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x100291d4
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
leave
ret

Function at 0x100325b5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov dword [ebp - 0x34], ecx
and dword [ebp - 0xc], 0
and dword [ebp - 4], 0
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x334], 0
je 0x100325e6
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 0x34]
and dword [eax + 0x334], 0
mov eax, dword [ebp - 0x34]
cmp dword [eax + 0x324], 0
je 0x100326c4
mov eax, dword [ebp - 0x34]
push dword [eax + 0x324]
call fcn.1000f45b
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100326ba
push 2
push 0
push dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
call fcn.100319d6
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x34]
mov eax, dword [eax + 0x324]
cmp eax, dword [ecx + 0x320]
jne 0x100326ba
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx eax, ax
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movzx ecx, cx
shl ecx, 0x10
or eax, ecx
push eax
push dword [ebp + 8]
push 0x202
mov ecx, dword [ebp - 8]
call fcn.1000f4e1
mov ecx, dword [ebp - 8]
call fcn.10025252
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1003269c
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
test eax, eax
je 0x1003269c
push 1
push 0
push 0
push dword [ebp - 0x10]
push 0x100c9494
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], eax
jmp 0x100326ba
mov ecx, dword [ebp - 8]
call fcn.10025187
test eax, eax
je 0x100326ba
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 8]
call fcn.10025187
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x34]
and dword [eax + 0x324], 0
cmp dword [ebp - 0xc], 0
je 0x10032725
mov dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.10034491
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x34]
add ecx, 4
call fcn.100344f0
mov ecx, eax
call fcn.100333d3
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2c], eax
leave
ret 0xc
Function at 0x10034980
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push edi
mov dword [ebp - 0x30], ecx
mov byte [ebp - 1], 0
cmp dword [ebp + 8], 0
je 0x10034a4c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 8], eax
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x30]
cmp dword [eax + 4], 0
je 0x10034a4a
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc], 0
je 0x10034a4a
push 0x4ff
push 0x64
push 0
mov eax, dword [ebp - 0x30]
add eax, 0xc
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x100349e8
mov byte [ebp - 1], 1
jmp 0x10034a4a
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100349f2
jmp 0x10034a4a
and dword [ebp - 0x2c], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x10034a2d
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x28], 0x12
jne 0x10034a2d
mov dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 0
je 0x10034a45
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 8]
cmp eax, 0x2710
jbe 0x10034a45
jmp 0x10034a4a
jmp 0x100349a5
jmp 0x10034a6e
mov eax, dword [ebp - 0x30]
cmp dword [eax + 0xc], 0
je 0x10034a6e
push 0xbb8
mov eax, dword [ebp - 0x30]
push dword [eax + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
pop edi
leave
ret 4
Function at 0x10036cfb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x28], eax
push edi
cmp dword [0x100f94c0], 0
jne 0x10036e93
mov word [ebp - 0x88], 0x47
mov word [ebp - 0x86], 0x6c
mov word [ebp - 0x84], 0x6f
mov word [ebp - 0x82], 0x62
mov word [ebp - 0x80], 0x61
mov word [ebp - 0x7e], 0x6c
mov word [ebp - 0x7c], 0x5c
mov word [ebp - 0x7a], 0x7b
mov word [ebp - 0x78], 0x45
mov word [ebp - 0x76], 0x43
mov word [ebp - 0x74], 0x33
mov word [ebp - 0x72], 0x32
mov word [ebp - 0x70], 0x39
mov word [ebp - 0x6e], 0x31
mov word [ebp - 0x6c], 0x41
mov word [ebp - 0x6a], 0x39
mov word [ebp - 0x68], 0x2d
mov word [ebp - 0x66], 0x32
mov word [ebp - 0x64], 0x38
mov word [ebp - 0x62], 0x45
mov word [ebp - 0x60], 0x37
mov word [ebp - 0x5e], 0x2d
mov word [ebp - 0x5c], 0x34
mov word [ebp - 0x5a], 0x30
mov word [ebp - 0x58], 0x33
mov word [ebp - 0x56], 0x36
mov word [ebp - 0x54], 0x2d
mov word [ebp - 0x52], 0x39
mov word [ebp - 0x50], 0x38
mov word [ebp - 0x4e], 0x44
mov word [ebp - 0x4c], 0x44
mov word [ebp - 0x4a], 0x2d
mov word [ebp - 0x48], 0x38
mov word [ebp - 0x46], 0x45
mov word [ebp - 0x44], 0x37
mov word [ebp - 0x42], 0x39
mov word [ebp - 0x40], 0x32
mov word [ebp - 0x3e], 0x41
mov word [ebp - 0x3c], 0x39
mov word [ebp - 0x3a], 0x34
mov word [ebp - 0x38], 0x35
mov word [ebp - 0x36], 0x30
mov word [ebp - 0x34], 0x30
mov word [ebp - 0x32], 0x34
mov word [ebp - 0x30], 0x7d
and word [ebp - 0x2e], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x20], 0xc
mov byte [ebp - 0x14], 0
xor eax, eax
lea edi, [ebp - 0x13]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.10036eac
pop ecx
pop ecx
test eax, eax
je 0x10036e7a
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x88]
push eax
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x100f94c0], eax
xor eax, eax
cmp dword [0x100f94c0], 0
setne al
pop edi
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.1006e001
leave
ret

Function at 0x1003acb2
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x100c3178
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1003acee
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
leave
ret
Function at 0x1003af6d
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0x100c3630
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1003afa9
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
leave
ret

Function at 0x1003b228
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b3e12
mov eax, dword fs:[0]
push eax
sub esp, 0x660
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x664], ecx
or dword [ebp - 0x10], 0xffffffff
and dword [ebp - 0x43c], 0
push 0x424
push 0
lea eax, [ebp - 0x438]
push eax
call fcn.10070ca0
add esp, 0xc
and dword [ebp - 0x658], 0
and word [ebp - 0x654], 0
push 0x208
push 0
lea eax, [ebp - 0x652]
push eax
call fcn.10070ca0
add esp, 0xc
lea ecx, [ebp - 0x440]
call fcn.10003a59
and dword [ebp - 4], 0
push 0x104
lea eax, [ebp - 0x654]
push eax
call fcn.10099c65
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jbe 0x1003b33f
lea eax, [ebp - 0x654]
push eax
lea ecx, [ebp - 0x440]
call fcn.10003b21
lea ecx, [ebp - 0x440]
call fcn.10003a2f
push eax
push 0x5c
lea ecx, [ebp - 0x440]
call fcn.10003b53
inc eax
push eax
lea eax, [ebp - 0x65c]
push eax
lea ecx, [ebp - 0x440]
call fcn.100104e4
mov dword [ebp - 0x668], eax
mov eax, dword [ebp - 0x668]
mov dword [ebp - 0x66c], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x66c]
lea ecx, [ebp - 0x440]
call fcn.10003b08
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x65c]
call fcn.10003af7
mov eax, dword [ebp - 0x664]
push dword [eax + 8]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x1003b35a
jmp 0x1003b3ae
mov dword [ebp - 0x43c], 0x428
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x1003b379
jmp 0x1003b3ae
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x440]
call fcn.1003bb40
test eax, eax
jne 0x1003b39b
mov dword [ebp - 0x658], 1
jmp 0x1003b3ae
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x10]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x1003b379
cmp dword [ebp - 0x10], 0xffffffff
je 0x1003b3bd
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x658]
mov dword [ebp - 0x660], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.10003af7
mov eax, dword [ebp - 0x660]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006e001
leave
ret
Function at 0x1003b3f5
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x1003b431
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
leave
ret

Function at 0x1003d180
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b3de1
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x100dd3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.1003cee3
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 4
call fcn.1003d2e0
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CQQChannelDownload.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], vtable.CQQChannelDownload.1.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.100016a6
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
and dword [eax + 0xc], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
call dword [eax + 8]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x10]
and dword [eax + 0x10], 0
mov eax, dword [ebp - 0x10]
and dword [eax + 0x30], 0
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8