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

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov byte [esp + 0x13], 1
mov ebp, 1
lea edi, [esi + 0xc]
xor ebx, ebx
jmp 0x4601b0
cmp dword [edi + 0x18], 8
mov eax, dword [esi + 0x20]
mov dword [esp + 0x1c], eax
jb 0x4601c2
mov eax, dword [edi + 4]
jmp 0x4601c5
lea eax, [edi + 4]
lea ecx, [esp + 0x20]
push ecx
mov ecx, dword [esi + 4]
push ebx
push ebx
push ebx
lea edx, [esp + 0x2c]
push edx
push eax
mov eax, dword [esi + 8]
push eax
call fcn.004611a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x46024f
cmp eax, 0xea
jne 0x4602b4
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esi + 4]
lea edx, [esp + 0x30]
push edx
push ebx
push ebx
push ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.004611a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
cmp eax, ebx
jne 0x460277
cmp dword [esp + 0x14], ebx
je 0x46024f
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x460295
push ebx
add eax, 1
push eax
mov ecx, edi
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::resize_unsigned_int__wchar_t_]
add ebp, 1
cmp ebp, 3
jle 0x4601b0
jmp 0x460258
mov byte [esp + 0x13], bl
cmp ebp, 3
jle 0x4602d6
push 1
push str.CRegSubKeyIteratorImpl::GetNextItem__
lea ecx, [esp + 0x30]
call fcn.004612d0
push 0x4983ac
lea eax, [esp + 0x2c]
push eax
call sub.MSVCR80.dll__CxxThrowException
push eax
push str.CRegSubKeyIteratorImpl::GetNextItem__
lea ecx, [esp + 0x30]
call fcn.004612d0
push 0x4983ac
lea eax, [esp + 0x2c]
push eax
call sub.MSVCR80.dll__CxxThrowException
push 1
push str.CRegSubKeyIteratorImpl::GetNextItem__
lea ecx, [esp + 0x30]
call fcn.004612d0
push 0x4983ac
lea ecx, [esp + 0x2c]
push ecx
call sub.MSVCR80.dll__CxxThrowException
cmp eax, ebx
je 0x460253
push eax
push 0x48bf6c
lea ecx, [esp + 0x30]
call fcn.004612d0
push 0x4983ac
lea edx, [esp + 0x2c]
push edx
call sub.MSVCR80.dll__CxxThrowException
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
Function at 0x460580
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], 1
lea edi, [esi + 0x48]
lea ebx, [esi + 0xc]
lea ebp, [esi + 0x28]
nop
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x3c]
add ecx, ecx
mov dword [esp + 0x24], eax
mov eax, 8
mov dword [edi], ecx
cmp dword [ebp + 0x18], eax
jb 0x4605bd
mov ecx, dword [ebp + 4]
jmp 0x4605c0
lea ecx, [ebp + 4]
cmp dword [ebx + 0x18], eax
jb 0x4605ca
mov eax, dword [ebx + 4]
jmp 0x4605cd
lea eax, [ebx + 4]
push edi
push ecx
lea ecx, [esi + 0x44]
push ecx
mov ecx, dword [esi + 4]
push 0
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [esi + 8]
push eax
call fcn.004611a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x460694
cmp eax, 0xea
jne 0x460702
xor eax, eax
push eax
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esi + 4]
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], eax
call fcn.004611a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4606c5
cmp dword [esp + 0x1c], eax
je 0x460694
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4606e3
cmp dword [esp + 0x14], 0
je 0x4606e3
add eax, 1
push eax
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::resize_unsigned_int_]
mov edx, dword [esp + 0x14]
add edx, 1
shr edx, 1
add edx, 1
push edx
mov ecx, ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::resize_unsigned_int_]
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, 3
mov dword [esp + 0x18], eax
jle 0x4605a0
jmp 0x4606a6
mov byte [esp + 0x13], 0
mov dword [edi], 0
cmp dword [esp + 0x18], 3
jle 0x460724
push 1
push 0x48c058
lea ecx, [esp + 0x30]
call fcn.004612d0
push 0x4983ac
lea eax, [esp + 0x2c]
push eax
call sub.MSVCR80.dll__CxxThrowException
push eax
push 0x48c058
lea ecx, [esp + 0x30]
call fcn.004612d0
push 0x4983ac
lea eax, [esp + 0x2c]
push eax
call sub.MSVCR80.dll__CxxThrowException
push 1
push 0x48c058
lea ecx, [esp + 0x30]
call fcn.004612d0
push 0x4983ac
lea ecx, [esp + 0x2c]
push ecx
call sub.MSVCR80.dll__CxxThrowException
test eax, eax
je 0x46069f
push eax
push 0x48c058
lea ecx, [esp + 0x30]
call fcn.004612d0
push 0x4983ac
lea edx, [esp + 0x2c]
push edx
call sub.MSVCR80.dll__CxxThrowException
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
Function at 0x460585
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], 1
lea edi, [esi + 0x48]
lea ebx, [esi + 0xc]
lea ebp, [esi + 0x28]
nop
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x3c]
add ecx, ecx
mov dword [esp + 0x24], eax
mov eax, 8
mov dword [edi], ecx
cmp dword [ebp + 0x18], eax
jb 0x4605bd
mov ecx, dword [ebp + 4]
jmp 0x4605c0
lea ecx, [ebp + 4]
cmp dword [ebx + 0x18], eax
jb 0x4605ca
mov eax, dword [ebx + 4]
jmp 0x4605cd
lea eax, [ebx + 4]
push edi
push ecx
lea ecx, [esi + 0x44]
push ecx
mov ecx, dword [esi + 4]
push 0
lea edx, [esp + 0x34]
push edx
push eax
mov eax, dword [esi + 8]
push eax
call fcn.004611a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x460694
cmp eax, 0xea
jne 0x460702
xor eax, eax
push eax
push eax
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esi + 4]
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x40], eax
call fcn.004611a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x4606c5
cmp dword [esp + 0x1c], eax
je 0x460694
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4606e3
cmp dword [esp + 0x14], 0
je 0x4606e3
add eax, 1
push eax
mov ecx, ebx
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::resize_unsigned_int_]
mov edx, dword [esp + 0x14]
add edx, 1
shr edx, 1
add edx, 1
push edx
mov ecx, ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::resize_unsigned_int_]
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, 3
mov dword [esp + 0x18], eax
jle 0x4605a0
jmp 0x4606a6
mov byte [esp + 0x13], 0
mov dword [edi], 0
cmp dword [esp + 0x18], 3
jle 0x460724
push 1
push 0x48c058
lea ecx, [esp + 0x30]
call fcn.004612d0
push 0x4983ac
lea eax, [esp + 0x2c]
push eax
call sub.MSVCR80.dll__CxxThrowException
push eax
push 0x48c058
lea ecx, [esp + 0x30]
call fcn.004612d0
push 0x4983ac
lea eax, [esp + 0x2c]
push eax
call sub.MSVCR80.dll__CxxThrowException
push 1
push 0x48c058
lea ecx, [esp + 0x30]
call fcn.004612d0
push 0x4983ac
lea ecx, [esp + 0x2c]
push ecx
call sub.MSVCR80.dll__CxxThrowException
test eax, eax
je 0x46069f
push eax
push 0x48c058
lea ecx, [esp + 0x30]
call fcn.004612d0
push 0x4983ac
lea edx, [esp + 0x2c]
push edx
call sub.MSVCR80.dll__CxxThrowException
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret

Function at 0x4614f0
Capabilities:
Delete registry key

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [ecx]
sub esp, 0x24
push eax
call fcn.004611a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x461528
push eax
push str.CRegistryKey::DeleteKey__
lea ecx, [esp + 8]
call fcn.004612d0
push 0x4983ac
lea ecx, [esp + 4]
push ecx
call sub.MSVCR80.dll__CxxThrowException
add esp, 0x24
ret 4
Function at 0x461630
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
xor ebp, ebp
lea eax, [esp + 0x10]
push eax
mov esi, ecx
push ebp
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esi]
push ebp
push edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebp
call fcn.004611a0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
call ebx
cmp eax, ebp
je 0x461686
push eax
push str.CRegistryKey::QueryValue__
lea ecx, [esp + 0x20]
call fcn.004612d0
push 0x4983ac
lea edx, [esp + 0x1c]
push edx
call sub.MSVCR80.dll__CxxThrowException
mov eax, dword [esp + 0x14]
cmp eax, 2
je 0x4616a0
cmp eax, 1
je 0x4616a0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x2c
ret 8
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x44]
shr eax, 1
push eax
mov ecx, ebp
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::resize_unsigned_int_]
cmp dword [ebp + 0x18], 8
jb 0x4616be
mov eax, dword [ebp + 4]
jmp 0x4616c1
lea eax, [ebp + 4]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esi]
push eax
lea edx, [esp + 0x1c]
push edx
push 0
push edi
call fcn.004611a0
push eax
call ebx
test eax, eax
je 0x4616fb
push eax
push str.CRegistryKey::QueryValue__
lea ecx, [esp + 0x20]
call fcn.004612d0
push 0x4983ac
lea eax, [esp + 0x1c]
push eax
call sub.MSVCR80.dll__CxxThrowException
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x2c
ret 8

Function at 0x461710
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x28
push ebx
push esi
push edi
mov edi, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
mov esi, ecx
push 0
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esi]
push 0
push edi
mov dword [esp + 0x20], 0
call fcn.004611a0
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
call ebx
test eax, eax
je 0x461765
push eax
push str.CRegistryKey::QueryValue__
lea ecx, [esp + 0x18]
call fcn.004612d0
push 0x4983ac
lea edx, [esp + 0x14]
push edx
call sub.MSVCR80.dll__CxxThrowException
mov eax, dword [esp + 0x38]
cmp eax, 4
je 0x46177e
cmp eax, 5
je 0x46177e
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x28
ret 8
cmp dword [esp + 0xc], 4
je 0x4617a4
push 0
push str.CRegistryKey::QueryValue__
lea ecx, [esp + 0x18]
call fcn.004612d0
push 0x4983ac
lea eax, [esp + 0x14]
push eax
call sub.MSVCR80.dll__CxxThrowException
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esi]
push edx
lea eax, [esp + 0x40]
push eax
push 0
push edi
call fcn.004611a0
push eax
call ebx
test eax, eax
je 0x4617e2
push eax
push str.CRegistryKey::QueryValue__
lea ecx, [esp + 0x18]
call fcn.004612d0
push 0x4983ac
lea ecx, [esp + 0x14]
push ecx
call sub.MSVCR80.dll__CxxThrowException
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x28
ret 8
Function at 0x4618e0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x24
cmp eax, 4
je 0x461913
cmp eax, 5
je 0x461913
push 0x3ec
push str.CRegistryKey::SetValue__
lea ecx, [esp + 8]
call fcn.004612d0
push 0x4983ac
lea eax, [esp + 4]
push eax
call sub.MSVCR80.dll__CxxThrowException
mov ecx, dword [ecx]
push 4
lea edx, [esp + 0x30]
push edx
push eax
mov eax, dword [esp + 0x34]
push 0
push eax
call fcn.004611a0
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x461952
push eax
push str.CRegistryKey::SetValue__
lea ecx, [esp + 8]
call fcn.004612d0
push 0x4983ac
lea ecx, [esp + 4]
push ecx
call sub.MSVCR80.dll__CxxThrowException
add esp, 0x24
ret 0xc

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x39112102
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x675e06fe
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x99768c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9976b3
call fcn.00939c18
mov dword [eax], esi
call fcn.00939c05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093a85a
mov eax, esi
jmp 0x997708
test dword [ebp + 0xc], 0xfffffff9
jne 0x997699
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9976e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00939c2b
pop ecx
call fcn.00939c05
mov eax, dword [eax]
jmp 0x997708
test al, 0x10
jne 0x997706
test al, 1
je 0x997706
test byte [ebp + 0xc], 2
je 0x997706
call fcn.00939c18
mov dword [eax], 5
call fcn.00939c05
mov dword [eax], 0xd
jmp 0x9976d7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x58e70f
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421636
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x426a58]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea esi, [edi + 4]
mov dword [edi], 0x4239c0
mov dword [ebp - 0x14], esi
mov dword [esi], 0x42c1d8
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [0x42c1d8]
push 0
push 2
push esi
push 0x42c1d8
mov dword [ebp - 4], 0
call dword [eax]
mov eax, dword [esi + 4]
xor ecx, ecx
mov word [eax], cx
lea esi, [edi + 0x10]
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], esi
mov dword [esi], 0x42c1d8
mov dword [esi + 4], ecx
mov dword [esi + 8], ecx
mov eax, dword [0x42c1d8]
push ecx
push 2
push esi
push 0x42c1d8
mov byte [ebp - 4], 2
call dword [eax]
mov eax, dword [esi + 4]
xor ecx, ecx
xor edx, edx
mov word [eax], cx
mov dword [edi + 0x1c], ecx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], 0x80000000
mov dword [edi + 0x38], ecx
mov dword [edi + 0x2c], 0xc
mov dword [edi + 0x30], 7
mov dword [edi + 0x34], 0xffffffff
mov dword [edi + 0x3c], ecx
lea ecx, [edi + 0x40]
mov dword [edi + 0x28], 0x4239a0
lea eax, [ecx + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ecx + 4], eax
mov dword [ecx + 0xc], 0x102
mov dword [ecx], 0x42c1dc
mov dword [ecx + 8], 0x102
mov word [eax], dx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x3eed309b
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x2b97c7a
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401b40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x42cf7c]
mov dword [ebp - 0x20], 0x50746547
mov dword [ebp - 0x1c], 0x65636f72
mov dword [ebp - 0x18], 0x65487373
mov word [ebp - 0x14], 0x7061
mov byte [ebp - 0x12], 0
test eax, eax
jne 0x401bb1
mov byte [ebp - 8], al
mov eax, dword [0x42cf40]
mov dword [ebp - 0x10], 0x6e72656b
mov dword [ebp - 0xc], 0x32336c65
test eax, eax
jne 0x401ba1
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x42cf40], eax
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x42cf7c], eax
call eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004021b0
mov esp, ebp
pop ebp
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x4033fc], eax
mov eax, dword [ebp + 4]
mov dword [0x40323a], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401020
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x40323a]
mov dword [ebp - 0x48], eax
mov eax, 0x4016df
mov dword [ebp - 0x54], eax
mov ecx, str.Hello
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
push ecx
push dword [0x40323a]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.lukifas
push eax
mov eax, str.Hello
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x403448], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x403448]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4010bc
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4010b5
mov esp, ebp
ret
Function at 0x4012f1
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x402218
call fcn.004015c0
xor ebx, ebx
cmp dword [0x403394], ebx
jne 0x4010cf
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x403388
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x401109
cmp eax, esi
jne 0x4010fc
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x40110c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4010e3
xor esi, esi
inc esi
mov eax, dword [0x403384]
cmp eax, esi
jne 0x40111f
push 0x1f
call sub.MSVCR100.dll__amsg_exit
pop ecx
jmp 0x40115a
mov eax, dword [0x403384]
test eax, eax
jne 0x401154
mov dword [0x403384], esi
push 0x4020c4
push 0x4020b8
call sub.MSVCR100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x40115a
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x401231
mov dword [0x40304c], esi
mov eax, dword [0x403384]
cmp eax, esi
jne 0x40117e
push 0x4020b4
push 0x4020ac
call sub.MSVCR100.dll__initterm
pop ecx
pop ecx
mov dword [0x403384], 2
cmp dword [ebp - 0x1c], ebx
jne 0x40118b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x403398], ebx
je 0x4011ac
push 0x403398
call fcn.004014f0
pop ecx
test eax, eax
je 0x4011ac
push ebx
push 2
push ebx
call dword [0x403398]
mov eax, dword [0x403034]
mov ecx, dword [sym.imp.MSVCR100.dll___initenv]
mov dword [ecx], eax
push dword [0x403034]
push dword [0x403038]
push dword [0x403030]
call section..text
add esp, 0xc
mov dword [0x403048], eax
cmp dword [0x40303c], ebx
jne 0x401217
push eax
call dword [sym.imp.MSVCR100.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.MSVCR100.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x40304c], ebx
jne 0x401225
call dword [sym.imp.MSVCR100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x403048]
call fcn.00401605
ret
call 0x572000
jmp 0x4010ae
Function at 0x10007006
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1000b225
push ebx
push esi
call fcn.1000b151
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1000b0e7
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000b1d2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b224
push edi
push eax
call fcn.10007ed0
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000b1f2
call fcn.10007e80
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000b223
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1000b0e7
add esp, 0x20
test eax, eax
jne 0x1000b211
push edi
call fcn.10007e80
jmp 0x1000b219
push ebx
call fcn.10007e80
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10012f60
Capabilities:
Parse pe header

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

Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219