joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4288b0
Capabilities:
Check if file exists
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59af9b
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0056f980
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0056f980
add esp, 0x18
mov dword [ebp - 0x428], 0
xor eax, eax
mov dword [ebp - 0x424], 7
lea ecx, [ebp - 0x438]
mov word [ebp - 0x438], ax
push 0x5a178c
call fcn.0041e7b0
xor esi, esi
mov dword [ebp - 4], 0
push esi
push 0x17
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4289ab
push 0x5a38fc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push str._s_s_
push eax
call fcn.00411a40
add esp, 0x10
lea eax, [ebp - 0x420]
lea ecx, [ebp - 0x438]
push eax
call fcn.0041e7b0
push 6
push 0x5a38fc
lea ecx, [ebp - 0x438]
call fcn.004114b0
push 4
push 0x5a1728
lea ecx, [ebp - 0x438]
call fcn.004114b0
mov esi, 1
push 0
push 0x19
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x428a1a
push 0x5a38fc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push str._s_s_
push eax
call fcn.00411a40
add esp, 0x10
lea eax, [ebp - 0x420]
lea ecx, [ebp - 0x438]
push eax
call fcn.0041e7b0
push 6
push 0x5a38fc
lea ecx, [ebp - 0x438]
call fcn.004114b0
push 4
push 0x5a1728
lea ecx, [ebp - 0x438]
call fcn.004114b0
jmp 0x428a1e
test esi, esi
je 0x428a44
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x428a44
mov esi, 1
jmp 0x428a46
xor esi, esi
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x428a82
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428a78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428a9e
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret
call fcn.00572b79
int3
Function at 0x428cd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b068
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x58]
push eax
call fcn.0044e410
add esp, 4
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], 0
jb 0x428d14
mov eax, dword [eax]
push 0x5a178c
push str.a98ed
push str.OIConfig
push eax
lea eax, [ebp - 0x40]
push 0x5a1790
push eax
call fcn.0044b82c
add esp, 0x18
mov edx, dword [ebp - 0x44]
mov byte [ebp - 4], 2
cmp edx, 8
jb 0x428d73
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428d69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428e6d
push edx
push ecx
call fcn.0045ec62
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp dword [ebp - 0x30], eax
je 0x428e1d
call fcn.00410740
mov ecx, eax
call fcn.00413410
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x428db7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00411630
push 0
push 0x5a178c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.004114b0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00451020
add esp, 8
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x28]
call fcn.0040a530
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x428e53
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428e49
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428e72
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret
call fcn.00572b79
call fcn.00572b79
int3
Function at 0x4308c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bb70
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6102d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 7
mov word [edx + 4], ax
mov dword [edx + 0x2c], eax
mov dword [edx + 0x30], 7
mov dword [ebp - 4], eax
mov word [edx + 0x1c], ax
lea ecx, [edx + 0x34]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
xor esi, esi
mov dword [edx + 0x5c], eax
mov dword [edx + 0x60], 7
mov word [edx + 0x4c], si
lea ebx, [edx + 0x64]
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea edi, [edx + 0x7c]
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [edx + 0x94]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push eax
push 0x5a178c
mov byte [ebp - 4], 6
mov dword [edx], eax
call fcn.00411630
mov ecx, dword [ebp - 0x10]
push 0
push 0x5a178c
lea ecx, [ecx + 0x4c]
call fcn.00411630
push 0
push 0x5a178c
mov ecx, ebx
call fcn.00411630
push 0
push 0x5a178c
mov ecx, edi
call fcn.00411630
push 0
push 0x5a178c
mov ecx, esi
call fcn.00411630
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4340a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa3c
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0xa0c]
push edi
mov edi, dword [ebp + 8]
push 0x800
push 0
push eax
mov dword [ebp - 0xa3c], ecx
mov dword [ebp - 0xa2c], 0
call fcn.0056f980
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0xa30], 0x800
push 0
push eax
call fcn.0056f980
add esp, 0x18
mov dword [ebp - 0xa38], 0x208
xor ebx, ebx
mov dword [ebp - 0xa34], 1
cmp dword [esi + 0x14], 8
jb 0x43411d
mov esi, dword [esi]
lea eax, [ebp - 0xa2c]
push eax
push 0xf013f
push 0
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
call esi
test eax, eax
jne 0x434312
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0xa34]
push eax
push 0
push 0x5a178c
push dword [ebp - 0xa2c]
call edi
mov ecx, str.ChinaYXHShell
lea eax, [ebp - 0xa0c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x434198
test dx, dx
je 0x434194
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x434198
add eax, 4
add ecx, 4
test dx, dx
jne 0x434172
xor eax, eax
jmp 0x43419d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x434310
push 0x800
push eax
lea eax, [ebp - 0xa0c]
push eax
call fcn.0056f980
add esp, 0xc
mov dword [ebp - 0xa30], 0x800
lea eax, [ebp - 0xa28]
mov dword [ebp - 0xa28], ebx
push eax
push 0xf013f
push 0
push str.InprocServer32
push dword [ebp - 0xa2c]
call esi
test eax, eax
jne 0x43423d
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0xa34]
push eax
push 0
push 0x5a178c
push dword [ebp - 0xa28]
call edi
lea eax, [ebp - 0xa38]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0xa34]
push eax
push 0
push str.ThreadingModel
push dword [ebp - 0xa28]
call edi
push dword [ebp - 0xa28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xa3c]
lea eax, [ebp - 0xa24]
push eax
call fcn.00437f70
cmp dword [ebp - 0xa10], 8
lea eax, [ebp - 0xa24]
lea ecx, [ebp - 0xa0c]
cmovae eax, dword [ebp - 0xa24]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x434296
test dx, dx
je 0x434292
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x434296
add ecx, 4
add eax, 4
test dx, dx
jne 0x434270
xor eax, eax
jmp 0x43429b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x434301
mov ecx, str.Apartment
lea eax, [ebp - 0x20c]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4342e8
test dx, dx
je 0x4342d2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4342e8
add eax, 4
add ecx, 4
test dx, dx
jne 0x4342b0
lea ecx, [ebp - 0xa24]
xor esi, esi
call fcn.0040a530
xor ebx, ebx
test esi, esi
sete bl
jmp 0x434312
sbb esi, esi
lea ecx, [ebp - 0xa24]
or esi, 1
call fcn.0040a530
xor ebx, ebx
test esi, esi
sete bl
jmp 0x434312
lea ecx, [ebp - 0xa24]
xor ebx, ebx
call fcn.0040a530
jmp 0x434312
xor ebx, ebx
push dword [ebp - 0xa2c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045ef18
mov esp, ebp
pop ebp
ret 8
Function at 0x434bc0
Capabilities:
Check if file exists
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x414]
push esi
push edi
push 0x208
push 0
push eax
call fcn.0056f980
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0056f980
mov ecx, dword [ebp + 8]
add esp, 0x18
cmp dword [ecx + 0x14], 8
jb 0x434c0d
mov ecx, dword [ecx]
lea edx, [ebp - 0x414]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x434c15
cmp dword [ebx + 0x14], 8
mov edx, ebx
jb 0x434c2f
mov edx, dword [ebx]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x434c31
lea edi, [ebp - 0x414]
sub edx, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x434c50
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 8
jb 0x434c75
mov ecx, dword [ecx]
lea edx, [ebp - 0x20c]
sub edx, ecx
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x434c80
cmp dword [ebx + 0x14], 8
jb 0x434c98
mov ebx, dword [ebx]
mov esi, ebx
nop word [eax + eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x434ca0
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x434cb6
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
push esi
push eax
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
jne 0x434d8e
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
je 0x434d8e
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0045176b
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.0056f980
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push str._s.bak_d
push eax
call fcn.00411a40
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0057cb8b
add esp, 0x2c
lea eax, [ebp - 0x61c]
push 5
push 0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp esi, 0xa
jge 0x434d8e
push 0
lea eax, [ebp - 0x20c]
inc esi
push eax
lea eax, [ebp - 0x414]
push eax
call ebx
test eax, eax
je 0x434cf7
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045ef18
mov esp, ebp
pop ebp
ret 0xc
Function at 0x435d30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c2a6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x250], 0
push 0
push eax
mov dword [ebp - 0x24c], 0
call fcn.0056f980
add esp, 0xc
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShellIconOverlayIdentifiers_
call fcn.0041e7b0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x250]
push ecx
push 0xf013f
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x435f32
push 0x5a4fc0
lea ecx, [ebp - 0x230]
call fcn.0041e7b0
push 6
push str.ZhComt
lea ecx, [ebp - 0x230]
call fcn.004114b0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x24c]
push 0
push ecx
push 0
push 0xf013f
push 0
push 0
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x435f26
push 0x5a4d4c
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.0041e7b0
push 0x24
push 0x5a4d50
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.004114b0
push 1
push 0x5a4d9c
lea ecx, [ebp - 0x248]
call fcn.004114b0
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x248]
sub edx, ecx
nop dword [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x435ec0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x435ee0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x5a178c
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x248]
call fcn.0040a530
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x435f6e
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x435f64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x435f87
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret
call fcn.00572b79
int3
Function at 0x438750
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5994f8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
mov eax, dword [0x6102d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x38]
call fcn.0045048a
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.004504be
test eax, eax
lea eax, [ebp - 0x10]
push eax
je 0x4387c2
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43883f
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf013f
jmp 0x4387e9
push 0xf003f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43883f
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x5a1790
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43880c
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43883f
mov esi, dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push 0
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x38]
call fcn.0045049d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x439050
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c75b
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
mov edi, dword [ebp + 0xc]
push 0x208
push 0
push eax
call fcn.0056f980
push 0x5a1790
lea eax, [ebp - 0x218]
push 0x5a1f30
push eax
call fcn.00411a40
add esp, 0x18
lea ecx, [ebp - 0x248]
call fcn.0045048a
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
call fcn.004504be
test eax, eax
lea eax, [ebp - 0x21c]
push eax
je 0x439107
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x439195
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0xf013f
jmp 0x439131
push 0xf003f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x439195
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43915c
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x439195
lea eax, [ebp - 0x224]
mov dword [ebp - 0x224], 0x104
push eax
push edi
push 0
push 0
push esi
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x220]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x21c]
call esi
lea ecx, [ebp - 0x248]
call fcn.0045049d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret 8
Function at 0x439a80
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x439ae0
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x439aa0
sub ecx, edx
sar ecx, 1
je 0x439ae0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x439ae0
push 0x10020
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x439af4
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret 4
push edi
lea eax, [ebp - 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
push ebx
call esi
test edi, edi
pop edi
je 0x439ae0
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.0045ef18
mov esp, ebp
pop ebp
ret 4
Function at 0x44a96b
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.0057cf7b
mov dword [ebp - 4], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045ec70
push dword [ebp + 8]
mov esi, eax
push esi
call fcn.0057d078
mov eax, dword [ebp - 4]
xor edi, edi
add esp, 0x10
xor ebx, ebx
inc edi
test eax, eax
js 0x44a9e5
push 0x5c
pop ecx
cmp word [esi + ebx*2], cx
jne 0x44a9dc
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44a9d2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x44a9e3
mov eax, dword [ebp - 4]
push 0x5c
pop ecx
mov word [esi + ebx*2], cx
inc ebx
cmp ebx, eax
jle 0x44a9af
jmp 0x44a9e5
xor edi, edi
push esi
call fcn.0045ec79
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44a9f3
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x1a
push eax
push 0
call fcn.0044b02c
lea eax, [ebp - 0x20c]
push eax
call fcn.0057cf7b
add esp, 0x14
test eax, eax
je 0x44aa9e
push ebx
mov ebx, 0x5a1724
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0057d0dd
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0057d0dd
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0057d0dd
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop ebx
test eax, eax
jne 0x44aa82
lea eax, [ebp - 0x20c]
push eax
call fcn.0044a96b
pop ecx
lea eax, [ebp - 0x20c]
push eax
call fcn.0057cf7b
pop ecx
push eax
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.00411630
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0045ef18
leave
ret

Function at 0x44abcf
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov bl, byte [0x61baf0]
test bl, bl
jne 0x44ac66
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0056f980
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x44ac60
lea eax, [ebp - 0x20c]
push eax
call fcn.0057cd41
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.0056e7eb
pop ecx
pop ecx
test eax, eax
jne 0x44ac58
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0056e7eb
pop ecx
pop ecx
test eax, eax
je 0x44ac60
mov byte [0x61baf0], bl
jmp 0x44ac66
mov bl, byte [0x61baf0]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.0045ef18
leave
ret