joyce8/EMBER2024-capa huggingface dataset:
Function at 0x471fab
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x532a32
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x474]
mov dword fs:[0], eax
mov esi, dword [esp + 0x484]
xor ebx, ebx
mov dword [esp + 0x24], ebx
xor eax, eax
push 0x40e
mov word [esp + 0x60], ax
xor ebp, ebp
lea eax, [esp + 0x62]
mov dword [esp + 0x2c], esi
push ebx
inc ebp
mov dword [esp + 0x1c], ebx
push eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebp
call fcn.00508bf0
xor eax, eax
mov dword [esp + 0x28], 0x208
mov dword [esi + 0x14], 7
add esp, 0xc
mov dword [esi + 0x10], ebx
mov word [esi], ax
mov dword [esp + 0x47c], ebx
lea ecx, [esp + 0x2c]
push 0x569780
mov dword [esp + 0x28], ebp
call fcn.00450dd2
lea ecx, [esp + 0x20]
mov dword [esp + 0x47c], ebp
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
push ecx
cmovae eax, dword [esp + 0x30]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x20019
push ebx
push ebx
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x472134
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push 0x56970c
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x472134
lea eax, [esp + 0x5c]
push eax
call fcn.00450dae
pop ecx
push eax
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.00450d41
mov edi, 0x56977c
push edi
call fcn.00450dae
pop ecx
push eax
push ebp
push edi
mov ecx, esi
call fcn.00461742
cmp eax, 0xffffffff
je 0x472108
dec eax
mov ecx, esi
push eax
push ebp
lea eax, [esp + 0x4c]
push eax
call fcn.00453e11
push eax
mov ecx, esi
call fcn.00461635
push ebx
push ebp
lea ecx, [esp + 0x4c]
call fcn.00451108
cmp dword [esi + 0x14], 8
jb 0x472112
mov eax, dword [esi]
jmp 0x472114
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x472134
mov edi, 0x5697d4
push edi
call fcn.00450dae
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00450d41
cmp dword [esp + 0x14], 0
je 0x472149
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebx
push ebx
push ebp
lea ecx, [esp + 0x34]
call fcn.00451108
mov eax, esi
mov ecx, dword [esp + 0x474]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x458]
xor ecx, esp
call fcn.00504075
add esp, 0x46c
ret 4
Function at 0x47269a
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x468
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x460], eax
mov eax, dword [esp + 0x46c]
push ebx
push ebp
push esi
push 0
mov dword [esp + 0x18], eax
xor bl, bl
mov eax, dword [esp + 0x480]
push 2
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x4727c9
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x4727a0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x20], eax
je 0x472794
xor eax, eax
push 0x206
push eax
mov word [esp + 0x268], ax
lea eax, [esp + 0x26a]
push eax
call fcn.00508bf0
add esp, 0xc
push dword [esp + 0x20]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebp, eax
test ebp, ebp
je 0x47275a
push 0x104
lea eax, [esp + 0x264]
push eax
push 0
push ebp
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x260]
push eax
lea ecx, [esp + 0x24c]
call fcn.00450dd2
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x250]
call fcn.00472f0b
push 0
push 1
cmp eax, 0xffffffff
jne 0x4727aa
lea ecx, [esp + 0x250]
call fcn.00451108
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x4726f6
jmp 0x4727c2
mov ecx, dword [esp + 0x18]
mov bl, 1
mov eax, dword [esp + 0x28]
mov dword [ecx], eax
lea ecx, [esp + 0x250]
call fcn.00451108
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x46c]
mov al, bl
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00504075
add esp, 0x468
ret 8

Function at 0x472944
Capabilities:
Get common file path

Disassembly:
push 0x240
mov eax, 0x532ba6
call fcn.00509264
mov esi, dword [ebp + 8]
xor edi, edi
push 7
pop ebx
xor eax, eax
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], edi
mov word [ebp - 0x234], ax
mov dword [ebp - 4], edi
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.00508bf0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x4729ee
xor eax, eax
mov dword [ebp - 0x238], ebx
mov word [ebp - 0x24c], ax
lea ecx, [ebp - 0x24c]
push 3
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x23c], edi
push eax
call fcn.00450d41
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00461635
push edi
push 1
lea ecx, [ebp - 0x24c]
call fcn.00451108
mov edx, esi
lea ecx, [ebp - 0x234]
call fcn.0044ff65
push edi
push 1
lea ecx, [ebp - 0x234]
mov bl, al
call fcn.00451108
mov al, bl
call fcn.00509213
ret 4
Function at 0x478a65
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x533972
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, ecx
cmp dword [ebp + 0x78c], 0
je 0x478bef
push ecx
lea ecx, [esp + 0x20]
call fcn.0047e1ab
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edi, [esp + 0x2c]
mov esi, eax
lea eax, [esp + 0x1c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call ebx
push 3
pop eax
mov word [esp + 0x1c], ax
lea esi, [esp + 0x1c]
mov dword [esp + 0x24], eax
lea edi, [esp + 0x3c]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x1c]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call ebx
mov ecx, dword [ebp + 0x78c]
call fcn.004bac8e
push 1
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x54]
push ecx
push str.WSAppInvoke
push eax
call fcn.004baf1e
add esp, 0x14
test eax, eax
jns 0x478bef
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x98], ebx
push eax
push ebx
call dword [sym.imp.OLEAUT32.dll_SetErrorInfo]
test eax, eax
js 0x478bd9
mov eax, dword [esp + 0x14]
test eax, eax
je 0x478bdd
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x478bd9
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x59835c], ebx
je 0x478bcf
push dword [esp + 0x18]
lea ecx, [esp + 0x60]
call fcn.00450dd2
lea edx, [esp + 0x5c]
mov byte [esp + 0x98], 1
lea ecx, [esp + 0x74]
call fcn.004827d5
mov byte [esp + 0x98], 2
cmp dword [eax + 0x14], 0x10
jb 0x478b9a
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._INFO___d___bstrDescription___s
push 3
push dword [0x59835c]
call fcn.00481b57
add esp, 0x14
lea ecx, [esp + 0x74]
push ebx
push 1
call fcn.0044ea87
push ebx
push 1
lea ecx, [esp + 0x64]
call fcn.00451108
push dword [esp + 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x14]
or dword [esp + 0x98], 0xffffffff
test eax, eax
je 0x478bef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.00504075
add esp, 0x88
ret
Function at 0x4790ce
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x533a5d
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x888]
lea eax, [esp + 0x5c]
push eax
call fcn.004719e7
mov edx, eax
xor ebx, ebx
mov dword [esp + 0x80], ebx
cmp dword [edx + 0x14], 8
jb 0x479125
mov edx, dword [edx]
mov ecx, dword [esi + 0x7f4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x2c]
or dword [esp + 0x80], 0xffffffff
lea ecx, [esp + 0x5c]
xor ebp, ebp
push ebx
inc ebp
push ebp
call fcn.00451108
mov ecx, dword [esi + 0x7dc]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [esi + 0x774]
push ebp
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [esi + 0x7e0]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x104]
lea edi, [esi + 0xcb8]
mov ecx, edi
call fcn.004bf1ff
test eax, eax
je 0x47918e
push ebp
push ebx
mov ecx, edi
call fcn.004a1723
mov ecx, dword [esi + 0x7e4]
push ebx
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, dword [esi + 0x7f0]
push ebp
mov eax, dword [ecx]
call dword [eax + 0x104]
push 0x7be
push dword [esi + 0x7c8]
lea ecx, [esi + 0x30]
call fcn.0049c01d
push 0x563fae
lea ecx, [esp + 0x30]
call fcn.0044ea5a
push 0x563faf
lea ecx, [esp + 0x18]
mov dword [esp + 0x84], ebp
call fcn.0044ea5a
push str.downloader_error_pop
lea ecx, [esp + 0x48]
mov byte [esp + 0x84], 2
call fcn.0044ea5a
lea eax, [esp + 0x2c]
mov byte [esp + 0x80], 3
push eax
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0045fc60
mov ecx, eax
call fcn.004600e9
push ebx
push ebp
lea ecx, [esp + 0x4c]
call fcn.0044ea87
push ebx
push ebp
lea ecx, [esp + 0x1c]
call fcn.0044ea87
push ebx
push ebp
lea ecx, [esp + 0x34]
call fcn.0044ea87
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00504075
add esp, 0x70
ret
Function at 0x47d4e4
Capabilities:
Create process on windows

Disassembly:
push 0x24
mov eax, 0x534445
call fcn.00509264
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
xor esi, esi
mov dword [ebp - 4], esi
push eax
call fcn.0044f86d
lea ecx, [ebp - 0x2c]
call fcn.00483708
add esp, 0x18
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x47d51a
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x30]
call fcn.00450c1b
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00451108
push 1
push esi
push esi
push dword [ebp - 0x30]
push str.Open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x30]
cmp eax, 0x20
setg bl
add ecx, 0xfffffff0
call fcn.00450ce2
push esi
push 1
lea ecx, [ebp + 8]
call fcn.00451108
mov al, bl
call fcn.00509213
ret

Function at 0x47e421
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x12c
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
mov ebp, dword [esp + 0x13c]
push esi
push edi
push 0x56c9f4
push dword [esp + 0x144]
mov esi, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], esi
call fcn.00507ae0
mov dword [esp + 0x20], eax
pop ecx
pop ecx
test eax, eax
jne 0x47e48e
test esi, esi
je 0x47e487
lea ecx, [esp + 0x28]
call fcn.0047edea
push eax
mov ecx, esi
call fcn.00461635
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00451108
xor al, al
jmp 0x47e5ab
xor ebx, ebx
test ebp, ebp
je 0x47e49d
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
jmp 0x47e4a1
mov dword [esp + 0x1c], ebx
push 9
xor eax, eax
lea edi, [esp + 0x46]
pop ecx
mov word [esp + 0x40], ax
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
push ebx
stosw word es:[edi], ax
call fcn.00450e01
mov edi, dword [esp + 0x18]
push 2
pop eax
push eax
push ebx
push edi
call fcn.0050a282
add esp, 0xc
push edi
call fcn.0050a695
pop ecx
push ebx
push ebx
push edi
mov dword [esp + 0x20], eax
call fcn.0050a282
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x47e562
mov ebx, eax
push ebx
call fcn.004ed091
pop ecx
mov edi, eax
mov eax, dword [esp + 0x18]
push eax
push 1
push ebx
push edi
call fcn.0050a147
push ebx
mov edx, edi
xor ecx, ecx
call fcn.0047eb94
add esp, 0x14
mov ebx, eax
xor ecx, ecx
push 2
pop edx
lea eax, [ebx + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004ed091
pop ecx
push dword [esp + 0x14]
mov esi, eax
mov edx, edi
mov ecx, esi
call fcn.0047eb94
pop ecx
mov ecx, dword [esp + 0x20]
push ebx
push esi
call fcn.00450d41
push esi
call fcn.00504d2f
pop ecx
push edi
call fcn.00504d2f
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
pop ecx
push ebx
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x74]
push str._s_d_bytes_to__d_wide_chars
push eax
call fcn.005079a9
add esp, 0x14
test esi, esi
je 0x47e597
lea eax, [esp + 0x68]
push eax
call fcn.00450dae
pop ecx
push eax
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
call fcn.00450d41
push edi
call fcn.00506c87
pop ecx
test ebp, ebp
je 0x47e5a9
mov ecx, dword [esp + 0x1c]
mov dword [ebp], ecx
mov al, 1
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00504075
add esp, 0x12c
ret
Function at 0x47e5c4
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x12c
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x144]
mov ebp, edx
push 0x56c9fc
push dword [esp + 0x144]
mov esi, ecx
mov dword [esp + 0x2c], edi
mov bl, 1
call fcn.00507ae0
mov dword [esp + 0x1c], eax
pop ecx
pop ecx
test eax, eax
jne 0x47e631
test ebp, ebp
je 0x47e62a
lea ecx, [esp + 0x28]
call fcn.0047edea
push eax
mov ecx, ebp
call fcn.00461635
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00451108
xor al, al
jmp 0x47e73b
test edi, edi
je 0x47e63d
mov edx, dword [edi]
mov dword [esp + 0x18], edx
jmp 0x47e642
and dword [esp + 0x18], 0
xor eax, eax
lea edi, [esp + 0x42]
push 9
mov word [esp + 0x44], ax
pop ecx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esi + 0x10]
xor edi, edi
mov dword [esp + 0x1c], eax
test eax, eax
je 0x47e6c5
cmp dword [esi + 0x14], 8
jb 0x47e66b
mov edx, dword [esi]
jmp 0x47e66d
mov edx, esi
push 0
xor ecx, ecx
call fcn.0047ea8f
mov edi, eax
pop ecx
lea ecx, [edi + 1]
push ecx
call fcn.004ed091
cmp dword [esi + 0x14], 8
mov ebx, eax
pop ecx
mov dword [esp + 0x20], ebx
jb 0x47e691
mov esi, dword [esi]
push edi
mov edx, esi
mov ecx, ebx
call fcn.0047ea8f
mov esi, dword [esp + 0x18]
pop ecx
push esi
push 1
push edi
push ebx
call fcn.005066de
push dword [esp + 0x30]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.00504d2f
mov eax, dword [esp + 0x30]
add esp, 0x14
jmp 0x47e6c9
mov esi, dword [esp + 0x14]
push edi
lea ecx, [esp + 0x44]
push ecx
push eax
lea eax, [esp + 0x74]
push str._d_wide_chars_to__s_d_bytes
push eax
call fcn.005079a9
add esp, 0x14
test ebp, ebp
je 0x47e6fe
lea eax, [esp + 0x68]
push eax
call fcn.00450dae
pop ecx
push eax
lea eax, [esp + 0x6c]
mov ecx, ebp
push eax
call fcn.00450d41
test bl, bl
jne 0x47e724
test ebp, ebp
je 0x47e724
lea ecx, [esp + 0x28]
call fcn.0047edea
push eax
mov ecx, ebp
call fcn.00461635
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00451108
push esi
call fcn.00506c87
mov eax, dword [esp + 0x28]
pop ecx
test eax, eax
je 0x47e739
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
mov al, bl
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00504075
add esp, 0x12c
ret
Function at 0x48199f
Capabilities:
Move file

Disassembly:
push 0x24
mov eax, 0x534952
call fcn.00509264
mov esi, 0x5993c0
mov dword [ebp - 0x30], esi
xor ebx, ebx
mov dword [ebp - 4], 2
cmp dword [0x599424], ebx
je 0x481a02
push ecx
call fcn.00481623
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.00481332
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x4819de
mov ecx, dword [ecx]
cmp dword [0x5993d4], 0x10
mov eax, esi
push ecx
cmovae eax, dword [0x5993c0]
push eax
call fcn.0050c570
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0044ea87
push ebx
push 1
mov ecx, 0x599408
call fcn.0044ea87
mov ecx, 0x5993d8
mov byte [ebp - 4], bl
call fcn.004810d9
push ebx
push 1
mov ecx, esi
call fcn.0044ea87
call fcn.00509213
ret

Function at 0x481a2c
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x53497f
call fcn.00509231
cmp dword [0x599418], 0
jne 0x481a4c
push str._simpleLog::Log__log_filename_is_empty_n
call fcn.0050c4c1
pop ecx
cmp dword [0x599420], 0
mov esi, 0x5993c0
jne 0x481a66
push 0x599408
mov ecx, esi
call fcn.0045454d
xor ebx, ebx
mov dword [ebp - 0x18], 0x5993e4
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x14], bl
call fcn.00481f1b
push ebx
push ebx
push esi
push 0x48121c
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.00506d76
add esp, 0x18
mov dword [ebp - 0x10], eax
test eax, eax
je 0x481aa4
lea eax, [ebp - 0x10]
mov ecx, 0x5993d8
push eax
call fcn.00481fb4
cmp byte [ebp - 0x14], 0
je 0x481ab5
mov eax, dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.005091ff
ret
Function at 0x4828ab
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x534af2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebx
xor ebp, ebp
xor eax, eax
inc ebp
mov dword [esp + 0x230], ebp
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], ax
push 0x206
mov word [esp + 0x20], ax
lea eax, [esp + 0x22]
push ebx
push eax
mov dword [esp + 0x20], ebp
call fcn.00508bf0
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
push 0x2e
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x4829b4
lea eax, [esp + 0x1c]
push eax
call fcn.00450dae
pop ecx
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.00450d41
mov esi, 0x56da18
push esi
call fcn.00450dae
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004543ac
cmp dword [esp + 0x248], ebx
je 0x48298a
cmp dword [esp + 0x24c], 8
lea esi, [esp + 0x238]
cmovae esi, dword [esp + 0x238]
jmp 0x48298f
mov esi, 0x56da20
push esi
call fcn.00450dae
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004543ac
mov esi, 0x56da1c
push esi
call fcn.00450dae
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004543ac
cmp dword [edi + 0x14], 8
jb 0x4829be
mov eax, dword [edi]
jmp 0x4829c0
mov eax, edi
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push ebx
push ebp
lea ecx, [esp + 0x240]
call fcn.00451108
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00504075
add esp, 0x220
ret
Function at 0x482c42
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x534be3
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
xor eax, eax
mov dword [esp + 0x28], edi
push 0xc6
mov word [esp + 0x78], ax
lea eax, [esp + 0x7a]
push edi
push eax
call fcn.00508bf0
add esp, 0xc
mov dword [esp + 0x20], 0x64
mov dword [esp + 0x1c], edi
call fcn.00482c03
test al, al
mov edx, 0x200
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
lea eax, [esp + 0x1c]
cmovne ecx, edx
push eax
push edi
or ecx, 0x20019
push ecx
push edi
push edi
push edi
push str.SoftwareMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
xor ebp, ebp
inc ebp
test eax, eax
jne 0x482d15
lea eax, [esp + 0x20]
mov dword [esp + 0x24], ebp
push eax
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x2c]
push eax
push edi
push 0x56da9c
push dword [esp + 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x30]
call fcn.00450dd2
mov dword [esp + 0x148], edi
cmp dword [esp + 0x3c], 0
jne 0x482d43
push 0x56db0c
lea ecx, [esp + 0x60]
call fcn.00450dd2
mov ebx, ebp
jmp 0x482d54
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.0044f86d
push 2
pop ebx
push eax
mov ecx, esi
call fcn.0045056e
or ebx, 4
test bl, 2
je 0x482d72
push edi
push ebp
lea ecx, [esp + 0x4c]
and ebx, 0xfffffffd
call fcn.00451108
test bl, 1
je 0x482d82
push edi
push ebp
lea ecx, [esp + 0x64]
call fcn.00451108
push edi
push ebp
lea ecx, [esp + 0x34]
call fcn.00451108
mov eax, esi
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00504075
add esp, 0x138
ret
Function at 0x483914
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x534ded
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x591700]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x591700]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, edx
and dword [esp + 0x1c], 0
cmp dword [ecx + 0x14], 8
jb 0x483955
mov ecx, dword [ecx]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor edi, edi
mov ebp, eax
cmp dword [esp + 0x1c], edi
jle 0x483aaa
push dword [ebp + edi*4]
lea ecx, [esp + 0x28]
call fcn.00450dd2
and dword [esp + 0x78], 0
lea ecx, [esp + 0x3c]
push 0x56dca8
call fcn.00450dd2
push 0x56dd14
mov byte [esp + 0x7c], 1
call fcn.00450dae
pop ecx
push eax
push 0
push 0x56dd14
lea ecx, [esp + 0x30]
call fcn.00461742
mov esi, eax
cmp esi, 0xffffffff
je 0x483a10
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x54]
sub ecx, esi
dec ecx
push ecx
lea ecx, [esi + 1]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.00453e11
push eax
lea ecx, [esp + 0x40]
call fcn.00461635
push 0
push 1
lea ecx, [esp + 0x5c]
call fcn.00451108
push esi
push 0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
call fcn.00453e11
push eax
lea ecx, [esp + 0x28]
call fcn.00461635
push 0
push 1
lea ecx, [esp + 0x5c]
call fcn.00451108
lea eax, [esp + 0x24]
mov ecx, ebx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00467b05
mov esi, dword [esp + 0x18]
cmp esi, dword [ebx]
je 0x483a3b
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00465e40
test al, al
je 0x483a6b
lea eax, [esp + 0x24]
push ecx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push ecx
mov ecx, ebx
call fcn.0048468f
push eax
add eax, 0x10
mov ecx, ebx
push eax
push esi
lea eax, [esp + 0x2c]
push eax
call fcn.00467be2
mov esi, dword [esp + 0x20]
mov dword [esp + 0x18], esi
lea ecx, [esi + 0x28]
lea eax, [esp + 0x3c]
cmp ecx, eax
je 0x483a80
push 0xffffffffffffffff
push 0
push eax
call fcn.00451030
push 0
push 1
lea ecx, [esp + 0x44]
call fcn.00451108
or dword [esp + 0x78], 0xffffffff
lea ecx, [esp + 0x24]
push 0
push 1
call fcn.00451108
inc edi
cmp edi, dword [esp + 0x1c]
jl 0x48396f
push ebp
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00504075
add esp, 0x68
ret