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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
mov eax, dword [0x4f9340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push 0x2f
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xc3]
push ebx
push eax
mov dword [ebp - 0xf8], ecx
mov byte [ebp - 0xc4], bl
call fcn.00473120
push 0x2f
lea eax, [ebp - 0x93]
push ebx
push eax
mov byte [ebp - 0x94], bl
call fcn.00473120
add esp, 0x18
push 7
pop ecx
xor eax, eax
mov esi, dword [ebp + 0x14]
mov byte [ebp - 0x24], bl
lea edi, [ebp - 0x23]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x64], bl
lea edi, [ebp - 0x63]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 7
pop ecx
shl esi, 4
add esi, dword [ebp + 0x10]
xor eax, eax
mov byte [ebp - 0x44], bl
imul esi, esi, 0x30
add esi, dword [ebp - 0xf8]
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0xc
stosb byte es:[edi], al
pop ecx
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 0xfc]
lea edi, [ebp - 0xf4]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xf8]
call fcn.00425f41
xor eax, eax
mov cl, byte [ebp + eax - 0xf4]
xor cl, byte [ebp + eax - 0xc4]
inc eax
mov byte [ebp + eax - 0x95], cl
cmp eax, 0x30
jb 0x42ad87
mov ecx, dword [ebp - 0xf8]
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00428033
mov ecx, dword [ebp - 0xf8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00425f95
mov edi, dword [ebp - 0x100]
mov esi, edi
lea eax, [ebp - 0x24]
sub esi, eax
lea eax, [ebp + ebx - 0x24]
mov cl, byte [esi + eax]
xor cl, byte [eax]
inc ebx
mov byte [ebp + ebx - 0x65], cl
cmp ebx, 0x20
jb 0x42add8
mov esi, dword [ebp - 0xfc]
push 8
pop ecx
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0xfc]
push 8
pop ecx
lea esi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00473108
leave
ret 0x10
Function at 0x42d09f
Capabilities:
Enumerate processes

Disassembly:
push 0x238
mov eax, 0x4aa519
call fcn.00473acf
mov ebx, dword [ebp + 8]
xor eax, eax
push eax
push 2
mov word [ebx], ax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
lea ecx, [ebp - 0x23c]
push ecx
push eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
push 0x4f930c
lea ecx, [ebp - 0x244]
mov esi, eax
call fcn.0040a6cc
mov dword [ebp - 4], 1
test esi, esi
je 0x42d159
lea eax, [ebp - 0x218]
mov edx, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42d100
sub eax, edx
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x42d110
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 edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42d12f
mov esi, 0x4c2de8
lea eax, [ebp - 0x23c]
movsd dword es:[edi], dword [esi]
push eax
push dword [ebp - 0x240]
movsw word es:[edi], word [esi]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42d0f8
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x244]
add ecx, 0xfffffff0
call fcn.00409a10
call fcn.00473b52
ret 4

Function at 0x42d2a2
Capabilities:
Delete registry value

Disassembly:
push 4
mov eax, 0x4aa642
call fcn.00473a66
and dword [ebp - 4], 0
mov eax, dword [ecx + 0x10]
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ecx + 4]
push 2
pop esi
or edx, esi
push edx
push 0
push eax
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42d2f4
mov dword [ebp - 4], 1
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00409a10
mov eax, esi
call fcn.00473b3e
ret 4
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x10]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x42d317
mov dword [ebp - 4], esi
xor esi, esi
inc esi
jmp 0x42d2db
mov dword [ebp - 4], 3
jmp 0x42d2d9

Function at 0x42d320
Capabilities:
Query or enumerate registry value

Disassembly:
push 8
mov eax, 0x4aa67d
call fcn.00473a66
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [esi + 4]
xor edi, edi
inc edi
or ecx, edi
push ecx
push ebx
push eax
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esi], eax
cmp eax, ebx
je 0x42d370
mov dword [ebp - 4], edi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00409a10
mov eax, ebx
call fcn.00473b3e
ret 4
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x14], edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov dword [esi], eax
cmp eax, ebx
jne 0x42d3a1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 4], 2
jmp 0x42d357
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 3
jmp 0x42d357
Function at 0x42d3b0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x4aa6b0
call fcn.00473a66
xor esi, esi
mov dword [ebp - 4], esi
push 4
pop eax
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ecx + 4]
or edx, 0x20019
push edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0x10]
push esi
push eax
push dword [ecx + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42d40d
mov dword [ebp - 4], 1
mov esi, dword [ebp + 0xc]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00409a10
mov eax, esi
call fcn.00473b3e
ret 8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42d430
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], 2
jmp 0x42d3f4

Function at 0x42d445
Capabilities:
Set registry value

Disassembly:
push 0x20c
mov eax, 0x4aa70b
call fcn.00473acf
mov esi, ecx
xor edi, edi
inc edi
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0xfe
mov dword [ebp - 0x218], edi
jle 0x42d496
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00409a10
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00409a10
xor eax, eax
call fcn.00473b52
ret 8
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x214]
push ecx
mov ecx, dword [esi + 4]
or ecx, 0x20006
push ecx
xor ebx, ebx
push ebx
push eax
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42d4f1
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00409a10
mov dword [ebp - 4], 5
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00409a10
mov eax, ebx
jmp 0x42d48e
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x42d4fa
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x210]
push eax
push edi
push ebx
push dword [ebp + 8]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42d530
mov dword [ebp - 0x218], ebx
cmp dword [esi + 0xc], ebx
jne 0x42d541
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00409a10
mov dword [ebp - 4], 7
mov ebx, dword [ebp - 0x218]
jmp 0x42d4de
Function at 0x42d6f3
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x4f9340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3f
xor esi, esi
lea eax, [ebp - 0x43]
push esi
push eax
mov ebx, ecx
mov byte [ebp - 0x44], 0
call fcn.00473120
push 0x3f
lea eax, [ebp - 0xa3]
push esi
push eax
mov byte [ebp - 0xa4], 0
call fcn.00473120
push 0x3f
lea eax, [ebp - 0xe3]
push esi
push eax
call fcn.00473120
add esp, 0x24
push 0x40
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.00425fbe
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, ebx
call fcn.00425f18
push 8
pop ecx
lea esi, [ebp - 0xa4]
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
push 8
pop ecx
lea esi, [ebp - 0x84]
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x64]
push esi
push eax
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
call fcn.0042acc3
inc esi
cmp esi, 0x10
jl 0x42d785
push 8
pop ecx
lea esi, [ebp - 0x64]
lea edi, [ebp - 0xe4]
rep movsd dword es:[edi], dword [esi]
push 8
pop ecx
lea esi, [ebp - 0x24]
lea edi, [ebp - 0xc4]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
lea esi, [ebx + 0x600]
movsx ecx, byte [eax + 0x4c18e8]
mov cl, byte [ebp + ecx - 0xe5]
mov byte [esi + eax], cl
inc eax
cmp eax, 0x40
jl 0x42d7c2
push 0x40
push esi
lea eax, [ebx + 0x680]
push eax
mov ecx, ebx
call fcn.00425ff1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00473108
leave
ret 8

Function at 0x42d7fb
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x4f9340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3f
xor esi, esi
lea eax, [ebp - 0x43]
push esi
push eax
mov ebx, ecx
mov byte [ebp - 0x44], 0
call fcn.00473120
push 0x3f
lea eax, [ebp - 0xa3]
push esi
push eax
mov byte [ebp - 0xa4], 0
call fcn.00473120
push 0x3f
lea eax, [ebp - 0xe3]
push esi
push eax
call fcn.00473120
add esp, 0x24
push 0x40
lea eax, [ebp - 0x44]
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.00425fbe
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x44]
push eax
mov ecx, ebx
call fcn.00425f18
push 8
pop ecx
lea esi, [ebp - 0xa4]
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
push 8
pop ecx
lea esi, [ebp - 0x84]
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
push dword [ebp + 0xc]
mov ecx, ebx
push 0xf
pop eax
sub eax, esi
push eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0042acc3
inc esi
cmp esi, 0x10
jl 0x42d88d
push 8
pop ecx
lea esi, [ebp - 0x64]
lea edi, [ebp - 0xe4]
rep movsd dword es:[edi], dword [esi]
push 8
pop ecx
lea esi, [ebp - 0x24]
lea edi, [ebp - 0xc4]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
lea esi, [ebx + 0x640]
movsx ecx, byte [eax + 0x4c18e8]
mov cl, byte [ebp + ecx - 0xe5]
mov byte [esi + eax], cl
inc eax
cmp eax, 0x40
jl 0x42d8cf
push 0x40
push esi
lea eax, [ebx + 0x688]
push eax
mov ecx, ebx
call fcn.00425ff1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00473108
leave
ret 8
Function at 0x42eff1
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push 0x10
mov eax, 0x4aabe9
call fcn.00473a66
mov esi, ecx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x42f02d
push ebx
push dword [ebp + 8]
call fcn.0041c528
pop ecx
pop ecx
lea ecx, [esi + 4]
mov edi, eax
sub ecx, eax
mov dl, byte [edi]
mov byte [ecx + edi], dl
inc edi
cmp dl, bl
jne 0x42f018
cmp eax, ebx
je 0x42f02d
push eax
call fcn.00474a9b
pop ecx
lea edi, [esi + 4]
push edi
mov dword [esi + 0x20c], ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42f0fa
cmp dword [esi + 0x22c], ebx
je 0x42f0e4
push ebx
push ebx
push 3
push ebx
push 7
push SysReAllocStringLen
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x10], eax
cmp eax, 0xffffffff
je 0x42f0dd
xor eax, eax
mov dword [ebp - 0x1c], ebx
lea edi, [ebp - 0x18]
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push dword [ebp - 0x1c]
call fcn.00474aa6
mov dword [ebp + 8], eax
mov dword [ebp - 4], 1
push dword [ebp - 0x1c]
push ebx
push dword [ebp + 8]
call fcn.00473120
add esp, 0x10
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], ebx
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
push dword [ebp - 0x1c]
mov ecx, esi
push dword [ebp + 8]
call fcn.0042dee8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004287ad
xor eax, eax
jmp 0x42f181
mov ecx, dword [esi + 0x210]
push 3
push edi
call fcn.0040e05a
movzx eax, al
jmp 0x42f181
mov edi, 0x98
push edi
call fcn.00474303
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
mov dword [ebp - 4], 2
cmp ecx, ebx
je 0x42f12c
push 0x4c2e20
push str.UTF_16
push 0x4c2e14
call fcn.0040e3ac
jmp 0x42f12e
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x210]
push eax
call fcn.0040d0a2
push edi
call fcn.00474303
pop ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], 3
cmp eax, ebx
je 0x42f163
lea ecx, [esi + 0x108]
push ecx
mov ecx, eax
call fcn.0040de90
jmp 0x42f165
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [esi + 0x210]
push eax
call fcn.0040d0a2
mov ecx, dword [esi + 0x210]
xor eax, eax
inc eax
mov byte [ecx + 0x75], al
call fcn.00473b3e
ret 4
Function at 0x430166
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x4aae4c
call fcn.00473b05
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, ebx
jne 0x4301bf
call fcn.00429698
mov esi, eax
jmp 0x430295
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x4301d8
call fcn.00429698
jmp 0x430287
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, ebx
je 0x4301ce
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x424], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x430212
mov esi, 0x8007000e
jmp 0x430289
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.0042b0ee
mov dword [ebp - 4], 1
jmp 0x430240
cmp dword [ebp - 0x418], ebx
je 0x43020b
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x420]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x4301ce
xor ecx, ecx
mov edx, dword [ebp - 0x418]
mov word [edx + eax*2], cx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.0042ed85
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4302b1
lea ecx, [ebp - 0x418]
call fcn.0042a104
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00473b61
ret 0x10

Function at 0x431190
Capabilities:
Get disk information

Disassembly:
push 0x118
mov eax, 0x4ab0fd
call fcn.00473acf
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0x103
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x113]
mov dword [ebp - 0x118], ebx
push ebx
push eax
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x120], 0x105
mov byte [ebp - 0x114], bl
call fcn.00473120
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
push 0x105
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov ecx, esi
mov byte [esi], bl
cmp eax, ebx
je 0x43121d
lea eax, [ebp - 0x114]
push eax
call fcn.0041001f
jmp 0x431227
push 0x4d6f6b
call fcn.0041001f
mov dword [ebp - 4], ebx
mov dword [ebp - 0x118], 1
mov eax, esi
call fcn.00473b52
ret 8
Function at 0x4328c0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xb8
mov eax, 0x4ab7f5
call fcn.00473acf
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 4], 3
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
push str.HKEY_LOCAL_MACHINE
lea ecx, [ebp + 0xc]
mov dword [ebp - 0xb4], eax
call fcn.00417b22
test eax, eax
jne 0x432a55
lea eax, [ebp - 0xbc]
push eax
push 0x20019
push edi
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x432a55
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0xb0]
push eax
push edi
push edi
push dword [ebp - 0xb4]
mov dword [ebp - 0xc0], 0x208
push dword [ebp - 0xbc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0xbc]
mov ebx, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, edi
jne 0x432a1f
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xb4]
call fcn.00418464
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xb4]
mov ecx, esi
cmp dword [eax - 0xc], edi
jle 0x4329d9
lea eax, [ebp - 0xb4]
push eax
call fcn.0040a8a7
mov dword [ebp - 0xb8], 1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xb4]
add ecx, 0xfffffff0
call fcn.00409a10
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00409a10
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00409a10
jmp 0x432a89
push 0x4d6f6b
call fcn.0040abba
mov dword [ebp - 0xb8], 1
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xb4]
add ecx, 0xfffffff0
call fcn.00409a10
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00409a10
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00409a10
jmp 0x432a89
push 0x4d6f6b
mov ecx, esi
call fcn.0040abba
mov dword [ebp - 0xb8], 1
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00409a10
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00409a10
jmp 0x432a89
push 0x4d6f6b
mov ecx, esi
call fcn.0040abba
mov dword [ebp - 0xb8], 1
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00409a10
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00409a10
mov dword [ebp - 4], edi
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.00409a10
mov eax, esi
call fcn.00473b52
ret
Function at 0x432ae1
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x820
mov eax, 0x4ab8e6
call fcn.00473acf
mov edi, dword [ebp + 8]
and dword [ebp - 0x814], 0
mov esi, ecx
mov dword [ebp - 0x828], edi
mov dword [ebp - 4], 2
xor eax, eax
push ecx
mov word [ebp - 0x810], ax
xor ebx, ebx
lea eax, [ebp + 0xc]
inc ebx
mov ecx, esp
mov dword [ebp - 0x82c], esp
push eax
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x824], 0x400
mov dword [ebp - 0x818], ebx
call fcn.0040a8a7
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.0042d320
mov dword [ebp - 0x81c], eax
cmp eax, ebx
je 0x432b88
cmp eax, 2
je 0x432b88
cmp eax, 7
je 0x432b88
lea eax, [ebp + 0x10]
push eax
mov ecx, edi
call fcn.0040a8a7
mov dword [ebp - 0x814], ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00409a10
and dword [ebp - 4], 0
jmp 0x432c5b
mov eax, dword [esi + 0x10]
lea ecx, [ebp - 0x820]
push ecx
mov ecx, dword [esi + 4]
or ecx, 0x20019
push ecx
push 0
push eax
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esi], eax
test eax, eax
je 0x432bcf
lea eax, [ebp + 0x10]
push eax
mov ecx, edi
call fcn.0040a8a7
mov dword [ebp - 0x814], ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00409a10
jmp 0x432b7f
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x81c]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [esi], eax
xor esi, esi
cmp eax, esi
je 0x432c03
mov dword [ebp - 0x818], esi
push dword [ebp - 0x820]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, edi
cmp dword [ebp - 0x818], esi
jne 0x432c38
lea eax, [ebp + 0x10]
push eax
call fcn.0040a8a7
mov dword [ebp - 0x814], ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00409a10
jmp 0x432c58
lea eax, [ebp - 0x810]
push eax
call fcn.00418464
mov dword [ebp - 0x814], ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00409a10
mov dword [ebp - 4], esi
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00409a10
mov eax, edi
call fcn.00473b52
ret 0xc

Function at 0x432d00
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x4ab98c
call fcn.00473acf
and dword [ebp - 4], 0
and dword [ebp - 0x21c], 0
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x220], esi
call fcn.00473120
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.00418464
and dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, esi
call fcn.00473b52
ret 4
Function at 0x4331e5
Capabilities:
Check if file exists
Create directory

Disassembly:
push 8
mov eax, 0x4abc76
call fcn.00473a66
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x4332d2
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040a8a7
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], bl
mov ecx, edi
call fcn.00432df2
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x433282
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.0040a8a7
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, edi
call fcn.004331e5
cmp eax, ebx
jne 0x433282
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00409a10
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00409a10
xor eax, eax
call fcn.00473b3e
ret 4
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4332b8
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00409a10
mov dword [ebp - 4], 7
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00409a10
mov eax, ebx
jmp 0x43327a
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00409a10
mov dword [ebp - 4], 9
xor ebx, ebx
inc ebx
jmp 0x4332a5
mov dword [ebp - 4], 0xb
jmp 0x4332a5

Function at 0x4332db
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x4abccb
call fcn.00473acf
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], ebx
xor esi, esi
inc esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov ecx, edi
test eax, eax
je 0x43332d
lea eax, [ebp - 0x218]
push eax
call fcn.00418464
mov dword [ebp - 0x21c], esi
jmp 0x43333d
push 0x4c2d20
call fcn.00418464
mov dword [ebp - 0x21c], esi
mov dword [ebp - 4], ebx
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00409a10
mov eax, edi
call fcn.00473b52
ret 8