joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411daa
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x434
mov eax, dword [0x4a20b0]
xor eax, esp
mov dword [esp + 0x430], eax
mov eax, fcn.00411ea2
push esi
test eax, eax
je 0x411e37
push 0x424
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00469330
add esp, 0xc
push dword [ebp + 8]
mov dword [esp + 0xc], 0x428
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x411e2e
cmp esi, 0xffffffff
je 0x411e2e
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x411e2a
push edi
lea eax, [esp + 0xc]
push eax
call fcn.00411ea2
test eax, eax
je 0x411e2e
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x411e10
lea eax, [esp + 4]
call fcn.0040e5d2
mov ecx, dword [esp + 0x434]
pop esi
xor ecx, esp
call fcn.004678b3
mov esp, ebp
pop ebp
ret 4

Function at 0x411f5e
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
je 0x412005
cmp dword [ebp + 0xc], ebx
je 0x412005
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x412004
lea eax, [esi + esi]
push edi
push eax
call fcn.004685b1
mov edi, eax
pop ecx
cmp edi, ebx
je 0x412003
push esi
push ebx
push edi
call fcn.00469330
add esp, 0xc
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x411ffc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x48ade4
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x411ffc
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0xc]
push ecx
movzx ecx, word [eax + 0xe]
push ecx
movzx ecx, word [eax + 8]
movzx eax, word [eax + 0xa]
push ecx
push eax
push str._d._d._d._d
push 0x104
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
inc ebx
push edi
call fcn.004684d4
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8

Function at 0x4125a1
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [0x4a20b0]
xor eax, esp
mov dword [esp], eax
push ebx
mov ebx, dword [esp + 0xc]
test esi, esi
je 0x4125be
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x4125c0
xor eax, eax
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push ebx
push edi
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [esp + 4]
neg eax
sbb eax, eax
pop ebx
xor ecx, esp
inc eax
call fcn.004678b3
pop ecx
ret 4
Function at 0x41262b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x20
mov eax, 0x481568
call fcn.00469021
mov eax, dword [ebp + 0x80c]
mov ebx, dword [ebp + 0x810]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x814]
xor edi, edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], ebx
mov word [esi + 4], ax
mov dword [ebp - 4], edi
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x14], edi
cmp ebx, edi
je 0x41273d
push 0x7fe
mov word [ebp], ax
lea eax, [ebp + 2]
push edi
push eax
call fcn.00469330
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x10], edi
push ebx
push dword [ebp - 0x20]
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov dword [ebp - 0x18], edi
call ebx
cmp dword [ebp - 0x18], 1
je 0x4126d7
cmp dword [ebp - 0x18], 2
jne 0x41273d
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x41273d
cmp eax, 0x800
jbe 0x41270b
add eax, 2
push eax
call fcn.004685b1
mov ecx, dword [ebp - 0x10]
add ecx, 2
push ecx
push edi
push eax
mov dword [ebp - 0x14], eax
call fcn.00469330
add esp, 0x10
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
jmp 0x412713
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp]
push eax
push edi
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
call ebx
mov ebx, dword [ebp - 0x14]
mov eax, ebx
cmp ebx, edi
jne 0x41272b
lea eax, [ebp]
push eax
push esi
call fcn.00404963
cmp ebx, edi
je 0x41273d
push ebx
call fcn.004684d4
pop ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.004678b3
add ebp, 0x804
leave
ret
Function at 0x412762
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482524
mov eax, dword fs:[0]
push eax
mov eax, 0x2040
call fcn.004735a0
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x2028], eax
mov dword [ebp - 0x202c], edi
call fcn.00408394
xor ebx, ebx
inc ebx
lea esi, [ebp - 0x2024]
mov dword [ebp - 0x202c], ebx
call fcn.00410ac8
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x2020], edi
je 0x412874
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2012]
push edi
push eax
mov dword [ebp - 0x2018], edi
call fcn.00469330
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add esp, 0xc
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push edi
jmp 0x41285e
inc dword [ebp - 0x2018]
lea eax, [ebp - 0x2014]
push eax
lea esi, [ebp - 0x2048]
call fcn.004045a2
mov eax, esi
mov byte [ebp - 4], 2
push eax
mov eax, dword [ebp - 0x2028]
call fcn.0040f080
push edi
push 1
mov byte [ebp - 4], 1
call fcn.0040498a
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x201c]
push eax
lea eax, [ebp - 0x2014]
push eax
push dword [ebp - 0x2018]
push dword [ebp - 0x2020]
mov dword [ebp - 0x201c], 0x1000
call ebx
test eax, eax
je 0x412810
mov dword [ebp - method.RegHandleHolder.virtual_0], vtable.RegHandleHolder.0
cmp dword [ebp - 0x2020], edi
je 0x412892
push dword [ebp - 0x2020]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x2028]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004678b3
leave
ret

Function at 0x4128b2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20006
push 1
push esi
push esi
push 0x489038
push reloc.WS2_32.dll_bind
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov edi, eax
cmp edi, esi
jne 0x412903
push 4
push dword [ebp + 8]
push 4
push esi
push str.ruleCleaned
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x412909
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push ebx
lea eax, [ebp - 0x80]
push eax
push 0x23
xor ebx, ebx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jl 0x412977
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.00469330
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x412977
push dword [ebp + 0x198]
lea eax, [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
inc ebx
cmp dword [ebp - 0x80], 0
je 0x412986
push dword [ebp - 0x80]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp + 0x18c]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.004678b3
add ebp, 0x190
leave
ret 4
Function at 0x414976
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp dword [esi + 0x14], ebx
je 0x414a5b
push edi
cmp dword [ebp + 8], ebx
je 0x4149ce
cmp dword [esi + 0x18], 0x10
jb 0x41499c
mov eax, dword [esi + 4]
jmp 0x41499f
lea eax, [esi + 4]
push ebx
call fcn.004117da
test eax, eax
je 0x414a5a
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00427cc1
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x4149c4
mov eax, dword [eax + 4]
jmp 0x4149c7
add eax, 4
mov edi, str.activeServer
jmp 0x414a48
mov edi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueA]
push str.servAddr
push str.Softwareprojonepodlp_
mov ebx, reloc.WS2_32.dll_bind
push ebx
call edi
push str.servHost
push str.Softwareprojonepodlp_
push ebx
call edi
cmp dword [esi + 0x18], 0x10
jb 0x4149fe
mov eax, dword [esi + 4]
jmp 0x414a01
lea eax, [esi + 4]
xor ebx, ebx
push ebx
call fcn.004117da
test eax, eax
push esi
lea eax, [ebp - 0x1c]
push eax
je 0x414a2e
call fcn.00427cc1
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x414a24
mov eax, dword [eax + 4]
jmp 0x414a27
add eax, 4
mov edi, str.servAddr
jmp 0x414a48
call fcn.00427cc1
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x414a40
mov eax, dword [eax + 4]
jmp 0x414a43
add eax, 4
mov edi, str.servHost
mov esi, eax
call fcn.004125ea
push ebx
push 1
lea ecx, [ebp - 0x1c]
call fcn.0040488d
pop edi
pop esi
pop ebx
leave
ret

Function at 0x414a71
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.00469330
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logs_accelerator
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.004045a2
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004678b3
add ebp, 0x190
leave
ret

Function at 0x414aea
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
mov esi, ecx
call fcn.00469330
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push str.Logsignored
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x7c]
push eax
call fcn.004045a2
mov ecx, dword [ebp + 0x18c]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004678b3
add ebp, 0x190
leave
ret
Function at 0x4151b4
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x224
lea ebp, [esp - 4]
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp + 0x224], eax
push 4
mov eax, 0x481473
call fcn.00469021
mov edi, dword [ebp + 0x230]
mov esi, dword [ebp + 0x238]
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.00469330
add esp, 0xc
push 0x104
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp + 0x234], 1
jne 0x415220
push str.projonepodlp
jmp 0x41522e
cmp dword [ebp + 0x234], 2
jne 0x41524d
push str.projonepotcm
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, ebx
je 0x415247
push esi
lea eax, [ebp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp + 0x1c]
push eax
jmp 0x4152a0
cmp dword [ebp + 0x234], ebx
jne 0x41529b
push ebx
lea eax, [ebp]
push 2
push eax
call fcn.004151b4
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x415273
lea eax, [ebp + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
push esi
test eax, eax
je 0x415297
push 2
push edi
call fcn.004151b4
add esp, 0xc
push ebx
push 1
lea esi, [ebp]
call fcn.0040498a
jmp 0x4152a7
push 1
jmp 0x415281
push 0x488f6c
mov esi, edi
call fcn.004045a2
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.004678b3
add ebp, 0x228
leave
ret
Function at 0x415b03
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x484b8a
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4a20b0]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push esi
push edi
mov eax, dword [0x4a20b0]
xor eax, esp
push eax
lea eax, [esp + 0xe8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea edi, [esp + 0x34]
mov dword [esp + 0x10], eax
mov esi, ecx
call fcn.00415a84
mov ecx, dword [esp + 0x10]
xor ebx, ebx
mov edx, edi
mov dword [esp + 0xf0], ebx
call fcn.00415680
mov dword [esp + 0x14], eax
cmp eax, ebx
jne 0x415c08
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call fcn.00404787
lea eax, [esp + 0x18]
push eax
call fcn.0041563c
cmp dword [esp + 0x34], 8
mov edi, dword [esp + 0x20]
pop ecx
jae 0x415ba1
lea edi, [esp + 0x1c]
call fcn.00410ef7
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0x415bb5
lea eax, [esp + 0x1c]
push ebx
push eax
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push ebx
lea esi, [esp + 0x1c]
push 1
test eax, eax
jne 0x415c03
call fcn.0040498a
push 6
pop edi
lea esi, [esp + 0x34]
call fcn.00415abb
mov eax, edi
mov ecx, dword [esp + 0xe8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.004678b3
mov esp, ebp
pop ebp
ret
call fcn.0040498a
mov edi, dword [esp + 0x14]
jmp 0x415bd4

Function at 0x415dd4
Capabilities:
Check if file exists
Delete file
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.0041563c
pop ecx
mov ebx, str.offlineMode
push ebx
mov edi, 0x4890ac
push edi
mov esi, reloc.WS2_32.dll_bind
push esi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x415e15
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
lea ecx, [ebp - 0x28]
push ecx
push eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x24]
push eax
push ebx
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x415e61
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x415e46
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x415e61
push eax
push 1
lea esi, [ebp - 0x20]
call fcn.0040498a
xor eax, eax
inc eax
jmp 0x415e6f
push 0
push 1
lea esi, [ebp - 0x20]
call fcn.0040498a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004678b3
leave
ret
Function at 0x4190a9
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
test esi, esi
je 0x4190b9
and dword [esi], 0
and dword [esp + 8], 0
lea eax, [esp + 8]
push eax
push 0x1001
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
test eax, eax
je 0x4190e4
mov ecx, dword [ebp + 0x10]
push str.open_file_failed
call fcn.00404819
jmp 0x419135
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 8]
and dword [esp + 0xc], 0
lea eax, [esp + 0xc]
push eax
push dword [ebp + 8]
call fcn.00418d8c
pop ecx
pop ecx
mov byte [esp + 7], al
test esi, esi
je 0x41910d
mov eax, dword [esp + 0xc]
mov dword [esi], eax
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp byte [esp + 7], 0
je 0x41912c
cmp dword [esp + 0xc], 0xc8
jne 0x41912c
mov al, 1
jmp 0x419137
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x4191a4
Capabilities:
Check if file exists

Disassembly:
push 0xac
mov eax, 0x48139c
call fcn.0046908a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0xc]
xor esi, esi
push edi
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x41921c
push edi
lea ecx, [ebp - 0x9c]
call fcn.00404550
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x78], ebx
call fcn.0040124d
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
mov dword [ebp - 0x78], 3
jb 0x41920b
mov eax, dword [eax + 4]
jmp 0x41920e
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0x71], bl
test eax, eax
je 0x419220
mov byte [ebp - 0x71], 0
test byte [ebp - 0x78], 2
je 0x419237
and dword [ebp - 0x78], 0xfffffffd
push esi
push ebx
lea esi, [ebp - 0xb8]
call fcn.0040498a
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x78], bl
je 0x41924e
push 0
push ebx
lea ecx, [ebp - 0x9c]
call fcn.0040488d
cmp byte [ebp - 0x71], 0
je 0x419258
xor al, al
jmp 0x4192a2
lea esi, [ebp - 0x6c]
call fcn.0040453d
lea esi, [ebp - 0x50]
call fcn.0040453d
lea esi, [ebp - 0x34]
call fcn.0040453d
push dword [ebp - 0x80]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], ebx
call fcn.00404819
push edi
mov ecx, esi
mov byte [ebp - 0x70], bl
call fcn.00404819
lea eax, [ebp - 0x70]
push eax
mov eax, dword [ebp - 0x7c]
add eax, 0x3c
call fcn.00419ed8
lea esi, [ebp - 0x70]
call fcn.0041938b
mov al, bl
call fcn.0046910d
ret 8
Function at 0x41a688
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x47f9e0
call fcn.00469054
xor edi, edi
mov dword [ebp - 4], edi
push 0x18
mov byte [ebp - 4], 1
call fcn.00467dbf
mov esi, eax
pop ecx
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 2
cmp esi, edi
je 0x41a6d2
mov ecx, dword [ebp + 0x18]
cmp ecx, edi
jne 0x41a6be
mov dword [esi + 0x10], edi
jmp 0x41a6d4
lea eax, [ebp + 8]
cmp ecx, eax
mov eax, dword [ecx]
jne 0x41a6ca
push esi
jmp 0x41a6cb
push edi
call dword [eax]
mov dword [esi + 0x10], eax
jmp 0x41a6d4
xor esi, esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push esi
push 0x41a734
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x18]
mov esi, eax
cmp ecx, edi
je 0x41a706
mov eax, dword [ecx]
lea edx, [ebp + 8]
cmp ecx, edx
setne dl
movzx edx, dl
push edx
call dword [eax + 0xc]
mov eax, esi
jmp 0x41a72e
call fcn.004690f9
ret

Function at 0x41aa00
Capabilities:
Delete registry value

Disassembly:
push 0x58
mov eax, 0x481bbd
call fcn.0046908a
mov esi, ecx
push esi
lea ecx, [ebp - 0x48]
mov edi, edx
call fcn.00411edd
pop ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x34], ebx
je 0x41aac6
cmp edi, ebx
jne 0x41aa31
mov edi, 0x488f6b
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x41aa3d
lea eax, [ebp - 0x44]
push esi
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push 0x48b46c
lea ecx, [ebp - 0x2c]
call fcn.0041244a
add esp, 0x10
mov byte [ebp - 4], 1
cmp byte [ebp + 8], bl
je 0x41aa9e
lea eax, [ebp - 0x64]
push eax
call fcn.00411ad2
cmp dword [eax + 0x18], 8
pop ecx
jb 0x41aa75
mov eax, dword [eax + 4]
jmp 0x41aa78
add eax, 4
cmp dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x28]
jae 0x41aa84
lea ecx, [ebp - 0x28]
push ecx
mov esi, eax
mov edi, 0x4a71e8
call fcn.004125a1
push ebx
push 1
lea esi, [ebp - 0x64]
call fcn.0040498a
jmp 0x41aabb
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41aaaa
lea eax, [ebp - 0x28]
push eax
push 0x4a71e8
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push ebx
push 1
lea esi, [ebp - 0x2c]
call fcn.0040498a
push ebx
push 1
lea esi, [ebp - 0x48]
call fcn.0040498a
call fcn.0046910d
ret 4
Function at 0x41ad27
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
dec eax
cmp eax, 0xc6
ja 0x41adc1
push ebx
mov esi, 0x4a71e8
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
xor eax, eax
push 0x206
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push ebx
push eax
call fcn.00469330
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x214]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatBuffW]
push edi
push 0x48ade4
push esi
call ebx
push edi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
push esi
call ebx
push esi
push reloc.WS2_32.dll_bind
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov eax, dword [ebp + 8]
call fcn.0041a827
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004678b3
leave
ret
Function at 0x428921
Capabilities:
Get session user name
Print debug messages
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x898]
sub esp, 0x918
mov eax, dword [0x4a20b0]
xor eax, ebp
mov dword [ebp + 0x894], eax
push edi
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x6c], ax
lea eax, [ebp - 0x6a]
push eax
call fcn.00469330
xor eax, eax
push 0xfe
push eax
mov word [ebp + 0x794], ax
lea eax, [ebp + 0x796]
push eax
call fcn.00469330
add esp, 0x18
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp + 0x794]
push eax
mov dword [ebp - 0x70], 0x80
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
cmp dword [esi + 0x18], 8
lea edi, [esi + 4]
jb 0x42899f
mov eax, dword [edi]
jmp 0x4289a1
mov eax, edi
push eax
lea eax, [ebp + 0x794]
push eax
movzx eax, word [ebp - 0x74]
push eax
movzx eax, word [ebp - 0x76]
push eax
movzx eax, word [ebp - 0x78]
push eax
movzx eax, word [ebp - 0x7a]
push eax
movzx eax, word [ebp - 0x7e]
push eax
movzx eax, word [ebp - 0x80]
push eax
push str._04d_02d_02d__02d_02d_02d__s__s
lea eax, [ebp - 0x6c]
push 0x400
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x2c
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x6c]
push eax
push 1
push 0x4a73f0
push str.Software
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp dword [esi + 0x18], 8
jb 0x428a10
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0xd3d
call fcn.0046891b
int3

Function at 0x4292b9
Capabilities:
Delete registry value

Disassembly:
push 0x34
mov eax, 0x483815
call fcn.00469021
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x104
mov edi, 0x4a73f0
push edi
xor ebx, ebx
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
push str.Software
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [ebp - 0x40]
push eax
call fcn.00408394
push ebx
mov dword [ebp - 4], ebx
call esi
lea edi, [ebp - 0x40]
mov esi, eax
call fcn.00428c5a
test eax, eax
jne 0x429328
mov esi, edi
call fcn.00408bd9
push dword [ebp - 0x40]
call fcn.00467ccb
pop ecx
xor eax, eax
call fcn.004690f9
ret
lea ecx, [ebp - 0x40]
call fcn.0042920d
cmp dword [0x4a7c74], ebx
jne 0x42934d
lea esi, [ebp - 0x40]
call fcn.00408bd9
push dword [ebp - 0x40]
call fcn.00467ccb
pop ecx
mov eax, ebx
jmp 0x429322
mov eax, dword [0x4a7c70]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov eax, dword [0x4a7c58]
mov dword [ebp - 0x14], eax
mov eax, dword [0x4a7c70]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4a7c58]
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0x14]
mov dword [ebp - 0x1c], eax
call fcn.00405d80
test al, al
jne 0x42939c
call fcn.0041667d
add eax, 0x1c
push eax
lea eax, [ebp - 0x28]
push eax
push 0x4a7c20
call fcn.004131e7
call fcn.00408965
jmp 0x42935f
xor ebx, ebx
inc ebx
jmp 0x429338