joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b58d0
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ca7ed
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x100db040]
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 [0x10203140]
mov edi, dword [esi + 0x174]
test edi, edi
setg byte [ebp - 0x14]
cmp dword [0x101dfd48], 4
jne 0x100b5939
mov edx, dword [esi + 0x4cb0]
add edx, dword [esi + 0x4cac]
mov ecx, dword [0x102030e8]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push dword [ebp - 0x14]
push edi
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x102083dc], 0
jne 0x100b5a6f
movaps xmm0, xmmword [0x100d0720]
xor eax, eax
movaps xmm2, xmmword [0x100d0390]
movups xmmword [ebp - 0x3c], xmm0
mov word [ebp - 0x1c], 0x5c59
movaps xmm0, xmmword [0x100d0830]
movups xmmword [ebp - 0x2c], xmm0
mov byte [ebp - 0x1a], 0x1f
nop
movups xmm0, xmmword [ebp + eax - 0x3c]
movaps xmm1, xmm2
xorps xmm1, xmm0
movups xmmword [ebp + eax - 0x3c], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x100b5970
cmp eax, 0x23
jae 0x100b599b
nop dword [eax]
xor byte [ebp + eax - 0x3c], 0x1f
inc eax
cmp eax, 0x23
jb 0x100b5990
xorps xmm0, xmm0
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x54], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b59b6
sub ecx, edx
lea eax, [ebp - 0x3c]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.10026a60
mov dword [ebp - 4], 0
mov edx, dword [0x102030a0]
test edx, edx
je 0x100b59e2
mov edx, dword [edx + 0x50]
jmp 0x100b59e4
xor edx, edx
mov eax, dword [0x10203098]
test eax, eax
je 0x100b59f2
mov eax, dword [eax + 0x18]
jmp 0x100b59f4
xor eax, eax
lea ecx, [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.1004e580
mov edi, dword [ebp - 0x18]
add esp, 8
mov ecx, dword [ebp - 0x40]
inc edi
cmp ecx, 0xf
jbe 0x100b5a3e
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100b5a34
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100b5a34
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100c180b
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x14], 0
call esi
lea eax, [ebp - 0x14]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x14]
push 4
push edi
call esi
mov byte [0x102083dc], 1
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.100c138b
mov esp, ebp
pop ebp
ret
Function at 0x4038c0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [0x4eb844]
sub esp, 8
push edi
xor edi, edi
cmp eax, edi
je 0x403917
mov ecx, dword [0x4eb848]
cmp ecx, edi
je 0x4038e5
push ecx
push eax
call sub.USER32.dll_DdeFreeStringHandle
mov eax, dword [0x4eb844]
mov ecx, dword [0x4eb84c]
cmp ecx, edi
je 0x4038fb
push ecx
push eax
call sub.USER32.dll_DdeFreeStringHandle
mov eax, dword [0x4eb844]
mov ecx, dword [0x4eb848]
push 2
push edi
push ecx
push eax
call sub.USER32.dll_DdeNameService
mov edx, dword [0x4eb844]
push edx
call sub.USER32.dll_DdeUninitialize
push esi
mov esi, dword [0x4eb824]
cmp esi, edi
je 0x403932
mov ecx, esi
call fcn.0043e570
push esi
call fcn.004be975
add esp, 4
mov esi, dword [0x4eb820]
mov dword [0x4eb824], edi
cmp esi, edi
je 0x403952
mov ecx, esi
call fcn.0040b180
push esi
call fcn.004be975
add esp, 4
mov eax, dword [0x4eb83c]
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
push eax
mov dword [0x4eb820], edi
call esi
mov ecx, dword [0x4eb840]
push ecx
call esi
mov dword [0x4eb83c], edi
mov dword [0x4eb840], edi
call dword [sym.imp.ole32.dll_OleUninitialize]
push edi
push 2
push str.ACDSee32.hlp
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_WinHelpA]
mov edx, dword [0x4eb850]
push edx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [str.SoftwareACD_SystemsACDSee32]
mov ecx, 0x4eb200
push eax
call fcn.00434560
call fcn.00462390
call fcn.00406670
cmp eax, 1
pop esi
je 0x403a10
mov eax, dword [str.SoftwareACD_SystemsACDSee32]
lea ecx, [esp + 8]
lea edx, [esp + 4]
push ecx
push edx
push edi
push 0x20006
push edi
push 0x4eb858
push edi
push eax
push CreateStatusWindowA
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [esp + 4]
push 2
push 0x4eb838
push 3
push edi
push str.Images
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
add esp, 8
ret

Function at 0x4041d0
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x419
push esi
call edi
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x41d
push esi
call edi
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
add eax, edx
cdq
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
mov dword [esp + 8], eax
lea eax, [edx + ecx]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0xc], eax
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.USER32.dll_ClientToScreen]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetCursorPos]
pop edi
pop esi
add esp, 0x18
ret
Function at 0x404250
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x18
lea eax, [esp]
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov esi, dword [esp + 0x24]
lea ecx, [esp + 8]
push ecx
push esi
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x28]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push edx
push 0x419
push esi
call edi
lea ecx, [esp + 0x10]
push ecx
push eax
push 0x41d
push esi
call edi
pop edi
pop esi
test eax, eax
jne 0x40429d
add esp, 0x18
ret
mov edx, dword [esp + 4]
mov eax, dword [esp]
push edx
lea ecx, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
add esp, 0x18
ret

Function at 0x404d90
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
sub esp, 0x1b4
push ebp
mov ebp, dword [esp + 0x1bc]
push esi
push edi
push 1
push eax
push ecx
push ebp
lea ecx, [esp + 0x70]
call fcn.00430dd0
cmp dword [esp + 0x64], 1
jne 0x404e51
mov eax, dword [esp + 0x1d0]
test eax, eax
je 0x404e51
mov esi, dword [sym.imp.USER32.dll_LoadCursorA]
push ebx
push 0x7f02
push 0
call esi
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
push eax
call ebx
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x20]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
mov eax, 0x80000000
push edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x70]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0x7f00
push 0
mov edi, eax
call esi
push eax
call ebx
test edi, edi
pop ebx
jne 0x404e51
push 0x1fe
push ebp
push 0xfffffffffffffffa
push ebp
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
call fcn.0044aec0
add esp, 0xc
mov eax, dword [esp + 0x1b4]
mov dword [esp + 0x1a4], 0x4cc700
test eax, eax
je 0x404ea6
mov eax, dword [esp + 0x1ac]
xor edi, edi
test eax, eax
jle 0x404ea6
cmp edi, eax
jge 0x404ea1
test edi, edi
jl 0x404ea1
mov edx, dword [esp + 0x1a8]
mov esi, dword [edx + edi*4]
test esi, esi
je 0x404ea1
mov ecx, esi
call fcn.00430db0
push esi
call fcn.004be975
mov eax, dword [esp + 0x1b0]
add esp, 4
inc edi
cmp edi, eax
jl 0x404e78
mov eax, dword [esp + 0x1a8]
push eax
call fcn.004be975
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
add esp, 0x1b4
ret

Function at 0x404ed0
Capabilities:
Create process on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edi, dword [sym.imp.USER32.dll_SetCursor]
push eax
call edi
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov ebx, eax
mov eax, dword [esp + 0x1c]
push 5
push eax
push 0
push ebp
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ebx
mov esi, eax
call edi
cmp esi, 0x1b
je 0x404f28
cmp esi, 0x1f
je 0x404f28
xor eax, eax
cmp esi, 0x20
pop edi
pop esi
pop ebp
pop ebx
setg al
ret
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 1
push edx
push ebp
push eax
call fcn.00404d90
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x4056a0
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x370
push esi
push edi
mov esi, ecx
push eax
call fcn.00452fd0
mov edi, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
add esp, 4
lea ecx, [esp + 8]
mov dword [esi], eax
push 0x4209
push 0x160
push ecx
push 0
push eax
mov dword [esi + 0xc], 0
call edi
test eax, eax
je 0x4056e5
lea edx, [esp + 0x14]
push edx
jmp 0x4056ea
push 0x4eb858
call fcn.0044a200
mov edx, dword [esi]
add esp, 4
lea ecx, [esp + 0x270]
mov dword [esi + 4], eax
mov eax, dword [esp + 0xc]
push ecx
push edx
mov dword [esi + 0x10], eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x4057af
push 0
lea eax, [esp + 0x16c]
push 0x640001
lea ecx, [esp + 0x278]
push eax
push ecx
push 0
call fcn.004537e0
add esp, 0x14
test eax, eax
jl 0x4057af
lea edx, [esp + 0x168]
push edx
call fcn.0044a200
add esp, 4
mov dword [esi + 8], eax
lea eax, [esp + 8]
lea ecx, [esp + 0x168]
push 0x800
push 0x160
push eax
push 0
push ecx
call edi
test eax, eax
je 0x4057af
test dword [esp + 0x10], 0x20000000
je 0x40578a
mov dword [esi + 0xc], 1
mov eax, esi
pop edi
pop esi
add esp, 0x370
ret 4
push 0x2000
lea edx, [esp + 0xc]
push 0x160
push edx
lea eax, [esp + 0x174]
push 0
push eax
call edi
neg eax
sbb eax, eax
add eax, 3
mov dword [esi + 0xc], eax
mov eax, esi
pop edi
pop esi
add esp, 0x370
ret 4
Function at 0x405900
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
xor ebp, ebp
push edi
push ebp
push 0x10
lea eax, [esp + 0x18]
push 0x405b00
push eax
mov dword [esp + 0x20], ebp
call sub.USER32.dll_DdeInitializeA
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x405af4
mov ecx, dword [esp + 0x10]
push 0x3ec
push str.ACDSee_32
push ecx
call sub.USER32.dll_DdeCreateStringHandleA
mov edx, dword [esp + 0x10]
push 0x3ec
mov esi, eax
push str.System
push edx
mov dword [esp + 0x28], esi
call sub.USER32.dll_DdeCreateStringHandleA
mov edi, eax
mov eax, dword [esp + 0x10]
push ebp
push edi
push esi
push eax
mov dword [esp + 0x28], edi
call sub.USER32.dll_DdeConnect
mov ebx, eax
cmp ebx, ebp
jne 0x4059e4
mov ecx, dword [esp + 0x10]
push ecx
call sub.USER32.dll_DdeGetLastError
cmp eax, 0x400a
jne 0x405ad0
mov edx, dword [esp + 0x74]
push 0xa
push 0x4eb858
push 0x4e006c
push edx
push ebp
push ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x405af4
test ebx, ebx
jne 0x4059e4
mov eax, dword [esp + 0x10]
push ebx
push edi
push esi
push eax
call sub.USER32.dll_DdeConnect
mov ebx, eax
test ebx, ebx
jne 0x4059ce
mov ecx, dword [esp + 0x10]
push ecx
call sub.USER32.dll_DdeGetLastError
mov dword [esp + 0x14], eax
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebp
cmp ebp, 0x14
jl 0x4059a9
test ebx, ebx
je 0x405ad0
mov al, byte [0x4e01b8]
mov edx, dword [str.open]
mov byte [esp + 0x24], al
mov ecx, 0x12
xor eax, eax
lea edi, [esp + 0x25]
mov dword [esp + 0x20], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x7c]
cmp eax, 0xffffffff
je 0x405a2a
test eax, eax
mov eax, str._add
jne 0x405a1e
mov eax, str._noadd
lea ecx, [esp + 0x20]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [esp + 0x80]
cmp eax, 0xffffffff
je 0x405a50
test eax, eax
mov eax, str._viewall
jne 0x405a44
mov eax, str._noviewall
lea edx, [esp + 0x20]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov ebp, dword [esp + 0x78]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
call edi
mov esi, eax
lea eax, [esp + 0x20]
push eax
call edi
lea ecx, [esi + eax + 5]
push ecx
call fcn.004be967
lea edx, [esp + 0x24]
mov esi, eax
push edx
push 0x4e01ac
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call ebp
push 0x4e01a8
push esi
call ebp
push 0
push 0xffffffffffffffff
push 0x4050
push 0
push 0
push ebx
push esi
call edi
inc eax
push eax
push esi
call sub.USER32.dll_DdeClientTransaction
mov eax, dword [esp + 0x10]
push eax
call sub.USER32.dll_DdeGetLastError
push esi
mov dword [esp + 0x18], eax
call fcn.004be975
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
add esp, 4
mov ecx, dword [esp + 0x10]
push esi
push ecx
call sub.USER32.dll_DdeFreeStringHandle
mov edx, dword [esp + 0x10]
push edi
push edx
call sub.USER32.dll_DdeFreeStringHandle
mov eax, dword [esp + 0x10]
push eax
call sub.USER32.dll_DdeUninitialize
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x405d40
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x13c
mov ecx, dword [esp + 0x144]
push ebx
lea eax, [esp + 8]
push edi
xor edi, edi
push eax
push ecx
mov dword [esp + 0x14], edi
call fcn.00453160
add esp, 8
cmp eax, edi
mov dword [esp + 0x14], eax
je 0x405ea8
push eax
call fcn.00453480
mov ebx, eax
add esp, 4
cmp ebx, edi
je 0x405ea8
mov edx, dword [ebx]
push ebp
mov ebp, dword [esp + 0x14c]
lea eax, [esp + 0xc]
push esi
push eax
push edi
lea ecx, [esp + 0x1c]
push 0x4cca00
push ecx
push 1
push ebp
push ebx
call dword [edx + 0x28]
mov esi, eax
cmp esi, edi
jl 0x405e79
call dword [sym.imp.USER32.dll_CreatePopupMenu]
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x405e6f
mov ecx, dword [esp + 0x10]
push 4
push 0x7fff
push 1
mov edx, dword [ecx]
push edi
push eax
push ecx
call dword [edx + 0xc]
mov esi, eax
cmp esi, edi
jl 0x405e64
mov eax, dword [esp + 0x15c]
mov ecx, dword [esp + 0x158]
mov edx, dword [esp + 0x18]
push edi
push ebp
push edi
push eax
push ecx
push 0x102
push edx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
cmp eax, edi
je 0x405e64
dec eax
mov dword [esp + 0x20], 0x24
and eax, 0xffff
mov dword [esp + 0x24], edi
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x44]
push eax
push 0x105
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov esi, eax
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebx]
push ebx
call dword [eax + 8]
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00453110
mov edx, dword [esp + 0x18]
push edx
call fcn.00453110
add esp, 8
xor eax, eax
cmp esi, edi
pop esi
pop ebp
pop edi
pop ebx
setge al
add esp, 0x13c
ret
pop edi
xor eax, eax
pop ebx
add esp, 0x13c
ret
Function at 0x406410
Capabilities:
Enumerate network shares

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x20]
movsx eax, byte [esi]
push eax
call fcn.004bedf3
add esp, 4
cmp al, 0x41
mov byte [esp + 0x20], al
jl 0x406584
cmp al, 0x5a
jg 0x406584
cmp byte [esi + 1], 0x3a
jne 0x406584
mov al, byte [esi + 2]
add esi, 2
cmp al, 0x5c
mov dword [esp + 0x14], esi
jne 0x406584
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 1
push 1
call sub.MPR.dll_WNetOpenEnumA
test eax, eax
jne 0x406584
push ebx
push ebp
mov ebx, 0x640
push edi
push ebx
call fcn.004bf1e2
add esp, 4
mov ebp, eax
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push ebp
push eax
push ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], 0xffffffff
call sub.MPR.dll_WNetEnumResourceA
cmp eax, 0xea
jne 0x4064c5
mov eax, dword [esp + 0x14]
push eax
push ebp
mov ebx, eax
call fcn.004bf0aa
add esp, 8
mov ebp, eax
jmp 0x406489
test eax, eax
jne 0x406565
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jle 0x406489
lea edi, [ebp + 0x10]
mov eax, dword [edi]
test eax, eax
je 0x4064f5
movsx edx, byte [eax]
push edx
call fcn.004bedf3
movsx ecx, byte [esp + 0x30]
add esp, 4
cmp ecx, eax
je 0x406503
mov eax, dword [esp + 0x10]
inc esi
add edi, 0x20
cmp esi, eax
jl 0x4064da
jmp 0x406489
shl esi, 5
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [esi + ebp + 0x14]
mov edx, dword [esp + 0x28]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x20], 1
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]
mov edi, dword [esp + 0x24]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004bef76
add esp, 4
mov ecx, dword [esp + 0x18]
push ecx
call sub.MPR.dll_WNetCloseEnum
push ebp
call fcn.004bef2e
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x14
ret
xor eax, eax
pop esi
add esp, 0x14
ret
Function at 0x406670
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x224
mov dl, byte [0x4eb858]
push esi
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], dl
mov byte [esp + 0x34], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x7d
xor eax, eax
lea edi, [esp + 0x35]
rep stosd dword es:[edi], eax
mov ecx, dword [str.SoftwareACD_SystemsACDSee32]
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push ecx
push CreateStatusWindowA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40671f
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 8]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push str.RegName
push edx
mov dword [esp + 0x20], 0x1f
call esi
lea eax, [esp + 8]
lea ecx, [esp + 0x34]
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push str.RegCode
push eax
mov dword [esp + 0x20], 0x1f5
call esi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x14]
xor edi, edi
test al, al
mov dword [0x4e0040], 0
lea esi, [esp + 0x14]
je 0x406756
movsx edx, byte [esi]
push edx
call fcn.004bf26e
add esp, 4
test eax, eax
je 0x406748
inc edi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x406737
cmp di, 5
jge 0x406761
pop edi
xor eax, eax
pop esi
add esp, 0x224
ret
lea eax, [esp + 0x34]
push 0
lea ecx, [esp + 0x18]
push eax
push ecx
push str._314159265
call fcn.00458a90
add esp, 0x10
neg eax
sbb eax, eax
pop edi
neg eax
mov dword [0x4e0040], eax
pop esi
add esp, 0x224
ret
Function at 0x406790
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x228
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x3e8
div ecx
mov eax, dword [esp + 0x238]
lea eax, [eax + eax*4]
shl eax, 1
cmp edx, eax
ja 0x406911
mov dl, byte [0x4eb858]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], dl
mov byte [esp + 0x38], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [str.SoftwareACD_SystemsACDSee32]
mov ecx, 0x7d
xor eax, eax
lea edi, [esp + 0x39]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
push ecx
push 0x20019
push eax
push edx
push CreateStatusWindowA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406861
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
push 0
push str.RegName
push eax
mov dword [esp + 0x20], 0x1f
call esi
lea ecx, [esp + 8]
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push 0
push str.RegCode
push ecx
mov dword [esp + 0x20], 0x1f5
call esi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x18]
xor edi, edi
test al, al
mov dword [0x4e0040], 0
lea esi, [esp + 0x18]
je 0x4068c1
movsx eax, byte [esi]
push eax
call fcn.004bf26e
add esp, 4
test eax, eax
je 0x40688a
inc edi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x406879
cmp di, 5
jl 0x4068c1
lea ecx, [esp + 0x38]
push 0
lea edx, [esp + 0x1c]
push ecx
push edx
push str._314159265
call fcn.00458a90
add esp, 0x10
neg eax
sbb eax, eax
neg eax
cmp eax, 1
mov dword [0x4e0040], eax
je 0x406911
mov ecx, dword [str.SoftwareACD_SystemsACDSee32]
lea eax, [esp + 0x10]
push eax
push ecx
push CreateStatusWindowA
mov dword [esp + 0x1c], 0
call fcn.00458920
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jg 0x406911
mov esi, dword [esp + 0x234]
push esi
call fcn.00401010
add esp, 4
test eax, eax
jne 0x406911
push 0x30
push str.Error
push str.Please_phone_1_800_414_ACDS_to_register_this_software.
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
add esp, 0x228
ret
Function at 0x4071b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [str.SoftwareACD_SystemsACDSee32]
sub esp, 0x34
lea eax, [esp]
push eax
push 3
push 0
push ecx
push CreateStatusWindowA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40724a
mov dl, byte [0x4eb858]
push edi
mov ecx, 9
lea edi, [esp + 0x11]
mov byte [esp + 0x10], dl
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push 0
push str.Evaluation
push eax
mov dword [esp + 0x20], 0x28
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push str._314159265
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
pop edi
jne 0x40723f
mov edx, dword [str.SoftwareACD_SystemsACDSee32]
push 0x1e
push edx
push CreateStatusWindowA
call fcn.00458810
add esp, 0xc
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0x34
ret

Function at 0x407250
Capabilities:
Query or enumerate registry value

Disassembly:
mov al, byte [0x4eb804]
sub esp, 0x224
test al, al
push esi
push edi
je 0x407371
mov dl, byte [0x4eb858]
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], dl
mov byte [esp + 0x34], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x7d
xor eax, eax
lea edi, [esp + 0x35]
rep stosd dword es:[edi], eax
mov ecx, dword [str.SoftwareACD_SystemsACDSee32]
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push ecx
push CreateStatusWindowA
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40730c
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 8]
lea eax, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push str.RegName
push edx
mov dword [esp + 0x20], 0x1f
call esi
lea eax, [esp + 8]
lea ecx, [esp + 0x34]
push eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push str.RegCode
push eax
mov dword [esp + 0x20], 0x1f5
call esi
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, byte [esp + 0x14]
xor edi, edi
test al, al
lea esi, [esp + 0x14]
je 0x407371
movsx edx, byte [esi]
push edx
call fcn.004bf26e
add esp, 4
test eax, eax
je 0x40732b
inc edi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x40731a
cmp di, 5
jl 0x407371
lea eax, [esp + 0x34]
push 0
lea ecx, [esp + 0x18]
push eax
push ecx
push str._294378973
call fcn.00458a90
add esp, 0x10
test eax, eax
je 0x407371
mov edx, dword [0x4eb828]
push 0
push 0x406980
push 0
push 0x3fd
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamA]
pop edi
pop esi
add esp, 0x224
ret