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

Disassembly:
jmp 0x11837de
pushal
call 0x11837e4
pop ebp
sub ebp, 0x10
sub ebp, 0xd837d4
jmp 0x11837fa
mov eax, 0xd837d4
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ba
mov edx, 0x777004de
mov edx, 0xba000005
fiadd word [eax + esi*2]
ja 0x1183842
xor byte [eax], dl
inc eax
dec ecx
adc byte [eax + 0x49], al
jne 0x1183811
jmp 0x1183824
push ebp
adc edx, dword [ebp + 0x57]
loop 0x1183808
invalid
push ebp
pop edi
rcr dh, cl
invalid

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

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
jmp 0x50a204

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
nop
mov ecx, 0x158f3b9a
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x63a72942
nop
nop
nop
nop
test eax, eax
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401078
Capabilities:
Get graphical window text

Disassembly:
jmp 0x410e30
call fcn.0045de00
test eax, eax
je 0x410e4f
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextW]
ret
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebp, ebp
test edi, edi
je 0x410ed0
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x410ed0
lea ecx, [esi + esi]
xor eax, eax
mov edx, ecx
push esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.005eef68
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x410ed0
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 esi
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ebp, eax
test ebp, ebp
je 0x410ed0
push esi
mov esi, dword [esp + 0x1c]
push esi
push 0xffffffffffffffff
push ebx
xor ebp, ebp
call fcn.004010af
add esp, 0x10
test eax, eax
je 0x410ed0
push esi
call fcn.0042be80
add esp, 4
mov ebp, eax
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret
Function at 0x4010a0
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x411780
push esi
push edi
mov esi, ecx
call fcn.0045ddb0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411894
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.NtDll.dll
call ebx
push 0x67ea50
mov dword [esi + 0x38], eax
call ebx
push 0x67ee54
mov dword [esi + 0x3c], eax
call ebx
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x40], eax
test ecx, ecx
pop ebx
je 0x4118e6
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x4118e6
test eax, eax
je 0x4118e6
push str.NtQuerySystemInformation
push ecx
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x38]
push str.NtQueryInformationProcess
push eax
call edi
mov ecx, dword [esi + 0x40]
push str.EnumProcesses
push ecx
mov dword [esi + 0x30], eax
call edi
mov edx, dword [esi + 0x40]
push str.GetModuleFileNameExA
push edx
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x40]
push str.GetModuleFileNameExW
push eax
call edi
mov dword [esi + 0x28], eax
call fcn.0045de00
test eax, eax
je 0x411835
mov ecx, dword [esi + 0x3c]
push str.ProcessIdToSessionId
push ecx
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x411876
mov eax, dword [esi + 0x30]
test eax, eax
je 0x411876
mov eax, dword [esi + 0x20]
test eax, eax
je 0x411876
mov eax, dword [esi + 0x24]
test eax, eax
je 0x411876
mov eax, dword [esi + 0x28]
test eax, eax
je 0x411876
mov dword [esi + 0x44], 1
call fcn.0045de00
test eax, eax
je 0x411876
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x411876
mov dword [esi + 0x44], 0
mov edx, dword [esi + 0x3c]
push str.IsWow64Process
push edx
call edi
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x40]
push str.GetProcessImageFileNameW
push eax
call edi
mov dword [esi + 0x10], eax
jmp 0x4118e6
push 0x67ea50
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x3c], eax
je 0x4118e6
push str.CreateToolhelp32Snapshot
push eax
call edi
mov ecx, dword [esi + 0x3c]
push str.Process32First
push ecx
mov dword [esi + 0x14], eax
call edi
mov edx, dword [esi + 0x3c]
push str.Process32Next
push edx
mov dword [esi + 0x18], eax
call edi
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x1c], eax
test ecx, ecx
je 0x4118e6
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4118e6
test eax, eax
je 0x4118e6
mov dword [esi + 0x48], 1
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x411906
push str.GetLongPathNameA
push eax
call edi
mov dword [esi + 4], eax
mov eax, dword [esi + 0x3c]
push str.GetLongPathNameW
push eax
call edi
mov dword [esi + 8], eax
mov eax, dword [esi + 0x48]
test eax, eax
jne 0x41191b
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x41191b
mov ecx, esi
call fcn.004015a5
pop edi
pop esi
ret
Function at 0x4011a4
Capabilities:
Check mutex on windows

Disassembly:
jmp 0x408450
sub esp, 0x208
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 6]
mov word [esp + 4], 0
push 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 8]
push eax
push str.TEC_OCULAR__AGENT_V3_MUTEX_AGENT
call fcn.004016fe
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
pop edi
jne 0x4084b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 5
sete dl
mov eax, edx
add esp, 0x208
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
add esp, 0x208
ret

Function at 0x4011d1
Capabilities:
Get common file path

Disassembly:
jmp 0x4041c0
mov eax, dword [0x69f5cc]
test eax, eax
jne 0x40420e
mov dword [0x69f5cc], 1
call fcn.0045dd20
test eax, eax
push 0x104
push 0x69f5d0
je 0x404208
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
jbe 0x40420e
push str.SysWow64
push 0x69f5d0
call fcn.0042be31
add esp, 8
mov eax, 0x69f5d0
ret
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov eax, 0x69f5d0
ret
Function at 0x401569
Capabilities:
Read .ini file

Disassembly:
jmp 0x419a00
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x61a1db
push eax
mov eax, dword [0x6a30f8]
mov dword fs:[0], esp
sub esp, 0xe14
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
jne 0x419c39
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x61e]
mov word [esp + 0x61c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x416]
mov word [esp + 0x414], bx
rep stosd dword es:[edi], eax
push 0x632750
mov dword [0x6a30f8], 1
mov dword [esp + 0xc], ebx
stosw word es:[edi], ax
call fcn.004014ce
push eax
lea eax, [esp + 0x41c]
push 0x679e38
push eax
call fcn.0042c083
add esp, 0x10
lea ecx, [esp + 0x414]
lea edx, [esp + 0x61c]
push ecx
push 0x400
push edx
push 0x69cacc
push 0x632780
push 0x632768
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, ebx
jbe 0x419afa
cmp word [esp + 0xe1a], bx
jne 0x419afa
lea eax, [esp + 0x14]
push 0x400
lea ecx, [esp + 0x620]
push eax
push ecx
call fcn.0050b550
add esp, 0xc
mov dword [esp + 8], eax
jmp 0x419afe
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x419c03
lea ecx, [esp + 0xc]
call fcn.0045f140
push 0x20019
push str.SOFTWAREClassesCLSIDAFFAEF68_CDC5_4aad_9D3F_997C0D55927BProgID
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [esp + 0x18]
mov dword [esp + 0xe30], ebx
call fcn.0045f2b0
test eax, eax
je 0x419b7a
lea edx, [esp + 8]
lea ecx, [esp + 0xc]
push edx
push 0x632788
call fcn.0045f6d0
cmp eax, ebx
je 0x419b7a
mov ecx, dword [esp + 8]
cmp ecx, 0x400
jae 0x419b6d
mov edx, ecx
push esi
mov esi, eax
lea edi, [esp + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x419b71
mov dword [esp + 8], ebx
push eax
call fcn.005eef91
add esp, 4
lea ecx, [esp + 0xc]
call fcn.0045f300
lea ecx, [esp + 0xc]
mov dword [esp + 0xe24], 0xffffffff
call fcn.0045f230
mov eax, dword [esp + 8]
cmp eax, ebx
jne 0x419c03
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x61c]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [esp + 0x620]
push eax
push 0x69cacc
push 0x632788
push 0x632790
call dword [sym.imp.KERNEL32.dll_GetProfileStringW]
test eax, eax
jbe 0x419bfb
cmp word [esp + 0xe1a], bx
jne 0x419bfb
lea ecx, [esp + 0x14]
push 0x400
lea edx, [esp + 0x620]
push ecx
push edx
call fcn.0050b550
add esp, 0xc
jmp 0x419bff
mov eax, dword [esp + 8]
cmp eax, ebx
je 0x419c39
cmp eax, 4
jbe 0x419c39
lea ecx, [esp + 0x14]
test ecx, ecx
je 0x419c39
cmp dword [esp + 0x14], 1
je 0x419c39
mov edx, dword [esp + 0x30]
and edx, 0xffff
lea ecx, [edx + edx + 0x22]
cmp ecx, ebx
je 0x419c39
add eax, 0xfffffffc
cmp ecx, eax
ja 0x419c39
mov eax, dword [esp + 0x1c]
mov dword [0x6a30f4], eax
mov ecx, dword [esp + 0xe1c]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0xe20
ret
Function at 0x4015cd
Capabilities:
Acquire debug privileges

Disassembly:
jmp 0x411a50
mov eax, dword [0x6a30d0]
test eax, eax
jne 0x411a6f
push 1
push str.SeDebugPrivilege
push 0xffffffffffffffff
call fcn.00463ae0
add esp, 0xc
mov dword [0x6a30d0], eax
ret

Function at 0x4015f5
Capabilities:
Get disk information

Disassembly:
jmp 0x412be0
push 0xffffffffffffffff
push 0x619ec6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x224
push ebx
push ebp
push esi
mov esi, dword [esp + 0x240]
push edi
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ecx, esi
call fcn.0044cd60
mov ebp, dword [esp + 0x248]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.0044cd60
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
test ecx, edx
je 0x412d19
mov edx, dword [0x67ef5c]
mov cx, word [0x67ef60]
mov dword [esp + 0x18], edx
add word [esp + 0x18], ax
lea edx, [esp + 0x18]
mov word [esp + 0x1c], cx
push edx
lea ecx, [esp + 0x28]
mov word [esp + 0x22], bx
call fcn.00445810
mov eax, dword [esi + 4]
lea ecx, [esp + 0x24]
push ecx
push eax
mov ecx, esi
mov dword [esp + 0x244], ebx
call fcn.0044d3f0
mov edx, dword [0x638b24]
mov dword [esp + 0x14], edx
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x2c]
push 0x104
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x248], 1
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
push edx
mov word [esp + 0x236], bx
call fcn.00446360
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.0044d3f0
lea ecx, [esp + 0x14]
mov byte [esp + 0x23c], bl
call fcn.00446080
lea ecx, [esp + 0x24]
mov dword [esp + 0x23c], 0xffffffff
call fcn.00446080
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
inc eax
shl edx, 1
cmp eax, 0x1a
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], edx
jb 0x412c3b
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x230
ret 8
Function at 0x4016b3
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x420090
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x42016d
push esi
call fcn.0042be80
add esp, 4
cmp eax, 0x18
jb 0x42016d
mov ax, word [esi]
mov cx, word [esi + 0x10]
mov dx, word [esi + 0xe]
mov word [esi + 0x10], ax
mov ax, word [esi + 2]
mov word [esi], cx
mov cx, word [esi + 0x18]
mov word [esi + 0xe], ax
mov ax, word [esi + 4]
mov word [esi + 2], dx
mov dx, word [esi + 0x2c]
mov word [esi + 0x18], ax
mov ax, word [esi + 6]
mov word [esi + 4], cx
mov cx, word [esi + 0x22]
mov word [esi + 0x2c], ax
mov ax, word [esi + 8]
mov word [esi + 6], dx
mov dx, word [esi + 0x16]
mov word [esi + 0x22], ax
mov ax, word [esi + 0xa]
mov word [esi + 8], cx
mov cx, word [esi + 0x24]
mov word [esi + 0x16], ax
mov ax, word [esi + 0xc]
mov word [esi + 0xa], dx
mov dx, word [esi + 0x2a]
mov word [esi + 0x24], ax
mov ax, word [esi + 0x12]
mov word [esi + 0xc], cx
mov cx, word [esi + 0x26]
mov word [esi + 0x2a], ax
mov ax, word [esi + 0x14]
mov word [esi + 0x12], dx
mov dx, word [esi + 0x20]
mov word [esi + 0x26], ax
mov ax, word [esi + 0x1a]
mov word [esi + 0x14], cx
mov cx, word [esi + 0x28]
mov word [esi + 0x20], ax
mov ax, word [esi + 0x1c]
mov word [esi + 0x1a], dx
mov dx, word [esi + 0x2e]
mov word [esi + 0x28], ax
mov ax, word [esi + 0x1e]
mov word [esi + 0x1c], cx
mov word [esi + 0x1e], dx
mov word [esi + 0x2e], ax
pop esi
ret 4

Function at 0x401717
Capabilities:
Get disk information

Disassembly:
jmp 0x413320
sub esp, 0x214
push ebx
push esi
mov esi, ecx
xor eax, eax
mov ecx, dword [esp + 0x220]
push 2
lea edx, [esp + 0xc]
xor ebx, ebx
mov dword [esp + 0xe], eax
push ecx
push edx
mov word [esp + 0x14], bx
mov word [esp + 0x1a], ax
call fcn.0042be9d
mov ax, word [esp + 0x14]
add esp, 0xc
cmp ax, 0x43
jb 0x413364
cmp ax, 0x5a
jbe 0x413370
cmp ax, 0x63
jb 0x41339b
cmp ax, 0x7a
ja 0x41339b
cmp word [esp + 0xa], 0x3a
jne 0x41339b
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, ebx
je 0x41339b
cmp eax, 2
je 0x41339b
cmp eax, 3
je 0x41339b
cmp eax, 5
je 0x41339b
cmp eax, 6
jne 0x4133a8
pop esi
xor eax, eax
pop ebx
add esp, 0x214
ret 8
mov eax, dword [esi + 0x4c]
push ebp
xor ebp, ebp
cmp eax, ebx
push edi
je 0x4133be
push eax
call fcn.00461bc0
add esp, 4
mov ebp, eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x1e]
mov word [esp + 0x1c], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x18]
lea edx, [esp + 0x1c]
stosw word es:[edi], ax
push ecx
lea eax, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x24], 0x104
call sub.MPR.dll_WNetGetConnectionW
test eax, eax
jne 0x413449
mov ecx, dword [esp + 0x228]
lea esi, [ecx + 4]
push esi
call fcn.0042be80
lea edx, [esp + 0x20]
mov edi, eax
push edx
call fcn.0042be80
add edi, eax
add esp, 8
cmp edi, 0x104
jae 0x413449
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.0042be31
mov ecx, dword [esp + 0x234]
mov eax, dword [esp + 0x230]
dec ecx
lea edx, [esp + 0x24]
push ecx
push edx
push eax
call fcn.0042be9d
add esp, 0x14
mov ebx, 1
pop edi
test ebp, ebp
pop ebp
je 0x413454
call fcn.00461f40
mov eax, ebx
pop esi
pop ebx
add esp, 0x214
ret 8
Function at 0x4017cb
Capabilities:
Query environment variable

Disassembly:
jmp 0x412940
sub esp, 0x30c
push ebp
push esi
mov esi, dword [esp + 0x318]
push edi
test esi, esi
mov ebp, ecx
je 0x412b40
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x412b40
mov ecx, 0x40
lea edi, [esp + 0xd]
mov byte [esp + 0xc], al
push 0x103
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0042c240
mov al, byte [esp + 0x18]
add esp, 0xc
cmp al, 0x5c
jne 0x412ab0
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xc
lea ecx, [esp + 0x10]
push 0x67ef4c
push ecx
stosb byte es:[edi], al
call fcn.0043d430
add esp, 0xc
test eax, eax
jne 0x412a5e
mov edi, 0x67ef3c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x110]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x11d]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push 0x104
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x120], 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x412b40
cmp eax, 0x104
jb 0x412aa9
pop edi
pop esi
pop ebp
add esp, 0x30c
ret 8
push 4
lea eax, [esp + 0x10]
push 0x67ef34
push eax
call fcn.0043d430
add esp, 0xc
test eax, eax
jne 0x412ab0
lea ecx, [esp + 0x10]
push 0x103
lea edx, [esp + 0x114]
push ecx
push edx
call fcn.0042c240
lea eax, [esp + 0x11c]
push 0x103
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.0042c240
add esp, 0x18
jmp 0x412ab0
mov esi, dword [esp + 0x31c]
lea edx, [esp + 0xc]
push 0x104
push edx
mov ecx, ebp
call fcn.00401389
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x215]
mov byte [esp + 0x214], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 4]
test eax, eax
je 0x412b29
lea eax, [esp + 0xc]
push 0x7e
push eax
call fcn.0042c380
add esp, 8
test eax, eax
je 0x412b29
lea ecx, [esp + 0x214]
push 0x104
lea edx, [esp + 0x10]
push ecx
push edx
call dword [ebp + 4]
test eax, eax
jbe 0x412b29
cmp eax, 0x104
jae 0x412b29
mov eax, dword [esp + 0x320]
lea ecx, [esp + 0x214]
dec eax
push eax
push ecx
jmp 0x412b37
mov edx, dword [esp + 0x320]
lea eax, [esp + 0xc]
dec edx
push edx
push eax
push esi
call fcn.0042c240
add esp, 0xc
pop edi
pop esi
pop ebp
add esp, 0x30c
ret 8
Function at 0x40192e
Capabilities:
Delete registry value
Set registry value

Disassembly:
jmp 0x415610
push ecx
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
lea eax, [esp]
push esi
xor esi, esi
push eax
push 0x2001f
push esi
push ecx
push edx
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415688
mov eax, dword [esp + 4]
cmp eax, esi
je 0x415688
cmp dword [esp + 0x20], esi
je 0x415661
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
inc ecx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push 1
push esi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x41566d
mov edx, dword [esp + 0x14]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp eax, esi
jne 0x415676
mov esi, 1
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ecx
ret 0x18
xor eax, eax
pop esi
pop ecx
ret 0x18

Function at 0x401a3c
Capabilities:
Query or enumerate registry value

Disassembly:
jmp 0x415870
mov edx, dword [esp + 4]
sub esp, 0x24
push ebx
xor ebx, ebx
cmp edx, ebx
push ebp
je 0x415950
mov ebp, dword [esp + 0x34]
cmp ebp, ebx
je 0x415950
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], bx
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push 0x679fb8
push eax
call fcn.0042c083
add esp, 0xc
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], ebx
push ecx
push 0x2001f
push ebx
push str.SOFTWARETECOcular.3ShareDataPID
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
pop edi
jne 0x415946
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x415946
lea edx, [esp + 0x34]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edx
lea ecx, [esp + 0x10]
push ebx
push ecx
lea edx, [esp + 0x1c]
push ebx
push edx
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], ebx
call esi
test eax, eax
jne 0x41593a
cmp dword [esp + 0xc], 1
jne 0x41593a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp eax, ecx
ja 0x41593a
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x38]
push ecx
push ebp
push ebx
lea edx, [esp + 0x1c]
push ebx
push edx
push eax
call esi
test eax, eax
jne 0x41593a
mov ebx, 1
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x24
ret 0xc
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret 0xc
Function at 0x416ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
test eax, eax
je 0x416ee8
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 8]
or ecx, 0x20019
push ecx
push eax
push edx
call fcn.00416560
add esp, 0xc
mov ebx, eax
jmp 0x416eeb
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4170a2
call fcn.004f6ef0
test eax, eax
je 0x416f96
mov edx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 0x14]
push 0
push ecx
push 0
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x417094
mov eax, dword [ebp + 0x14]
cmp eax, 1
je 0x416f3a
cmp eax, 2
je 0x416f3a
cmp eax, 6
je 0x416f3a
cmp eax, 7
jne 0x417094
mov eax, dword [ebp + 0xc]
add eax, 2
push eax
call fcn.005eef68
mov ecx, dword [ebp + 0xc]
mov esi, eax
add ecx, 2
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push esi
push 0
push 0
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push esi
jne 0x41707f
mov ecx, dword [ebp + 0x18]
call fcn.00446360
cmp ebx, dword [ebp + 8]
je 0x417069
jmp 0x417060
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x416fa2
mov dword [ebp + 0x10], eax
jmp 0x416fd7
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.0042ccd0
mov edx, dword [ebp + 0x10]
mov esi, esp
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push edx
push 0
push 0
mov byte [esi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp + 0x10], esi
mov edx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 0x14]
push 0
push ecx
push 0
push edx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x417094
mov eax, dword [ebp + 0x14]
cmp eax, 1
je 0x417011
cmp eax, 2
je 0x417011
cmp eax, 6
je 0x417011
cmp eax, 7
jne 0x417094
mov eax, dword [ebp + 0xc]
add eax, 2
push eax
call fcn.005eef68
mov ecx, dword [ebp + 0xc]
mov esi, eax
add ecx, 2
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
lea eax, [ebp + 0xc]
push eax
push esi
push 0
push 0
push ecx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
push esi
jne 0x41707f
mov ecx, dword [ebp + 0x18]
call fcn.00446430
cmp ebx, dword [ebp + 8]
je 0x417069
push ebx
call fcn.004165d0
add esp, 4
push esi
call fcn.005eef91
add esp, 4
mov eax, 1
lea esp, [ebp - 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.005eef91
mov ecx, dword [ebp + 0x18]
add esp, 4
push 0x69cacc
call fcn.00446360
cmp ebx, dword [ebp + 8]
je 0x4170a2
push ebx
call fcn.004165d0
add esp, 4
lea esp, [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret