joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2d24e86
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 0x10
xor edi, edi
lea eax, [esi + 4]
push edi
push eax
call fcn.02d2317f
add esp, 0xc
mov dword [esi + 0x14], edi
mov dword [esi], 0x200
push edi
call fcn.02d25f73
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.02d25f7f
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
call fcn.02d25f91
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
cmp eax, edi
mov ecx, eax
jge 0x2d24eda
neg eax
xor ecx, ecx
mov dword [0x2d367f0], eax
inc ecx
mov eax, dword [0x2d367f0]
mov dword [ebp - 8], eax
xor edx, edx
mov eax, dword [edx + 0x2d2e0d8]
xor eax, ecx
mov dword [ebp - 0x10], ecx
movzx ecx, ax
shr eax, 0x10
mov edi, eax
imul edi, eax
mov ebx, ecx
imul ebx, ecx
imul ecx, eax
mov eax, dword [ebp - 0x10]
not edi
add edi, ebx
ror edi, 0x10
xor edi, dword [edx + 0x2d2e0e8]
add edx, 4
add edi, ecx
xor edi, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, edi
cmp edx, 0x10
jb 0x2d24ee4
push 4
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp - 0x10], ecx
call fcn.02d23036
push 0x24
push dword [ebp - 0xc]
push esi
call fcn.02d23036
push 4
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.02d23036
xor edi, edi
add esp, 0x24
cmp dword [esi], edi
jne 0x2d24ea8
push 0x24
push edi
push dword [ebp - 0xc]
call fcn.02d2317f
add esp, 0xc
pop edi
pop ebx
leave
ret

Function at 0x2d27ffe
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push esi
push 0x2d35ca8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x2d2801e
or eax, 0xffffffff
jmp 0x2d28098
push 0x2d35c9c
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x2d28019
push edi
push 0x2d35b58
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x2d28051
push 0x2d35b74
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
jne 0x2d28056
or eax, 0xffffffff
jmp 0x2d28097
push ebx
call eax
push 0
push 2
mov ebx, eax
call edi
push 0x2d35b28
push esi
mov edi, eax
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x2d28093
lea ecx, [ebp - 0x128]
push ecx
push edi
call eax
test eax, eax
je 0x2d28093
push 0x2d35b18
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x2d280a3
or eax, 0xffffffff
pop ebx
pop edi
pop esi
leave
ret
cmp dword [ebp - 0x120], ebx
je 0x2d280b3
lea eax, [ebp - 0x128]
push eax
push edi
call esi
test eax, eax
jne 0x2d2809b
jmp 0x2d28093
mov eax, dword [ebp - 0x110]
jmp 0x2d28096
Function at 0x2d281f1
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
test eax, eax
je 0x2d2820a
xor eax, eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x2d28279
push ebx
push 0x2d359b8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x2d28278
push esi
push 0x2d35ab4
push ebx
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x2d28277
call fcn.02d27ffe
cmp eax, 0xffffffff
je 0x2d28277
push eax
push 1
push 1
call esi
mov esi, eax
test esi, esi
jne 0x2d28262
push 0x2d35ad4
push ebx
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x2d28277
push esi
call eax
push 0x2d35aa0
push ebx
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x2d28277
push 0
push esi
call eax
pop esi
pop ebx
leave
ret

Function at 0x2d29b7a
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push ebx
push ebx
push ecx
push 0x2d29bb6
push dword fs:[0]
mov dword fs:[0], esp
mov ebx, 0
mov eax, 1
invalid

Function at 0x2d29c03
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
and dword [ebp - 0xc], 0
push 0x2d359b8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x2d29c24
jmp 0x2d29c99
push 0x2d35ad4
push dword [ebp - 4]
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x2d29c3d
jmp 0x2d29c99
push ebx
push ecx
push edx
push 0x2d29c81
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
pop dword fs:[0]
add esp, 4
cmp ebx, 0x564d5868
sete byte [ebp - 0xc]
pop edx
pop ecx
pop ebx
jmp 0x2d29c8e
cmp dword [ebp - 0xc], 1
jne 0x2d29c99
push 0
call dword [ebp - 8]
pop ebx
leave
ret

Function at 0x2d2a040
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
xor ecx, ecx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x2d2a05d
shr eax, 1
xor eax, 0xedb88320
jmp 0x2d2a05f
shr eax, 1
dec edx
test edx, edx
jg 0x2d2a050
mov dword [ebp + ecx*4 - 0x400], eax
inc ecx
cmp ecx, 0x100
jl 0x2d2a04b
or eax, 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x2d2a09f
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
dec dword [ebp + 0xc]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [ebp + edx*4 - 0x400]
inc ecx
cmp dword [ebp + 0xc], 0
jne 0x2d2a080
not eax
leave
ret
Function at 0x2d2a277
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push esi
push edi
push 0x2d359b8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x2d2a3df
push 0x2d35a48
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x2d2a3df
push ebx
push 0x2d36180
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov ebx, eax
cmp ebx, edi
je 0x2d2a3de
push 0x2d36174
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x2d2a3de
push 0x2d36168
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x2d2a3de
push 0x2d35b0c
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x2d2a3de
push 0x2d35ad4
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x2d2a3de
push 0x2d3615c
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x2d2a3de
push 0x2d36150
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x2d2a3de
call fcn.02d29ff1
push 0x104
lea ecx, [ebp - 0x124]
push ecx
push eax
call dword [ebp - 4]
test eax, eax
je 0x2d2a3de
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
lea eax, [ebp - 0x124]
push eax
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
je 0x2d2a3de
push edi
push ebx
call dword [ebp - 0x18]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x2d2a3de
push eax
push edi
call dword [ebp - 0x1c]
mov esi, eax
cmp esi, edi
je 0x2d2a3de
push edi
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
push esi
push ebx
call dword [ebp - 0xc]
push ebx
call dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push dword [ebp - 4]
add eax, esi
mov ebx, dword [eax]
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
push esi
mov dword [esi + eax], edi
call fcn.02d2a040
pop ecx
pop ecx
push esi
cmp eax, ebx
jne 0x2d2a3d7
call dword [ebp - 8]
jmp 0x2d2a3de
call dword [ebp - 8]
push edi
call dword [ebp - 0x14]
pop ebx
pop edi
pop esi
leave
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x78ffd8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x78ffe2
pushal
call 0x78ffe8
pop ebp
sub ebp, 0x10
sub ebp, 0x38ffd8
jmp 0x78fffe
mov eax, 0x38ffd8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c5
mov edx, 0x1a0af88d
xor byte [eax], dl
inc eax
dec ecx
jne 0x790015
jmp 0x790028
push es
inc eax
push es
add al, 0xb1
lea ecx, [ebp + 0x754c0c8d]
lea ecx, [ebp + 0x35408e8d]
mov ecx, dword [ebp - 0x5ac87273]
lea ecx, [ebp - 0x71908573]
inc ebp
push es
or al, 0x81
lea ecx, [ebp - 0x22b77173]
fucom st(5)
in eax, 0xe6
or dword [ebp - 0x58e6021b], 0xffffff8d
mov word [ecx + 0x3e55e5a9], fs
iretd
Function at 0x4066b0
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e26c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
mov dword [ebp - 0xb0], ecx
push 0
lea ecx, [ebp - 0x94]
call fcn.00403cd0
mov dword [ebp - 4], 0
mov dword [ebp - 0xa0], 0
lea ecx, [ebp - 0x90]
call fcn.004035e0
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x9c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push eax
push str.SELECT__FROM_CP_WHERE_cp_no_s
lea ecx, [ebp - 0x9c]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x9c]
call fcn.004036c0
push eax
lea ecx, [ebp - 0x98]
call fcn.00405eb0
mov byte [ebp - 4], 2
push 1
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xa4], esp
lea edx, [ebp - 0x98]
push edx
call fcn.00405e80
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, dword [ebp - 0xb0]
add ecx, 0xb0
call fcn.00403a20
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.00403700
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x94]
call fcn.00403d30
lea ecx, [ebp - 0xa8]
call fcn.00403d50
lea ecx, [ebp - 0x94]
call fcn.00403d70
mov ecx, eax
call fcn.004037a0
movsx ecx, ax
test ecx, ecx
je 0x4067ea
push SysReAllocString
call fcn.0040d9f0
lea edx, [ebp - 0xa0]
push edx
push 0x4131b8
lea ecx, [ebp - 0x94]
call fcn.00403d70
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0xc4]
push edx
call dword [ecx]
push eax
call fcn.00406330
add esp, 4
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xa0]
push eax
call dword [edx + 0xc]
push eax
call fcn.00406330
add esp, 4
mov ecx, dword [ebp - 0xa0]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xa0]
push eax
call dword [edx + 8]
lea ecx, [ebp - 0x94]
call fcn.00403d70
mov ecx, eax
call fcn.00403890
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0xac], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x98]
call fcn.00405f40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.0040d5b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00403d50
fld dword [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x4085c8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40e5df
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea eax, [ebp - 0x14]
push eax
push 0x3f1
mov ecx, dword [ebp - 0x1c]
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
lea ecx, [ebp - 0x10]
push ecx
push 0x3f0
mov ecx, dword [ebp - 0x1c]
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
lea ecx, [ebp - 0x14]
call fcn.00403680
test eax, eax
je 0x40863b
lea ecx, [ebp - 0x10]
call fcn.00403680
test eax, eax
jne 0x40864a
push str.SELECT__FROM_CP
mov ecx, dword [ebp - 0x1c]
call fcn.00407c47
jmp 0x40868c
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
push str.SELECT__FROM_CP_WHERE__s_s
lea ecx, [ebp - 0x18]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.004036c0
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.00407c47
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0040d5b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040d5b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0040d5b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40b31a
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
xor ecx, ecx
mov cx, word [edx + 0x14]
lea edx, [eax + ecx + 0x18]
mov dword [ebp - 8], edx
mov dword [ebp - 0x14], 0
jmp 0x40b35b
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
add ecx, 0x28
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
xor ecx, ecx
mov cx, word [eax + 6]
cmp dword [ebp - 0x14], ecx
jge 0x40b40e
mov edx, dword [ebp - 8]
cmp dword [edx + 0x10], 0
jne 0x40b3c2
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jle 0x40b3c0
push 4
push 0x1000
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
jmp 0x40b349
push 4
push 0x1000
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
add eax, dword [edx + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 8], ecx
jmp 0x40b349
mov esp, ebp
pop ebp
ret
Function at 0x40b412
Capabilities:
Enumerate pe sections
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
xor edx, edx
mov dx, word [eax + 0x14]
lea eax, [ecx + edx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x40b44a
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
xor edx, edx
mov dx, word [ecx + 6]
cmp dword [ebp - 8], edx
jge 0x40b566
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
and ecx, 0x20000000
neg ecx
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
and eax, 0x40000000
neg eax
sbb eax, eax
neg eax
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
and edx, 0x80000000
neg edx
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
and ecx, 0x2000000
test ecx, ecx
je 0x40b4ca
push 0x4000
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x40b438
mov eax, dword [ebp - 0x10]
shl eax, 4
mov ecx, dword [ebp - 0x20]
lea edx, [eax + ecx*8 + 0x413608]
mov eax, dword [ebp - 0xc]
mov ecx, dword [edx + eax*4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
and eax, 0x4000000
test eax, eax
je 0x40b4fb
mov ecx, dword [ebp - 0x18]
or ch, 2
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40b53f
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x24]
and edx, 0x40
test edx, edx
je 0x40b524
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
mov dword [ebp - 0x14], edx
jmp 0x40b53f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
and ecx, 0x80
test ecx, ecx
je 0x40b53f
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jbe 0x40b561
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x40b438
mov esp, ebp
pop ebp
ret
Function at 0x42e002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..rdata
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x77254fa6
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x42e060
nop
nop
nop
mov eax, section._RDATA
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e0d2
nop
nop
nop
mov ebx, 0x42cd70
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x191d10a6
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1000b7a1
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x824
mov eax, dword [0x10041024]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
push ebp
mov ebp, dword [esp + 0x830]
lea eax, [esp + 0x428]
push esi
mov esi, dword [esp + 0x838]
xor ebx, ebx
push edi
mov edi, 0x400
push edi
push ebx
push eax
call fcn.1000de50
push esi
push ebx
push ebp
push 0xffffffffffffffff
lea eax, [esp + 0x44c]
push edi
push eax
call fcn.1002128b
movzx ecx, byte [esp + 0x853]
lea edi, [esp + 0x34]
xor edx, edx
test eax, eax
push 8
cmovs ecx, edx
xor eax, eax
mov byte [esp + 0x857], cl
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.1002128b
push 0x10038198
lea eax, [esp + 0x40]
push 0x20
push eax
call fcn.1002128b
push 0x400
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.1000de50
mov ecx, ebp
add esp, 0x44
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000b846
sub ecx, edx
cmp ecx, 6
jbe 0x1000b86d
lea eax, [ebp - 6]
add eax, ecx
push str.__08x_
push eax
call fcn.1002128b
pop ecx
pop ecx
test eax, eax
jne 0x1000b86d
xor ebx, ebx
inc ebx
lea esi, [esp + 0x10]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1000b874
sub esi, ecx
lea eax, [esp + 0x430]
push eax
mov ecx, 0x10036ae3
test ebx, ebx
mov eax, str.Error:
cmove eax, ecx
push eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
push str.P:_04d_T:_04d__s_s
mov eax, 0x3ff
sub eax, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x4c]
add eax, esi
push eax
call fcn.1002128b
mov ecx, dword [esp + 0x44b]
test eax, eax
push esi
lea eax, [esp + 0x34]
mov edx, 0x2e2e2e
push eax
lea eax, [esp + 0x58]
cmovs ecx, edx
push eax
mov dword [esp + 0x457], ecx
call fcn.1000d8d0
lea edi, [esp + 0x5c]
add esp, 0x2c
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000b8ee
mov ax, word [0x100381c4]
mov word [edi], ax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x830]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1000be90
add esp, 0x824
ret
Function at 0x1002fdb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x1002fdbf
pop dword [ebp - 0x48]
mov eax, 0x73722584
add eax, 0x9c90d83b
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0xd2a71107
sub dword [ebp - 0x58], 0x8454cbbc
mov dword [ebp - 0x54], 0x939c85dd
add dword [ebp - 0x54], 0x9e96c668
mov dword [ebp - 0x50], 0xd3ab4a22
add dword [ebp - 0x50], 0x78a0fa0c
mov dword [ebp - 0x4c], 0x23334c7
sub dword [ebp - 0x4c], 0x23334c7
lea eax, [ebp - 0x58]
push eax
mov eax, 0xf9d8d8a8
sub eax, 0xe9d547b4
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x308d268f
sub dword [ebp - 0x58], 0xbc1abd39
mov dword [ebp - 0x54], 0xa155a001
add dword [ebp - 0x54], 0xa016c174
mov dword [ebp - 0x50], 0x3b71be64
sub dword [ebp - 0x50], 0xd80251f8
mov dword [ebp - 0x4c], 0x3cc9e1ee
sub dword [ebp - 0x4c], 0x3cc9e1ee
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x5a9b2387
sub eax, 0x4a97928f
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x452dd
push 0
call eax
mov ecx, 0x72139a
add ecx, 0xff8e43b1
xor esi, esi
add esi, eax
mov edi, 0x7a714123
add edi, 0x9593d0dd
add edi, dword [ebp - 0x48]
mov edx, 0x337ecb09
sub edx, 0x87dd19fc
sub dword [ebp - 0x18], 0xb912c30
mov ebx, dword [edi]
mov dword [ebp - 0xc], 0x778f030d
sub ebx, edx
add dword [ebp - 0x2c], 0xb19d7630
mov dword [esi], ebx
xor dword [ebp - 8], eax
add esi, 0xcbafa8ee
sub esi, 0xcbafa8ea
add edi, 0xdfdc5b56
add edi, 0x2023a4ae
loop 0x1002fee3
add eax, 0x8e69751e
sub eax, 0x8e68251f
xor ebx, ebx
add ebx, eax
add eax, 0xa98d1480
add eax, 0x5672eb85
mov ecx, 0x10000000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x10030836
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10047018]
jne 0x10030840
repz ret
jmp fcn.10030e15