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

Disassembly:
xor dx, dx
mov esi, edi
lodsb al, byte [esi]
xchg cl, dl
ror al, cl
xor al, cl
xchg cl, dl
xor al, ah
stosb byte es:[edi], al
inc dx
loop 0x401483
ret

Function at 0x401494
Capabilities:
Encode data using xor

Disassembly:
xor dx, dx
mov esi, edi
lodsb al, byte [esi]
xor al, ah
xchg cl, dl
xor al, cl
rol al, cl
xchg cl, dl
stosb byte es:[edi], al
inc dx
loop 0x401499
ret

Function at 0x401080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x13c
mov eax, dword [0x404008]
xor eax, esp
mov dword [esp + 0x138], eax
push esi
lea eax, [esp + 8]
mov dword [esp + 4], 0
push eax
push 1
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionOpenWith
xorps xmm0, xmm0
mov dword [esp + 0x18], 0
push reloc.OLEAUT32.dll_SysReAllocString
movaps xmmword [esp + 0x34], xmm0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401191
mov esi, dword [esp + 8]
test esi, esi
je 0x401191
push pe_nt_image_headers32
push eax
lea eax, [esp + 0x40]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [esp + 0x1c], pe_nt_image_headers32
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0x403224
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x401191
lea ecx, [esp + 0x38]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401130
sub ecx, edx
sar ecx, 1
cmp ecx, 0x26
jne 0x401191
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x401191
lea eax, [esp + 4]
mov dword [esp + 0xc], 0x6a283fe2
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 0x4599ecfa
push eax
push 4
push 0
lea eax, [esp + 0x30]
mov dword [esp + 0x24], 0x9e8c491
push eax
mov dword [esp + 0x2c], 0x267b1357
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.004012f0
mov esp, ebp
pop ebp
ret

Function at 0x4011b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push 2
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
call fcn.00401080
mov ebx, eax
push 0
push ebx
call dword [sym.imp.ole32.dll_CoAllowSetForegroundWindow]
push str..pdf
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
test esi, esi
je 0x401232
mov edi, dword [ebx]
push 4
push esi
push dword [ebp - 4]
mov edi, dword [edi + 0xc]
mov ecx, edi
push ebx
call dword [0x403110]
call edi
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x403110]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x8007000e
call fcn.00401030
int3
Function at 0xefa000
Capabilities:
Decompress data using aplib

Disassembly:
jmp 0xefa00a
jmp 0xefc00f
jmp fcn.00aac0b0
Function at 0x100013d0
Capabilities:
Check mutex on windows

Disassembly:
push str.GlobalSSLUSR_LOGIN
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x100013f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x10001404
mov eax, 1
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret
xor eax, eax
ret

Function at 0x10001840
Capabilities:
Check mutex on windows

Disassembly:
push str.GlobalSSLUSR_LOGIN
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x10001864
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x1000186b
xor eax, eax
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x100165d0], 5
sbb eax, eax
neg eax
ret

Function at 0x10001970
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x100165d0]
cmp eax, 5
jge 0x100019c2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov esi, 5
push edi
mov edi, dword [sym.imp.MSVCRT.dll__beginthreadex]
sub esi, eax
lea eax, [eax*4 + 0x100165bc]
push eax
push 0
push 0
push 0x10001880
push 0
push 0
call edi
add esp, 0x18
test eax, eax
je 0x100019b4
inc dword [0x100165d0]
push eax
call ebx
mov eax, dword [0x100165d0]
dec esi
jne 0x10001990
pop edi
pop esi
pop ebx
push eax
push str.CreateThreads:_count___d
call fcn.10004980
add esp, 8
mov eax, 1
ret
Function at 0x10004980
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x40c
push esi
push edi
mov ecx, 0x102
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x10015194
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
mov edx, dword [esp + 0x418]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x13]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x41c]
mov byte [esp + 0x12], 0x20
push ecx
push edx
push 0x3ff
push eax
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x10
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
pop esi
add esp, 0x40c
ret

Function at 0x10004a00
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x70
push edi
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
mov dword [esp + 0xc], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 4]
mov dword [esp + 8], 0x63
push eax
push 1
push 0
push str.SOFTWARESangforSSL
push SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
pop edi
jne 0x10004a83
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 4]
lea eax, [esp + 0xc]
push edx
push eax
push 0
push str.Language
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp], 0
lea eax, [esp + 0xc]
push 0x1001663c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x10004ab8
lea ecx, [esp + 0xc]
push str.zh_CN
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
mov eax, str.zh_CN
je 0x10004ace
jmp 0x10004ac9
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
cmp ax, 0x804
mov eax, str.zh_CN
je 0x10004ace
mov eax, str.en_US
push 0x63
push eax
push 0x100165d8
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
add esp, 0xc
mov eax, 0x100165d8
add esp, 0x70
ret
Function at 0x10004c60
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push esi
push edi
mov edi, dword [esp + 0xa0]
test edi, edi
je 0x10004ce3
push 0x1001663c
push edi
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x10004ce3
push str.zh_CN
push edi
xor esi, esi
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x10004ca0
mov esi, 1
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x10004cec
mov dword [esp + 0xc], 5
neg esi
sbb esi, esi
and esi, 0x3fb
add esi, 0x409
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
pop edi
pop esi
add esp, 0x94
ret
cmp dword [esp + 0xc], 6
jb 0x10004ccc
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.SetThreadUILanguage
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10004ce3
neg esi
sbb esi, esi
and esi, 0x3fb
add esi, 0x409
push esi
call eax
pop edi
pop esi
add esp, 0x94
ret

Function at 0x10005060
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.dbghelp.dll_SymGetModuleBase]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1000508b
mov eax, dword [ebp - 0x20]
jmp 0x1000515b
push 0x1c
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x10005158
push 0x104
lea edx, [ebp - 0x330]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x22c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x104
lea edx, [ebp - 0x128]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, 0x100151f8
lea edx, [ebp - 0x128]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
add edi, 0xffffffff
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0
mov ecx, dword [ebp - 0x18]
push ecx
push 0
mov edx, dword [ebp - 0x24]
neg edx
sbb edx, edx
lea eax, [ebp - 0x330]
and edx, eax
push edx
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.dbghelp.dll_SymLoadModule]
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100067c0
Capabilities:
Delete registry key

Disassembly:
mov eax, 0x10016728
push esi
test eax, eax
jne 0x100067e3
push str.CLSID1465DEB2_3910_4187_967A_2CB6E8680201
push SysReAllocString
mov esi, 0x80070057
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov eax, esi
pop esi
ret
mov esi, dword [0x10016738]
cmp dword [esi], 0
je 0x10006836
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100067fb
call eax
test eax, eax
jne 0x10006820
push 0
call dword [esi + 4]
cmp dword [0x10016728], 0x84
jne 0x10006820
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1000682e
push 0
call eax
mov ecx, dword [esi]
push eax
push ecx
call fcn.1000aba0
cmp dword [0x10016728], 0x64
jne 0x1000682e
add esi, 0x1c
jmp 0x10006831
add esi, 0x24
cmp dword [esi], 0
jne 0x100067ee
push 0
push 0x10016728
call fcn.1000ad90
push str.CLSID1465DEB2_3910_4187_967A_2CB6E8680201
push SysReAllocString
xor esi, esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
mov eax, esi
pop esi
ret
Function at 0x10006860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100104e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
push str.CLSID1465DEB2_3910_4187_967A_2CB6E8680201Implemented_Categories7DD95802_9882_11CF_9FA9_00AA006C42C4
push SysReAllocString
mov dword [esp + 0x30], esi
mov dword [esp + 0x24], esi
call edi
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
jne 0x100069bb
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, esi
je 0x100068c1
push ecx
call ebx
mov ecx, dword [esp + 0x10]
cmp eax, esi
mov dword [esp + 0xc], ecx
jne 0x100069bf
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
push ecx
push 0x20019
push esi
push str.CLSID1465DEB2_3910_4187_967A_2CB6E8680201Implemented_Categories7DD95801_9882_11CF_9FA9_00AA006C42C4
push SysReAllocString
call edi
cmp eax, esi
jne 0x100069bb
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, esi
je 0x10006901
push ecx
call ebx
mov ecx, dword [esp + 0x10]
cmp eax, esi
mov dword [esp + 0xc], ecx
jne 0x100069bf
lea edx, [esp + 0x10]
mov dword [esp + 0x10], esi
push edx
push 0x20019
push esi
push str.CLSIDFFD2FD1F_C991_4A2F_8557_CDB11E680201Implemented_Categories7DD95802_9882_11CF_9FA9_00AA006C42C4
push SysReAllocString
call edi
cmp eax, esi
jne 0x100069bb
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, esi
je 0x10006941
push ecx
call ebx
mov ecx, dword [esp + 0x10]
cmp eax, esi
mov dword [esp + 0xc], ecx
jne 0x100069bf
lea eax, [esp + 0x10]
mov dword [esp + 0x10], esi
push eax
push 0x20019
push esi
push str.CLSIDFFD2FD1F_C991_4A2F_8557_CDB11E680201Implemented_Categories7DD95801_9882_11CF_9FA9_00AA006C42C4
push SysReAllocString
call edi
cmp eax, esi
jne 0x100069bb
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, esi
je 0x10006979
push ecx
call ebx
mov ecx, dword [esp + 0x10]
cmp eax, esi
mov dword [esp + 0xc], ecx
jne 0x100069bf
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
push ecx
push 0x20019
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_ObjectsFFD2FD1F_C991_4A2F_8557_CDB11E680201
push reloc.OLEAUT32.dll_SysReAllocString
call edi
cmp eax, esi
jne 0x100069bb
lea ecx, [esp + 0xc]
call fcn.10008a60
mov ecx, dword [esp + 0x10]
cmp eax, esi
mov dword [esp + 0xc], ecx
je 0x100069da
jmp 0x100069bf
mov ecx, dword [esp + 0xc]
cmp ecx, esi
je 0x100069c6
push ecx
call ebx
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
cmp ecx, esi
je 0x100069e1
push ecx
call ebx
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1000a3b0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x100106db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x134]
mov eax, dword [ebx]
lea ecx, [esp + 0x14]
mov dword [esp + 0x12c], edi
push ecx
push 0x2001f
push edi
push edx
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, edi
jne 0x1000a428
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, edi
je 0x1000a418
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
cmp eax, edi
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x1000a43a
jmp 0x1000a42c
mov ecx, dword [esp + 0xc]
cmp ecx, edi
je 0x1000a4d5
push ecx
jmp 0x1000a4cf
lea eax, [esp + 0x1c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push edi
push edi
lea edx, [esp + 0x1c]
push edi
lea eax, [esp + 0x34]
push edx
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x1000a4a0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x10]
call fcn.1000a3b0
mov ebx, eax
cmp ebx, edi
jne 0x1000a4f1
lea edx, [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push edi
push edi
push edi
lea ecx, [esp + 0x34]
push eax
push ecx
push edi
push edx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x1000a462
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x1000a4b3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x134]
mov ecx, dword [ebx]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x1000a4d5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x124
ret 4
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x1000a500
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1000a4d7
Function at 0x1000a970
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, 0x1008
call fcn.1000f1e0
push esi
push 0
push 0
mov esi, dword [esp + 0x1018]
push 0
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
mov dword [esp + 0x34], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x1000a9ba
xor eax, eax
pop esi
add esp, 0x1008
ret 4
mov eax, dword [esp + 4]
cmp eax, 1
jne 0x1000aa01
push 0
push 0
push 0
lea ecx, [esp + 0x14]
push 0
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push esi
mov dword [esp + 0x28], 0x1000
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x1000a9ae
mov al, byte [esp + 0xc]
test al, al
je 0x1000a9ae
mov eax, 1
pop esi
add esp, 0x1008
ret 4
xor ecx, ecx
pop esi
cmp ecx, eax
sbb eax, eax
neg eax
add esp, 0x1008
ret 4

Function at 0x1000cba0
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push edi
xor edi, edi
cmp ebp, edi
je 0x1000cc71
cmp dword [esp + 0x1c], edi
je 0x1000cc71
push ebx
lea eax, [esp + 0x1c]
push esi
push eax
push ebp
mov dword [esp + 0x28], edi
mov dword [esp + 0x20], edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, edi
je 0x1000cc65
mov ecx, dword [sym.imp.MSVCP60.dll_struct_std::nothrow_t_const_std::nothrow]
push ecx
push esi
call fcn.1000f920
mov ebx, eax
add esp, 8
cmp ebx, edi
je 0x1000cc65
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebx
and ecx, 3
push esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x28]
push eax
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1000cc5c
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
xor eax, eax
push 0x10015fb8
push ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x1000cc5c
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x18], 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x18]
pop esi
pop ebx
pop edi
pop ebp
add esp, 0xc
ret
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret

Function at 0x1000d0c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov edx, dword [esp + 8]
pop edi
cmp edx, 6
sbb eax, eax
inc eax
add esp, 0x94
ret
Function at 0x1000e390
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebp
push esi
mov esi, dword [esp + 0x118]
test esi, esi
je 0x1000e575
mov eax, dword [esp + 0x11c]
test eax, eax
je 0x1000e575
mov ebp, dword [esp + 0x120]
cmp ebp, 0x40
jb 0x1000e575
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x26
jne 0x1000e575
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x103
lea eax, [esp + 0x14]
cmp byte [eax], 0
je 0x1000e400
inc eax
dec ecx
jne 0x1000e3f5
jmp 0x1000e444
test ecx, ecx
je 0x1000e444
lea eax, [esp + 0xc]
test eax, eax
je 0x1000e415
mov eax, 0x103
sub eax, ecx
jmp 0x1000e419
mov eax, dword [esp + 0xc]
mov edx, 0x103
sub edx, eax
lea eax, [esp + eax + 0x14]
je 0x1000e444
mov edi, str.CLSID_
sub edi, eax
mov cl, byte [edi + eax]
test cl, cl
je 0x1000e43c
mov byte [eax], cl
inc eax
dec edx
jne 0x1000e42d
jmp 0x1000e440
test edx, edx
jne 0x1000e441
dec eax
mov byte [eax], 0
mov ecx, 0x103
lea eax, [esp + 0x14]
pop edi
cmp byte [eax], 0
je 0x1000e459
inc eax
dec ecx
jne 0x1000e44e
jmp 0x1000e498
test ecx, ecx
je 0x1000e498
lea edx, [esp + 8]
test edx, edx
je 0x1000e46e
mov eax, 0x103
sub eax, ecx
jmp 0x1000e472
mov eax, dword [esp + 8]
mov edx, 0x103
sub edx, eax
lea eax, [esp + eax + 0x10]
je 0x1000e498
sub esi, eax
mov cl, byte [esi + eax]
test cl, cl
je 0x1000e490
mov byte [eax], cl
inc eax
dec edx
jne 0x1000e481
jmp 0x1000e494
test edx, edx
jne 0x1000e495
dec eax
mov byte [eax], 0
mov ecx, 0x103
lea eax, [esp + 0x10]
cmp byte [eax], 0
je 0x1000e4ac
inc eax
dec ecx
jne 0x1000e4a1
jmp 0x1000e4f0
test ecx, ecx
je 0x1000e4f0
lea eax, [esp + 8]
test eax, eax
je 0x1000e4c1
mov eax, 0x103
sub eax, ecx
jmp 0x1000e4c5
mov eax, dword [esp + 8]
mov edx, 0x103
sub edx, eax
lea eax, [esp + eax + 0x10]
je 0x1000e4f0
mov esi, str.InprocServer32
sub esi, eax
mov cl, byte [esi + eax]
test cl, cl
je 0x1000e4e8
mov byte [eax], cl
inc eax
dec edx
jne 0x1000e4d9
jmp 0x1000e4ec
test edx, edx
jne 0x1000e4ed
dec eax
mov byte [eax], 0
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 8]
push ecx
push 0x20219
lea edx, [esp + 0x18]
push 0
push edx
push SysReAllocString
mov dword [esp + 0x1c], 0
call esi
test eax, eax
je 0x1000e536
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push 0x20119
push 0
push ecx
push SysReAllocString
call esi
test eax, eax
jne 0x1000e575
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
mov dword [esp + 0xc], ebp
push edx
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 8]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop esi
pop ebp
sete al
add esp, 0x10c
ret
pop esi
xor eax, eax
pop ebp
add esp, 0x10c
ret
Function at 0x4bb7ad
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c33c8
cmp edx, dword [eax]
je 0x4bb7cf
add eax, 8
inc ecx
cmp eax, 0x4c3458
jl 0x4bb7c0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c33c8]
jne 0x4bb8fd
mov eax, dword [0x4c8df0]
cmp eax, 1
je 0x4bb8d7
test eax, eax
jne 0x4bb800
cmp dword [0x4c32f0], 1
je 0x4bb8d7
cmp edx, 0xfc
je 0x4bb8fd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4bb837
lea eax, [ebp - 0x1a4]
push 0x4c09d8
push eax
call fcn.004bc190
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bc620
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4bb87a
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bc620
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4c09d4
push edi
call fcn.004be4f0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4c09b8
push eax
call fcn.004bc190
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004bc1a0
lea eax, [ebp - 0xa0]
push 0x4c09b4
push eax
call fcn.004bc1a0
push dword [esi + 0x4c33cc]
lea eax, [ebp - 0xa0]
push eax
call fcn.004bc1a0
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4c098c
push eax
call fcn.004be464
add esp, 0x2c
pop edi
jmp 0x4bb8fd
lea eax, [ebp + 8]
lea esi, [esi + 0x4c33cc]
push 0
push eax
push dword [esi]
call fcn.004bc620
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