joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471b60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf6f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x504108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0xc]
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.0049d8c0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [esi + 0x44]
push 0x104
push eax
push 0x4e8cb0
push dword [ebp + 8]
push str.masterpdf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, 0x2a
cmp ax, word [ebp - 0x218]
je 0x471c15
lea edx, [ebp - 0x218]
lea esi, [edx + 2]
nop dword [eax + eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x471bf0
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
mov ecx, edi
push edx
push eax
call fcn.00404180
mov esi, 1
jmp 0x471c17
xor esi, esi
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x471c39
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484ed0
mov esp, ebp
pop ebp
ret 8

Function at 0x472be0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push esi
mov esi, ecx
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x472c7f
push 0x2c
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0049d8c0
add esp, 0xc
mov dword [esp + 8], 0x30
lea eax, [esp + 8]
mov dword [esp + 0x1c], 0x400000
mov dword [esp + 0x30], str.Q360SoftMgrTimerWnd
mov dword [esp + 0x10], 0x472cd0
push eax
call dword [sym.imp.USER32.dll_RegisterClassExW]
push 0
push dword [esp + 0x20]
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esp + 0x58]
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x472c89
push esi
push 0xffffffffffffffeb
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x477a90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x868
mov eax, dword [0x504108]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
jne 0x477ac7
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00484ed0
mov esp, ebp
pop ebp
ret 0x14
push 0x800
lea eax, [ebp - 0x80c]
push 0
push eax
call fcn.0049d8c0
add esp, 0xc
lea eax, [ebp - 0x80c]
test edi, edi
je 0x477afa
push edi
push esi
push 0x4e8798
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x477b0a
push esi
push 0x4e86b4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0x40
lea eax, [ebp - 0x860]
push 0
push eax
call fcn.0049d8c0
mov ax, word [ebp + 0x18]
add esp, 0xc
mov word [ebp - 0x834], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x864], 0x44
movups xmmword [ebp - 0x81c], xmm0
push eax
lea eax, [ebp - 0x864]
mov dword [ebp - 0x838], 1
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x80c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x477ab2
cmp dword [ebp + 0x10], 0
je 0x477b99
push dword [ebp + 0x14]
push dword [ebp - 0x81c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push dword [ebp - 0x81c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x81c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x818]
call esi
mov ecx, dword [ebp - 8]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00484ed0
mov esp, ebp
pop ebp
ret 0x14

Function at 0x477bd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x504108]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x477c9d
mov eax, dword [0x4e8680]
xorps xmm0, xmm0
movups xmmword [ebp - 0x22], xmm0
push 0x38
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x5c]
movq qword [ebp - 0x12], xmm0
movq xmm0, qword [str.runas]
push 0
push eax
mov dword [ebp - 0xa], 0
mov word [ebp - 6], 0
movq qword [ebp - 0x24], xmm0
call fcn.0049d8c0
add esp, 0xc
mov dword [ebp - 0x60], 0x3c
lea eax, [ebp - 0x24]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x4c], ebx
push eax
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x5c], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x477c9d
cmp dword [ebp + 0x10], 0
je 0x477c7c
push dword [ebp + 0x14]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00484ed0
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00484ed0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x478d60
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4fed18
push 0x49f850
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x504108]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor ebx, ebx
push 0xf003f
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x478dcd
push 1
push str.ExtensionProtect
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test eax, eax
je 0x478dc8
mov ebx, 1
push eax
call edi
push esi
call edi
jmp 0x478dd3
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
jne 0x478ddc
lea eax, [ebx + 1]
jmp 0x478e41
xor ebx, ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x44], ebx
xor esi, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 4], ebx
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x44], eax
test eax, eax
je 0x478e33
push 0x10020
push str.ExtensionProtect
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
mov dword [ebp - 0x40], esi
test esi, esi
je 0x478e33
lea eax, [ebp - 0x38]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ebx, eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.00478e69
mov eax, ebx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00484ed0
mov esp, ebp
pop ebp
ret
Function at 0x47b650
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0b54
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x504108]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x5081d0]
test esi, esi
jne 0x47b6b5
push 0x140
call fcn.004849d2
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], esi
test eax, eax
je 0x47b6a6
mov ecx, eax
call fcn.0047b0b0
mov esi, eax
jmp 0x47b6a8
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [0x5081d0], esi
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x47b772
push 1
mov ecx, esi
call fcn.0041c300
push 0xe8
call fcn.004849d2
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x47b6f5
mov ecx, eax
call fcn.0040f8b0
mov edi, eax
jmp 0x47b6f7
xor edi, edi
push 3
push 0x83
mov ecx, edi
mov dword [ebp - 4], 0xffffffff
call fcn.0040f580
push 2
mov ecx, edi
call fcn.00410410
movaps xmm0, xmmword [0x4d3dc0]
sub esp, 0x10
mov eax, esp
mov ecx, edi
movups xmmword [eax], xmm0
call fcn.00410560
push edi
mov ecx, esi
call fcn.0041c320
push 0
mov ecx, esi
call fcn.0041ad30
movaps xmm0, xmmword [0x4d3dd0]
push 0
push ecx
mov eax, esp
push 0x40000
push SysReAllocString
push 0x4e8708
push ecx
mov dword [eax], 0
lea ecx, [ebp - 0x20]
mov eax, esp
movups xmmword [ebp - 0x20], xmm0
push 0
mov dword [eax], ecx
mov ecx, esi
call fcn.004199f0
push 1
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.0041c3e0
push eax
call fcn.004572f0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00484ed0
mov esp, ebp
pop ebp
ret
Function at 0x47fa80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1106
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x504108]
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 esi, 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 esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x47fb2c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x47fb2c
call fcn.00443270
mov esi, eax
jmp 0x47fc1c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x47fb4f
call fcn.00443270
jmp 0x47fc0f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x47fb6d
call fcn.00443270
jmp 0x47fc0f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x47fb8e
mov esi, 0x8007000e
jmp 0x47fc11
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0047e950
jmp 0x47fbb8
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x47fbcf
mov esi, 0x8007000e
jmp 0x47fc11
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x47fbef
call fcn.00443270
jmp 0x47fc0f
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.0047f920
mov esi, eax
test edi, edi
je 0x47fc1c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x47fc40
lea ecx, [ebp - 0x418]
call fcn.0047ee30
nop word [eax + eax]
mov eax, esi
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.00484ed0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x481240
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x481259
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x481265
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x481260
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4878ac
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4b9e32
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b9cb1

Function at 0x4c0505
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004c01c5
Function at 0x3202d86a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x3202d879
pop dword [ebp - 0x50]
mov eax, 0x3202d879
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x8a52615d
add dword [ebp - 0x60], 0xc3ffe3ee
mov dword [ebp - 0x5c], 0xd0cfd9d8
sub dword [ebp - 0x5c], 0x9e9c8d93
mov dword [ebp - 0x58], 0xfeccf5a3
add dword [ebp - 0x58], 0x4d7f4e8b
mov dword [ebp - 0x54], 0xd26dc957
add dword [ebp - 0x54], 0x2d9236a9
lea eax, [ebp - 0x60]
push eax
mov eax, 0xba414c3b
sub eax, 0x883c1bb7
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xaa06e44d
add dword [ebp - 0x60], 0xca6b8509
mov dword [ebp - 0x5c], 0xd9db6898
sub dword [ebp - 0x5c], 0x986f0723
mov dword [ebp - 0x58], 0xb91e0d0d
sub dword [ebp - 0x58], 0x55aea0a1
mov dword [ebp - 0x54], 0x637a9109
sub dword [ebp - 0x54], 0x637a9109
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xd892d6a7
add eax, 0x597259d5
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x464f2
push 0
call eax
mov ecx, 0x3b6c57e2
add ecx, 0xc493eb92
xor edx, edx
add edx, eax
mov ebx, 0x1a8142a8
add ebx, 0x17865f58
add ebx, dword [ebp - 0x50]
mov esi, 0x9bfbfc98
sub esi, 0x310c9f5
add dword [ebp - 0x28], ecx
mov edi, dword [ebx]
add dword [ebp - 0x24], esi
sub edi, esi
sub dword [ebp - 0x2c], 0x6533ee28
mov dword [edx], edi
xor dword [ebp - 0x2c], 0xfbbb3435
add edx, 4
add ebx, 4
loop 0x3202d998
add eax, 0x2d0a1743
add eax, 0xd2f6e960
mov ebx, eax
add eax, 5
mov ecx, 0x32000000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x1000ba20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
jne 0x1000ba3c
mov eax, 0x80004003
jmp 0x1000bb10
push 5
push 0x6a
mov ecx, 0x1005968c
call fcn.100100f0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1000ba64
mov eax, 0x8000ffff
jmp 0x1000bb10
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, 0x1005968c
call fcn.100100f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000ba96
mov eax, 0x8000ffff
jmp 0x1000bb10
push 1
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.10014890
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x1c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000c160
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000c160
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000c160
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x18], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1000cab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
jne 0x1000cacc
mov eax, 0x80004003
jmp 0x1000cba3
push 5
push 0xcb
mov ecx, 0x1005968c
call fcn.100100f0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1000caf7
mov eax, 0x8000ffff
jmp 0x1000cba3
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, 0x1005968c
call fcn.100100f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000cb29
mov eax, 0x8000ffff
jmp 0x1000cba3
push 1
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.10014890
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x1c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000cf90
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000cf90
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000cf90
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x18], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1000d9f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
jne 0x1000da0c
mov eax, 0x80004003
jmp 0x1000dae0
push 5
push 0x74
mov ecx, 0x1005968c
call fcn.100100f0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1000da34
mov eax, 0x8000ffff
jmp 0x1000dae0
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, 0x1005968c
call fcn.100100f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000da66
mov eax, 0x8000ffff
jmp 0x1000dae0
push 1
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.10014890
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x1c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000dfc0
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000dfc0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000dfc0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x18], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1000eab0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
jne 0x1000eacc
mov eax, 0x80004003
jmp 0x1000eba0
push 5
push 0x79
mov ecx, 0x1005968c
call fcn.100100f0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1000eaf4
mov eax, 0x8000ffff
jmp 0x1000eba0
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, 0x1005968c
call fcn.100100f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000eb26
mov eax, 0x8000ffff
jmp 0x1000eba0
push 1
mov eax, dword [ebp + 8]
add eax, 0x10
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.10014890
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x1c
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, dword [ebp + 8]
call fcn.1000eff0
mov edx, dword [ebp + 0xc]
mov dword [edx + 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp + 0xc]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c]
push edx
mov ecx, dword [ebp + 8]
call fcn.1000eff0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x14], eax
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000eff0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x24]
mov dword [edx + 0x18], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x100129e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x1004f39c]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x128], ecx
lea ecx, [ebp - 0x10]
call fcn.10014380
push 0x2001f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x128]
mov edx, dword [ecx]
push edx
lea ecx, [ebp - 0x10]
call fcn.10012990
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10012a40
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x11c], eax
lea ecx, [ebp - 0x10]
call fcn.10012850
mov eax, dword [ebp - 0x11c]
jmp 0x10012ad1
mov dword [ebp - 4], 0x100
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 0x118]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10012aa6
lea edx, [ebp - 0x118]
push edx
lea ecx, [ebp - 0x10]
call fcn.100129e0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10012a9d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x120], eax
lea ecx, [ebp - 0x10]
call fcn.10012850
mov eax, dword [ebp - 0x120]
jmp 0x10012ad1
mov dword [ebp - 4], 0x100
jmp 0x10012a47
lea ecx, [ebp - 0x10]
call fcn.100128e0
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x128]
call fcn.10012880
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x10]
call fcn.10012850
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1002cef5
mov esp, ebp
pop ebp
ret 4
Function at 0x100131c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
xor eax, eax
jne 0x100131c9
xor ecx, ecx
cmp dword [ebp + 0xc], 0
setne cl
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x100131e9
push 0x80004005
call fcn.1000e3c0
xor edx, edx
jne 0x100131cd
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10013220
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x10013229
xor ecx, ecx
cmp dword [ebp + 0xc], 0
setne cl
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x10013249
push 0x80004005
call fcn.1000e3c0
xor edx, edx
jne 0x1001322d
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 1
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], 1
jne 0x1001325a
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 7
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esp, ebp
pop ebp
ret 8