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

Disassembly:
push 0xffffffffffffffff
push 0x532387
mov eax, dword fs:[0]
push eax
sub esp, 0x444
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x440], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
xor eax, esp
push eax
lea eax, [esp + 0x458]
mov dword fs:[0], eax
mov edi, dword [esp + 0x468]
xor ebx, ebx
mov esi, dword [esp + 0x46c]
xor eax, eax
mov dword [esp + 0x24], ebx
xor ebp, ebp
push 0x40e
mov word [esp + 0x48], ax
inc ebp
lea eax, [esp + 0x4a]
mov dword [esp + 0x2c], edi
push ebx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x24], ebp
call fcn.00508650
xor eax, eax
mov dword [esp + 0x28], 0x208
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], ax
mov dword [esp + 0x46c], ebx
lea ecx, [esp + 0x38]
push esi
mov edx, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths_
mov dword [esp + 0x34], ebp
call fcn.00465fd2
add esp, 0x10
lea ecx, [esp + 0x20]
mov dword [esp + 0x460], 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 reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x471e0f
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 0x56865c
push dword [esp + 0x28]
call ebp
test eax, eax
jne 0x471e0f
lea eax, [esp + 0x44]
push eax
call esi
test eax, eax
jne 0x471e7f
cmp dword [esp + 0x14], 0
je 0x471e21
push dword [esp + 0x14]
call ebx
and dword [esp + 0x14], 0
cmp dword [esp + 0x40], 8
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x34]
cmovae eax, dword [esp + 0x34]
xor ecx, ecx
push ecx
push 0x20219
push ecx
push ecx
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x471e97
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x20]
push eax
push 0
push 0x5686b4
push dword [esp + 0x28]
call ebp
test eax, eax
jne 0x471e97
lea eax, [esp + 0x44]
push eax
call esi
test eax, eax
je 0x471e97
lea eax, [esp + 0x44]
push eax
call fcn.00450d8e
pop ecx
push eax
lea eax, [esp + 0x48]
mov ecx, edi
push eax
call fcn.00450d21
cmp dword [esp + 0x14], 0
je 0x471ea9
push dword [esp + 0x14]
call ebx
and dword [esp + 0x14], 0
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.004510e8
mov eax, edi
mov ecx, dword [esp + 0x458]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x440]
xor ecx, esp
call fcn.00503ade
add esp, 0x450
ret 8
Function at 0x471ee2
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5323e2
mov eax, dword fs:[0]
push eax
sub esp, 0x460
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x458], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
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.00508650
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 0x5687b0
mov dword [esp + 0x28], ebp
call fcn.00450db2
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 0x47206b
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
push 0x56873c
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x47206b
lea eax, [esp + 0x5c]
push eax
call fcn.00450d8e
pop ecx
push eax
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.00450d21
mov edi, 0x5687ac
push edi
call fcn.00450d8e
pop ecx
push eax
push ebp
push edi
mov ecx, esi
call fcn.004616b8
cmp eax, 0xffffffff
je 0x47203f
dec eax
mov ecx, esi
push eax
push ebp
lea eax, [esp + 0x4c]
push eax
call fcn.00453de3
push eax
mov ecx, esi
call fcn.004615ab
push ebx
push ebp
lea ecx, [esp + 0x4c]
call fcn.004510e8
cmp dword [esi + 0x14], 8
jb 0x472049
mov eax, dword [esi]
jmp 0x47204b
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47206b
mov edi, 0x568804
push edi
call fcn.00450d8e
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00450d21
cmp dword [esp + 0x14], 0
je 0x472080
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.004510e8
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.00503ade
add esp, 0x46c
ret 4
Function at 0x4722e5
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x468
mov eax, dword [0x590700]
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 0x472414
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x4723eb
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [esp + 0x20], eax
je 0x4723df
xor eax, eax
push 0x206
push eax
mov word [esp + 0x268], ax
lea eax, [esp + 0x26a]
push eax
call fcn.00508650
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 0x4723a5
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.00450db2
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x250]
call fcn.00472a85
push 0
push 1
cmp eax, 0xffffffff
jne 0x4723f5
lea ecx, [esp + 0x250]
call fcn.004510e8
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x472341
jmp 0x47240d
mov ecx, dword [esp + 0x18]
mov bl, 1
mov eax, dword [esp + 0x28]
mov dword [ecx], eax
lea ecx, [esp + 0x250]
call fcn.004510e8
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.00503ade
add esp, 0x468
ret 8
Function at 0x47851d
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x533247
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebp, ecx
cmp dword [ebp + 0x78c], 0
je 0x4786a7
push ecx
lea ecx, [esp + 0x20]
call fcn.0047dc68
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.004ba6a4
push 1
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x54]
push ecx
push str.WSAppInvoke
push eax
call fcn.004ba93c
add esp, 0x14
test eax, eax
jns 0x4786a7
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 0x478691
mov eax, dword [esp + 0x14]
test eax, eax
je 0x478695
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x478691
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [0x59735c], ebx
je 0x478687
push dword [esp + 0x18]
lea ecx, [esp + 0x60]
call fcn.00450db2
lea edx, [esp + 0x5c]
mov byte [esp + 0x98], 1
lea ecx, [esp + 0x74]
call fcn.00482292
mov byte [esp + 0x98], 2
cmp dword [eax + 0x14], 0x10
jb 0x478652
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 [0x59735c]
call fcn.00481614
add esp, 0x14
lea ecx, [esp + 0x74]
push ebx
push 1
call fcn.0044ea67
push ebx
push 1
lea ecx, [esp + 0x64]
call fcn.004510e8
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 0x4786a7
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.00503ade
add esp, 0x88
ret
Function at 0x478b86
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x533332
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
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.00471987
mov edx, eax
xor ebx, ebx
mov dword [esp + 0x80], ebx
cmp dword [edx + 0x14], 8
jb 0x478bdd
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.004510e8
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.004d020e
test eax, eax
je 0x478c46
push ebp
push ebx
mov ecx, edi
call fcn.004a1187
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.0049ba1c
push 0x562fae
lea ecx, [esp + 0x30]
call fcn.0044ea3a
push 0x562faf
lea ecx, [esp + 0x18]
mov dword [esp + 0x84], ebp
call fcn.0044ea3a
push str.downloader_error_pop
lea ecx, [esp + 0x48]
mov byte [esp + 0x84], 2
call fcn.0044ea3a
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.0045fc30
mov ecx, eax
call fcn.0046005e
push ebx
push ebp
lea ecx, [esp + 0x4c]
call fcn.0044ea67
push ebx
push ebp
lea ecx, [esp + 0x1c]
call fcn.0044ea67
push ebx
push ebp
lea ecx, [esp + 0x34]
call fcn.0044ea67
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.00503ade
add esp, 0x70
ret
Function at 0x47cfa1
Capabilities:
Create process on windows

Disassembly:
push 0x24
mov eax, 0x533d1a
call fcn.00508cc4
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
xor esi, esi
mov dword [ebp - 4], esi
push eax
call fcn.0044f84d
lea ecx, [ebp - 0x2c]
call fcn.004831c5
add esp, 0x18
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x47cfd7
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x30]
call fcn.00450bfb
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004510e8
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.00450cc2
push esi
push 1
lea ecx, [ebp + 8]
call fcn.004510e8
mov al, bl
call fcn.00508c73
ret

Function at 0x47dede
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x12c
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
mov ebp, dword [esp + 0x13c]
push esi
push edi
push 0x56b9e4
push dword [esp + 0x144]
mov esi, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], esi
call fcn.00507540
mov dword [esp + 0x20], eax
pop ecx
pop ecx
test eax, eax
jne 0x47df4b
test esi, esi
je 0x47df44
lea ecx, [esp + 0x28]
call fcn.0047e8a7
push eax
mov ecx, esi
call fcn.004615ab
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.004510e8
xor al, al
jmp 0x47e068
xor ebx, ebx
test ebp, ebp
je 0x47df5a
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
jmp 0x47df5e
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.00450de1
mov edi, dword [esp + 0x18]
push 2
pop eax
push eax
push ebx
push edi
call fcn.00509ce5
add esp, 0xc
push edi
call fcn.0050a0f8
pop ecx
push ebx
push ebx
push edi
mov dword [esp + 0x20], eax
call fcn.00509ce5
mov eax, dword [esp + 0x20]
add esp, 0xc
test eax, eax
je 0x47e01f
mov ebx, eax
push ebx
call fcn.004eca81
pop ecx
mov edi, eax
mov eax, dword [esp + 0x18]
push eax
push 1
push ebx
push edi
call fcn.00509baa
push ebx
mov edx, edi
xor ecx, ecx
call fcn.0047e651
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.004eca81
pop ecx
push dword [esp + 0x14]
mov esi, eax
mov edx, edi
mov ecx, esi
call fcn.0047e651
pop ecx
mov ecx, dword [esp + 0x20]
push ebx
push esi
call fcn.00450d21
push esi
call fcn.0050478f
pop ecx
push edi
call fcn.0050478f
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.00507409
add esp, 0x14
test esi, esi
je 0x47e054
lea eax, [esp + 0x68]
push eax
call fcn.00450d8e
pop ecx
push eax
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
call fcn.00450d21
push edi
call fcn.005066e7
pop ecx
test ebp, ebp
je 0x47e066
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.00503ade
add esp, 0x12c
ret
Function at 0x47e081
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x12c
mov eax, dword [0x590700]
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 0x56b9ec
push dword [esp + 0x144]
mov esi, ecx
mov dword [esp + 0x2c], edi
mov bl, 1
call fcn.00507540
mov dword [esp + 0x1c], eax
pop ecx
pop ecx
test eax, eax
jne 0x47e0ee
test ebp, ebp
je 0x47e0e7
lea ecx, [esp + 0x28]
call fcn.0047e8a7
push eax
mov ecx, ebp
call fcn.004615ab
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.004510e8
xor al, al
jmp 0x47e1f8
test edi, edi
je 0x47e0fa
mov edx, dword [edi]
mov dword [esp + 0x18], edx
jmp 0x47e0ff
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 0x47e182
cmp dword [esi + 0x14], 8
jb 0x47e128
mov edx, dword [esi]
jmp 0x47e12a
mov edx, esi
push 0
xor ecx, ecx
call fcn.0047e54c
mov edi, eax
pop ecx
lea ecx, [edi + 1]
push ecx
call fcn.004eca81
cmp dword [esi + 0x14], 8
mov ebx, eax
pop ecx
mov dword [esp + 0x20], ebx
jb 0x47e14e
mov esi, dword [esi]
push edi
mov edx, esi
mov ecx, ebx
call fcn.0047e54c
mov esi, dword [esp + 0x18]
pop ecx
push esi
push 1
push edi
push ebx
call fcn.0050613e
push dword [esp + 0x30]
lea ebx, [eax - 1]
neg ebx
sbb bl, bl
inc bl
call fcn.0050478f
mov eax, dword [esp + 0x30]
add esp, 0x14
jmp 0x47e186
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.00507409
add esp, 0x14
test ebp, ebp
je 0x47e1bb
lea eax, [esp + 0x68]
push eax
call fcn.00450d8e
pop ecx
push eax
lea eax, [esp + 0x6c]
mov ecx, ebp
push eax
call fcn.00450d21
test bl, bl
jne 0x47e1e1
test ebp, ebp
je 0x47e1e1
lea ecx, [esp + 0x28]
call fcn.0047e8a7
push eax
mov ecx, ebp
call fcn.004615ab
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.004510e8
push esi
call fcn.005066e7
mov eax, dword [esp + 0x28]
pop ecx
test eax, eax
je 0x47e1f6
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.00503ade
add esp, 0x12c
ret
Function at 0x48145c
Capabilities:
Move file

Disassembly:
push 0x24
mov eax, 0x534227
call fcn.00508cc4
mov esi, 0x5983a8
mov dword [ebp - 0x30], esi
xor ebx, ebx
mov dword [ebp - 4], 2
cmp dword [0x59840c], ebx
je 0x4814bf
push ecx
call fcn.004810e0
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.00480def
mov ecx, eax
cmp dword [ecx + 0x14], 0x10
jb 0x48149b
mov ecx, dword [ecx]
cmp dword [0x5983bc], 0x10
mov eax, esi
push ecx
cmovae eax, dword [0x5983a8]
push eax
call fcn.0050bfd0
pop ecx
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0044ea67
push ebx
push 1
mov ecx, 0x5983f0
call fcn.0044ea67
mov ecx, 0x5983c0
mov byte [ebp - 4], bl
call fcn.00480b96
push ebx
push 1
mov ecx, esi
call fcn.0044ea67
call fcn.00508c73
ret

Function at 0x4814e9
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x534254
call fcn.00508c91
cmp dword [0x598400], 0
jne 0x481509
push str._simpleLog::Log__log_filename_is_empty_n
call fcn.0050bf21
pop ecx
cmp dword [0x598408], 0
mov esi, 0x5983a8
jne 0x481523
push 0x5983f0
mov ecx, esi
call fcn.0045451f
xor ebx, ebx
mov dword [ebp - 0x18], 0x5983cc
lea ecx, [ebp - 0x18]
mov byte [ebp - 0x14], bl
call fcn.004819d8
push ebx
push ebx
push esi
push 0x480cd9
push ebx
push ebx
mov dword [ebp - 4], ebx
call fcn.005067d6
add esp, 0x18
mov dword [ebp - 0x10], eax
test eax, eax
je 0x481561
lea eax, [ebp - 0x10]
mov ecx, 0x5983c0
push eax
call fcn.00481a71
cmp byte [ebp - 0x14], 0
je 0x481572
mov eax, dword [ebp - 0x18]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call fcn.00508c5f
ret
Function at 0x482368
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x5343c7
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
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.00508650
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 0x482471
lea eax, [esp + 0x1c]
push eax
call fcn.00450d8e
pop ecx
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
call fcn.00450d21
mov esi, 0x56ca08
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0045437e
cmp dword [esp + 0x248], ebx
je 0x482447
cmp dword [esp + 0x24c], 8
lea esi, [esp + 0x238]
cmovae esi, dword [esp + 0x238]
jmp 0x48244c
mov esi, 0x56ca10
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0045437e
mov esi, 0x56ca0c
push esi
call fcn.00450d8e
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0045437e
cmp dword [edi + 0x14], 8
jb 0x48247b
mov eax, dword [edi]
jmp 0x48247d
mov eax, edi
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push ebx
push ebp
lea ecx, [esp + 0x240]
call fcn.004510e8
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.00503ade
add esp, 0x220
ret
Function at 0x4826ff
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5344b8
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x590700]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x590700]
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.00508650
add esp, 0xc
mov dword [esp + 0x20], 0x64
mov dword [esp + 0x1c], edi
call fcn.004826c0
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 0x4827d2
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 0x56ca8c
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.00450db2
mov dword [esp + 0x148], edi
cmp dword [esp + 0x3c], 0
jne 0x482800
push 0x56cafc
lea ecx, [esp + 0x60]
call fcn.00450db2
mov ebx, ebp
jmp 0x482811
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x48]
call fcn.0044f84d
push 2
pop ebx
push eax
mov ecx, esi
call fcn.0045054e
or ebx, 4
test bl, 2
je 0x48282f
push edi
push ebp
lea ecx, [esp + 0x4c]
and ebx, 0xfffffffd
call fcn.004510e8
test bl, 1
je 0x48283f
push edi
push ebp
lea ecx, [esp + 0x64]
call fcn.004510e8
push edi
push ebp
lea ecx, [esp + 0x34]
call fcn.004510e8
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.00503ade
add esp, 0x138
ret