joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448d40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x108
push esi
mov esi, ecx
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x114]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x10]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x1c], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
pop esi
test eax, eax
jne 0x448da9
mov ecx, dword [esp + 0x110]
lea edx, [esp + 8]
push edx
call fcn.004a9d5c
mov eax, 1
add esp, 0x108
ret 8
xor eax, eax
add esp, 0x108
ret 8

Function at 0x448dc0
Capabilities:
Delete registry key

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, ecx
push eax
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor ecx, ecx
xor edx, edx
cmp eax, ecx
mov dword [esi + 4], eax
sete dl
mov dword [esi + 8], ecx
mov dword [esi + 0xc], ecx
mov eax, edx
pop esi
ret 8

Function at 0x448df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c46a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0
call fcn.004a8385
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0xc]
push 1
push eax
push ecx
mov ecx, edi
mov byte [esp + 0x34], 1
call fcn.004491b0
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x30]
lea esi, [edx - 1]
test esi, esi
jl 0x448e58
mov eax, dword [esp + 0x10]
mov ecx, edi
mov eax, dword [eax + esi*4]
push eax
push ebp
call fcn.00448dc0
dec esi
jns 0x448e45
mov ecx, dword [esp + 0x34]
push ecx
push ebp
mov ecx, edi
call fcn.00448dc0
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.004a83b8
lea ecx, [esp + 0x34]
mov dword [esp + 0x28], 0xffffffff
call fcn.004a9c1f
mov ecx, dword [esp + 0x20]
pop edi
pop esi
mov eax, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x4491b0
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4c4746
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe8
mov eax, dword [0x4f5b3c]
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xfc], ebx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x104]
mov edx, dword [esi + 0x10]
lea eax, [esp + 0x10]
mov byte [esp + 0xfc], 1
push eax
push 0x20019
push ebx
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
xor ecx, ecx
cmp eax, ebx
sete cl
mov edi, ecx
mov dword [esi + 4], eax
cmp edi, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
je 0x449255
push ebx
push ebx
mov eax, dword [esp + 0x18]
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x34]
push ebx
push edx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
xor ecx, ecx
cmp eax, ebx
sete cl
mov dword [esi + 4], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov edi, ecx
mov eax, dword [esp + 0x1c]
push ebp
cmp eax, ebx
mov dword [esp + 0x1c], ebx
jbe 0x44935e
mov ebp, dword [esp + 0x10c]
cmp edi, ebx
je 0x44935e
lea edx, [esp + 0x28]
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x20]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x40]
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
mov dword [esp + 0x44], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
xor ecx, ecx
cmp eax, ebx
sete cl
mov edi, ecx
mov dword [esi + 4], eax
cmp edi, ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
je 0x449331
lea edx, [esp + 0x30]
lea ecx, [esp + 0x18]
push edx
call fcn.004a9d5c
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x108]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
call fcn.004a768f
mov eax, dword [ebp + 8]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebp
call fcn.004a858d
cmp dword [esp + 0x110], ebx
je 0x449349
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x108]
push edx
push eax
lea ecx, [esp + 0x18]
push str._s_s
push ecx
call fcn.004a768f
mov edx, dword [esp + 0x120]
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, esi
push edx
push ebp
push eax
call fcn.004491b0
jmp 0x449349
push 0x3f0
push str.u:DIST_AH_METER_REPTESWDINST32RegistryEx.cpp
push str.RegEnumKeyEx
push eax
call fcn.00448ea0
add esp, 0x10
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jb 0x44926d
mov eax, dword [esp + 0x14]
pop ebp
cmp eax, ebx
je 0x449372
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
cmp edi, ebx
mov byte [esp + 0xfc], bl
lea ecx, [esp + 0xc]
je 0x4493a1
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov dword [esp + 0xfc], 0xffffffff
call fcn.004a9c1f
mov eax, 1
jmp 0x4493bc
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov dword [esp + 0xfc], 0xffffffff
call fcn.004a9c1f
xor eax, eax
mov ecx, dword [esp + 0xf4]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xf4
ret 0xc
Function at 0x449410
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
sub esp, 0x10
push esi
call fcn.004494e0
test eax, eax
jne 0x449422
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 4], eax
push ecx
mov dword [esp + 0xc], eax
mov word [esp + 8], 2
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
call sub.WSOCK32.dll_htons
mov word [esp + 6], ax
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
mov dh, byte [eax]
mov cl, byte [eax + 2]
mov dl, byte [eax + 1]
shl edx, 8
or edx, ecx
xor ecx, ecx
mov cl, byte [eax + 3]
shl edx, 8
or edx, ecx
mov eax, edx
push eax
call sub.WSOCK32.dll_htonl
push 6
push 1
push 2
mov dword [esp + 0x14], eax
call sub.WSOCK32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
jne 0x44949b
push str.socket
call fcn.00476da4
add esp, 4
xor eax, eax
pop esi
add esp, 0x10
ret
lea edx, [esp + 4]
push 0x10
push edx
push esi
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
jne 0x4494c7
push esi
call fcn.0047c7b3
push str.connect
call fcn.00476da4
add esp, 8
xor eax, eax
pop esi
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov dword [eax], esi
mov eax, 1
pop esi
add esp, 0x10
ret

Function at 0x4494e0
Capabilities:
Initialize winsock library

Disassembly:
mov eax, dword [0x50005c]
test eax, eax
jne 0x449541
push edi
push 0x449550
push 2
call fcn.00476e2f
add esp, 8
mov ecx, 0x64
xor eax, eax
mov edi, 0x4ffeb8
push 0x4ffeb8
push 0x101
rep stosd dword es:[edi], eax
mov dword [0x50005c], 1
call sub.WSOCK32.dll_WSAStartup
test eax, eax
pop edi
je 0x449541
call sub.WSOCK32.dll_WSAGetLastError
push eax
mov eax, dword [0x500058]
push str.unable_to_start_WINSOCK__error_code_d_n
push eax
call fcn.0045fe80
add esp, 0xc
xor eax, eax
ret
mov eax, 1
ret
Function at 0x449690
Capabilities:
Resolve dns

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebx, ebx
or ebp, 0xffffffff
xor edi, edi
mov esi, 0x4ffcf8
mov eax, dword [esi]
cmp ebp, eax
jbe 0x4496aa
mov ebp, eax
mov ebx, edi
test eax, eax
jbe 0x4496cb
mov ecx, dword [esp + 0x14]
lea eax, [esi - 0x90]
push 0x80
push eax
push ecx
call fcn.004772e0
add esp, 0xc
test eax, eax
je 0x4496da
add esi, 0x94
inc edi
cmp esi, 0x4fff48
jl 0x4496a0
cmp edi, 4
jne 0x449757
mov edx, dword [0x500064]
mov ebp, dword [esp + 0x14]
inc edx
push ebp
mov dword [0x500064], edx
call sub.WSOCK32.dll_gethostbyname
mov edi, eax
test edi, edi
jne 0x449701
pop edi
pop esi
pop ebp
pop ebx
ret
lea edx, [ebx + ebx*8]
push 0x80
push ebp
lea esi, [ebx + edx*4]
shl esi, 2
lea eax, [esi + 0x4ffc68]
push eax
call fcn.00476470
mov edx, edi
lea ecx, [esi + 0x4ffce8]
add esp, 0xc
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [edx + 8]
mov dword [ecx + 8], eax
mov eax, dword [0x500064]
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [0x500060]
add ecx, eax
mov eax, edi
mov dword [esi + 0x4ffcf8], ecx
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [0x500060]
lea edx, [edi + edi*8]
inc ecx
lea eax, [edi + edx*4]
mov edx, dword [0x500064]
mov dword [0x500060], ecx
add ecx, edx
shl eax, 2
pop edi
pop esi
mov dword [eax + 0x4ffcf8], ecx
pop ebp
lea eax, [eax + 0x4ffce8]
pop ebx
ret
Function at 0x44c2c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4c4f3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x4f5b3c]
push esi
push edi
mov dword [esp + 8], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11d]
mov byte [esp + 0x11c], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x4ff350]
mov edx, dword [str.Installed_Applications]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [str.SoftwareIntelLANDeskLDWMDistribution]
push ecx
push edx
push eax
lea ecx, [esp + 0x14]
push str._s_s_s
push ecx
mov dword [esp + 0x23c], 0
call fcn.004a768f
mov eax, dword [esp + 0x1c]
add esp, 0x14
lea edx, [esp + 0xc]
push edx
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x44c37e
lea ecx, [esp + 8]
mov dword [esp + 0x228], 0xffffffff
call fcn.004a9c1f
mov eax, 0xd1
jmp 0x44c43e
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [str.InstallTo]
lea eax, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
push 0
push ecx
push edx
mov dword [esp + 0x28], 0x104
call esi
mov edi, eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0x11c]
push eax
mov eax, dword [str.CFG_Name]
lea edx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x28], 0x104
call esi
mov edx, dword [esp + 0xc]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x44c402
lea ecx, [esp + 8]
mov dword [esp + 0x228], 0xffffffff
call fcn.004a9c1f
mov eax, 0xd1
jmp 0x44c43e
mov edi, dword [esp + 0x230]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.004a9d5c
test esi, esi
jne 0x44c428
lea ecx, [esp + 0x11c]
push ecx
mov ecx, edi
call fcn.004a9d5c
lea ecx, [esp + 8]
mov dword [esp + 0x228], 0xffffffff
call fcn.004a9c1f
xor eax, eax
mov ecx, dword [esp + 0x220]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x224
ret 4
Function at 0x44fde0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4c5880
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f5b3c]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
push str.Arial
mov byte [esp + 0x20], 1
lea edx, [eax*8]
sub edx, eax
add eax, 4
lea esi, [ecx + edx*4]
lea edx, [eax*8]
sub edx, eax
mov dword [esi + 0x74], ebx
lea edi, [esi + 0x68]
lea ebp, [ecx + edx*4]
mov dword [esi + 0x78], ebx
mov ecx, edi
mov dword [ebp], ebx
mov dword [esi + 0x6c], ebx
call fcn.004a9d5c
push 1
push ebx
lea eax, [esi + 0x64]
push 0x3a
push eax
push ebx
lea ecx, [esp + 0x38]
call fcn.00437e10
lea ecx, [esp + 0x10]
push 1
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.color
call fcn.004a9c8d
lea ecx, [esp + 0x30]
call fcn.00436ed0
cmp eax, ebx
je 0x44fea5
lea ecx, [esp + 0x10]
call fcn.004a777a
lea ecx, [esp + 0x10]
call fcn.004a76eb
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.004a9994
jmp 0x44feb6
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4fc5e4
call fcn.004a9c8d
lea ecx, [esi + 0x7c]
call fcn.0040d0a0
lea eax, [esp + 0x10]
push 1
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.fontsize
call fcn.004a9c8d
lea ecx, [esp + 0x30]
call fcn.00436ed0
cmp eax, ebx
je 0x44fef3
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00474ead
add esp, 4
mov dword [esi + 0x6c], eax
lea edx, [esp + 0x10]
push 1
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push str.fontname
call fcn.004a9c8d
lea ecx, [esp + 0x30]
call fcn.00436ed0
cmp eax, ebx
je 0x44ff24
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.004a9d0c
push 0x3a
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.italic
call fcn.004a9c8d
lea ecx, [esp + 0x2c]
call fcn.00438180
cmp eax, ebx
je 0x44ff4b
mov dword [ebp], 1
push 0x3a
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.underline
call fcn.004a9c8d
lea ecx, [esp + 0x2c]
call fcn.00438180
cmp eax, ebx
je 0x44ff72
mov dword [esi + 0x78], 1
push 0x3a
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push str.bold
call fcn.004a9c8d
lea ecx, [esp + 0x2c]
call fcn.00438180
cmp eax, ebx
je 0x44ff99
mov dword [esi + 0x74], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], bl
call fcn.004a9c1f
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], 0xffffffff
call fcn.004a9c1f
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x10
ret 8
Function at 0x4510f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c5b8f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov dword [esp + 0x1c], 0
mov eax, dword [0x4f5b3c]
mov dword [esp + 0x38], 1
mov dword [esp + 0xc], eax
push 0x5c
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 2
call fcn.004a72e7
mov esi, eax
push 0x4f07b0
lea ecx, [esp + 0xc]
inc esi
call fcn.004a9c8d
mov edx, dword [esp + 0x48]
lea ecx, [esp + 0x20]
push 0xa
push ecx
push edx
mov byte [esp + 0x44], 3
call fcn.0047656e
add esp, 0xc
lea ecx, [esp + 8]
push eax
call fcn.004a9faf
lea eax, [esp + 0x18]
push esi
push eax
lea ecx, [esp + 0x4c]
call fcn.004a70e4
mov edi, eax
lea ecx, [esp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x40], 4
call fcn.004a7219
lea edx, [esp + 8]
mov byte [esp + 0x38], 5
push edx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004a9e02
push edi
lea ecx, [esp + 0x4c]
push eax
push ecx
mov byte [esp + 0x44], 6
call fcn.004a9e02
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 7
call fcn.004a9d0c
lea ecx, [esp + 0x48]
mov byte [esp + 0x38], 6
call fcn.004a9c1f
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 5
call fcn.004a9c1f
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 4
call fcn.004a9c1f
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 3
call fcn.004a9c1f
mov esi, dword [esp + 0x40]
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.004a9994
mov dword [esp + 0x1c], 1
lea ecx, [esp + 8]
mov byte [esp + 0x38], 2
call fcn.004a9c1f
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call fcn.004a9c1f
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 0
call fcn.004a9c1f
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
Function at 0x451680
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4c5c90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x4f5b3c]
mov dword [esp], eax
mov dword [esp + 0x14], 0
mov dword [esp + 4], eax
mov ecx, dword [ecx + 0x114]
mov byte [esp + 0x14], 1
push ecx
lea ecx, [esp + 4]
call fcn.004a9d5c
push str.working
lea ecx, [esp + 4]
call fcn.004a9faf
lea ecx, [esp]
call fcn.00434be0
test eax, eax
je 0x45178e
lea eax, [esp]
push str.compare
lea ecx, [esp + 0xc]
push eax
push ecx
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esp + 4]
push eax
mov byte [esp + 0x18], 2
call fcn.004a9d5c
lea ecx, [esp + 8]
mov byte [esp + 0x14], 1
call fcn.004a9c1f
push 0
lea ecx, [esp + 8]
call fcn.00436b90
lea edx, [esp]
push str._temp
lea eax, [esp + 0xc]
push edx
push eax
call fcn.004a9e68
mov eax, dword [eax]
lea ecx, [esp + 4]
push eax
mov byte [esp + 0x18], 3
call fcn.004a9d5c
lea ecx, [esp + 8]
mov byte [esp + 0x14], 1
call fcn.004a9c1f
push 0
lea ecx, [esp + 8]
call fcn.00436b90
lea ecx, [esp]
push str.OneFile
lea edx, [esp + 0xc]
push ecx
push edx
call fcn.004a9e68
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 8]
call fcn.004a9c1f
push 0
lea ecx, [esp + 4]
call fcn.00436b90
lea ecx, [esp + 4]
mov byte [esp + 0x14], 0
call fcn.004a9c1f
lea ecx, [esp]
mov dword [esp + 0x14], 0xffffffff
call fcn.004a9c1f
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x45be30
Capabilities:
Delete registry key

Disassembly:
push ecx
lea eax, [esp]
push esi
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareAAAAAAAA
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x45be7e
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.SoftwareAAAAAAAA
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov eax, 1
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4
Function at 0x45d990
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4c8fa0
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
push 0x100
push 0x500080
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
or ecx, 0xffffffff
mov edi, 0x4ee660
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, 0x500080
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x40]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x500080
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str..log
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x500080
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push 0x500080
call fcn.00477619
add esp, 8
test eax, eax
jne 0x45db38
cmp dword [esp + 0x20], 0xc350
jle 0x45db38
mov ecx, dword [0x4f5b3c]
mov dword [esp + 0x40], ecx
push 3
push 0x500080
lea edx, [esp + 0x48]
push str._s._d
push edx
mov dword [esp + 0x48], 0
call fcn.004a768f
mov eax, dword [esp + 0x50]
push eax
call fcn.004a6af5
add esp, 0x14
mov esi, 3
push esi
push 0x500080
lea ecx, [esp + 0x48]
push str._s._d
push ecx
call fcn.004a768f
mov edx, dword [0x4f5b3c]
add esp, 0x10
mov dword [esp + 8], edx
cmp esi, 1
mov byte [esp + 0x38], 1
jne 0x45dada
push 0x500080
lea ecx, [esp + 0xc]
call fcn.004a9d5c
jmp 0x45daf5
lea eax, [esi - 1]
lea ecx, [esp + 8]
push eax
push 0x500080
push str._s._d
push ecx
call fcn.004a768f
add esp, 0x10
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 8]
push edx
push eax
call fcn.00477533
add esp, 8
lea ecx, [esp + 8]
mov byte [esp + 0x38], 0
call fcn.004a9c1f
dec esi
test esi, esi
jg 0x45da9e
push 0x500080
call fcn.004a6af5
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call fcn.004a9c1f
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x45e180
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4c9106
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [esp + 8], edi
mov dword [edi], 0x4cc4e0
lea ecx, [edi + 0x5c]
mov dword [esp + 0x18], 3
call fcn.004a9c1f
lea esi, [edi + 0x34]
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x24]
mov byte [esp + 0x18], 0xb
call fcn.004a9c1f
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 0xa
call fcn.004a9c1f
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 9
call fcn.004a9c1f
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 8
call fcn.004a9c1f
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 7
call fcn.004a9c1f
lea ecx, [esi + 0xc]
mov byte [esp + 0x18], 6
call fcn.004a9c1f
lea ecx, [esi + 8]
mov byte [esp + 0x18], 5
call fcn.004a9c1f
lea ecx, [esi + 4]
mov byte [esp + 0x18], 4
call fcn.004a9c1f
mov ecx, esi
mov byte [esp + 0x18], 2
call fcn.004a9c1f
lea ecx, [edi + 0x30]
mov byte [esp + 0x18], 1
call fcn.004a9c1f
lea ecx, [edi + 0x2c]
mov byte [esp + 0x18], 0
call fcn.004a9c1f
lea esi, [edi + 4]
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x24]
mov dword [esp + 0x18], 0x13
call fcn.004a9c1f
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 0x12
call fcn.004a9c1f
lea ecx, [esi + 0x1c]
mov byte [esp + 0x18], 0x11
call fcn.004a9c1f
lea ecx, [esi + 0x18]
mov byte [esp + 0x18], 0x10
call fcn.004a9c1f
lea ecx, [esi + 0x10]
mov byte [esp + 0x18], 0xf
call fcn.004a9c1f
mov byte [esp + 0x18], 0xe
lea ecx, [esi + 0xc]
call fcn.004a9c1f
lea ecx, [esi + 8]
mov byte [esp + 0x18], 0xd
call fcn.004a9c1f
lea ecx, [esi + 4]
mov byte [esp + 0x18], 0xc
call fcn.004a9c1f
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004a9c1f
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x45f1f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x84
call fcn.00475160
push ebx
push ebp
push esi
push edi
push 0x109
push 0x4cc518
push 0x11
push 9
call fcn.004610a0
mov ecx, dword [0x5005c4]
mov eax, dword [0x5005c0]
mov dword [esp + 0x28], ecx
mov ebx, dword [0x5005c8]
mov ecx, 5
mov esi, 0x50059c
lea edi, [esp + 0x30]
mov ebp, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xac]
add esp, 0x10
add eax, esi
mov dword [esp + 0x1c], ebx
cmp eax, 0x3ff
mov dword [0x5005c0], eax
jl 0x45f26a
cdq
mov ecx, 0x3ff
idiv ecx
mov dword [0x5005bc], ecx
mov dword [0x5005c0], edx
jmp 0x45f281
mov ecx, dword [0x5005bc]
cmp ecx, 0x3ff
jge 0x45f281
cmp eax, ecx
jle 0x45f281
mov dword [0x5005bc], eax
mov eax, esi
mov ecx, 0x14
cdq
idiv ecx
xor ecx, ecx
mov eax, 0x66666667
push 0x129
push 0x4cc518
push 0x11
push 0xa
test edx, edx
setg cl
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
add edx, ebx
add edx, ecx
mov dword [0x5005c8], edx
call fcn.004610a0
add esp, 0x10
test esi, esi
jle 0x45f3e0
mov ecx, esi
add esi, 0x13
mov eax, 0xcccccccd
mov ebx, dword [esp + 0x98]
mul esi
shr edx, 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
jmp 0x45f2ef
mov ecx, dword [esp + 0x10]
cmp ecx, 0x14
mov esi, ecx
jle 0x45f2fb
mov esi, 0x14
lea ecx, [esp + 0x34]
push ecx
call fcn.00461040
lea edx, [esp + 0x24]
push 0x14
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00460c30
lea edi, [esi + ebp - 0x3ff]
add esp, 0x10
test edi, edi
jle 0x45f34f
mov ecx, esi
lea edx, [ebp + 0x500180]
sub ecx, edi
lea eax, [esp + 0x34]
push ecx
push edx
push eax
call fcn.00460c30
push edi
lea ecx, [esp + 0x44]
push 0x500180
push ecx
call fcn.00460c30
add esp, 0x18
jmp 0x45f364
lea edx, [ebp + 0x500180]
push esi
lea eax, [esp + 0x38]
push edx
push eax
call fcn.00460c30
add esp, 0xc
push esi
lea ecx, [esp + 0x38]
push ebx
push ecx
call fcn.00460c30
lea edx, [esp + 0x24]
push 8
lea eax, [esp + 0x44]
push edx
push eax
call fcn.00460c30
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.00460ee0
mov edi, dword [esp + 0x3c]
add esp, 0x20
inc edi
add ebx, esi
xor eax, eax
mov dword [esp + 0x1c], edi
test esi, esi
jle 0x45f3c6
mov cl, byte [esp + eax + 0x20]
mov dl, byte [ebp + 0x500180]
xor dl, cl
mov byte [ebp + 0x500180], dl
inc ebp
cmp ebp, 0x3ff
jl 0x45f3c1
xor ebp, ebp
inc eax
cmp eax, esi
jl 0x45f3a4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
sub ecx, 0x14
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x45f2eb
push 0x153
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x38]
push 0x4cc518
push 0x11
rep stosd dword es:[edi], eax
push 9
call fcn.004610a0
add esp, 0x10
xor eax, eax
mov dl, byte [esp + eax + 0x20]
mov bl, byte [eax + 0x50059c]
xor bl, dl
mov byte [eax + 0x50059c], bl
inc eax
cmp eax, 0x14
jb 0x45f405
fld qword [0x5005d0]
fcomp qword [0x4cc510]
pop edi
pop esi
pop ebp
pop ebx
fnstsw ax
test ah, 1
je 0x45f447
fld qword [0x5005d0]
fadd qword [esp + 0x90]
fstp qword [0x5005d0]
push 0x15e
push 0x4cc518
push 0x11
push 0xa
call fcn.004610a0
add esp, 0x94
ret