joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10062c2e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006b170]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1005ecdf
mov dword [ebp - 0x14], eax
cmp dword [0x10657e70], esi
jne 0x10062d21
push 0x800
push esi
push 0x10006484
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x10062cae
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10062e01
push esi
push esi
push 0x10006484
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x10062e01
push 0x1000649c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10062e01
push eax
call ebx
push 0x100064a8
push edi
mov dword [0x10657e70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100064b8
push edi
mov dword [0x10657e74], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x100064cc
push edi
mov dword [0x10657e78], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10657e80], eax
test eax, eax
je 0x10062d1e
push 0x100064e8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10657e7c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10062d46
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10062d39
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10062d5b
push 4
pop eax
jmp 0x10062e03
cmp dword [ebp - 0x14], esi
je 0x10062d5b
push dword [0x10657e70]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10062d40
mov eax, dword [0x10657e7c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x10062db9
cmp dword [0x10657e80], edi
je 0x10062db9
push eax
call ebx
push dword [0x10657e80]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10062db9
test eax, eax
je 0x10062db9
call ecx
test eax, eax
je 0x10062dae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10062dae
test byte [ebp - 8], 1
jne 0x10062db9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x10062de9
mov eax, dword [0x10657e74]
cmp eax, edi
je 0x10062de6
push eax
call ebx
test eax, eax
je 0x10062de6
call eax
mov esi, eax
test esi, esi
je 0x10062de6
mov eax, dword [0x10657e78]
cmp eax, edi
je 0x10062de6
push eax
call ebx
test eax, eax
je 0x10062de6
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10657e70]
call ebx
test eax, eax
je 0x10062e01
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x10062e03
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1005793d
mov esp, ebp
pop ebp
ret
Function at 0x401c90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_strlen]
mov esi, eax
xor eax, eax
test esi, esi
je 0x401ce8
cmp byte [ebx + esi - 1], 0xa
je 0x401cbc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x406884], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x402300
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xe0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esp], eax
call dbg.__wine_dbg_get_channel_flags
movzx eax, al
bt eax, esi
jae 0x4024c4
mov edx, dword fs:[0x18]
xor eax, eax
mov edi, dword [0x406884]
cmp dword [edx + 0x24], edi
je 0x4023e7
test byte [0x403018], 8
jne 0x402470
lea ebx, [ebp - 0xd4]
mov edi, ebx
test byte [0x403028], 8
jne 0x402433
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call dbg.sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x402389
cmp esi, 3
jbe 0x4023f2
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov ecx, ebx
mov edi, eax
mov esi, dword [ecx]
add ecx, 4
lea edx, [esi - 0x1010101]
not esi
and edx, esi
and edx, 0x80808080
je 0x40239a
mov esi, edx
mov dword [esp + 0xc], edi
shr esi, 0x10
test edx, 0x8080
mov dword [esp + 4], 1
cmove edx, esi
lea esi, [ecx + 2]
mov dword [esp], ebx
cmove ecx, esi
mov eax, edx
add al, dl
sbb ecx, 3
sub ecx, ebx
mov dword [esp + 8], ecx
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0xe0
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x405b08]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.2
jmp 0x402389
mov dword [esp], 0x403028
call dbg.__wine_dbg_get_channel_flags
test al, 8
je 0x402360
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call dbg.sprintf
add edi, eax
jmp 0x402360
mov dword [esp], 0x403018
call dbg.__wine_dbg_get_channel_flags
test al, 8
je 0x40234b
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
lea ebx, [ebp - 0xd4]
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
mov dword [esp], ebx
shr edx, 6
imul eax, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, eax
mov dword [esp + 0xc], ecx
call dbg.sprintf
lea edi, [ebx + eax]
jmp 0x402353
mov eax, 0xffffffff
jmp 0x4023e7

Function at 0x402530
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov ebx, dword [eax]
call sym.___p___wargv
mov esi, dword [eax]
call sym.__get_initial_wide_environment
mov edi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x3c]
cmp word [edx + eax + 0x5c], 2
sete dl
movzx edx, dl
add edx, 1
mov dword [esp], edx
call sym.__set_app_type
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dbg.wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
Function at 0x1000f3a9
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x10
xor edi, edi
call esi
shr eax, 0xf
test al, 1
je 0x1000f3bf
inc edi
push 0x11
call esi
shr eax, 0xf
test al, 1
je 0x1000f3cd
or edi, 2
push 0x12
call esi
shr eax, 0xf
test al, 1
je 0x1000f3db
or edi, 4
mov eax, edi
pop edi
pop esi
ret

Function at 0x1000f4da
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, esi
call fcn.100a0fb7
cmp eax, 2
jae 0x1000f4ef
xor eax, eax
leave
ret
mov eax, esi
mov dword [ebp - 8], esi
call fcn.100a0fb7
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push 0x1000f063
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 4]
leave
ret

Function at 0x1000f510
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
xor esi, esi
push 0x17
inc esi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x1000f523
push 2
pop esi
push esi
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
pop esi
shr eax, 0xf
and eax, 1
ret
Function at 0x10010f0f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ba9bf
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x1010f048]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x48], esi
call fcn.10010ecc
mov edi, dword [eax + 4]
mov dword [eax + 4], esi
mov ebx, dword [eax + 8]
mov dword [eax + 8], esi
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ecx
mov dword [eax + 0xc], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov byte [esp + 0x48], 2
call fcn.10010e89
mov edx, dword [eax + 4]
mov dword [eax + 4], esi
mov ecx, dword [eax + 8]
cmp edx, ecx
mov dword [eax + 8], esi
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov dword [eax + 0xc], esi
mov dword [esp + 0x10], edx
je 0x10010fea
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
push 2
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetAncestor]
cmp edi, ebx
mov ecx, edi
je 0x10010fd1
cmp dword [ecx], eax
je 0x10010fcd
add ecx, 4
cmp ecx, ebx
jne 0x10010fc2
cmp ebx, ecx
jne 0x10010fdb
push dword [esp + 0x18]
call dword [sym.imp.USER32.dll_UpdateWindow]
add dword [esp + 0x10], 4
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x24]
jne 0x10010fa9
cmp edi, ebx
je 0x10011026
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x1001101b
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x1001101b
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_UpdateWindow]
add dword [esp + 0x14], 4
cmp dword [esp + 0x14], ebx
jne 0x10010fee
cmp dword [esp + 0x20], esi
je 0x10011036
push dword [esp + 0x20]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
cmp edi, esi
je 0x10011041
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001326e
Capabilities:
Log keystrokes via application hook

Disassembly:
cmp dword [0x10117ad0], 0
push esi
mov esi, eax
je 0x10013282
push 3
pop eax
jmp fcn.1000bbb8
test esi, esi
je 0x1001327a
mov ecx, dword [0x10117d74]
cmp esi, ecx
je 0x1001329a
test ecx, ecx
je 0x1001329a
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [0x10117d74], esi
mov eax, dword [ebx]
mov ecx, ebx
mov dword [0x10117ad0], ebx
call dword [eax]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [0x10117d74]
mov dword [0x10117acc], eax
mov eax, dword [ecx]
call dword [eax + 0xc]
test al, al
je 0x10013309
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
je 0x10013309
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x10012da0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov edi, eax
mov esi, 0x10117d78
call fcn.10011b44
xor eax, eax
cmp dword [0x10117d78], eax
setne al
push eax
call fcn.100073ec
pop ecx
pop edi
mov ecx, dword [0x10117d74]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
pop esi
ret

Function at 0x100133d1
Capabilities:
Log keystrokes via application hook

Disassembly:
push 0
mov eax, 0x100bd0a2
call fcn.100b6f3a
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebx], vtable.Owl::Win32::MouseMoveMonitor.0
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebp - 4], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], edi
mov dword [ebx + 0x24], edi
lea esi, [ebx + 0x28]
mov dword [esi], edi
mov byte [ebp - 4], 2
mov dword [ebx + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push edi
push 0x100134b5
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov edi, eax
call fcn.10011b44
xor eax, eax
cmp dword [esi], eax
setne al
push eax
call fcn.100073ec
pop ecx
mov eax, ebx
call fcn.100b7012
ret 4
Function at 0x10013f1b
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100c1ae5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1010f048]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0x6c]
test ecx, ecx
je 0x10013f56
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [ebx + 0x6c], 0
mov eax, dword [ebx + 0x70]
inc dword [eax + 0x14]
cmp dword [eax + 0x14], 1
jne 0x10013f6b
call fcn.10013653
lea esi, [ebx + 0x84]
call fcn.10016406
call fcn.10013a21
mov ecx, dword [ebx + 0x48]
test ecx, ecx
je 0x10013f88
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [ebx + 0x48], 0
mov ecx, ebx
call fcn.1000d22d
lea esi, [ebx + 0x44]
xor edi, edi
call fcn.10015279
mov ecx, dword [ebx + 0x70]
test ecx, ecx
je 0x10013faa
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [ebx + 0x70], edi
mov ecx, dword [ebx + 0x74]
test ecx, ecx
je 0x10013fba
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [ebx + 0x74], edi
xor edi, edi
lea esi, [esp + 0x14]
call fcn.10012809
and dword [esp + 0x30], edi
lea esi, [ebx + 0x4c]
call fcn.10012820
or dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0x14]
call fcn.10081438
lea esi, [esp + 0x14]
call fcn.10012809
lea esi, [ebx + 0x54]
mov dword [esp + 0x30], 1
call fcn.10012820
or dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0x14]
call fcn.10081438
lea esi, [esp + 0x14]
call fcn.10012809
lea esi, [ebx + 0x5c]
mov dword [esp + 0x30], 2
call fcn.10012820
or dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0x14]
call fcn.10081438
lea esi, [esp + 0x1c]
call fcn.10012809
lea esi, [ebx + 0x64]
mov dword [esp + 0x30], 3
call fcn.10012820
or dword [esp + 0x30], 0xffffffff
lea eax, [esp + 0x1c]
call fcn.10081438
call fcn.10014227
call fcn.100103be
push dword [0x10117a40]
call sub.gdiplus.dll_GdiplusShutdown
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10014a9e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 8], eax
ja 0x10014b5d
push ebx
xor ebx, ebx
cmp dword [esi + 4], ebx
je 0x10014b5c
push edi
push 7
pop ecx
push ebx
push 0x46
xor eax, eax
push 0x46
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
push ebx
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x10014b4a
push ebx
push 0x47
push 0x47
push ebx
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x10014b4a
push ebx
push 6
push 6
push ebx
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x10014b4a
push ebx
push 0x1c
push 0x1c
push ebx
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x10014b4a
push ebx
push 0x21
push 0x21
push ebx
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x10014b4a
push ebx
push 0x22
push 0x22
push ebx
lea eax, [ebp - 0x1c]
push eax
call edi
test eax, eax
jne 0x10014b4a
call fcn.10016406
or dword [esi + 8], 0xffffffff
push ebx
push dword [0x10117aa8]
call fcn.10014b62
jmp 0x10014b5b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1010f434]
add ecx, eax
mov dword [esi + 8], ecx
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x10014b8d
Capabilities:
Enumerate gui resources

Disassembly:
push 0x54
mov eax, 0x100c2d13
call fcn.100b6f3a
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x48]
xor ebx, ebx
cmp eax, ebx
jne 0x10014bad
push 3
pop eax
call fcn.1000bbb8
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
mov edi, dword [eax + 8]
mov eax, dword [eax + 0xc]
jmp 0x10014c00
add eax, 0xfffffffc
mov ecx, dword [eax]
cmp ecx, ebx
mov dword [ebp - 0x14], eax
je 0x10014c00
mov eax, dword [ecx + 4]
lea ebx, [ebp + 8]
lea esi, [ebp - 0x24]
mov dword [ebp + 8], eax
call fcn.100110c5
mov eax, dword [ebp - 0x14]
xor ebx, ebx
cmp eax, edi
jne 0x10014bde
mov edi, dword [ebp - 0x20]
jmp 0x10014c74
mov eax, dword [edi]
or dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x58], ebx
je 0x10014c55
mov eax, dword [ebp - 0x54]
sub eax, dword [ebp - 0x58]
push 0x18
cdq
pop ecx
idiv ecx
push 0x18
pop esi
mov ecx, eax
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x58]
cdq
idiv esi
cmp ecx, eax
jae 0x10014c55
lea eax, [ebp - 0x3c]
push eax
push 1
push dword [ebp - 0x54]
call fcn.10014f5a
mov dword [ebp - 0x54], eax
jmp 0x10014c65
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x54]
lea eax, [ebp - 0x5c]
push eax
call fcn.10015042
lea esi, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.1001006e
add edi, 4
cmp edi, dword [ebp - 0x1c]
jne 0x10014c09
lea eax, [ebp - 0x60]
push eax
push 0x10014997
call dword [sym.imp.USER32.dll_EnumWindows]
cmp byte [ebp + 0xc], bl
sete al
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.1001476d
add esp, 0xc
cmp dword [ebp - 0x20], ebx
mov byte [ebp + 0xf], al
je 0x10014cb0
push dword [ebp - 0x20]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
lea esi, [ebp - 0x4c]
call fcn.1001006e
lea esi, [ebp - 0x5c]
call fcn.10014ef8
mov al, byte [ebp + 0xf]
call fcn.100b7012
ret 8
Function at 0x10014d7a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x18
mov eax, 0x100ba85c
call fcn.100b6f3a
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
mov esi, dword [ebp + 8]
xor edi, edi
call fcn.10012809
push 0x100cd420
push dword [ebp + 0x10]
mov dword [ebp - 4], ebx
push dword [ebp + 0xc]
inc ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
xor eax, eax
test esi, esi
setne al
push eax
call fcn.100073ec
pop ecx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x14], eax
push ecx
call fcn.100073ec
pop ecx
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x14]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
xor ecx, ecx
test eax, eax
setne cl
mov dword [ebp - 0x1c], eax
push ecx
call fcn.100073ec
pop ecx
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
xor eax, eax
test esi, esi
setne al
push eax
mov dword [ebp - 0x14], eax
call fcn.100073ec
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
call fcn.100073ec
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call sub.MSVCR80.dll_memcpy
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
je 0x10014e61
jmp fcn.100119ca
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
xor ecx, ecx
push ecx
push edi
push eax
call dword [edx + 0x18]
test eax, eax
jne 0x10014e5c
push 0x10
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x10014e89
push dword [ebp - 0x10]
mov esi, eax
call fcn.10016257
jmp 0x10014e8b
xor eax, eax
mov edi, eax
lea esi, [ebp - 0x24]
call fcn.10012809
mov byte [ebp - 4], 2
mov esi, dword [ebp + 8]
call fcn.10012820
lea eax, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.10081438
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x10014ec5
mov dword [ebp - 0x10], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], esi
call fcn.1002cec9
lea eax, [ebp - 0x10]
call fcn.1002cec9
mov eax, dword [ebp + 8]
call fcn.100b7012
ret

Function at 0x1001743b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push dword [ebp + 8]
call fcn.100168d4
test al, al
pop ecx
pop ecx
je 0x10017487
push 0
push 6
call fcn.100118b4
test al, al
pop ecx
pop ecx
je 0x1001747c
lea eax, [ebp - 4]
push eax
call fcn.1001788e
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 4]
call fcn.100178f4
leave
ret
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
leave
ret
Function at 0x100174ab
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
call fcn.1001765b
test al, al
jne 0x10017509
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0x10016548
call dword [sym.imp.USER32.dll_EnumWindows]
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
jmp 0x100174f6
push dword [esi]
call dword [sym.imp.USER32.dll_UpdateWindow]
add esi, 4
cmp esi, ebx
jne 0x100174eb
cmp dword [ebp - 0x18], 0
je 0x10017509
push dword [ebp - 0x18]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x10028ce6
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100ba332
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1010f048]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x14]
add esi, 0xc
push eax
mov ecx, esi
call fcn.10023017
xor edi, edi
mov eax, esi
mov dword [esp + 0x30], edi
call fcn.1002930c
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
jmp 0x10028d45
mov ecx, dword [esi]
push edi
call fcn.10049bc0
add esi, 4
cmp esi, ebx
jne 0x10028d3a
mov esi, dword [esp + 0x18]
jmp 0x10028d65
mov eax, dword [esi]
lea ecx, [eax + edi]
mov eax, fcn.10029421
call eax
push eax
call fcn.1000d06b
pop ecx
add esi, 4
cmp esi, ebx
jne 0x10028d4f
cmp dword [esp + 0x18], edi
je 0x10028d79
push dword [esp + 0x18]
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002a0c7
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
test eax, eax
push edi
mov edi, dword [0x10117aa8]
mov dword [esi + 4], eax
jne 0x1002a118
call fcn.1000d356
xor edx, edx
inc edx
mov ecx, edx
push edx
push ecx
mov edi, eax
call fcn.1002bd4a
mov ecx, dword [0x10117aa8]
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [eax]
xor ebx, ebx
push ebx
push dword [esi]
mov ecx, eax
call dword [edx + 0x98]
jmp 0x1002a15a
cmp eax, 1
jne 0x1002a127
call fcn.1000d356
xor edx, edx
inc edx
jmp 0x1002a12f
call fcn.1000d356
push 2
pop edx
push edx
mov ecx, edx
push ecx
mov edi, eax
call fcn.1002bd4a
cmp dword [ebp - 4], 0
jne 0x1002a161
mov ecx, dword [0x10117aa8]
mov eax, dword [ecx]
call dword [eax]
mov edx, dword [eax]
push 1
push dword [esi]
mov ecx, eax
call dword [edx + 0x98]
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x1002a1cb
jmp 0x1002a163
xor ebx, ebx
cmp dword [esi + 4], ebx
jne 0x1002a1cb
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
push 4
mov dword [ebp - 0x28], 0x24
call dword [sym.imp.SHELL32.dll_SHAppBarMessage]
test al, 2
mov dword [ebp - 4], eax
je 0x1002a1cb
push ebx
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
cmp edi, ebx
je 0x1002a1cb
call dword [sym.imp.USER32.dll_GetActiveWindow]
test byte [ebp - 4], 1
push 3
mov esi, eax
pop eax
je 0x1002a1b2
push 0x13
pop eax
push eax
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp esi, ebx
je 0x1002a1cb
push esi
call dword [sym.imp.USER32.dll_SetActiveWindow]
pop edi
pop esi
pop ebx
leave
ret