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

Disassembly:
push 0xffffffffffffffff
push 0x40f2b1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push ebx
push esi
lea ecx, [esp + 0xc]
call fcn.00401ca0
xor ebx, ebx
lea ecx, [esp + 8]
mov dword [esp + 0x1ac], ebx
call fcn.00401ca0
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ac], 1
call fcn.00401ca0
mov eax, dword [esp + 0x1c0]
lea ecx, [esp + 0x20]
push eax
push str.SKU_d
push ecx
mov byte [esp + 0x1b8], 2
call fcn.004072fa
mov ecx, dword [esp + 0x1c8]
add esp, 0xc
lea edx, [esp + 0xc]
lea eax, [esp + 0x20]
push edx
push eax
call fcn.00401550
test al, al
je 0x403909
lea ecx, [esp + 0x10]
push ecx
push 0x4130b8
push ebx
lea ecx, [esp + 0x18]
call fcn.004021a0
lea edx, [esp + 0xc]
lea ecx, [esp + 8]
push edx
mov esi, eax
call fcn.00401d70
push esi
push ebx
lea ecx, [esp + 0x10]
call fcn.00401da0
lea ecx, [esp + 8]
call fcn.00401f90
cmp byte [eax], 0x20
jne 0x403800
push 1
push ebx
lea ecx, [esp + 0x10]
call fcn.00401da0
lea ecx, [esp + 8]
call fcn.00401f90
cmp byte [eax], 0x20
je 0x4037e6
lea eax, [esp + 0x1c]
lea ecx, [esp + 8]
push eax
push 0x20019
push ebx
call fcn.00401f90
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x403909
lea ecx, [esp + 0x14]
lea edx, [esp + 0xa0]
push ecx
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x1c]
push edx
push eax
push ebx
push str.InstallPath
push ecx
mov dword [esp + 0x2c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x403909
cmp dword [esp + 0x18], 1
jne 0x403909
lea edx, [esp + 0xa0]
push 0x5c
push edx
lea esi, [esp + 0xa8]
call fcn.00406610
add esp, 8
cmp eax, ebx
je 0x403895
lea esi, [eax + 1]
push 0x5c
push esi
call fcn.00406610
add esp, 8
cmp eax, ebx
jne 0x403883
cmp esi, ebx
je 0x40389b
mov byte [esi], bl
mov eax, dword [esp + 0x1b8]
mov edx, dword [esp + 0x1b4]
lea ecx, [esp + 0xa0]
push eax
push ecx
push edx
call fcn.00406d10
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ac], 1
call fcn.00401cd0
lea ecx, [esp + 8]
mov byte [esp + 0x1ac], bl
call fcn.00401cd0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00401cd0
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 0x19c]
mov dword fs:[0], ecx
add esp, 0x1a8
ret
lea ecx, [esp + 0x10]
mov byte [esp + 0x1ac], 1
call fcn.00401cd0
lea ecx, [esp + 8]
mov byte [esp + 0x1ac], bl
call fcn.00401cd0
lea ecx, [esp + 0xc]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00401cd0
mov ecx, dword [esp + 0x1a4]
pop esi
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a8
ret
Function at 0x403960
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x244
lea ecx, [esp]
push ebx
push 1
push eax
push 0x104
push ecx
mov ebx, 2
call fcn.00403720
add esp, 0x10
cmp al, 1
jne 0x403a3d
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileA]
push esi
push edi
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 3
jb 0x403a14
mov edi, str.patches.
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x114]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x403a0d
lea edx, [esp + 0x114]
push edx
push esi
call ebp
test eax, eax
je 0x403a0d
lea eax, [esp + 0x114]
push eax
push esi
call ebp
test eax, eax
jne 0x4039fe
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x258]
mov eax, ebx
push eax
push ecx
lea edx, [esp + 0x18]
push 0x104
push edx
inc ebx
call fcn.00403720
add esp, 0x10
cmp al, 1
je 0x403996
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x244
ret
Function at 0x404ea0
Capabilities:
Shutdown system
Terminate process

Disassembly:
sub esp, 0xb0
lea eax, [esp]
push esi
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [esp + 0xc]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov eax, dword [esp + 4]
push 0
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x404f37
lea ecx, [esp + 0x34]
push 0x80
push ecx
push 6
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0
lea edx, [esp + 0x38]
push 0x4130e8
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.0040710a
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
lea eax, [esp + 0x20]
push 0
push eax
call esi
test eax, eax
je 0x404f7d
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [esp + 0x20]
push ecx
call edi
lea edx, [esp + 0x20]
push edx
call ebx
push 0
push 0
lea eax, [esp + 0x28]
push 0
push eax
call esi
test eax, eax
jne 0x404f5c
pop edi
pop ebx
pop esi
add esp, 0xb0
ret

Function at 0x405250
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x358
push ebx
push ebp
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x20]
mov ebx, dword [esp + 0x36c]
rep stosd dword es:[edi], eax
mov ecx, 0x80
lea edi, [esp + 0x64]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea edi, [ebx + 0x100]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x64]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x20], 0x44
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x64]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx + 0x200]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x24]
lea edx, [esp + 0x68]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x405326
push eax
lea eax, [esp + 0x26c]
push 0x100
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov dword [ebx + 0x300], ecx
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov dword [ebx + 0x304], edx
mov dword [ebx + 0x308], eax
mov dword [ebx + 0x30c], ecx
pop ebp
mov al, 1
pop ebx
add esp, 0x358
ret
Function at 0x4055a0
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x28
push esi
push edi
call fcn.00405a80
mov eax, dword [str.150C6462_4E49_4ccf_B073_57579569D994]
xor edi, edi
push eax
push edi
push edi
mov dword [0x414318], edi
mov dword [0x41431c], edi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, edi
mov dword [0x414318], eax
je 0x40565b
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
je 0x40565b
push edi
push str.Generals.dat
lea ecx, [esp + 0x1c]
call fcn.004025c0
push edi
lea ecx, [esp + 0x18]
call fcn.004026f0
test al, al
lea ecx, [esp + 0x14]
je 0x405656
call fcn.00402bd0
push edi
push eax
push edi
lea ecx, [esp + 0x14]
push 4
push ecx
push 0xffffffffffffffff
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], 1
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, edi
mov dword [0x41431c], eax
je 0x405645
call esi
cmp eax, 0xb7
jne 0x405652
mov eax, dword [0x41431c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x41431c], edi
lea ecx, [esp + 0x14]
call fcn.00402650
pop edi
pop esi
add esp, 0x28
ret
Function at 0x408cec
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411430
push 0x40bc24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
mov eax, dword [0x4143cc]
test eax, eax
je 0x408d34
mov dword [ebp - 4], 1
call eax
jmp 0x408d30
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
call 0x408d3d
jmp 0x40c9e5
push 0xa
call fcn.0040bd35
push 0x16
call fcn.0040e439
pop ecx
pop ecx
push 3
call fcn.0040711b

Function at 0x408d42
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x411448
push 0x40bc24
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
mov eax, dword [fcn.00408cec]
test eax, eax
je 0x408d8a
mov dword [ebp - 4], 1
call eax
jmp 0x408d86
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
call 0x408d93
jmp fcn.00408cec

Function at 0x40bd35
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x413d48
cmp edx, dword [eax]
je 0x40bd57
add eax, 8
inc ecx
cmp eax, 0x413dd8
jl 0x40bd48
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x413d48]
jne 0x40be85
mov eax, dword [0x4143a8]
cmp eax, 1
je 0x40be5f
test eax, eax
jne 0x40bd88
cmp dword [0x413564], 1
je 0x40be5f
cmp edx, 0xfc
je 0x40be85
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40bdbf
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00409e30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00407f70
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40be02
lea eax, [ebp - 0x1a4]
push eax
call fcn.00407f70
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4117c4
push edi
call fcn.00406d10
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00409e30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00409e40
lea eax, [ebp - 0xa0]
push 0x4117a4
push eax
call fcn.00409e40
push dword [esi + 0x413d4c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00409e40
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040daab
add esp, 0x2c
pop edi
jmp 0x40be85
lea eax, [ebp + 8]
lea esi, [esi + 0x413d4c]
push 0
push eax
push dword [esi]
call fcn.00407f70
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4060b6
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.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x67590aea
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2c942883
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret

Function at 0x408930
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop eax
or esi, esi
call fcn.00408958
push ecx
pop esi
add esi, esi
xor dword [ebx], eax
add esi, 1
and ecx, ecx
add ebx, 1
mov ecx, ecx
cmp ebx, edx
jne fcn.00408930
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408f6c
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x12fb0c0b
nop
nop
nop
nop
nop
xor dword [eax], esi
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x430060
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e3d0
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x330f289e
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7bec341a
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x2c462829
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x3fc46ba1
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x75851175
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x10001c40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000c04d
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x10015540]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.10001d10
mov dword [esi], vtable.ATL::CComObject_class_CDtmCallbackSynchronizer_.0
mov dword [esi + 4], vtable.ATL::CComObject_class_CDtmCallbackSynchronizer_.1.0
mov dword [esi + 8], vtable.ATL::CComObject_class_CDtmCallbackSynchronizer_.2.0
mov dword [esi + 0xc], vtable.ATL::CComObject_class_CDtmCallbackSynchronizer_.3.0
mov dword [esi + 0x10], vtable.ATL::CComObject_class_CDtmCallbackSynchronizer_.4.0
mov dword [esi + 0x14], vtable.ATL::CComObject_class_CDtmCallbackSynchronizer_.5.0
mov dword [esi + 0x18], vtable.ATL::CComObject_class_CDtmCallbackSynchronizer_.6.0
mov dword [esi + 0x1c], vtable.ATL::CComObject_class_CDtmCallbackSynchronizer_.7.0
mov dword [esi + 0x20], vtable.ATL::CComObject_class_CDtmCallbackSynchronizer_.8.0
mov dword [esi + 0x24], vtable.ATL::CComObject_class_CDtmCallbackSynchronizer_.9.0
mov dword [esi + 0x28], vtable.ATL::CComObject_class_CDtmCallbackSynchronizer_.10.0
mov dword [esi + 0x2c], vtable.ATL::CComObject_class_CDtmCallbackSynchronizer_.11.0
mov dword [esi + 0x30], vtable.ATL::CComObject_class_CDtmCallbackSynchronizer_.12.0
mov dword [esi + 0x34], vtable.ATL::CComObject_class_CDtmCallbackSynchronizer_.13.0
mov dword [esi + 0x38], vtable.ATL::CComObject_class_CDtmCallbackSynchronizer_.14.0
mov ecx, dword [0x10016d60]
mov dword [ebp - 4], 0
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10006100
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x10015540]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
mov dword [ebp - 0x210], 0
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x218]
push edi
push edx
mov edi, dword [eax + 4]
or edi, 0x2001f
mov dword [ebp - 0x220], eax
push edi
push 0
push ecx
push dword [eax]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
mov eax, dword [ebp - 0x210]
test esi, esi
jne 0x10006261
xor esi, esi
test eax, eax
je 0x1000618c
push eax
call ebx
mov esi, eax
mov eax, dword [ebp - 0x218]
and edi, 0x300
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], edi
test esi, esi
jne 0x10006261
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x228]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], 0x100
push ecx
lea ecx, [ebp - 0x204]
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x10006227
nop dword [eax]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x210]
call fcn.10006100
mov esi, eax
test esi, esi
jne 0x1000625b
lea eax, [ebp - 0x228]
mov dword [ebp - 0x214], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x210]
call edi
test eax, eax
je 0x100061e0
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x1000623e
push eax
call ebx
mov dword [ebp - 0x210], 0
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x20c], 0
call fcn.10003a80
mov esi, eax
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x10006268
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000b113
mov esp, ebp
pop ebp
ret 4
Function at 0x10006420
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000c55b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x10015540]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x100064cc
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x100064cc
call fcn.10002e40
mov edi, eax
jmp 0x100065e9
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x100064ef
call fcn.10002e40
jmp 0x100065dc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x1000650d
call fcn.10002e40
jmp 0x100065dc
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x1000652e
mov edi, 0x8007000e
jmp 0x100065de
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
jne 0x10006622
cmp eax, 0xffffffff
ja 0x10006622
cmp eax, 0x400
jbe 0x1000655f
push eax
lea ecx, [ebp - 0x418]
call fcn.10002cc0
jmp 0x10006585
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x10006585
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x1000659c
mov edi, 0x8007000e
jmp 0x100065de
push edi
push dword [ebp - 0x418]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x100065bc
call fcn.10002e40
jmp 0x100065dc
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.10006280
mov edi, eax
test esi, esi
je 0x100065e9
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x10006602
lea ecx, [ebp - 0x418]
call fcn.10003cc0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1000b113
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.10002f50
int3