joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e83e0
Capabilities:
Set registry value

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [0x6825d4]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 4]
push 0x24a
push eax
push 0
push 0
push str.evDownloadComplete
push ecx
call edi
mov eax, dword [0x6825d4]
lea edx, [esi + 0x24e]
push 0x24a
push edx
push 0
push 0
push str.evDownloadFailed
push eax
call edi
mov edx, dword [0x6825d4]
lea ecx, [esi + 0x498]
push 0x24a
push ecx
push 0
push 0
push str.evQueueStarted
push edx
call edi
mov eax, dword [0x6825d4]
add esi, 0x6e2
push 0x24a
push esi
push 0
push 0
push str.evQueueFinished
push eax
call edi
pop edi
pop esi
ret

Function at 0x4e8490
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c3fe3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x92c]
mov dword [ebp - 0x10], esp
cmp eax, ebx
jne 0x4e853e
call fcn.004e8460
test al, al
jne 0x4e853e
lea ecx, [ebp - 0x220]
call fcn.00483e70
mov eax, dword [0x67da2c]
mov dword [ebp - 4], ebx
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp + 8]
push str.Error__ld_during_LoadWINMMLibrary___n
push ecx
call fcn.00599a28
mov edx, dword [ebp + 8]
add esp, 0xc
lea ecx, [ebp - 0x220]
push 1
push edx
call fcn.00483f90
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.005a0c5d
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0xffffffff
call fcn.00483f80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4e852b
push 0x20001
push ebx
push edi
mov dword [ebp - 4], 2
call dword [esi + 0x92c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4e8860
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push 0
push eax
push 0
push 0xf003f
mov esi, ecx
push 0
mov ecx, dword [0x6825d4]
push 0x681f78
push 0
push str.SpecialKeys
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4e8999
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esi + 8]
push 4
push edx
push 4
push eax
mov eax, dword [esp + 0x18]
push str.UseKeyToPrevent
push eax
call edi
mov edx, dword [esp + 8]
lea ecx, [esi + 4]
push 4
push ecx
push 4
push 0
push str.UseKeyToForce
push edx
call edi
mov ecx, dword [esp + 8]
lea eax, [esi + 0xc]
push 4
push eax
push 4
push 0
push str.AltP
push ecx
call edi
mov eax, dword [esp + 8]
lea edx, [esi + 0x10]
push 4
push edx
push 4
push 0
push str.ShiftP
push eax
call edi
mov edx, dword [esp + 8]
lea ecx, [esi + 0x14]
push 4
push ecx
push 4
push 0
push str.CtrlP
push edx
call edi
mov ecx, dword [esp + 8]
lea eax, [esi + 0x18]
push 4
push eax
push 4
push 0
push str.AltF
push ecx
call edi
mov eax, dword [esp + 8]
lea edx, [esi + 0x1c]
push 4
push edx
push 4
push 0
push str.CtrlF
push eax
call edi
mov edx, dword [esp + 8]
lea ecx, [esi + 0x20]
push 4
push ecx
push 4
push 0
push str.ShiftF
push edx
call edi
mov ecx, dword [esp + 8]
lea eax, [esi + 0x24]
push 4
push eax
push 4
push 0
push str.InsF
push ecx
call edi
mov eax, dword [esp + 8]
lea edx, [esi + 0x28]
push 4
push edx
push 4
push 0
push str.CheckMouse
push eax
call edi
mov ecx, dword [esp + 8]
add esi, 0x2c
push 4
push esi
push 4
push 0
push str.SkipHtml
push ecx
call edi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ecx
ret
Function at 0x4e92e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
mov edx, dword [0x6825d4]
push esi
mov esi, ecx
lea eax, [esp + 8]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
mov ebx, 4
push str.sls_maxSpeed
push edx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
jne 0x4e932e
push eax
push 0x400
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.005870a0
mov dword [esi + 8], eax
mov dword [esi + 0xc], edx
mov eax, dword [esi + 0xc]
test eax, eax
jg 0x4e934c
jl 0x4e933e
mov eax, dword [esi + 8]
test eax, eax
ja 0x4e934c
mov dword [esi + 8], 0x2800
mov dword [esi + 0xc], 0
mov eax, dword [0x6825d4]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x10]
push ecx
push edx
push 0
push 0
push str.sls_bTOOst
push eax
mov dword [esp + 0x24], ebx
call edi
test eax, eax
jne 0x4e937b
mov eax, dword [esp + 0x10]
test eax, eax
setne cl
mov byte [esi + 0x11], cl
mov al, byte [esi + 0x11]
test al, al
je 0x4e9386
mov byte [esi + 0x10], 1
mov ecx, dword [0x6825d4]
lea edx, [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push str.sls_bShChb
push ecx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
jne 0x4e93b6
mov eax, dword [esp + 0x10]
test eax, eax
setne dl
mov byte [esi + 0x12], dl
mov edx, dword [0x6825d4]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0
push str.sls_bRemIndEx
push edx
mov dword [esp + 0x24], ebx
call edi
test eax, eax
jne 0x4e93e6
mov eax, dword [esp + 0x10]
test eax, eax
setne al
mov byte [esi + 0x13], al
pop edi
pop esi
pop ebx
add esp, 8
ret

Function at 0x4e93f0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 0x400
push eax
push ecx
call fcn.00586630
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea edx, [esp + 8]
push 4
push edx
mov dword [esp + 0x10], eax
mov eax, dword [0x6825d4]
push 4
push 0
push str.sls_maxSpeed
push eax
call edi
mov dl, byte [esi + 0x11]
mov eax, dword [0x6825d4]
xor ecx, ecx
push 4
test dl, dl
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.sls_bTOOst
setne cl
push eax
mov dword [esp + 0x20], ecx
call edi
mov dl, byte [esi + 0x12]
mov eax, dword [0x6825d4]
xor ecx, ecx
push 4
test dl, dl
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.sls_bShChb
setne cl
push eax
mov dword [esp + 0x20], ecx
call edi
mov al, byte [esi + 0x13]
lea edx, [esp + 8]
push 4
xor ecx, ecx
push edx
push 4
test al, al
mov eax, dword [0x6825d4]
push 0
setne cl
push str.sls_bRemIndEx
push eax
mov dword [esp + 0x20], ecx
call edi
pop edi
pop esi
pop ecx
ret
Function at 0x4ee0f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c4736
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x230
push ebx
push ebp
push esi
xor esi, esi
test eax, eax
push edi
mov ebx, ecx
mov eax, str.SoftwareDownloadManagerGrabberStsIncludeFilters
jne 0x4ee125
mov eax, str.SoftwareDownloadManagerGrabberStsExcludeFilters
lea ecx, [esp + 0x34]
lea edx, [esp + 0x20]
push ecx
push edx
push 0
push 0xf003f
push 0
push 0x681f78
push 0
push eax
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4ee303
xor ebp, ebp
lea ecx, [esp + 0x30]
lea edx, [esp + 0x13c]
push ecx
lea ecx, [esp + 0x2c]
mov eax, 0x104
push edx
push ecx
lea edx, [esp + 0x38]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
push 0
lea ecx, [esp + 0x48]
mov eax, ebp
push edx
mov edx, dword [esp + 0x34]
push ecx
push eax
push edx
inc ebp
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, 0x103
je 0x4ee303
test eax, eax
jne 0x4ee155
cmp dword [esp + 0x28], 1
jne 0x4ee155
lea eax, [esp + 0x24]
lea ecx, [esp + 0x38]
push eax
push 0x659470
push ecx
call fcn.005862cc
add esp, 0xc
cmp eax, 1
jne 0x4ee155
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4ee155
lea edx, [esp + 0x38]
push 0x20
push edx
call fcn.00584850
mov edx, eax
add esp, 8
test edx, edx
je 0x4ee155
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jb 0x4ee155
mov eax, dword [0x67da2c]
inc edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24c], 0
call fcn.005a0de6
lea eax, [esp + 0x13c]
lea ecx, [esp + 0x10]
push eax
call fcn.005a0de6
mov eax, dword [esp + 0x250]
mov ecx, dword [esp + 0x24]
test eax, eax
mov byte [esp + 0x1c], 1
mov dword [esp + 0x18], ecx
je 0x4ee28d
mov esi, dword [ebx + 0x12c]
lea edi, [ebx + 0x124]
push 0xffffffffffffffff
mov ecx, edi
lea edx, [esi + 1]
push edx
call fcn.00484d10
mov edx, dword [edi + 4]
lea eax, [esp + 0x10]
shl esi, 4
add esi, edx
push eax
mov ecx, esi
call fcn.005a0d96
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esi + 4]
call fcn.005a0d96
mov edx, dword [esp + 0x18]
mov dword [esi + 8], edx
mov al, byte [esp + 0x1c]
mov byte [esi + 0xc], al
jmp 0x4ee2d5
mov esi, dword [ebx + 0x140]
lea edi, [ebx + 0x138]
push 0xffffffffffffffff
lea ecx, [esi + 1]
push ecx
mov ecx, edi
call fcn.00484d10
mov eax, dword [edi + 4]
lea edx, [esp + 0x10]
shl esi, 4
add esi, eax
push edx
mov ecx, esi
call fcn.005a0d96
lea eax, [esp + 0x14]
lea ecx, [esi + 4]
push eax
call fcn.005a0d96
mov ecx, dword [esp + 0x18]
mov dword [esi + 8], ecx
mov dl, byte [esp + 0x1c]
mov byte [esi + 0xc], dl
mov esi, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x248], esi
call fcn.005a0c5d
lea ecx, [esp + 0x10]
mov dword [esp + 0x248], 0xffffffff
call fcn.005a0c5d
jmp 0x4ee155
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x240]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x23c
ret 4
Function at 0x4ee330
Capabilities:
Delete registry key
Set registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c4750
push eax
mov dword fs:[0], esp
sub esp, 0x10
lea eax, [esp + 0xc]
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x18]
push eax
xor ebp, ebp
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
push ecx
push ebp
push 0xf003f
push ebp
push 0x681f78
push ebp
push str.SoftwareDownloadManagerGrabberSts
push reloc.WSOCK32.dll_accept
call ebx
test eax, eax
jne 0x4ee52d
mov edi, dword [esp + 0x30]
mov eax, str.IncludeFilters
cmp edi, ebp
jne 0x4ee393
mov eax, str.ExcludeFilters
mov edx, dword [esp + 0x18]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp edi, ebp
mov eax, str.IncludeFilters
jne 0x4ee3ad
mov eax, str.ExcludeFilters
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
push edx
push ebp
push 0xf003f
push ebp
push 0x681f78
push ebp
push eax
mov eax, dword [esp + 0x38]
push eax
call ebx
test eax, eax
jne 0x4ee52d
cmp edi, ebp
je 0x4ee47d
mov eax, dword [esi + 0x12c]
mov dword [esp + 0x10], ebp
cmp eax, ebp
jle 0x4ee519
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
or ebx, 0xffffffff
mov ecx, dword [esi + 0x128]
lea eax, [ecx + edi]
mov cl, byte [ecx + edi + 0xc]
test cl, cl
je 0x4ee462
mov edx, dword [0x67da2c]
mov dword [esp + 0x30], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push ecx
push edx
lea eax, [esp + 0x38]
push str._ld__s
push eax
mov dword [esp + 0x38], 0
call fcn.00599a28
mov ecx, dword [esi + 0x128]
mov edx, dword [esp + 0x40]
add esp, 0x10
mov eax, dword [ecx + edi]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x1c]
push 1
push 0
push edx
push eax
call ebp
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], ebx
call fcn.005a0c5d
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x12c]
inc eax
add edi, 0x10
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x4ee3f9
jmp 0x4ee519
mov eax, dword [esi + 0x140]
mov dword [esp + 0x30], ebp
cmp eax, ebp
jle 0x4ee519
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
or ebx, 0xffffffff
mov ecx, dword [esi + 0x13c]
lea eax, [edi + ecx]
mov cl, byte [edi + ecx + 0xc]
test cl, cl
je 0x4ee503
mov edx, dword [0x67da2c]
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push ecx
push edx
lea eax, [esp + 0x18]
push str._ld__s
push eax
mov dword [esp + 0x38], 1
call fcn.00599a28
mov ecx, dword [esi + 0x13c]
mov edx, dword [esp + 0x20]
add esp, 0x10
mov eax, dword [edi + ecx]
mov ecx, dword [eax - 8]
inc ecx
push ecx
push eax
mov eax, dword [esp + 0x1c]
push 1
push 0
push edx
push eax
call ebp
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
call fcn.005a0c5d
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 0x140]
inc eax
add edi, 0x10
cmp eax, ecx
mov dword [esp + 0x30], eax
jl 0x4ee49a
mov ecx, dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0x18]
push edx
call esi
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x4ee550
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
lea ecx, [esp]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0x681f78
push 0
push str.SoftwareDownloadManagerGrabberSts
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4ee5af
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 4]
push 4
push eax
mov dword [esp + 0xc], edx
mov edx, dword [esp + 8]
push 4
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esp, 0xc
ret 8
Function at 0x4f7c60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4ed0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
mov al, byte [esi + 0x650]
mov dword [ebp - 0x10], esp
cmp al, bl
je 0x4f7d58
lea eax, [ebp - 0x14]
lea ecx, [esi + 0x624]
push eax
push ecx
mov byte [esi + 0x650], bl
mov edx, dword [0x6825d4]
push ebx
push ebx
push str.GrabberWindowPlacement
push edx
mov dword [ebp - 0x14], 0x2c
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4f7d58
cmp dword [esi + 0x62c], 3
jne 0x4f7cde
push 3
mov ecx, esi
call fcn.005a035a
jmp 0x4f7d08
mov eax, dword [esi + 0x644]
mov edx, dword [esi + 0x64c]
mov ecx, dword [esi + 0x640]
sub edx, eax
push 4
push edx
mov edx, dword [esi + 0x648]
sub edx, ecx
push edx
push eax
push ecx
push ebx
mov ecx, esi
call fcn.005a030b
mov ecx, dword [esi + 0x84]
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x24]
push eax
push ecx
call edi
mov eax, dword [esi + 0x1c]
lea edx, [ebp - 0x34]
push edx
push eax
call edi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
mov edx, ecx
mov edi, dword [ebp - 0x24]
sub edx, eax
sub eax, ecx
mov ecx, dword [ebp - 0x28]
push ebx
push edx
mov edx, dword [ebp - 0x1c]
lea eax, [eax + ecx - 0x55]
mov ecx, dword [ebp - 0x2c]
mov ebx, edx
sub ecx, edx
sub ebx, edi
push ebx
lea edx, [ecx + edi - 0x23]
push eax
push edx
lea ecx, [esi + 0x68]
call fcn.005a02ca
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4f7d90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c4eeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov eax, dword [esi + 0x5f4]
mov dword [ebp - 4], edi
cmp eax, 4
je 0x4f7f24
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
push ecx
push edi
push 0xf003f
push edi
push 0x681f78
push edi
push str.SoftwareDownloadManagerGrabberDlgLS
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4f7e50
lea ecx, [ebp - 0x228]
call fcn.00483e70
push 1
push str.Cannot_open__create__registry_GetAllDlgLS_subkey._n
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 1
call fcn.00483f90
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0
call fcn.00483f80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, 7
jge 0x4f7e76
mov edx, dword [esi + 0x520]
push 0
push edi
push 0x101d
push edx
call ebx
mov dword [esi + edi*4 + 0x654], eax
inc edi
jmp 0x4f7e56
mov ecx, dword [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea eax, [esi + 0x654]
push 4
push eax
push 4
push 0
push str.FileName
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [esi + 0x658]
push 4
push edx
push 4
push 0
push str.FileType
push eax
call edi
mov edx, dword [ebp - 0x14]
lea ecx, [esi + 0x65c]
push 4
push ecx
push 4
push 0
push str.Size
push edx
call edi
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 0x660]
push 4
push eax
push 4
push 0
push 0x65e958
push ecx
call edi
mov eax, dword [ebp - 0x14]
lea edx, [esi + 0x664]
push 4
push edx
push 4
push 0
push 0x65e260
push eax
call edi
mov edx, dword [ebp - 0x14]
lea ecx, [esi + 0x668]
push 4
push ecx
push 4
push 0
push 0x65a024
push edx
call edi
mov eax, dword [ebp - 0x14]
add esi, 0x66c
push 4
push esi
push 4
push 0
push str.SaveTo
push eax
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4fc3a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov edx, dword [0x6825d4]
push edi
mov edi, ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0
push str.startImmediately
push edx
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x4fc3e1
mov eax, dword [esp + 0xc]
test eax, eax
setne al
mov byte [edi + 4], al
mov eax, dword [0x6825d4]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.StImmMsg
push eax
mov dword [esp + 0x20], 4
call esi
test eax, eax
jne 0x4fc40c
mov byte [edi + 5], 1
pop edi
pop esi
add esp, 8
ret
Function at 0x4fe3e0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5640
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
cmp esi, ebx
mov dword [ebp - 0x10], esp
mov edx, ecx
mov dword [ebp - 4], ebx
je 0x4fe576
mov ecx, 0x58
xor eax, eax
lea edi, [ebp - 0x184]
mov dword [ebp + 0xc], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp + 0xc]
mov ecx, edx
push eax
push 0x5f3688
push 2
call fcn.004fe300
cmp eax, ebx
je 0x4fe45c
push 0x410c
lea ecx, [ebp - 0x184]
push 0x160
push ecx
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov dword [ebp + 0xc], eax
jmp 0x4fe475
push 0x400c
lea edx, [ebp - 0x184]
push 0x160
push edx
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp + 0xc]
push 1
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
push edx
call dword [sym.imp.USER32.dll_GetDC]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [ebp + 0x10]
mov edi, eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push eax
push ecx
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [ebp + 0x10], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi]
mov dword [ebp + 8], eax
xor eax, eax
push 5
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea ecx, [ebp - 0x24]
push eax
push ecx
push edi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi + 4]
mov edx, dword [ebp - 0x14]
push 3
push 0
push 0
push 0x30
push 0x30
sub eax, 0x30
push edx
cdq
sub eax, edx
sar eax, 1
push eax
mov eax, dword [esi]
sub eax, 0x30
cdq
sub eax, edx
sar eax, 1
push eax
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
mov ecx, dword [esi + 4]
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
push 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_GetSysColorBrush]
lea edx, [ebp - 0x24]
push eax
push edx
push edi
call dword [sym.imp.USER32.dll_FrameRect]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp + 8]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call esi
push ebx
call esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4ff050
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push edi
mov edi, ecx
push eax
push 0
push edi
push 0x4ff0c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4ff09f
mov eax, dword [0x6829ec]
test eax, eax
jne 0x4ff0a1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SleepEx]
push 1
push 0
call esi
mov eax, dword [0x6829ec]
test eax, eax
je 0x4ff07f
mov dword [edi + 0x24], eax
pop esi
mov dword [0x6829ec], 0
pop edi
pop ecx
ret
xor eax, eax
mov dword [edi + 0x24], eax
mov dword [0x6829ec], 0
pop edi
pop ecx
ret

Function at 0x4ff400
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5756
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
xor eax, eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0x5f3f1c
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0x11
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0xa
mov dword [ebp - 4], eax
mov dword [esi + 0x28], vtable.CMenu.0
mov dword [esi + 0x2c], eax
mov dword [esi], 0x5f3f18
mov byte [ebp - 4], 2
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
call fcn.005aad9a
call fcn.005aad9a
mov eax, dword [eax + 0xc]
push 0x120
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x48], eax
lea eax, [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x500260
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5c58b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 4]
cmp esi, 0xffffffff
je 0x5002ba
mov edx, dword [esp + 0x1c]
push edi
lea eax, [esp + 0x20]
push 0
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
call esi
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x20]
push 0
push ecx
push 2
push 0x657b00
push edx
call esi
pop edi
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4