joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004d10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push edi
mov edi, dword [esp + 0x218]
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov esi, ecx
mov word [esp + 0x14], 0
call fcn.10008550
add esi, 0x3c
add esp, 0xc
mov ecx, esi
call fcn.10004610
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10004dbf
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
lea edx, [esp + 0x10]
push edx
call ebx
test eax, eax
je 0x10004dbe
push edi
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
je 0x10004dbe
push str..dll
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
test eax, eax
je 0x10004dbe
lea eax, [esp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004da2
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.10001b00
pop ebx
cmp dword [esi + 0x18], 8
jb 0x10004dca
mov eax, dword [esi + 4]
jmp 0x10004dcd
lea eax, [esi + 4]
mov ecx, dword [esp + 0x210]
pop edi
pop esi
xor ecx, esp
call fcn.1000853f
add esp, 0x20c
ret 4

Function at 0x10004df0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
push edi
mov edi, dword [esp + 0x218]
push 0x206
lea eax, [esp + 0xe]
push 0
push eax
mov esi, ecx
mov word [esp + 0x14], 0
call fcn.10008550
add esi, 0x58
add esp, 0xc
mov ecx, esi
call fcn.10004610
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10004e9f
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push edi
lea edx, [esp + 0x10]
push edx
call ebx
test eax, eax
je 0x10004e9e
push edi
lea eax, [esp + 0x10]
push eax
call ebx
test eax, eax
je 0x10004e9e
push str..ext
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddExtensionW]
test eax, eax
je 0x10004e9e
lea eax, [esp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10004e82
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.10001b00
pop ebx
cmp dword [esi + 0x18], 8
jb 0x10004eaa
mov eax, dword [esi + 4]
jmp 0x10004ead
lea eax, [esi + 4]
mov ecx, dword [esp + 0x210]
pop edi
pop esi
xor ecx, esp
call fcn.1000853f
add esp, 0x20c
ret 4
Function at 0x10004ed0
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x100127d0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100190d4]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov edi, dword [esp + 0x60]
xor ebp, ebp
mov eax, 7
mov esi, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], ebp
mov word [esp + 0x34], bp
mov dword [esp + 0x58], ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
push edi
mov byte [esp + 0x5c], 1
call fcn.10004d10
mov ecx, eax
lea ebx, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x10004f40
sub ecx, ebx
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10001b00
push edi
mov ecx, esi
call fcn.10004df0
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x10004f67
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.10001b00
mov ecx, dword [esp + 0x18]
mov esi, 8
cmp dword [esp + 0x2c], esi
jae 0x10004f94
lea ecx, [esp + 0x18]
cmp dword [esp + 0x48], esi
mov eax, dword [esp + 0x34]
jae 0x10004fa2
lea eax, [esp + 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x10004fdf
cmp dword [esp + 0x2c], esi
mov eax, dword [esp + 0x18]
jae 0x10004fbc
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10004fdf
cmp dword [esp + 0x2c], esi
mov eax, dword [esp + 0x18]
jae 0x10004fd5
lea eax, [esp + 0x18]
push 4
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [esp + 0x2c], esi
jb 0x10004ff2
mov eax, dword [esp + 0x18]
push eax
call fcn.10008245
add esp, 4
cmp dword [esp + 0x48], esi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], bp
jb 0x10005016
mov ecx, dword [esp + 0x34]
push ecx
call fcn.10008245
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.1000853f
add esp, 0x48
ret 4
Function at 0x10005040
Capabilities:
Delete directory
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x1001280b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
push edi
mov eax, dword [0x100190d4]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov edi, dword [esp + 0x248]
xor ebx, ebx
mov esi, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
push 0x206
lea eax, [esp + 0x32]
push ebx
push eax
mov dword [esp + 0x24c], ebx
mov word [esp + 0x38], bx
call fcn.10008550
add esp, 0xc
push edi
mov ecx, esi
call fcn.10004d10
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x100050c2
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.10001b00
push 0x104
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x10005148
mov esi, dword [esp + 0x28]
cmp esi, 8
mov edi, dword [esp + 0x14]
mov eax, edi
jae 0x10005103
lea eax, [esp + 0x14]
lea ecx, [esp + 0x2c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1000512d
cmp dx, bx
je 0x10005129
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1000512d
add eax, 4
add ecx, 4
cmp dx, bx
jne 0x10005107
xor eax, eax
jmp 0x10005132
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jle 0x10005148
cmp esi, 8
mov eax, edi
jae 0x10005141
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
cmp dword [esp + 0x28], 8
jb 0x1000515c
mov edx, dword [esp + 0x14]
push edx
call fcn.10008245
add esp, 4
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.1000853f
add esp, 0x234
ret 4
Function at 0x100052a0
Capabilities:
Copy file
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x10012856
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100190d4]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x26c]
mov ebp, dword [esp + 0x270]
xor ebx, ebx
mov eax, 7
mov edi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
mov dword [esp + 0x264], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
push 0x206
lea eax, [esp + 0x56]
push ebx
push eax
mov byte [esp + 0x270], 1
mov word [esp + 0x5c], bx
call fcn.10008550
add esp, 0xc
cmp esi, ebx
je 0x10005433
cmp ebp, ebx
je 0x10005433
push esi
mov ecx, edi
call fcn.10004c30
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x10005354
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x3c]
call fcn.10001b00
push ebp
mov ecx, edi
call fcn.10004d10
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x10005380
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x10005380
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x20]
call fcn.10001b00
mov eax, dword [esp + 0x1c]
mov edi, 8
cmp dword [esp + 0x30], edi
jae 0x100053ad
lea eax, [esp + 0x1c]
push 0x104
push eax
lea ecx, [esp + 0x58]
push 0x104
push ecx
call fcn.10008c06
add esp, 0x10
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
je 0x1000541a
push ebx
lea eax, [esp + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x100053f1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000541a
cmp dword [esp + 0x30], edi
mov ecx, dword [esp + 0x1c]
jae 0x100053ff
lea ecx, [esp + 0x1c]
cmp dword [esp + 0x4c], edi
mov eax, dword [esp + 0x38]
jae 0x1000540d
lea eax, [esp + 0x38]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov esi, eax
jmp 0x1000541e
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x30], edi
jb 0x1000543c
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10008245
add esp, 4
jmp 0x1000543c
mov esi, dword [esp + 0x14]
mov edi, 8
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
jb 0x10005460
mov edx, dword [esp + 0x38]
push edx
call fcn.10008245
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.1000853f
add esp, 0x254
ret 8
Function at 0x10005490
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc40
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0xc3c], eax
push ebx
push edi
mov edi, dword [esp + 0xc4c]
call dword [0x100190b0]
test edi, edi
je 0x100055d3
mov ebx, dword [esp + 0xc50]
test ebx, ebx
je 0x100055d3
push 0x81e
lea eax, [esp + 0x42a]
push 0
push eax
mov dword [esp + 0x18], 0x208
mov word [esp + 0x430], 0
call fcn.10008550
push 0x100138a4
lea ecx, [esp + 0x434]
push str.ZHhxY2B2ZXJrek5zRV5BUkVEa3NFXkFSRXBSWV5CRA
push ecx
call fcn.10002250
add esp, 0x18
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x428]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x100055d3
push esi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push 0x10013838
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 0xc]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x100055d3
push 0x206
lea eax, [esp + 0x222]
push 0
push eax
mov word [esp + 0x228], 0
call fcn.10008550
push 5
lea ecx, [esp + 0x22c]
push str.VjFaak1WWXdNVWRoTTJ4WVlsUldUbGxzV2t0aU1YQkdVbFJzVVZWVU1Eaz0
push ecx
call fcn.10002020
add esp, 0x18
lea edx, [esp + 0x21c]
push edx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
test eax, eax
je 0x100055d3
lea ecx, [esp + 0x14]
push 0
push ecx
call fcn.10009189
add esp, 8
test eax, eax
jne 0x100055d3
lea edx, [esp + 0x14]
push edx
push ebx
push edi
call fcn.10009096
add esp, 0xc
mov eax, 1
jmp 0x100055d5
xor eax, eax
mov ecx, dword [esp + 0xc44]
pop edi
pop ebx
xor ecx, esp
call fcn.1000853f
add esp, 0xc40
ret 8
Function at 0x10006230
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10012993
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x824], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100190d4]
xor eax, esp
push eax
lea eax, [esp + 0x83c]
mov dword fs:[0], eax
xor ebx, ebx
push 0x7ff
lea eax, [esp + 0x3d]
push ebx
push eax
mov dword [esp + 0x850], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x44], bl
call fcn.10008550
add esp, 0xc
mov dword [esp + 0x18], 0x800
lea esi, [ebx + 3]
call fcn.10007da0
cmp byte [eax + 0x20], bl
je 0x100062c2
mov esi, dword [esp + 0x85c]
neg esi
sbb esi, esi
and esi, 0x100
add esi, 0x100
or esi, 3
mov ebp, dword [esp + 0x850]
cmp ebp, ebx
je 0x10006400
mov ecx, dword [esp + 0x854]
sub ecx, ebp
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp edi, ebx
je 0x10006400
lea ecx, [esp + 0x14]
push ecx
push esi
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvchost
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10006400
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x24]
push ecx
push ebx
push str.netsvcs
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x10006400
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x84c], 1
call fcn.10006120
test al, al
jne 0x10006382
lea ecx, [esp + 0x20]
mov byte [esp + 0x844], bl
call fcn.10005a80
jmp 0x10006400
mov esi, dword [esp + 0x850]
xor ebp, ebp
add esi, 4
mov edi, edi
cmp ebp, edi
jae 0x100063c2
cmp dword [esi + 0x14], 8
jb 0x100063ae
mov eax, dword [esi]
push eax
lea ecx, [esp + 0x24]
call fcn.10005b40
add ebp, 1
add esi, 0x1c
jmp 0x10006390
mov eax, esi
push eax
lea ecx, [esp + 0x24]
call fcn.10005b40
add ebp, 1
add esi, 0x1c
jmp 0x10006390
lea ecx, [esp + 0x20]
call fcn.100041c0
push eax
lea ecx, [esp + 0x24]
call fcn.10004250
mov edx, dword [esp + 0x18]
push eax
push 7
push ebx
push str.netsvcs
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [esp + 0x20]
mov byte [esp + 0x844], bl
call fcn.10005a80
mov ebp, dword [esp + 0x850]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x1000640f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebp, ebx
je 0x10006452
mov edi, dword [esp + 0x854]
cmp ebp, edi
je 0x10006449
lea esi, [ebp + 0x18]
cmp dword [esi], 8
jb 0x10006432
mov eax, dword [esi - 0x14]
push eax
call fcn.10008245
add esp, 4
mov dword [esi], 7
mov dword [esi - 4], ebx
mov word [esi - 0x14], bx
add esi, 0x1c
lea ecx, [esi - 0x18]
cmp ecx, edi
jne 0x10006421
push ebp
call fcn.10008245
add esp, 4
mov ecx, dword [esp + 0x83c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x824]
xor ecx, esp
call fcn.1000853f
add esp, 0x834
ret 0x14
Function at 0x10006480
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x100129fc
mov eax, dword fs:[0]
push eax
mov eax, 0x207c
call fcn.10009600
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x2078], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100190d4]
xor eax, esp
push eax
lea eax, [esp + 0x2090]
mov dword fs:[0], eax
mov eax, dword [esp + 0x20ac]
mov esi, dword [esp + 0x20a0]
mov edi, dword [esp + 0x20a4]
mov ebp, dword [esp + 0x20a8]
xor ebx, ebx
push 0x1ffe
lea ecx, [esp + 0x92]
push ebx
push ecx
mov dword [esp + 0x20], eax
mov word [esp + 0x98], bx
call fcn.10008550
add esp, 0xc
cmp esi, ebx
je 0x100066f2
cmp edi, ebx
je 0x100066f2
cmp ebp, ebx
je 0x100066f2
push ebp
push 0x1000
lea edx, [esp + 0x94]
push edx
push 0x10013ec4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [esp + 0x8c], bx
je 0x100066f2
mov ebp, 7
lea eax, [esp + 0x8c]
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x10006560
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x40]
call fcn.10001b00
mov dword [esp + 0x2098], ebx
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
cmp dword [esp + 0x4c], ebx
mov byte [esp + 0x2098], 2
mov edi, 8
je 0x10006666
mov dword [esp + 0x18], 0x5c
lea ebx, [ebx]
push 1
push ebx
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x44]
call fcn.10004090
mov esi, eax
cmp esi, 0xffffffff
je 0x10006638
push esi
push ebx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x44]
call fcn.100048a0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x20a4], 3
call fcn.10001a10
cmp dword [esp + 0x34], edi
mov byte [esp + 0x2098], 2
jb 0x10006628
mov eax, dword [esp + 0x20]
push eax
call fcn.10008245
add esp, 4
lea ecx, [esi + 1]
push ecx
push ebx
lea ecx, [esp + 0x40]
call fcn.10001610
jmp 0x10006649
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x60]
call fcn.10001a10
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
call fcn.10006070
cmp esi, 0xffffffff
je 0x10006666
cmp dword [esp + 0x4c], ebx
jne 0x100065d0
cmp dword [esp + 0x88], 0x10
jb 0x1000667d
mov ecx, dword [esp + 0x74]
push ecx
call fcn.10008245
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x88], 0xf
mov dword [esp + 0x84], ebx
mov byte [esp + 0x74], bl
jb 0x100066a6
mov edx, dword [esp + 0x58]
push edx
call fcn.10008245
add esp, 4
cmp dword [esp + 0x50], edi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
jb 0x100066c6
mov eax, dword [esp + 0x3c]
push eax
call fcn.10008245
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x2090]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2078]
xor ecx, esp
call fcn.1000853f
add esp, 0x2088
ret 0x10
xor al, al
jmp 0x100066c8
Function at 0x100069c0
Capabilities:
Delete registry key
Move file

Disassembly:
push 0xffffffffffffffff
push 0x10012a90
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100190d4]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0x14], ecx
mov ebp, dword [esp + 0x4c]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 0x40], ebx
je 0x10006b2a
mov esi, dword [esp + 0x50]
mov ecx, esi
sub ecx, ebp
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov edi, edx
shr edi, 0x1f
add edi, edx
cmp edi, ebx
jne 0x10006a37
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x4c]
push ecx
push esi
jmp 0x10006b1b
lea esi, [edi - 1]
cmp esi, ebx
jl 0x10006af4
lea edx, [esi*8]
sub edx, esi
lea ebp, [ebp + edx*4 + 4]
nop
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
push 0x22
push str.SYSTEMCurrentControlSet_services_
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 1
call fcn.10001b00
cmp esi, edi
jb 0x10006a7f
call fcn.10008bf6
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 4]
push eax
lea ecx, [esp + 0x24]
call fcn.10004500
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0x10006a9e
lea eax, [esp + 0x1c]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp esi, edi
jb 0x10006ab3
call fcn.10008bf6
cmp dword [ebp + 0x14], 8
jb 0x10006abe
mov eax, dword [ebp]
jmp 0x10006ac0
mov eax, ebp
mov ecx, dword [esp + 0x14]
push eax
call fcn.10006700
cmp dword [esp + 0x30], 8
mov byte [esp + 0x40], bl
jb 0x10006ae2
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10008245
add esp, 4
sub esi, 1
sub ebp, 0x1c
cmp esi, ebx
jge 0x10006a50
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x14]
push 4
push ebx
push str.awdizz
call fcn.10004c30
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x50]
push edx
lea eax, [esp + 0x4c]
push eax
push ecx
push ebp
call fcn.10004ac0
push ebp
call fcn.10008245
add esp, 0x14
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1000853f
add esp, 0x30
ret 0x10
Function at 0x100074c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10012bab
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x824], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100190d4]
xor eax, esp
push eax
lea eax, [esp + 0x83c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x84c]
xor ebx, ebx
push 0x7ff
lea eax, [esp + 0x3d]
push ebx
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x44], bl
call fcn.10008550
add esp, 0xc
mov dword [esp + 0x18], 0x800
xor ebp, ebp
lea esi, [ebx + 3]
call fcn.10007da0
cmp byte [eax + 0x20], bl
je 0x10007554
mov esi, dword [esp + 0x850]
neg esi
sbb esi, esi
and esi, 0x100
add esi, 0x100
or esi, 3
cmp edi, ebx
je 0x10007631
lea ecx, [esp + 0x14]
push ecx
push esi
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionSvchost
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10007631
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x3c]
push ecx
push ebx
push str.netsvcs
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x10007631
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x20], 1
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x84c], ebx
call fcn.10006120
or esi, 0xffffffff
test al, al
je 0x100075e7
push edi
lea ecx, [esp + 0x20]
call fcn.100070c0
cmp eax, esi
jne 0x10007621
push edi
lea ecx, [esp + 0x20]
call fcn.100073b0
lea ecx, [esp + 0x1c]
call fcn.100041c0
push eax
lea ecx, [esp + 0x20]
call fcn.10004250
mov edx, dword [esp + 0x18]
push eax
push 7
push ebx
push str.netsvcs
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
jne 0x10007621
mov ebp, 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x844], esi
call fcn.10005a80
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10007640
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
mov ecx, dword [esp + 0x83c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x824]
xor ecx, esp
call fcn.1000853f
add esp, 0x834
ret
Function at 0x10007670
Capabilities:
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x808
mov eax, dword [0x100190d4]
xor eax, esp
mov dword [esp + 0x804], eax
push ebp
push esi
mov esi, dword [esp + 0x814]
push edi
mov edi, dword [esp + 0x81c]
push 0x7fe
lea eax, [esp + 0x16]
push 0
push eax
mov dword [esp + 0x18], 0
mov word [esp + 0x1c], 0
call fcn.10008550
add esp, 0xc
xor ebp, ebp
test esi, esi
je 0x1000775c
test edi, edi
je 0x1000775c
push esi
call fcn.10002540
push esi
lea ecx, [esp + 0x18]
push str.SYSTEMCurrentControlSet_services_sParameters
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push ebp
lea edx, [esp + 0x10]
push edx
push ebp
push 0xf003f
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov eax, edi
lea edx, [eax + 2]
jmp 0x10007710
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10007710
sub eax, edx
mov edx, dword [esp + 0xc]
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
push edi
push 2
push 0
push str.ServiceDll
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push esi
call fcn.100074c0
add esp, 8
test eax, eax
je 0x1000774d
mov ebp, 1
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1000775c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x810]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.1000853f
add esp, 0x808
ret 8

Function at 0x10007aa0
Capabilities:
Create thread

Disassembly:
cmp dword [esp + 4], 1
push esi
mov esi, dword [esp + 0xc]
jl 0x10007ad6
test esi, esi
je 0x10007ad6
push 0x208
push 0
push 0x1001a0b8
call fcn.10008550
mov eax, dword [esi]
push eax
push 0x104
push 0x1001a0b8
call fcn.10009096
add esp, 0x18
mov ecx, dword [esi]
push 0x10006db0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerW]
test eax, eax
mov dword [0x1001a0a8], eax
je 0x10007bbc
mov eax, dword [0x100190a4]
cmp eax, 5
jbe 0x10007b25
cmp word [eax*2 + 0x10014066], 0x32
je 0x10007b17
mov dx, word [eax*2 + 0x10014068]
mov word [0x1001a2c0], dx
jmp 0x10007b25
mov ax, word [eax*2 + 0x1001406c]
mov word [0x1001a2c4], ax
push 1
push 0
push 2
call fcn.10006cc0
push 0
push 0
push 4
call fcn.10006cc0
add esp, 0x18
call fcn.100027a0
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
jne 0x10007b7d
call fcn.10001ed0
test eax, eax
jne 0x10007b65
call fcn.100024a0
test eax, eax
je 0x10007b7d
push 0
push 0
push 0
push 0x10006f30
push 0
push 0
call esi
test eax, eax
je 0x10007b7d
push eax
call edi
push 0
push 0
push 0
push 0x10007930
push 0
push 0
call esi
test eax, eax
je 0x10007b95
push eax
call edi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10007ba0
push 0x64
call esi
mov eax, dword [0x1001a0ac]
cmp eax, 3
je 0x10007bb3
cmp eax, 1
jne 0x10007ba0
push 0x2710
call esi
jmp 0x10007bb3
pop esi
ret 8