joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46fe10
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x24
cmp dword [0x4e4790], 0
push ebx
push ebp
push esi
mov ebp, ecx
je 0x46fe56
cmp dword [0x4e8bcc], 0
jne 0x46fe56
mov ebx, dword [esp + 0x34]
xor ecx, ecx
mov edx, dword [ebx + 0x28]
test edx, edx
jle 0x46fe56
mov esi, dword [esp + 0x38]
mov eax, dword [ebx + 0x20]
add eax, 0xa
mov esi, dword [esi + 8]
cmp dword [eax - 6], esi
jne 0x46fe4e
cmp byte [eax], 1
je 0x46fe61
inc ecx
add eax, 0xc
cmp ecx, edx
jl 0x46fe44
xor al, al
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0xc
mov eax, dword [0x4e8be4]
cmp eax, dword [0x4e4794]
jge 0x46fe56
mov esi, dword [0x4e4798]
cmp dword [esi + 0x3c], 0
jg 0x46fe56
inc eax
add esi, 0xa0
mov dword [0x4e8be4], eax
mov eax, dword [0x4e8bd0]
mov dword [0x4e4798], esi
test eax, eax
je 0x46fe9a
add eax, 0x58
jmp 0x46fe9c
xor eax, eax
test esi, esi
je 0x46fea5
lea ecx, [esi + 0x58]
jmp 0x46fea7
xor ecx, ecx
movups xmm0, xmmword [eax]
push 0x58
push 0
movups xmmword [ecx], xmm0
push esi
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ecx + 0x30], xmm0
mov eax, dword [eax + 0x40]
mov dword [ecx + 0x40], eax
call fcn.0049da30
add esp, 0xc
mov byte [esi + 0x53], 1
mov ecx, 0x4e9e50
mov dword [esi + 0x3c], 0
push 0
call fcn.00439870
mov al, byte [esi + 0x96]
test al, al
jne 0x46feff
mov byte [esi + 0x96], al
cmp dword [0x4ea530], 0
je 0x46ff11
cmp dword [0x4ea52c], 0
jne 0x46ff15
test al, al
je 0x46ff47
mov dword [esi + 0x5c], 0x10
mov byte [esi + 0x53], 0
test al, al
jne 0x46ff47
cmp dword [0x4ea530], 0
jge 0x46ff36
mov dword [esi + 0x44], 0xffffffff
jmp 0x46ff47
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esi + 0x48], eax
mov eax, dword [0x4ea530]
mov dword [esi + 0x44], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [0x4ea534], eax
mov eax, dword [ebp]
push ebp
call dword [eax + 4]
push dword [esp + 0x3c]
mov eax, ebx
mov dword [esp + 0x1c], 5
mov dword [esp + 0x14], eax
lea ecx, [ebx + 0x20]
mov eax, dword [esp + 0x3c]
push ebp
push 1
mov dword [esp + 0x2c], eax
push dword [eax + 8]
lea eax, [esp + 0x20]
mov dword [esp + 0x38], 1
push 2
push eax
mov dword [esp + 0x3c], 0
call fcn.00479900
mov ecx, dword [ebp]
mov esi, eax
push ebp
call dword [ecx + 8]
call fcn.004046a0
cmp esi, 7
pop esi
pop ebp
sete al
pop ebx
add esp, 0x24
ret 0xc
Function at 0x471ee0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b698d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi + 4], 1
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0x4e8b88
mov dword [esi + 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [esi], vtable.UserMenu.0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 2
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0xff000000
mov edi, dword [0x4e9d04]
test edi, edi
je 0x471f7e
mov eax, dword [edi]
push edi
call dword [eax + 4]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x471f8b
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [esi + 0xc], edi
cmp dword [0x4ea4e4], 0
jne 0x471f9f
mov dword [0x4ea4e4], esi
jmp 0x471fa7
mov eax, dword [0x4ea4e8]
mov dword [eax + 0x20], esi
inc dword [0x4ea4ec]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword [0x4ea4e8], esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x47cd70
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
push esi
mov dword [ebp - 4], edi
mov ebx, 1
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x47ce45
push 0
push 0
push ebx
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x47ce45
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax + eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x47cdc0
sub esi, ecx
sar esi, 1
lea edi, [esi + 4]
lea eax, [edi + edi]
call fcn.004b5750
mov ebx, esp
push dword [ebp - 4]
push str.__s_
push edi
push ebx
call fcn.00480f70
mov edi, dword [ebp - 8]
lea eax, [ebp - 0xc]
add esp, 0x10
lea esi, [esi*2 + 6]
push 0
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x47ce10
cmp dword [ebp - 0xc], esi
je 0x47ce29
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
neg eax
sbb eax, eax
and eax, esi
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov esi, 1
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
neg eax
sbb eax, eax
and eax, esi
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, ebx
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47d6e0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x214
push ebx
push ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x10]
push esi
push edi
push eax
push 0
push 0
push 0
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0xff
push eax
lea eax, [esp + 0x34]
mov edi, ecx
push eax
push 0
push edi
call ebx
cmp eax, 0x103
je 0x47d797
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x4e4798]
mov eax, dword [eax + 0x84]
or eax, 0x20019
push eax
push 0
lea eax, [esp + 0x2c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x47d7a4
mov ecx, dword [esp + 0x14]
call fcn.0047d6e0
push dword [esp + 0x14]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x47d7a4
lea eax, [esp + 0x20]
push eax
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x47d7a4
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0xff
push eax
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x34]
push eax
push esi
push edi
call ebx
cmp eax, 0x103
jne 0x47d721
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x214
ret
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x214
ret

Function at 0x482550
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10000
call fcn.004b5860
push esi
push edi
push 0x7fff
lea eax, [esp + 0xc]
mov edi, edx
push eax
push str.ComSpec
call dword [sym.imp.KERNEL32.DLL_GetEnvironmentVariableW]
mov esi, eax
test esi, esi
je 0x4825a5
lea ecx, [esi + 1]
cmp ecx, 0x7fff
ja 0x4825a5
lea ecx, [esi*2 + 2]
push ecx
lea eax, [esp + 0xc]
push eax
push edi
call fcn.0049cd60
add esp, 0xc
mov eax, esi
pop edi
pop esi
add esp, 0x10000
ret
xor eax, eax
mov word [edi], ax
mov eax, esi
pop edi
pop esi
add esp, 0x10000
ret

Function at 0x4825c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0x20]
or eax, 1
push eax
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x482679
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0x208
push eax
push edi
push 0
push 0
push dword [esp + 0x20]
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x482679
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x482679
shr ecx, 1
lea eax, [ecx - 1]
mov dword [esp + 0x1c], eax
cmp word [edi + eax*2], si
jne 0x48265f
test eax, eax
je 0x48267e
mov esi, eax
mov edx, eax
mov ecx, eax
nop dword [eax + eax]
cmp word [edi + ecx*2 - 2], 0
mov eax, edx
jne 0x48267e
lea eax, [esi - 1]
mov ecx, eax
mov dword [esp + 0x1c], eax
mov esi, eax
mov edx, eax
test ecx, ecx
jne 0x482640
pop edi
pop esi
pop ecx
ret
mov dword [esp + 0x1c], ecx
cmp ecx, 0x104
jae 0x482679
xor eax, eax
mov word [edi + ecx*2], ax
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ecx
ret
xor eax, eax
mov word [edi], ax
pop edi
pop esi
pop ecx
ret
Function at 0x4843b0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push ebx
push ebp
push esi
push edi
mov esi, edx
mov ebx, ecx
call fcn.00406f50
test eax, eax
jne 0x48442b
mov eax, dword [0x4e4798]
cmp dword [eax + 0x34], 0
jne 0x484409
cmp dword [0x4ea4c4], 0
jne 0x484409
cmp byte [0x4e9de6], 0
jne 0x484409
push 0
push 0
push 0x4cee20
push 9
push str.Cant_open_clipboard_for_writing.
mov ecx, 0x4e9e50
call fcn.0040d600
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 9
push 0
push 0x4cee20
push str.Cant_open_clipboard_for_writing.
mov ecx, 0x4e9e50
call fcn.0040c490
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [ebx + esi]
lea esi, [ebx + 4]
mov dword [esp + 0x14], eax
cmp esi, eax
ja 0x4844b2
nop
mov ecx, dword [ebx]
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x4844b2
mov edi, esi
add esi, 4
cmp esi, eax
ja 0x4844b2
mov edi, dword [edi]
mov ebx, esi
add esi, edi
cmp esi, eax
ja 0x4844b2
xor eax, eax
test edi, edi
sete al
add eax, edi
push eax
push 0x42
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x4845ab
test edi, edi
je 0x48449c
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
test eax, eax
je 0x484501
push edi
push ebx
push eax
call fcn.0049cd60
add esp, 0xc
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov ebx, esi
push ebp
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetClipboardData]
mov eax, dword [esp + 0x14]
lea esi, [ebx + 4]
cmp esi, eax
jbe 0x484440
cmp dword [0x4ea590], 0
je 0x4844f4
cmp dword [0x4ea580], 0
je 0x4844da
push dword [0x4ea578]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov dword [0x4ea580], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4ea590], 0
mov dword [0x4ea578], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push ebp
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
cmp dword [0x4ea590], 0
je 0x48454a
cmp dword [0x4ea580], 0
je 0x484530
push dword [0x4ea578]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov dword [0x4ea580], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4ea590], 0
mov dword [0x4ea578], 0
mov eax, dword [0x4e4798]
cmp dword [eax + 0x34], 0
jne 0x484589
cmp dword [0x4ea4c4], 0
jne 0x484589
cmp byte [0x4e9de6], 0
jne 0x484589
push 0
push 0
push 0x4cee20
push 9
push str.An_internal_function_call_failed.
mov ecx, 0x4e9e50
call fcn.0040d600
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 9
push 0
push 0x4cee20
push str.An_internal_function_call_failed.
mov ecx, 0x4e9e50
call fcn.0040c490
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x4ea590], 0
je 0x4845ed
cmp dword [0x4ea580], 0
je 0x4845d3
push dword [0x4ea578]
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov dword [0x4ea580], 0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov dword [0x4ea590], 0
mov dword [0x4ea578], 0
push dword [0x4e9d6c]
mov ecx, 0x4e9e50
push 0
push 0
push 0
push str.Out_of_memory.
call fcn.0040ca20
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4855b0
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ecx
cmp byte [esp + 8], 0
push ebx
push ebp
push esi
push edi
mov ebx, edx
mov esi, ecx
je 0x48561b
lea eax, [esp + 0x10]
push eax
push 0x1f4
push 2
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x485628
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x485628
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
test edi, edi
je 0x485628
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x485628
push 0
push 0
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
xor edi, edi
test ebx, ebx
cmovns edi, ebx
test edi, edi
je 0x485681
mov ebx, dword [sym.imp.KERNEL32.DLL_GetTickCount]
call ebx
mov edx, 1
mov dword [esp + 0x18], eax
mov ecx, 0x8000012f
call fcn.00401600
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push esi
call ebp
test eax, eax
je 0x485681
add edi, dword [esp + 0x18]
nop
call ebx
mov ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x485681
mov edx, 1
mov ecx, 0x8000012f
call fcn.00401600
push esi
call ebp
test eax, eax
jne 0x485660
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x49c16f
Capabilities:
Parse pe header

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

Function at 0x4aca77
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4bb6cc
push 0x4bb6c4
push str.FlsAlloc
push 0x1e
call fcn.004ac9b4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4acaab
push dword [ebp + 8]
mov ecx, esi
call dword [0x4b87a4]
call esi
jmp 0x4acab1
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4acaf5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4bb6dc
push 0x4bb6d4
push str.FlsGetValue
push 0x20
call fcn.004ac9b4
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4acb2c
push dword [ebp + 8]
mov ecx, esi
call dword [0x4b87a4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_TlsGetValue]
Function at 0x4ae623
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4e2014]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4ae66e
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004ae7c2
test al, al
jne 0x4ae668
sub edx, 2
cmp edx, edi
jne 0x4ae64e
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4ae690
lea eax, [edi + 2]
cmp edx, eax
je 0x4ae690
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004ae56f
add esp, 0x10
jmp 0x4ae78a
push esi
lea ecx, [ebp - 0x255]
call fcn.004ae7c2
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4ae6d3
push dword [ebp - 0x25c]
jmp 0x4ae680
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4ae710
cmp word [ebp - 0x226], 0
je 0x4ae731
cmp word [ebp - 0x226], ax
jne 0x4ae710
cmp word [ebp - 0x224], 0
je 0x4ae731
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004ae56f
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4ae77d
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4ae6ea
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4ae765
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor eax, eax
jmp 0x4ae78a
push 0x4ae39f
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004a9500
add esp, 0x10
jmp 0x4ae75a
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049c3c3
leave
ret
Function at 0x4b5490
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4b54bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4b54bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x40bdb9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40bdc8
pop dword [ebp - 0x50]
mov eax, 0xf0f479b3
add eax, 0xf4c4415
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x7798effd
add dword [ebp - 0x60], 0xd6b9554e
mov dword [ebp - 0x5c], 0xf473cc4b
add dword [ebp - 0x5c], 0x3dbf7ffa
mov dword [ebp - 0x58], 0x3642e3bd
add dword [ebp - 0x58], 0x16096071
mov dword [ebp - 0x54], 0x9d1a737e
sub dword [ebp - 0x54], 0x9d1a737e
lea eax, [ebp - 0x60]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xfbca547e
sub dword [ebp - 0x60], 0x8757eb28
mov dword [ebp - 0x5c], 0xb1fd3fb9
add dword [ebp - 0x5c], 0x8f6f21bc
mov dword [ebp - 0x58], 0x48666866
sub dword [ebp - 0x58], 0xe4f6fbfa
mov dword [ebp - 0x54], 0xb8b89a3d
sub dword [ebp - 0x54], 0xb8b89a3d
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x5193c7d3
add eax, 0xaead0879
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x34536
push 0
call eax
mov ecx, 0x3339
mov edx, eax
mov ebx, 0x728a8d38
sub ebx, 0x7248dd38
add ebx, dword [ebp - 0x50]
mov edi, 0x828d738c
add dword [ebp - 0x20], 0x4f1c0342
mov esi, dword [ebx]
sub dword [ebp - 0x2c], ebx
xor esi, edi
sub dword [ebp - 0x14], 0x84e5a28b
mov dword [edx], esi
add dword [ebp - 0x3c], edx
add edx, 4
add ebx, 0x53687487
sub ebx, 0x53687483
loop 0x40bed9
add eax, 0x2036c23c
add eax, 0xdfc9fd7b
mov ebx, eax
add eax, 0x4f3dbaa0
sub eax, 0x4f3dba9b
mov ecx, 0xb89af99e
sub ecx, 0xb85af99e
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x401ab5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b5090]
jne 0x401abf
repz ret
jmp fcn.00403258

Function at 0x40b4b3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040453b
and dword [ebp - 4], 0
cmp dword [0x4b9640], 0
mov ebx, eax
jne 0x40b564
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40b615
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40b615
push eax
call fcn.004044c9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4b9640], eax
call esi
push eax
call fcn.004044c9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b9644], eax
call esi
push eax
call fcn.004044c9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b9648], eax
call esi
push eax
call fcn.004044c9
pop ecx
mov dword [0x4b9650], eax
test eax, eax
je 0x40b564
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004044c9
pop ecx
mov dword [0x4b964c], eax
mov eax, dword [0x4b964c]
cmp eax, ebx
je 0x40b5bc
cmp dword [0x4b9650], ebx
je 0x40b5bc
push eax
call fcn.00404544
push dword [0x4b9650]
mov esi, eax
call fcn.00404544
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40b5bc
test edi, edi
je 0x40b5bc
call esi
test eax, eax
je 0x40b5b3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40b5b3
test byte [ebp - 0xc], 1
jne 0x40b5bc
or dword [ebp + 0x10], 0x200000
jmp 0x40b5f5
mov eax, dword [0x4b9644]
cmp eax, ebx
je 0x40b5f5
push eax
call fcn.00404544
pop ecx
test eax, eax
je 0x40b5f5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40b5f5
mov eax, dword [0x4b9648]
cmp eax, ebx
je 0x40b5f5
push eax
call fcn.00404544
pop ecx
test eax, eax
je 0x40b5f5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b9640]
call fcn.00404544
pop ecx
test eax, eax
je 0x40b615
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40b617
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001070
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x2c
lea eax, [esp + 8]
push ebx
push esi
push edi
push ebp
push 0x22
push eax
call fcn.10001000
mov dx, 8
add esp, 8
movzx eax, dx
dec dx
mov ecx, dword [esp + 0x40]
mov ebx, dword [ecx + eax*4 - 4]
lea eax, [ecx + eax*4]
sub dword [eax], ebx
cmp dx, 2
jae 0x1000108a
mov si, 8
xor edi, edi
mov word [esp + 0x12], di
mov ebx, 0x80000000
mov eax, dword [esp + 0x12]
and eax, 0xffff
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + eax*4]
mov ecx, eax
and ecx, ebx
cmp ecx, 1
sbb dl, dl
xor cx, cx
inc dl
mov ebp, ebx
and ebp, eax
je 0x100010da
test dl, dl
je 0x100010ed
test ebp, ebp
jne 0x100010e2
test dl, dl
jne 0x100010ed
shr ebx, 1
inc cx
cmp cx, 0x20
jb 0x100010d0
shr cx, 2
mov bl, 7
sub bl, cl
movzx cx, bl
lea edx, [edx + ebx*2]
lea ecx, [ecx*4 + 4]
mov word [esp + 0x14], cx
mov byte [esp + 0x11], dl
xor dx, dx
mov bl, byte [esp + 0x11]
mov cl, 3
movzx ebp, di
sub cl, dl
shr bl, cl
and bl, 1
lea ecx, [esi - 1]
shl bl, cl
or byte [esp + ebp + 0x18], bl
dec si
jne 0x10001132
mov si, 8
inc di
inc dx
cmp dx, 4
jb 0x1000110f
xor dx, dx
cmp word [esp + 0x14], dx
je 0x10001172
mov ebx, eax
mov cl, byte [esp + 0x14]
movzx ebp, di
sub cl, dl
dec cl
shr ebx, cl
and bl, 1
lea ecx, [esi - 1]
shl bl, cl
or byte [esp + ebp + 0x18], bl
dec si
jne 0x10001169
mov si, 8
inc di
inc dx
cmp dx, word [esp + 0x14]
jb 0x10001144
inc word [esp + 0x12]
cmp word [esp + 0x12], 9
jb 0x100010ad
cmp si, 8
je 0x1000118b
inc di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [esp + 0x44]
push 0x28
mov dword [esp + 0x18], eax
push esi
call fcn.10001000
mov al, byte [esp + 0x1c]
add esp, 8
movzx ecx, di
mov edi, 0x26
mov byte [esi], al
xor eax, eax
sub edi, ecx
mov al, byte [esp + 0x15]
cdq
idiv edi
add dl, 2
mov al, byte [esp + 0x14]
sub al, dl
movzx bx, dl
movzx edx, bx
mov byte [esi + 1], al
lea edi, [ecx + edx]
cmp edi, edx
jle 0x100011e7
movzx eax, bx
inc bx
mov byte [eax + esi], 1
movzx ebp, bx
cmp ebp, edi
jl 0x100011d7
mov bx, 2
movzx eax, bx
lea edi, [eax + esi]
cmp byte [edi], 0
jne 0x100011fc
mov al, byte [esp + 0x16]
mov byte [edi], al
inc bx
cmp bx, 0x28
jb 0x100011eb
lea eax, [esp + 0x18]
push ecx
push eax
add edx, esi
push edx
call fcn.10001020
mov cx, 1
add esp, 0xc
movzx eax, cx
inc cx
add eax, esi
mov dl, byte [eax - 1]
xor byte [eax], dl
cmp cx, 0x28
jb 0x10001219
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x2c
ret