joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426000
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx + 4]
test eax, eax
jne 0x426029
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov ecx, dword [0x461b3c]
mov dword [0x46bcc0], eax
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebx + 4], eax
mov edx, dword [ebx + 4]
mov eax, dword [0x46bcc0]
push esi
push edi
push edx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapSize]
mov dword [0x461b3c], eax
mov edi, 0x46bcc4
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x426087
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00425c20
add esp, 4
test eax, eax
jne 0x426087
mov edi, str.230_232_786_816
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, 0x46bcc4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov eax, dword [0x461b3c]
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
push ecx
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0x46bcc4
push 0x80000004
call esi
cmp eax, 0xea
jne 0x4260e1
mov ecx, dword [0x461b3c]
lea eax, [ecx + ecx]
mov dword [0x461b3c], eax
mov edx, dword [ebx + 4]
push eax
mov eax, dword [0x46bcc0]
push edx
push 0
push eax
call edi
mov dword [ebx + 4], eax
jmp 0x426093
push 4
mov dword [0x46c07c], 1
call sub.MFC42.DLL_operatornew
add esp, 4
test eax, eax
pop edi
pop esi
je 0x426107
mov ecx, dword [ebx + 4]
mov dword [eax], ecx
mov dword [ebx], eax
pop ebx
pop ecx
ret 4
xor eax, eax
mov dword [ebx], eax
pop ebx
pop ecx
ret 4
Function at 0x428cf0
Capabilities:
Inspect load icon resource

Disassembly:
mov eax, dword [str.IDC_ARROW]
push esi
test eax, eax
push edi
je 0x428d1b
mov edi, dword [sym.imp.USER32.dll_LoadCursorA]
mov esi, 0x461dc0
mov eax, dword [esi - 4]
push eax
push 0
call edi
mov dword [esi - 8], eax
mov eax, dword [esi + 0xc]
add esi, 0xc
test eax, eax
jne 0x428d06
mov eax, dword [str.IDI_APPLICATION]
test eax, eax
je 0x428d44
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
mov esi, 0x461e60
mov ecx, dword [esi - 4]
push ecx
push 0
call edi
mov dword [esi - 8], eax
mov eax, dword [esi + 0xc]
add esi, 0xc
test eax, eax
jne 0x428d2f
pop edi
pop esi
ret
Function at 0x42e080
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44a0e1
push eax
mov dword fs:[0], esp
sub esp, 0x104
lea eax, [esp + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x120]
mov ebp, ecx
push 0x100
push eax
push edi
mov dword [ebp + 0x20], edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x42e0cc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [ebp + 0x24]
call fcn.004480fc
lea edx, [esp + 0x10]
push 0x100
push edx
push edi
call dword [sym.imp.USER32.dll_GetClassNameA]
test eax, eax
je 0x42e107
lea esi, [ebp + 0x28]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.004480fc
mov eax, dword [esi]
push eax
call fcn.004344e0
add esp, 4
test eax, eax
je 0x42e107
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 0x124]
test eax, eax
je 0x42e1c1
push 5
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x42e1c1
push 0x2c
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
test esi, esi
mov dword [esp + 0x118], 0
je 0x42e18e
mov dword [esi], 0x44cb7c
push 0xa
lea ecx, [esi + 4]
mov byte [esp + 0x11c], 1
call fcn.0044853a
mov dword [esi], 0x44fa38
lea ecx, [esi + 0x24]
mov byte [esp + 0x118], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x28]
mov byte [esp + 0x118], 3
call sub.MFC42.DLL_CString::CString_4
mov dword [esi], 0x44f9f8
jmp 0x42e190
xor esi, esi
push 1
push edi
mov ecx, esi
mov dword [esp + 0x120], 0xffffffff
call fcn.0042e080
mov edx, dword [ebp]
push esi
mov ecx, ebp
call dword [edx + 0x28]
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x42e129
mov ecx, dword [esp + 0x110]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x110
ret 8
Function at 0x434cf0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x100
push ebp
push esi
mov esi, dword [esp + 0x10c]
mov ebp, ecx
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x434dd3
push ebx
push esi
lea eax, [esp + 0x10]
push str._08X
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x659
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea edx, [esp + 0xd]
push 0xfe
mov bl, 0x22
push edx
push esi
mov byte [esp + 0x18], bl
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [esp + eax + 0xd], bl
mov byte [esp + eax + 0xe], 0
lea eax, [esp + 0xc]
mov ecx, ebp
push eax
push 0x657
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea ecx, [esp + 0xc]
push 0x100
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edx, [esp + 0xc]
push edx
call fcn.004344e0
add esp, 4
test eax, eax
je 0x434db6
push edi
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
lea eax, [esp + 0xc]
mov ecx, ebp
push eax
push 0x658
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
pop ebx
pop esi
pop ebp
add esp, 0x100
ret 4
push 0x469b3c
push 0x659
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0x469b3c
push 0x657
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0x469b3c
push 0x658
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
pop esi
pop ebp
add esp, 0x100
ret 4

Function at 0x436450
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x44ac18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x44cb7c
xor edi, edi
lea ecx, [esi + 0x3c]
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_CObArray::CObArray
mov ebx, dword [sym.imp.USER32.dll_SetRectEmpty]
lea eax, [esi + 4]
push eax
mov dword [esi], 0x450f5c
call ebx
lea ecx, [esi + 0x14]
push ecx
call ebx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x28], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], 0xfffffff9
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x437680
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x44ad53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CWnd::CWnd
lea ecx, [esi + 0x4c]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CObArray::CObArray
lea ebx, [esi + 0x70]
mov byte [esp + 0x1c], 1
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_4
lea ebp, [esi + 0x7c]
mov byte [esp + 0x1c], 2
mov ecx, ebp
call fcn.00436450
lea edi, [esi + 0xcc]
mov byte [esp + 0x1c], 3
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x44ebbc
lea edi, [esi + 0x10c]
mov byte [esp + 0x1c], 4
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x44ebbc
lea edi, [esi + 0x14c]
mov byte [esp + 0x1c], 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x44ebbc
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1c], 6
test eax, eax
mov dword [esi], 0x450f84
jne 0x437739
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x20]
mov edi, dword [esp + 0x24]
mov dword [esi + 0x68], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x74], edi
mov dword [esi + 0x60], eax
push 1
mov ecx, ebp
mov dword [esi + 0xb4], esi
call fcn.00436840
xor ebp, ebp
push edi
mov ecx, ebx
mov dword [esi + 0x64], ebp
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [esp + 0x30]
xor eax, eax
mov dword [esi + 0x78], ecx
xor ecx, ecx
mov dword [esi + 0x40], eax
mov dword [esi + 0x18c], ebp
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x401084
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push 0x24
push 0
lea eax, [ebp - 0xc8]
push eax
call fcn.00405bd0
add esp, 0xc
push 0x9c
push 0
lea ecx, [ebp - 0x9c]
push ecx
call fcn.00405bd0
add esp, 0xc
mov dword [ebp - 0x9c], 0x9c
lea edx, [ebp - 0x9c]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
jne 0x4010e0
xor eax, eax
jmp 0x40113d
push 0x417058
push 0x41706c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
je 0x401115
lea eax, [ebp - 0xc8]
push eax
call dword [ebp - 0xa0]
jmp 0x401122
lea ecx, [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x8c], 2
jne 0x40113b
cmp dword [ebp - 0x98], 6
jb 0x40113b
mov eax, 1
jmp 0x40113d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x401fd5
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x10c]
push eax
call fcn.004066a7
add esp, 0xc
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x10c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 8]
cmp dword [edx + 0x1a8], 0
je 0x402059
mov eax, dword [ebp + 8]
add eax, 0x84
push eax
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402057
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 1
push 0
push 0
push 0
push 4
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
jmp 0x402068
lea ecx, [ebp - 0x10c]
push ecx
call fcn.004065fe
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x4021c3
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [ebp + 0x10], eax
push 0x4132d0
push 0x64
mov eax, dword [ebp + 8]
push eax
push 0x417368
mov ecx, 0x418238
call fcn.00402710
mov dword [0x4183e0], 1
mov cx, word [0x4173c0]
mov word [ebp - 0x11c], cx
mov dl, byte [0x4173c2]
mov byte [ebp - 0x11a], dl
lea eax, [ebp - 0x11c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00401ec0
add esp, 8
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x4022d1
push 0x4173c4
mov edx, dword [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x40225e
mov ecx, 0x418238
call fcn.004026c0
jmp 0x402403
push 0x4173d0
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x402287
push 0
push 1
mov ecx, 0x418238
call fcn.00402540
jmp 0x402403
push 0x4173dc
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4022b0
push 1
push 1
mov ecx, 0x418238
call fcn.00402540
jmp 0x402403
lea edx, [ebp - 0x11c]
push edx
mov eax, dword [ebp - 0x118]
push eax
call fcn.00401ec0
add esp, 8
mov dword [ebp - 0x118], eax
jmp 0x40222c
lea ecx, [ebp - 0x114]
call fcn.00403840
push 0x20019
push 0x4173e4
push SysReAllocString
lea ecx, [ebp - 0x114]
call fcn.004038f0
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x402327
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x120], ecx
lea ecx, [ebp - 0x114]
call fcn.00403860
mov eax, dword [ebp - 0x120]
jmp 0x402403
lea ecx, [ebp - 0x110]
call fcn.00403840
push 0x20019
push 0x4173ec
lea ecx, [ebp - 0x114]
call fcn.00403880
push eax
lea ecx, [ebp - 0x110]
call fcn.004038f0
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x40238c
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x124], edx
lea ecx, [ebp - 0x110]
call fcn.00403860
lea ecx, [ebp - 0x114]
call fcn.00403860
mov eax, dword [ebp - 0x124]
jmp 0x402403
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
push 0x417414
lea ecx, [ebp - 0x108]
push ecx
lea ecx, [ebp - 0x110]
call fcn.00403940
mov dword [ebp - 0x10c], eax
mov dword [0x4183e0], 0
cmp dword [ebp - 0x10c], 0
jne 0x4023d1
mov dword [0x4183e0], 1
mov ecx, 0x418238
call fcn.00402a00
mov edx, dword [0x4183cc]
mov dword [ebp - 0x128], edx
lea ecx, [ebp - 0x110]
call fcn.00403860
lea ecx, [ebp - 0x114]
call fcn.00403860
mov eax, dword [ebp - 0x128]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4027d0
Capabilities:
Create service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov dword [ebp - 0x110], ecx
mov ecx, dword [ebp - 0x110]
call fcn.00401f6d
test eax, eax
je 0x4027f8
mov eax, 1
jmp 0x4028ef
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
jne 0x402838
push 0
mov eax, dword [ebp - 0x110]
add eax, 0x84
push eax
push 0x417504
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x4028ef
push 0x104
lea ecx, [ebp - 0x104]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 0x4174fc
push 0
push 0
lea edx, [ebp - 0x104]
push edx
push 1
push 2
push 0x110
push 0xf01ff
mov eax, dword [ebp - 0x110]
add eax, 0x84
push eax
mov ecx, dword [ebp - 0x110]
add ecx, 0x84
push ecx
mov edx, dword [ebp - 0x10c]
push edx
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
jne 0x4028d0
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0
mov ecx, dword [ebp - 0x110]
add ecx, 0x84
push ecx
push 0x4174e4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x4028ef
mov edx, dword [ebp - 0x108]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x10c]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x402900
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00401f6d
test eax, eax
jne 0x40291f
mov eax, 1
jmp 0x4029f8
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x402956
push 0
mov eax, dword [ebp - 0x2c]
add eax, 0x84
push eax
push 0x417504
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x4029f8
push 0x10020
mov ecx, dword [ebp - 0x2c]
add ecx, 0x84
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x40299f
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x84
push ecx
push 0x417544
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x4029f8
lea edx, [ebp - 0x28]
push edx
push 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 4], 0
je 0x4029dd
mov eax, 1
jmp 0x4029f8
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x84
push ecx
push 0x417524
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x8fd080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.AHNLAB1
lea edi, [esi - 0x465000]
push edi
or ebp, 0xffffffff
jmp 0x8fd0a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8fd0a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8fd098
mov eax, 1
add ebx, ebx
jne 0x8fd0bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8fd0cc
jne 0x8fd0dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8fd0dc
dec eax
add ebx, ebx
jne 0x8fd0d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8fd0b0
xor ecx, ecx
sub eax, 3
jb 0x8fd0f4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8fd166
sar eax, 1
mov ebp, eax
jmp 0x8fd0ff
add ebx, ebx
jne 0x8fd0ff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x8fd10c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x8fd130
inc ecx
add ebx, ebx
jne 0x8fd11c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8fd111
jne 0x8fd12d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8fd111
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8fd150
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8fd141
jmp 0x8fd09e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8fd150
add edi, ecx
jmp 0x8fd09e
pop esi
mov edi, esi
mov ecx, 0xb156
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8fd16e
cmp byte [edi], 0x27
jne 0x8fd16e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x8fd173
lea edi, [esi + 0x4fb000]
mov eax, dword [edi]
or eax, eax
je 0x8fd1eb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4fd8cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4fd9a8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8fd1a0
mov ecx, edi
jns 0x8fd1cf
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4fd9ac]
or eax, eax
je 0x8fd1e5
mov dword [ebx], eax
add ebx, 4
jmp 0x8fd1bd
call dword [esi + 0x4fd9b0]
popal
jmp 0x5447eb
Function at 0x10001000
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
nop
nop
push ebp
mov ebp, esp
add esp, 9
add esp, 0xfffffff7
add esp, 4
add esp, 0xfffffffc
push 0x2d1b
mov esp, ebp
nop
nop
pop ebp
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 4]
mov dword [ebp - 8], edx
nop
push ebp
mov ebp, esp
inc ecx
dec ecx
add esp, 4
add esp, 0xfffffffc
push ebx
pop ebx
add esp, 6
add esp, 0xfffffffa
nop
mov esp, ebp
nop
pop ebp
mov eax, dword [eax]
xor ecx, ecx
mov dword [ebp - 4], 0
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x1000110a
add ebx, 0x10
jmp 0x1000106c
mov edx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x100010a8
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x38]
test esi, esi
jle 0x100010ed
mov ecx, dword [ebx - 4]
push 4
push 0x1000
add ecx, edx
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x100010ed
nop
push ebp
nop
mov ebp, esp
test esi, esi
add esp, 3
add esp, 0xfffffffd
inc ecx
dec ecx
mov esp, ebp
pop ebp
mov ecx, dword [ebx - 4]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [ebp + 8]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [ebp - 4], eax
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x10001069
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10001c50
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100030a8
push 0x10001980
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
nop
nop
push edx
push ecx
push ebx
nop
nop
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
nop
nop
pop ebx
pop ecx
pop edx
nop
nop
nop
nop
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x102bfd5f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [esp]
pushal
mov word [esp + 0x81c], ax
pushfd
push dword [esp + 8]
mov byte [esp + 4], 0x21
mov byte [esp + 0xc], 0xcf
mov word [esp + 0x826], si
push ebp
push dword [esp + 8]
mov word [esp + 0x754], 0x58
mov dword [esp], 0x3a3c517d
push esp
mov word [esp], 0x4d52
push ecx
mov word [esp + 0x75e], 0x75
push 0x1396228f
pushfd
jmp loc.102b645b

Function at 0x102dbf1d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [esp + 0x8d4]
mov byte [esp], bl
lea esp, [esp + 0x5c]
je 0x102bfd01
mov dword [esp + 0x58], eax
pushfd
bswap eax
lea eax, [esp + 0x790]
call fcn.102dae9a
Function at 0x4014be
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x128
mov esi, eax
lea eax, [ebp - 0x10]
mov ebx, edx
push eax
mov eax, dword [0x4a0c78]
or eax, 8
mov dword [ebp - 0x120], ecx
push eax
push 0
push edx
push esi
call sub.ADVAPI32.DLL_RegOpenKeyExA
add esp, 0xc
test eax, eax
jne 0x401589
jmp 0x401527
cmp dword [ebp - 0x120], 0
je 0x401515
sub esp, 0xc
push dword [ebp - 0x10]
call sub.ADVAPI32.DLL_RegCloseKey
mov eax, 1
add esp, 0xc
jmp 0x401589
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov edx, edi
call fcn.004014be
test eax, eax
jne 0x401541
jmp 0x40152d
lea edi, [ebp - 0x115]
push 0x105
push edi
push 0
push dword [ebp - 0x10]
call sub.ADVAPI32.DLL_RegEnumKeyA
test eax, eax
je 0x4014f7
sub esp, 0xc
push dword [ebp - 0x10]
call sub.ADVAPI32.DLL_RegCloseKey
push 2
call fcn.00406253
add esp, 0xc
test eax, eax
je 0x401568
push 0
push dword [0x4a0c78]
push ebx
push esi
call eax
jmp 0x401589
mov eax, 1
cmp dword [0x4a0c78], 0
jne 0x401589
push edi
push edi
push ebx
push esi
call sub.ADVAPI32.DLL_RegDeleteKeyA
test eax, eax
pop ebx
setne al
pop esi
movzx eax, al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x403140
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x20
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 8]
push 0
push eax
push ebx
push dword [ebp + 8]
push dword [0x409010]
call sub.KERNEL32.dll_ReadFile
xor edx, edx
add esp, 0xc
test eax, eax
je 0x403170
xor edx, edx
cmp dword [ebp - 8], ebx
sete dl
mov eax, edx
mov ebx, dword [ebp - 4]
leave
ret 8

Function at 0x40319b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x44
cmp dword [ebp + 8], 0
je 0x4031cc
mov eax, dword [0x43b860]
test eax, eax
je 0x4031bd
sub esp, 0xc
push eax
call sub.USER32.dll_DestroyWindow
add esp, 0xc
mov dword [0x43b860], 0
jmp 0x403252
cmp dword [0x43b860], 0
je 0x4031e4
sub esp, 0xc
push 0
call fcn.00406218
add esp, 0xc
jmp 0x403252
call sub.KERNEL32.dll_GetTickCount
cmp eax, dword [0x4a0cf8]
jbe 0x403252
cmp dword [0x4a0d48], 0
je 0x403226
test byte [0x4a0c7c], 1
je 0x403252
call fcn.00403179
lea ebx, [ebp - 0x44]
push edx
push eax
push str....__d__
push ebx
call sub.USER32.dll_wsprintfA
pop ecx
pop eax
push ebx
push 0
call fcn.00403f43
pop eax
pop edx
jmp 0x403252
sub esp, 0xc
push 0
push 0x403885
push 0
push 0x6f
push dword [0x4a0d58]
call sub.USER32.dll_CreateDialogParamA
sub esp, 0xc
mov dword [0x43b860], eax
push 5
push eax
call sub.USER32.dll_ShowWindow
add esp, 0x18
mov ebx, dword [ebp - 4]
leave
ret