joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100314a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
call fcn.1002f439
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.1002f3ee
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x100314ca
jmp 0x100314cf
jmp fcn.10030dcb
cmp dword [ebp - 0x37c], 0
jne 0x10031579
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1002f605
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x10031565
lea eax, [ebp - 0x714]
push eax
call fcn.1002f439
pop ecx
push eax
push dword [ebp - 0x7e0]
call fcn.1002f4ce
pop ecx
pop ecx
mov dword [ebp - 0x37c], eax
push dword [ebp - 0x7e4]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
push dword [ebp + 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x540]
push dword [ebp - 0x684]
push dword [ebp - 0x688]
push dword [ebp - 0x3ac]
push dword [ebp - 0x400]
push dword [ebp - 0x54c]
push dword [ebp - 0x678]
lea eax, [ebp - 0x334]
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call dword [ebp - 0x37c]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10035d30
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub esp, 8
movsd xmm0, qword [esp + 0x18]
subsd xmm0, qword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
movsd qword [esp + 4], xmm0
jmp 0x10035d52
fstp st(0)
cmp dword [esi + 0x9c0], 0x270
jne 0x10035d65
mov ecx, esi
call fcn.1001ac20
mov ecx, dword [esi + 0x9c0]
mov eax, dword [esi + ecx*4]
inc ecx
mov dword [esi + 0x9c0], ecx
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
and edx, 0xff3a58ad
shl edx, 7
xor eax, edx
mov ecx, eax
and ecx, 0xffffdf8c
shl ecx, 0xf
xor eax, ecx
mov edx, eax
shr edx, 0x12
xor edx, eax
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
test edx, edx
jge 0x10035daf
fadd qword [0x10086870]
fmul qword [esp + 4]
fmul qword [0x10086868]
fadd qword [esp + 0x14]
fld qword [esp + 0x1c]
fcompi st(1)
jbe 0x10035d50
pop esi
add esp, 8
ret
Function at 0x100419e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10082ac8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1009fc80]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.1001dfc0
mov dword [esp + 0x18], 0
test edi, edi
je 0x10041a24
add edi, 0x28
jmp 0x10041a26
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x10041a3e
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_class_std::runtime_error_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x10043b70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10082f98
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1009fc80]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.1001e160
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x10043bba
add edi, 0x28
jmp 0x10043bbc
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x10043bd4
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_day_of_month_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x10043c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10082f98
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1009fc80]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.1001e160
mov dword [esi], vtable.boost::gregorian::bad_year.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x10043c5a
add edi, 0x28
jmp 0x10043c5c
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x10043c74
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_year_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x10043cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10082f98
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1009fc80]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.1001e160
mov dword [esi], vtable.boost::gregorian::bad_month.0
mov dword [esp + 0x18], 0
test edi, edi
je 0x10043cfa
add edi, 0x28
jmp 0x10043cfc
xor edi, edi
mov dword [esi + 0x28], vtable.boost::exception.0
mov ecx, dword [edi + 4]
mov dword [esi + 0x2c], ecx
test ecx, ecx
je 0x10043d14
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
mov eax, dword [edi + 8]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0xc]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x10]
mov dword [esi + 0x38], edx
mov dword [esi], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month_.1.0
mov dword [esi + 0x28], vtable.boost::exception_detail::error_info_injector_struct_boost::gregorian::bad_month_.0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x100444a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100830d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x1009fc80]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push 4
call fcn.10066924
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x100444de
mov dword [eax], esi
jmp 0x100444e0
xor eax, eax
mov dword [esi], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
pxor xmm0, xmm0
push ecx
mov ecx, esi
movq qword [esp + 0x14], xmm0
movq qword [esp + 0x1c], xmm0
call fcn.10043490
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 4
Function at 0x10051660
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [eax]
mov dword [ecx], edx
mov dword [ecx + 0x57c], 1
push ebx
mov eax, dword [ecx + 0x57c]
mov edx, dword [ecx + eax*4 - 4]
mov ebx, edx
shr ebx, 0x1e
xor ebx, edx
imul ebx, ebx, 0x6c078965
add ebx, eax
mov dword [ecx + eax*4], ebx
inc dword [ecx + 0x57c]
cmp dword [ecx + 0x57c], 0x15f
jb 0x10051673
mov eax, dword [ecx + 0x578]
xor eax, dword [ecx + 0x2b8]
pop ebx
test eax, eax
jns 0x100516be
add eax, eax
xor eax, 0x99571dcf
or eax, 1
jmp 0x100516c0
add eax, eax
mov edx, dword [ecx]
xor edx, eax
and edx, 0x7ffff
xor dword [ecx], edx
xor eax, eax
mov edi, edi
cmp dword [ecx + eax*4], 0
jne 0x100516e4
inc eax
cmp eax, 0x15f
jb 0x100516d0
mov dword [ecx], 0x80000000
ret 4

Function at 0x10052490
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10082ac8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1009fc80]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
push edi
call fcn.1001dfc0
mov dword [esi], vtable.boost::system::system_error.0
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
xor edx, edx
mov dword [esi + 0x2c], ecx
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
lea eax, [edi + 0x30]
push edx
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], edx
push eax
mov dword [esp + 0x24], edx
mov byte [ecx + 4], dl
call fcn.1001d350
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x10053b80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10083b58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x1009fc80]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x44]
push 0
mov dword [esp + 0x14], ecx
movq xmm0, qword [esp + 0x10]
mov dword [esp + 0x28], eax
sub esp, 0x10
mov eax, esp
movq qword [esp + 0x30], xmm0
mov dword [esp + 0x2c], edx
movq xmm0, qword [esp + 0x2c]
movq qword [eax], xmm0
movq xmm0, qword [esp + 0x34]
push esi
movq qword [eax + 8], xmm0
call fcn.10053b50
add esp, 0x18
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.10053290
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret 0x10
Function at 0x1005fdd0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x1009fc80]
xor eax, esp
mov dword [esp + 0x190], eax
push esi
mov esi, dword [esp + 0x19c]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
jne 0x1005fe2b
movzx cx, byte [esp + 0x1a4]
movzx dx, byte [esp + 0x1a0]
shl cx, 8
lea eax, [esp + 4]
push eax
or cx, dx
movzx eax, cx
push eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
push eax
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov ecx, dword [esp + 0x194]
pop esi
xor ecx, esp
call fcn.100665d8
add esp, 0x194
ret

Function at 0x10061e70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10084c70
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
mov eax, dword [0x1009fc80]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4c]
cmp esi, 1
jle 0x1006201c
mov eax, dword [0x100a9fd8]
mov ecx, dword [eax + 0x27d0]
mov eax, dword [eax + 0x27d4]
add eax, ecx
test eax, eax
jg 0x1006201c
lea ecx, [esp + 0xc]
call fcn.100439f0
mov eax, dword [0x100a9fd8]
add eax, 0x78
push esi
push eax
lea eax, [esp + 0x2c]
xor ebx, ebx
push eax
mov dword [esp + 0x50], ebx
call fcn.10026bb0
add esp, 0xc
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 1
call fcn.10036100
mov eax, dword [esp + 0x30]
mov byte [esp + 0x44], bl
cmp eax, ebx
je 0x10061f07
push eax
call fcn.100661e7
add esp, 4
mov ecx, dword [esp + 0x24]
push ecx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.100661e7
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x1c]
add esp, 4
sar eax, 2
cmp eax, esi
je 0x10061f4a
lea ecx, [esp + 0xc]
call fcn.1003a700
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x3c
ret
mov edx, dword [0x100a9fd8]
mov dword [edx + 0x80], eax
mov eax, dword [esp + 0x1c]
sub eax, dword [esp + 0x18]
xor esi, esi
sar eax, 2
test eax, eax
jbe 0x10061fb6
push ecx
mov eax, esp
mov dword [eax], 2
mov ecx, dword [esp + 0x20]
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0x50], esp
sar ecx, 2
cmp esi, ecx
jb 0x10061f88
call fcn.100661d7
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [edx + esi*4]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [0x100a9fd8]
add ecx, 0x78
mov dword [esp + 0x54], esp
call fcn.10019a40
mov edx, dword [esp + 0x1c]
sub edx, dword [esp + 0x18]
inc esi
sar edx, 2
cmp esi, edx
jb 0x10061f67
mov ecx, dword [0x100a9fd8]
add ecx, 0x78
mov dword [ecx + 0x2724], 1
mov edx, dword [ecx + 0x2750]
sub edx, dword [ecx + 0x274c]
mov eax, 0x2aaaaaab
imul edx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10061ff2
mov dword [ecx + 0xb8c8], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10062003
push eax
call fcn.100661e7
add esp, 4
mov ecx, dword [esp + 0xc]
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.100661e7
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x3c
ret
Function at 0x10065040
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10084fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009fc80]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x1009fc44]
cmp eax, 0xffffffff
jne 0x1006507b
xor ebx, ebx
jmp 0x10065084
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x30], 0
test ebx, ebx
je 0x100650c5
cmp dword [ebx + 0x30], 0
jne 0x1006510c
cmp dword [ebx + 0xc], 0
jne 0x10065112
push 0x10064ab0
push 0x100aa350
call fcn.10064d40
mov eax, dword [0x1009fc44]
add esp, 8
cmp eax, 0xffffffff
je 0x100650c5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x30], 0xffffffff
test ebx, ebx
je 0x100650f8
lea ecx, [ebx + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100650f8
mov edx, dword [ebx]
push eax
mov eax, dword [edx]
mov ecx, ebx
call eax
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0xc], 0
je 0x1006515a
mov edi, dword [ebx + 0xc]
mov eax, dword [edi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x10065144
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov esi, dword [edi]
mov edx, dword [esi]
mov eax, dword [edx]
push 0
mov ecx, esi
call eax
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [ebx + 0xc], 0
jne 0x10065112
cmp dword [ebx + 0x30], 0
je 0x1006509a
lea esi, [ebx + 0x14]
mov ecx, dword [esi + 0x18]
mov esi, dword [esi]
mov edi, dword [ecx]
test esi, esi
jne 0x10065203
call fcn.100661d7
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x10065187
call fcn.100661d7
cmp dword [edi + 0x10], 0
je 0x100651e3
test esi, esi
jne 0x1006520a
call fcn.100661d7
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100651a2
call fcn.100661d7
cmp dword [edi + 0x18], 0
je 0x100651e3
test esi, esi
jne 0x1006520e
call fcn.100661d7
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100651bd
call fcn.100661d7
mov ebp, dword [edi + 0x10]
test esi, esi
jne 0x10065212
call fcn.100661d7
xor eax, eax
cmp edi, dword [eax + 0x18]
jne 0x100651d5
call fcn.100661d7
mov edx, dword [ebp]
mov eax, dword [edi + 0x18]
mov edx, dword [edx + 4]
push eax
mov ecx, ebp
call edx
push edi
push esi
lea eax, [esp + 0x24]
lea esi, [ebx + 0x14]
push eax
mov ecx, esi
call fcn.10052640
cmp dword [ebx + 0x30], 0
jne 0x10065167
jmp 0x10065094
mov eax, dword [esi]
jmp 0x1006517d
mov eax, dword [esi]
jmp 0x10065198
mov eax, dword [esi]
jmp 0x100651b3
mov eax, dword [esi]
jmp 0x100651cb
Function at 0x100652b0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebx
push edi
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x10]
push ecx
push 4
push eax
push 0x10065220
push 0
push 0
call fcn.1006d3c3
mov ebx, eax
add esp, 0x18
test ebx, ebx
jne 0x100652d9
pop edi
xor al, al
pop ebx
ret
mov edx, dword [edi]
push esi
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, dword [edi]
mov eax, dword [esi + 8]
add esi, 8
test eax, eax
je 0x100652fe
cmp eax, 0xffffffff
je 0x100652fe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop edi
mov al, 1
pop ebx
ret
Function at 0x100665d8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1009fc80]
jne 0x100665e2
repz ret
jmp fcn.1006dd4c

Function at 0x1007b14c
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.1006d692
and dword [ebp - 4], 0
cmp dword [0x100aae28], 0
mov ebx, eax
jne 0x1007b1fd
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1007b2ae
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1007b2ae
push eax
call fcn.1006d620
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100aae28], eax
call esi
push eax
call fcn.1006d620
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100aae2c], eax
call esi
push eax
call fcn.1006d620
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x100aae30], eax
call esi
push eax
call fcn.1006d620
pop ecx
mov dword [0x100aae38], eax
test eax, eax
je 0x1007b1fd
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1006d620
pop ecx
mov dword [0x100aae34], eax
mov eax, dword [0x100aae34]
cmp eax, ebx
je 0x1007b255
cmp dword [0x100aae38], ebx
je 0x1007b255
push eax
call fcn.1006d69b
push dword [0x100aae38]
mov esi, eax
call fcn.1006d69b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1007b255
test edi, edi
je 0x1007b255
call esi
test eax, eax
je 0x1007b24c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1007b24c
test byte [ebp - 0xc], 1
jne 0x1007b255
or dword [ebp + 0x10], 0x200000
jmp 0x1007b28e
mov eax, dword [0x100aae2c]
cmp eax, ebx
je 0x1007b28e
push eax
call fcn.1006d69b
pop ecx
test eax, eax
je 0x1007b28e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1007b28e
mov eax, dword [0x100aae30]
cmp eax, ebx
je 0x1007b28e
push eax
call fcn.1006d69b
pop ecx
test eax, eax
je 0x1007b28e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100aae28]
call fcn.1006d69b
pop ecx
test eax, eax
je 0x1007b2ae
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1007b2b0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402fe8
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
cpuid
rdtsc
mov esi, eax
mov edi, edx
cpuid
rdtsc
sub eax, esi
sub edx, edi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
pop edi
pop esi
cmp dword [ebp - 4], 0x87
jle 0x403019
cmp dword [ebp - 8], 0
jne 0x403019
jmp 0x403022
mov dword [ebp - 0xc], 0
jmp 0x403029
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x10006edc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x1c
mov eax, 0x1001c9bc
call fcn.10010cac
xor ebx, ebx
mov esi, ebx
mov dword [ebp - 0x20], esi
push 2
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x1c], eax
test eax, eax
jne 0x10006f29
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1000707a
movzx esi, si
or esi, 0x80070000
jmp 0x1000707a
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceExW]
mov edi, eax
test edi, edi
jne 0x10006f5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10007071
movzx esi, si
or esi, 0x80070000
jmp 0x10007071
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10006f3d
push edi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov edi, eax
cmp byte [ecx + eax], 0
je 0x10006fed
lea edi, [ecx + 1]
cmp edi, 0x400
ja 0x10006fa7
mov ecx, edi
call fcn.10006158
test al, al
je 0x10006fa7
mov eax, edi
call fcn.1001c700
mov edi, esp
jmp 0x10006fc8
lea eax, [edi + 8]
cmp eax, edi
jae 0x10006fb2
mov edi, ebx
jmp 0x10006fc8
push eax
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
test eax, eax
je 0x10006fae
mov esi, eax
mov dword [eax], ebx
mov dword [ebp - 0x20], esi
lea edi, [eax + 8]
test edi, edi
jne 0x10006fd6
mov esi, 0x8007000e
jmp 0x10007071
mov eax, dword [ebp - 0x14]
inc eax
push eax
push dword [ebp - 0x18]
push edi
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov byte [edi + eax], bl
test edi, edi
je 0x10007063
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006ff6
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x18], eax
add eax, eax
mov dword [ebp - 0x14], eax
cmp eax, 0x400
ja 0x10007028
mov ecx, eax
call fcn.10006158
test al, al
mov eax, dword [ebp - 0x14]
je 0x10007028
call fcn.1001c700
mov esi, esp
jmp 0x10007043
lea ecx, [eax + 8]
cmp ecx, eax
jb 0x10007063
push ecx
call dword [sym.imp.msvcrt.dll_malloc]
pop ecx
test eax, eax
je 0x10007063
mov dword [eax], esi
lea esi, [eax + 8]
mov dword [ebp - 0x20], eax
test esi, esi
je 0x10007063
push dword [ebp - 0x18]
xor eax, eax
push esi
push 0xffffffffffffffff
push edi
push ebx
push ebx
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, eax
neg ebx
sbb ebx, ebx
and ebx, esi
push dword [ebp + 0x14]
lea ecx, [ebp - 0x28]
push ebx
call fcn.10006dba
mov esi, eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x20]
call fcn.10005b68
mov eax, esi
lea esp, [ebp - 0x38]
call fcn.1001c618
ret 0x10