joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a600
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.00449830
mov eax, dword [0x4814f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
test esi, esi
je 0x43a6fa
push 0x2000
mov dword [ebp - 0x2020], eax
push eax
mov dword [ebp - 0x2024], eax
mov dword [ebp - 0x201c], eax
mov dword [ebp - 0x2018], eax
mov dword [ebp - 0x2014], eax
mov dword [ebp - 0x2010], eax
mov dword [ebp - 0x200c], eax
mov word [ebp - 0x2008], ax
lea eax, [ebp - 0x2004]
push eax
mov dword [ebp - 0x2020], 3
call fcn.00448540
push 0x1000
push esi
lea ecx, [ebp - 0x2004]
push 0x1000
push ecx
call fcn.0044e1db
lea eax, [ebp - 0x2004]
add esp, 0x1c
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43a695
sub eax, edx
sar eax, 1
xor edx, edx
mov word [ebp + eax*2 - 0x2004], dx
lea eax, [ebp - 0x2004]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43a6b7
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x2002], cx
lea ecx, [ebp - 0x2024]
lea edx, [ebp - 0x2004]
mov eax, 0x614
push ecx
mov dword [ebp - 0x201c], edx
mov word [ebp - 0x2014], ax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00447f52
mov esp, ebp
pop ebp
ret
Function at 0x43d710
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x43d751
mov eax, dword [esi + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 9
push eax
call edi
mov ecx, dword [esi + 4]
push 5
push ecx
call edi
mov edx, dword [esi + 4]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
ret 4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.0043d230
pop esi
pop ebp
ret 4
Function at 0x440c30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x440c49
lea eax, [esi + 0xd]
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
xor edi, edi
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x440c53
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x4412a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x4814f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ecx + 4]
push edi
mov dword [ebp - 0x218], ecx
lea ecx, [ebp - 0x214]
push ecx
xor ebx, ebx
or esi, 0x2001f
push esi
push ebx
push edx
push eax
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x214], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x20c]
mov edi, eax
cmp edi, ebx
jne 0x44132c
xor eax, eax
cmp ecx, ebx
je 0x44130e
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x214]
and esi, 0x300
mov edi, eax
mov dword [ebp - 0x20c], ecx
mov dword [ebp - 0x208], esi
cmp eax, ebx
je 0x44134c
cmp ecx, ebx
je 0x441337
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [ebp - 0x224]
push edx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x210]
push eax
lea edx, [ebp - 0x204]
push edx
push ebx
push ecx
mov dword [ebp - 0x210], 0x100
call esi
test eax, eax
jne 0x4413cc
lea esp, [esp]
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x20c]
call fcn.004412a0
mov edi, eax
cmp edi, ebx
jne 0x441423
lea ecx, [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x20c]
push ebx
push ebx
push ebx
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x204]
push eax
push ebx
push ecx
mov dword [ebp - 0x210], 0x100
call esi
test eax, eax
je 0x441380
mov eax, dword [ebp - 0x20c]
cmp eax, ebx
je 0x4413e3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20c], ebx
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
push edx
mov dword [ebp - 0x208], ebx
call fcn.00440b00
mov esi, eax
mov eax, dword [ebp - 0x20c]
cmp eax, ebx
je 0x44140e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x20c]
cmp eax, ebx
je 0x441434
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00447f52
mov esp, ebp
pop ebp
ret 4
Function at 0x442900
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467b66
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x4814f0]
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 + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x44297d
call fcn.00407670
mov edi, eax
jmp 0x442a86
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x442996
call fcn.00407670
jmp 0x442a7d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x41c], ebx
test ebx, ebx
jne 0x4429b4
call fcn.00407670
jmp 0x442a7d
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x420], edi
cmp eax, edi
jae 0x4429f9
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4429e4
lea ecx, [ebp - 0x418]
call fcn.00441260
lea ecx, [ebp - 0x428]
call fcn.00416b20
mov eax, 0x8007000e
jmp 0x442aa2
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004419d0
mov dword [ebp - 4], 1
jmp 0x442a31
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x442a42
mov edi, 0x8007000e
jmp 0x442a7f
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x442a5b
call fcn.00407670
jmp 0x442a7d
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x430]
call fcn.004427a0
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x442aa0
lea ecx, [ebp - 0x418]
call fcn.00441260
nop
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00447f52
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4455ed
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x484418], 0
push esi
jne 0x445560
call fcn.00445486
test eax, eax
je 0x4455a3
mov eax, dword [0x484418]
cmp eax, 1
jne 0x445581
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4455a3
pop esi
ret
push eax
call dword [0x484420]
test eax, eax
jne 0x4455eb
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4455a7
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x484418]
call dword [0x484420]
mov edi, eax
test edi, edi
je 0x4455cc
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x4455e8
mov edi, esi
add esi, 0xff0
push edi
push dword [0x484418]
call dword [0x48441c]
add edi, 0x10
cmp edi, esi
jb 0x4455d4
mov eax, edi
pop edi
pop esi
ret
jmp 0x44554d

Function at 0x445a80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4814f0]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
test ebx, ebx
jne 0x445ab8
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00447f52
add esp, 0x20c
ret
push esi
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00448540
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x445b83
mov ecx, ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x445af0
sub ecx, esi
sar ecx, 1
mov edx, 0x103
sub edx, ecx
cmp eax, edx
jae 0x445b83
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x445b12
mov eax, dword [0x4753cc]
mov dword [edi], eax
mov eax, ebx
mov edx, ebx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x445b30
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x445b44
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00447f52
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00447f52
add esp, 0x20c
ret
Function at 0x4461d0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.00449830
mov eax, dword [0x4814f0]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x44633b
cmp dword [esp + 0x2c20], edi
je 0x44633b
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push 0x4758e8
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.00403c60
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x446314
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00448540
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x446307
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.00448540
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.00447ae0
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.00403d10
test eax, eax
jne 0x446307
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x44631e
inc ebx
cmp ebx, 0x10
jl 0x446220
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.00447f52
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00447f52
add esp, 0x2c14
ret
Function at 0x4465e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x4814f0]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x4467e1
cmp dword [esp + 0x2f8], 0
je 0x4467e1
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00448540
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x471468
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4467a8
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x44679b
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x446769
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x475904
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44675e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.00448540
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.004464d0
add esp, 0x14
test eax, eax
je 0x44675e
cmp byte [esp + 0x24], 0
je 0x446722
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x44675e
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x446751
mov cl, byte [esi + eax]
test cl, cl
je 0x446751
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x446736
jmp 0x446755
test edx, edx
jne 0x446756
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x446680
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x4467e1
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.00403d10
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.00447f52
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00447f52
add esp, 0x2ec
ret
Function at 0x446b80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x4814f0]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x446cfd
cmp ebp, 0x20
jb 0x446cfd
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.00448540
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4714d8
push 0x4714c0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x446cfd
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x446c10
sub eax, edx
cmp eax, 0x40
jne 0x446cfd
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x446c4e
mov cl, byte [esi + eax]
test cl, cl
je 0x446c4e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x446c36
jmp 0x446c52
test edx, edx
jne 0x446c53
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x446c8b
mov cl, byte [edx + eax]
test cl, cl
je 0x446c8b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x446c70
jmp 0x446c8f
test esi, esi
jne 0x446c90
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.00448540
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00445c50
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x446cfd
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.00403d10
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.00447f52
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00447f52
add esp, 0x50c
ret
Function at 0x446d20
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x290
mov eax, dword [0x4814f0]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0x14]
push 0
push eax
call fcn.00448540
push 0x80
lea ebx, [esp + 0x20]
mov ecx, edi
call fcn.00445c50
lea eax, [esp + 0x1a0]
mov edx, edi
mov ecx, eax
add esp, 0x10
mov esi, 0x104
sub edx, ecx
lea esp, [esp]
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x446d8b
mov cl, byte [edx + eax]
test cl, cl
je 0x446d8b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x446d70
jmp 0x446d8f
test esi, esi
jne 0x446d90
dec eax
lea edx, [esp + 0x10]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x198]
push eax
call fcn.00408060
push 0xff
lea ecx, [esp + 0x95]
push 0
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 0
call fcn.00448540
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x4714d8
push 0x4714c0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0x100
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x446e6b
mov ecx, edi
lea eax, [esp + 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x446e33
test dl, dl
je 0x446e2f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x446e33
add eax, 2
add ecx, 2
test dl, dl
jne 0x446e13
xor eax, eax
jmp 0x446e38
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x446e6b
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x446e46
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
push 1
push 0x4714dc
push 0x4714c0
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [esp + 0x190]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x446e75
sub eax, edx
push eax
lea eax, [esp + 0x194]
push eax
push 1
push 0x4714d8
push 0x4714c0
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [esp + 0x294]
pop esi
pop ebx
xor ecx, esp
call fcn.00447f52
add esp, 0x290
ret

Function at 0x447f52
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4814f0]
jne 0x447f5c
repz ret
jmp fcn.004509c8
Function at 0x45f96d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00450b40
and dword [ebp - 4], 0
cmp dword [0x485a3c], 0
mov ebx, eax
jne 0x45fa1e
push 0x47419c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45facf
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x474190
push edi
call esi
test eax, eax
je 0x45facf
push eax
call fcn.00450ace
mov dword [esp], 0x474180
push edi
mov dword [0x485a3c], eax
call esi
push eax
call fcn.00450ace
mov dword [esp], 0x47416c
push edi
mov dword [0x485a40], eax
call esi
push eax
call fcn.00450ace
mov dword [esp], 0x474150
push edi
mov dword [0x485a44], eax
call esi
push eax
call fcn.00450ace
pop ecx
mov dword [0x485a4c], eax
test eax, eax
je 0x45fa1e
push 0x474138
push edi
call esi
push eax
call fcn.00450ace
pop ecx
mov dword [0x485a48], eax
mov eax, dword [0x485a48]
cmp eax, ebx
je 0x45fa76
cmp dword [0x485a4c], ebx
je 0x45fa76
push eax
call fcn.00450b49
push dword [0x485a4c]
mov esi, eax
call fcn.00450b49
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x45fa76
test edi, edi
je 0x45fa76
call esi
test eax, eax
je 0x45fa6d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45fa6d
test byte [ebp - 0xc], 1
jne 0x45fa76
or dword [ebp + 0x10], 0x200000
jmp 0x45faaf
mov eax, dword [0x485a40]
cmp eax, ebx
je 0x45faaf
push eax
call fcn.00450b49
pop ecx
test eax, eax
je 0x45faaf
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45faaf
mov eax, dword [0x485a44]
cmp eax, ebx
je 0x45faaf
push eax
call fcn.00450b49
pop ecx
test eax, eax
je 0x45faaf
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x485a3c]
call fcn.00450b49
pop ecx
test eax, eax
je 0x45facf
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x45fad1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x31f4300
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.031f438f
jae 0x31f430e
xor ecx, ecx
call fcn.031f438f
jae 0x31f433d
xor eax, eax
call fcn.031f438f
jae 0x31f434d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.031f438f
adc al, al
jae 0x31f432f
jne 0x31f4379
stosb byte es:[edi], al
jmp 0x31f4311
call fcn.031f439b
sub ecx, ebx
jne 0x31f4356
call fcn.031f4399
jmp 0x31f4375
lodsb al, byte [esi]
shr eax, 1
je 0x31f4383
adc ecx, ecx
jmp 0x31f4372
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.031f4399
cmp eax, 0x7d00
jae 0x31f4372
cmp ah, 5
jae 0x31f4373
cmp eax, 0x7f
ja 0x31f4374
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x31f4311
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219