joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4120cb
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
jbe 0x412146
push ebp
push edi
lea edi, [esi + 4]
lea eax, [esp + 0x10]
push eax
push 0
push esi
push 0x412210
push 0x10000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
jne 0x412122
push str.CreateThread_failed
push 0x4430c4
call fcn.004076c9
pop ecx
pop ecx
mov ecx, 0x4430c4
call fcn.00407851
push 2
mov ecx, 0x4430c4
call fcn.004076c4
mov dword [edi], ebp
inc dword [esi + 0x104]
mov eax, dword [0x44a208]
test eax, eax
je 0x41213c
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
inc ebx
add edi, 4
cmp ebx, dword [esi]
jb 0x4120db
pop edi
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x41ac95
Capabilities:
Hide graphical window

Disassembly:
mov al, byte [esp + 0x14]
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ebx, ecx
push esi
push 0
push ebp
mov dword [ebx + 8], ebp
mov byte [ebx + 0x2a], al
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x20]
mov ecx, ebx
call fcn.0041a9c4
cmp dword [ebx + 0x20], 0
je 0x41acce
push dword [ebx + 0x20]
call fcn.00424e39
pop ecx
cmp dword [esp + 0x28], 0
jne 0x41acd9
xor eax, eax
jmp 0x41ace3
push dword [esp + 0x28]
call fcn.00428638
pop ecx
cmp dword [esp + 0x2c], 0
mov dword [ebx + 0x20], eax
jne 0x41acf1
xor eax, eax
jmp 0x41acfb
push dword [esp + 0x2c]
call fcn.00428638
pop ecx
mov dword [ebx + 0x24], eax
lea eax, [esp + 0xc]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [esp + 0x10]
push eax
push ebp
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
cmp dword [ebx + 4], 0
je 0x41ad30
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 0x14]
push edi
push ebx
push dword [ebx]
sub esi, eax
lea edi, [eax + 1]
push 0
push ebp
sub esi, 2
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
push esi
push dword [esp + 0x2c]
xor esi, esi
push edi
push 0x40000000
push esi
push 0x4355f0
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
cmp byte [ebx + 0x1c], 0
mov dword [ebx + 4], eax
pop edi
jne 0x41adb8
cmp dword [ebx + 0x10], esi
jne 0x41adb8
test ebp, ebp
je 0x41adce
cmp dword [ebx + 0x24], esi
jne 0x41adce
cmp dword [ebx + 0x20], esi
je 0x41adce
push dword [ebx + 0x20]
mov ecx, ebx
call fcn.0041aabe
mov esi, eax
test esi, esi
je 0x41adce
push 5
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push ebp
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
call fcn.00424e39
pop ecx
jmp 0x41adce
test eax, eax
je 0x41adce
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
Function at 0x41b23a
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push 0x4364dc
push 1
push ebx
push 0x4365cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41b36f
mov eax, dword [ebp - 4]
lea ecx, [ebp - 8]
push esi
push ecx
push 0x4365bc
mov esi, dword [eax]
push eax
mov ecx, dword [esi]
call dword [0x434278]
call dword [esi]
test eax, eax
js 0x41b35b
cmp byte [ebp + 8], bl
je 0x41b2a0
mov eax, dword [ebp - 8]
push 2
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x14]
mov ecx, esi
call dword [0x434278]
call esi
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x50]
mov ecx, esi
call dword [0x434278]
call esi
cmp dword [ebp + 0x18], ebx
je 0x41b2d1
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x1c]
mov ecx, esi
call dword [0x434278]
call esi
mov eax, dword [ebp - 4]
push ebx
mov ecx, dword [eax]
mov esi, dword [ecx + 0x44]
mov ecx, esi
cmp dword [ebp + 0x1c], ebx
jne 0x41b2e8
push 0x4345f4
jmp 0x41b2eb
push dword [ebp + 0x1c]
push eax
call dword [0x434278]
call esi
cmp dword [ebp + 0x20], ebx
je 0x41b30f
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x2c]
mov ecx, esi
call dword [0x434278]
call esi
cmp dword [ebp + 0x14], ebx
je 0x41b32a
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 0x24]
mov ecx, esi
call dword [0x434278]
call esi
mov eax, dword [ebp - 8]
push 1
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 0x18]
mov ecx, esi
call dword [0x434278]
call esi
test eax, eax
js 0x41b348
mov bl, 1
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x434278]
call esi
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x434278]
call esi
pop esi
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x41b3fd
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
setne al
ret 8
Function at 0x41b472
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ecx
push esi
push edi
push 0x4357fc
push dword [esp + 0x18]
push dword [0x443068]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x41b58b
push esi
push dword [0x443068]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x41b58b
push esi
push dword [0x443068]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x41b58b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41b58b
push ebx
push ebp
push edi
xor ebp, ebp
push 2
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x41b583
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x41b57c
push edi
push esi
push eax
call fcn.004229e0
add esp, 0xc
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x10]
push eax
push ebp
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x41b575
push ebp
push dword [esp + 0x14]
call fcn.0041b3d6
mov ecx, dword [esp + 0x10]
mov edi, eax
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x434278]
call esi
test edi, edi
je 0x41b575
mov eax, dword [edi + 8]
mov dword [edi + 8], ebp
test eax, eax
jne 0x41b563
push 0xffffff
lea eax, [esp + 0x18]
push eax
push dword [edi + 4]
call sub.gdiplus.dll_GdipCreateHBITMAPFromBitmap
test eax, eax
je 0x41b563
mov dword [edi + 8], eax
mov eax, dword [edi]
push 1
mov esi, dword [eax]
mov ecx, esi
call dword [0x434278]
mov ecx, edi
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x14]
pop ebp
pop ebx
jmp 0x41b58d
xor eax, eax
pop edi
pop esi
pop ecx
pop ecx
ret 4

Function at 0x41bc9f
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.0041fbf0
cmp word [0x452892], 0
je 0x41bd3b
push esi
push 6
push dword [0x440724]
mov esi, 0x452892
push esi
call fcn.0040d3aa
push eax
call fcn.004130c8
test eax, eax
jne 0x41bd3a
push 0x451890
call fcn.0041b9b9
push 0x800
push esi
lea eax, [ebp - 0x1024]
push eax
call fcn.004116bc
lea eax, [ebp - 0x1024]
push eax
call fcn.00424bc3
xor ecx, ecx
push 0x1e
push ecx
mov word [ebp + eax*2 - 0x1022], cx
lea eax, [ebp - 0x20]
push eax
call fcn.00420dd0
add esp, 0x10
mov dword [ebp - 0x1c], 3
push 0x14
pop eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x1024]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
pop esi
leave
ret
Function at 0x41bd7f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x44073c], 0
push ebx
push esi
push edi
mov ebx, 0x400
jne 0x41bdca
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x461ce8], ax
xor eax, eax
mov word [0x461cea], ax
mov dword [0x44073c], 0x461ce8
push 0x32
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00411577
mov edi, dword [ebp + 0x10]
xor eax, eax
mov esi, dword [ebp + 0x14]
push esi
push edi
push 0x44072c
mov word [edi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
mov word [edi + esi*2 - 2], ax
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x41c013
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0041fbf0
cmp byte [0x453898], 0
je 0x41c0c1
push 0x800
lea eax, [ebp - 0x200c]
push eax
push dword [ebp + 8]
call fcn.0041d484
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41c0c1
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x1000
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c0b8
mov eax, dword [ebp - 4]
mov ecx, 0x7ff
shr eax, 1
mov dword [ebp - 4], eax
cmp eax, ecx
jb 0x41c09c
mov eax, ecx
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x100c], cx
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.004116bc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 8
Function at 0x41c174
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x2004
call fcn.0041fbf0
mov ecx, dword [esp + 0x2014]
push ebx
xor ebx, ebx
push esi
test ecx, ecx
je 0x41c18f
mov byte [ecx], bl
mov edx, dword [esp + 0x2020]
test edx, edx
je 0x41c19c
mov byte [edx], bl
mov esi, dword [esp + 0x2010]
test esi, esi
je 0x41c278
movzx eax, word [esi]
test ax, ax
je 0x41c278
push ebp
mov ebp, dword [esp + 0x201c]
push edi
mov dword [esp + 0x10], ebx
mov edi, eax
add esi, 2
cmp di, 0x3d
jne 0x41c1e7
test ebp, ebp
je 0x41c1f3
test ebx, ebx
jne 0x41c1f3
test ecx, ecx
je 0x41c1de
mov byte [ecx], 1
mov ebx, dword [esp + 0x201c]
jmp 0x41c217
cmp di, 0xd
je 0x41c22c
cmp di, 0xa
je 0x41c22f
mov eax, dword [esp + 0x201c]
mov word [eax], di
add eax, 2
mov edi, dword [esp + 0x202c]
mov dword [esp + 0x201c], eax
lea eax, [edi - 2]
cmp dword [esp + 0x10], eax
jge 0x41c227
movzx eax, word [esi]
inc dword [esp + 0x10]
mov edi, eax
test ax, ax
jne 0x41c1c6
jmp 0x41c22f
mov byte [edx], 1
jmp 0x41c236
add esi, 2
mov edi, dword [esp + 0x202c]
mov eax, dword [esp + 0x201c]
xor ecx, ecx
mov word [eax], cx
test ebp, ebp
je 0x41c272
xor eax, eax
mov word [ebp], ax
test ebx, ebx
je 0x41c272
push 0x1000
lea eax, [esp + 0x18]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push edi
lea eax, [esp + 0x18]
push eax
push ebp
call fcn.004116bc
xor eax, eax
mov word [ebx], ax
pop edi
mov eax, esi
pop ebp
jmp 0x41c27a
xor eax, eax
pop esi
pop ebx
add esp, 0x2004
ret 0x18
Function at 0x41e793
Capabilities:
Hide graphical window

Disassembly:
and dword [0x45188c], 0
push 1
push dword [esp + 8]
mov byte [0x44a46d], 1
mov byte [0x44a46e], 1
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 2
push dword [esp + 0xc]
call fcn.004012b3
cmp dword [0x461cd4], 0
jne 0x41e7d3
cmp byte [0x44a47b], 0
je 0x41e7dc
cmp dword [0x44a474], 0
jne 0x41e7ef
push 0
push 1
push 0x111
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
ret 4

Function at 0x41e8eb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041fbf0
cmp byte [0x453898], 0
je 0x41e97a
cmp word [0x45389a], 0
je 0x41e97a
push esi
push 0x800
lea eax, [ebp - 0x1008]
push eax
push 0x45389a
call fcn.0041d484
lea eax, [ebp - 8]
xor esi, esi
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push esi
push esi
push esi
push str.SoftwareWinRAR_SFX
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x41e979
push dword [ebp + 8]
call fcn.00424bc3
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x1008]
push 1
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret 4

Function at 0x41e97e
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.0041fbf0
push esi
push dword [ebp + 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push dword [ebp + 8]
call fcn.0041142b
mov esi, eax
test esi, esi
je 0x41e9d6
movzx ecx, word [esi]
push ecx
jmp 0x41e9c1
add esi, 2
movzx eax, word [esi]
push eax
call fcn.00411547
test al, al
jne 0x41e9ba
push esi
push str.sfxpar
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
pop esi
leave
ret 4
Function at 0x42077b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4207ba
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4207ba
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4207ba
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4207ba
cmp dword [ecx + 0x74], 0xe
jbe 0x4207ba
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x432f30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x432f5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x432f5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10019c9
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x214
mov eax, 0x104f8bc
call fcn.01001957
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov ebx, ecx
cmp eax, 0x100
je 0x101ce26
cmp eax, 0x104
je 0x101ce26
cmp eax, 0x20b
je 0x101ce26
xor eax, eax
call fcn.01001994
ret 4
cmp word [esi + 8], 0x12
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x101ce44
push 0
push 0x20002
push 0x127
push dword [ebx + 4]
call edi
movzx eax, word [esi + 8]
cmp eax, 0x20
je 0x101ce6c
cmp eax, 0x40
jne 0x101ce9c
cmp dword [esi + 4], 0x20b
jne 0x101ce9c
lea ecx, [ebx + 0x24]
call fcn.01001d0f
push 0
push 0x401
jmp 0x101ce84
cmp dword [esi + 4], 0x20b
jne 0x101ce9c
lea ecx, [ebx + 0x24]
call fcn.01001d0f
push 0
push 0x400
add eax, 4
push 0x111
push dword [eax]
call edi
test eax, eax
jl 0x101ce9c
xor eax, eax
inc eax
jmp 0x1001a03
call dword [sym.imp.USER32.dll_GetFocus]
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x1001a01
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.01003885
and dword [ebp - 4], 0
lea ecx, [ebp - 0x21c]
call fcn.01009d30
lea ecx, [ebx + 0x44]
call fcn.01001d0f
mov ecx, eax
call fcn.0100937c
mov dword [ebp - 0x220], eax
test eax, eax
je 0x101cf76
cmp word [esi + 8], 8
jne 0x101cfda
push 0x101d04c
lea ecx, [ebp - 0x21c]
call fcn.01005598
test eax, eax
jne 0x101cf3f
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [ebp - 0x220]
call edi
test eax, eax
jne 0x101cf3f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.01001f30
jmp 0x1001a01
cmp word [esi + 8], 8
jne 0x101cfda
push 0x10200e4
lea ecx, [ebp - 0x21c]
call fcn.01005598
test eax, eax
jne 0x101cf76
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.01001f30
mov eax, esi
jmp 0x1001a03
cmp word [esi + 8], 8
jne 0x101cfda
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x101cfae
lea ecx, [ebx + 0x24]
call fcn.01001d0f
push 0
push 0x400
add eax, 4
push 0x111
push dword [eax]
call edi
test eax, eax
jl 0x101cfae
xor esi, esi
inc esi
jmp 0x101cf60
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x101cfda
lea ecx, [ebx + 0x24]
call fcn.01001d0f
push 0
push 0x401
add eax, 4
push 0x111
push dword [eax]
call edi
test eax, eax
jge 0x101cfa9
cmp dword [ebp - 0x220], 0
je 0x101d010
push 0x101d04c
lea ecx, [ebp - 0x21c]
call fcn.01005598
test eax, eax
jne 0x101d010
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
push dword [ebp - 0x220]
call edi
test eax, eax
je 0x101cf5e
push 0x10200e4
lea ecx, [ebp - 0x21c]
call fcn.01005598
test eax, eax
jne 0x101cf5e
cmp dword [ebx + 0x30], eax
je 0x101cf5e
push dword [esi + 0xc]
lea ecx, [ebx + 0x2c]
push dword [esi + 8]
push dword [esi + 4]
call fcn.01001d0f
push dword [eax + 4]
call edi
jmp 0x101cf5e
Function at 0x1008711
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x105298c
call fcn.01001e26
mov ebx, ecx
mov esi, dword [ebx + 0xe4]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
jne 0x101d953
call fcn.010019b0
ret
mov edi, 0x1006100
push edi
lea ecx, [ebp - 0x10]
call fcn.01003885
and dword [ebp - 4], 0
push 0x9f
lea ecx, [ebp - 0x10]
call fcn.010038d4
mov ecx, dword [ebx + 0xe4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0xa0
push 0xd
push ecx
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.0100394e
lea ecx, [ebp - 0x10]
call fcn.010061de
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], 0
jne 0x101d9b2
mov ebx, dword [ebx + 0xe4]
push edi
push 0
push 0xc
push ebx
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.01001f30
jmp 0x1008733

Function at 0x1009eb2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x70
mov eax, 0x1052f02
call fcn.01001e26
mov esi, ecx
and dword [ebp - 4], 0
and dword [ebp - 0x7c], 0
lea ecx, [ebp - 0x10]
call fcn.01001f63
mov eax, dword [esi + 8]
dec eax
mov dword [ebp - 4], 1
jne 0x101e738
push ecx
lea eax, [esi + 0x10]
mov ecx, esp
mov dword [ebp - 0x78], esp
push eax
call fcn.0100795a
lea eax, [ebp - 0x74]
push eax
mov ecx, esi
call fcn.0100a074
mov edi, eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 2
call fcn.0100831b
mov ebx, eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 4], 3
call fcn.01006a93
push ebx
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 4
call fcn.010062d3
push 0x100946c
push eax
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 5
call fcn.010097e9
push edi
push eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 6
call fcn.010062d3
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.010072f1
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
call fcn.01001f30
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.01001f30
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 4
call fcn.01001f30
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 3
call fcn.01001f30
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.01001f30
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.01001f30
lea eax, [esi + 0x14]
mov ecx, dword [eax]
cmp dword [ecx - 8], 0
jg 0x101e96e
push eax
push 0x101e99c
lea eax, [ebp - 0x78]
push eax
call fcn.0104c76b
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.0104c64f
lea ecx, [ebp - 0x78]
Function at 0x1012cc2
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 0xffffffffffffffff
push 0xc
mov ebx, 0x432
mov edi, ecx
push ebx
push dword [edi + 0x60]
call esi
mov eax, dword [edi + 0x60]
push 0
push 0
push 0x431
push eax
call esi
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.COMCTL32.dll_ImageList_GetIconSize]
push dword [ebp - 4]
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
push 0x2000
push 0
push 0xff00ff
push 2
push 0x18
push 2
push dword [0x105b718]
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x14]
push eax
call fcn.010152ca
push 0x2000
push 0
push 0xff00ff
push 2
push 0x18
push 0x87
push dword [0x105b718]
mov dword [ebp - 8], eax
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x14]
push eax
call fcn.010152ca
push 0x2020
push 0
push 0xff00ff
push 2
push 0x18
push 0xa1
push dword [0x105b718]
mov dword [ebp - 4], eax
call dword [sym.imp.COMCTL32.dll_ImageList_LoadImageW]
push dword [ebp - 0x10]
mov ecx, edi
push dword [ebp - 0x14]
push eax
call fcn.010152ca
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
push 0
push 0x434
push dword [edi + 0x60]
call esi
push dword [ebp - 8]
push 0
push 0x430
push dword [edi + 0x60]
call esi
push dword [ebp - 0xc]
push 0
push 0x436
push dword [edi + 0x60]
call esi
push 0xffffffffffffffff
push 0xc
push ebx
push dword [edi + 0x60]
call esi
push 0xffffffffffffffff
push 0xd
push ebx
push dword [edi + 0x60]
call esi
push 0xffffffffffffffff
push 0xe
push ebx
push dword [edi + 0x60]
call esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1012e3c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x105b0c0], 0
push esi
je 0x10171f9
mov eax, dword [0x105b0c0]
cmp eax, 1
je 0x101dfa8
push eax
call dword [0x105b0c8]
test eax, eax
je 0x1016084
pop esi
ret
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
je 0x101dfbf
mov eax, dword [esi]
push edi
push dword [0x105b0c0]
call dword [0x105b0c8]
mov edi, eax
test edi, edi
jne 0x101dfc3
mov edi, esi
add esi, 0xff0
push edi
push dword [0x105b0c0]
call dword [0x105b0c4]
add edi, 0x10
cmp edi, esi
jb 0x10160c0
mov eax, edi
pop edi
jmp 0x1012e67
call fcn.01017210
test eax, eax
jne 0x1012e4a
jmp 0x101dfbf
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x101dfbf
pop esi
ret
xor eax, eax
pop esi
ret
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x10160d4
Function at 0x1013b95
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1013bea
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1013bee
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x1013bdc
cmp esi, eax
jae 0x1013bee
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x1013bce
cmp esi, eax
jae 0x1013bee
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc
xor eax, eax
jmp 0x1013be9
Function at 0x101508d
Capabilities:
Check mutex on windows

Disassembly:
and dword [0x105b0a8], 0
push 0x10150c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x105b0a8], eax
test eax, eax
je 0x10150bd
push 0x32
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x101c71f
xor al, al
ret
cmp eax, 0x80
je 0x10150bd
cmp eax, 0x102
jne 0x101c744
push dword [0x105b0a8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x105b0a8], 0
mov al, 1
ret

Function at 0x1015754
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x105b0e0]
test esi, esi
jne 0x10157e2
push ebx
lea eax, [ebp - 8]
push eax
call fcn.010179bd
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 8]
inc bl
call fcn.01001f30
test bl, bl
pop ebx
mov esi, 0x105bac8
je 0x101e494
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push 0x10157e8
push dword [ebp - 4]
mov dword [ebp - 8], 0x40
call dword [sym.imp.KERNEL32.dll_RegQueryValueExW]
test eax, eax
jne 0x101e482
cmp dword [ebp - 0xc], 1
jne 0x101e482
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x105b0e0], esi
mov eax, esi
pop esi
leave
ret
push 0x101e4a8
push 0x20
push esi
call fcn.0103d52b
jmp 0x10157d3
push 0x101e4a8
push 0x20
push esi
call fcn.0103d52b
jmp 0x10157dc