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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ccbcb
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x667d00]
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 - 0x420]
push 0
push eax
call fcn.005a26c0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a26c0
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 eax
push 0x6568d8
call fcn.004032c0
xor esi, esi
mov dword [ebp - 4], 0
push esi
push 0x17
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41a92b
push 0x5d4b80
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x5d6ca8
push eax
call fcn.00405e00
lea ecx, [ebp - 0x218]
add esp, 0x10
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a8e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.004032c0
push 0xe
push 0x5d4b80
lea ecx, [ebp - 0x438]
call fcn.00405ab0
push 4
push 0x5d6cb8
lea ecx, [ebp - 0x438]
call fcn.00405ab0
mov esi, 1
push 0
push 0x19
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x41a9b8
push 0x5d4b80
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push 0x5d6ca8
push eax
call fcn.00405e00
lea ecx, [ebp - 0x218]
add esp, 0x10
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a970
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.004032c0
push 0xe
push 0x5d4b80
lea ecx, [ebp - 0x438]
call fcn.00405ab0
push 4
push 0x5d6cb8
lea ecx, [ebp - 0x438]
call fcn.00405ab0
jmp 0x41a9bc
test esi, esi
je 0x41a9e4
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call fcn.0044721f
add esp, 4
test al, al
je 0x41a9e4
mov esi, 1
jmp 0x41a9e6
xor esi, esi
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x41aa22
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41aa18
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41aa3e
push edx
push ecx
call fcn.0059ce4e
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.0059d38a
mov esp, ebp
pop ebp
ret
call fcn.005a5c79
int3
Function at 0x41d720
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 8]
push eax
push 0x20119
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x41d7a7
lea eax, [ebp - 4]
push eax
push 0x20119
push 0
push str.BKrmir
push dword [ebp - 8]
call esi
test eax, eax
jne 0x41d7a7
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x208
push eax
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x41d79d
push eax
call esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x41d7a7
push eax
call esi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x41da60
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0xf013f
push 0
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41daed
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xf013f
push 0
push 0
push 0
push str.BKrmir
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41dab8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret 8
push esi
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 - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
call esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x426930
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cdd80
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x667d00]
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 0x6568d8
mov byte [ebp - 4], 6
mov dword [edx], eax
call fcn.004032c0
mov ecx, dword [ebp - 0x10]
push 0
push 0x6568d8
lea ecx, [ecx + 0x4c]
call fcn.004032c0
push 0
push 0x6568d8
mov ecx, ebx
call fcn.004032c0
push 0
push 0x6568d8
mov ecx, edi
call fcn.004032c0
push 0
push 0x6568d8
mov ecx, esi
call fcn.004032c0
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 0x42a150
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa3c
mov eax, dword [0x667d00]
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.005a26c0
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0xa30], 0x800
push 0
push eax
call fcn.005a26c0
add esp, 0x18
mov dword [ebp - 0xa38], 0x208
xor ebx, ebx
mov dword [ebp - 0xa34], 1
cmp dword [esi + 0x14], 8
jb 0x42a1cd
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 0x42a3c2
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 0x6568d8
push dword [ebp - 0xa2c]
call edi
mov ecx, str.BKPDF_Shell
lea eax, [ebp - 0xa0c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42a248
test dx, dx
je 0x42a244
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a248
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a222
xor eax, eax
jmp 0x42a24d
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42a3c0
push 0x800
push eax
lea eax, [ebp - 0xa0c]
push eax
call fcn.005a26c0
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 0x42a2ed
lea eax, [ebp - 0xa30]
push eax
lea eax, [ebp - 0xa0c]
push eax
lea eax, [ebp - 0xa34]
push eax
push 0
push 0x6568d8
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.0042e160
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 0x42a346
test dx, dx
je 0x42a342
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x42a346
add ecx, 4
add eax, 4
test dx, dx
jne 0x42a320
xor eax, eax
jmp 0x42a34b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42a3b1
mov ecx, str.Apartment
lea eax, [ebp - 0x20c]
nop word [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42a398
test dx, dx
je 0x42a382
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42a398
add eax, 4
add ecx, 4
test dx, dx
jne 0x42a360
lea ecx, [ebp - 0xa24]
xor esi, esi
call fcn.00403060
xor ebx, ebx
test esi, esi
sete bl
jmp 0x42a3c2
sbb esi, esi
lea ecx, [ebp - 0xa24]
or esi, 1
call fcn.00403060
xor ebx, ebx
test esi, esi
sete bl
jmp 0x42a3c2
lea ecx, [ebp - 0xa24]
xor ebx, ebx
call fcn.00403060
jmp 0x42a3c2
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.0059d38a
mov esp, ebp
pop ebp
ret 8
Function at 0x42ac20
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x667d00]
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.005a26c0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005a26c0
mov ecx, dword [ebp + 8]
add esp, 0x18
cmp dword [ecx + 0x14], 8
jb 0x42ac6d
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 0x42ac75
cmp dword [ebx + 0x14], 8
mov edx, ebx
jb 0x42ac8f
mov edx, dword [ebx]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x42ac91
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 0x42acb0
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 0x42acd5
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 0x42ace0
cmp dword [ebx + 0x14], 8
jb 0x42acf8
mov ebx, dword [ebx]
mov esi, ebx
nop word [eax + eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x42ad00
lea edi, [ebp - 0x20c]
sub ebx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x42ad16
mov ecx, ebx
lea eax, [ebp - 0x20c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
xor esi, esi
push esi
push eax
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
jne 0x42adf9
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
nop word [eax + eax]
lea eax, [ebp - 0x414]
push eax
call fcn.0044721f
add esp, 4
test al, al
je 0x42adf9
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.00447271
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.005a26c0
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push str._s.bak_d
push eax
call fcn.00405e00
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005aff5c
add esp, 0x2c
lea eax, [ebp - 0x61c]
push 5
push 0
push eax
call ebx
cmp esi, 0xa
jge 0x42adf9
push 0
lea eax, [ebp - 0x20c]
inc esi
push eax
lea eax, [ebp - 0x414]
push eax
call edi
test eax, eax
je 0x42ad60
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0059d38a
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42bdb0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce4a6
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x667d00]
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.005a26c0
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 0x4f
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerShellIconOverlayIdentifiers_
call fcn.004032c0
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 0x42bfb2
push 4
push 0x5d8610
lea ecx, [ebp - 0x230]
call fcn.004032c0
push 0xa
push str.BKStPDFCah
lea ecx, [ebp - 0x230]
call fcn.00405ab0
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 0x42bfa6
push 1
push 0x5d838c
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
call fcn.004032c0
push 0x24
push 0x5d8390
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.00405ab0
push 1
push 0x5d83dc
lea ecx, [ebp - 0x248]
call fcn.00405ab0
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x248]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x248]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x42bf41
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42bf60
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x6568d8
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.00403060
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x42bfee
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x42bfe4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42c007
push edx
push ecx
call fcn.0059ce4e
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.0059d38a
mov esp, ebp
pop ebp
ret
call fcn.005a5c79
int3
Function at 0x42e520
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ce888
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x667d00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, ecx
mov dword [ebp - 0x10], edx
xor ecx, ecx
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 7
mov word [edx + 4], cx
mov dword [edx + 0x2c], ecx
mov dword [edx + 0x30], 7
mov dword [ebp - 4], ecx
mov word [edx + 0x1c], cx
mov dword [edx + 0x44], ecx
mov dword [edx + 0x48], 7
mov word [edx + 0x34], cx
lea ecx, [edx + 0x4c]
xor eax, eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
xor esi, esi
mov dword [edx + 0x74], eax
mov dword [edx + 0x78], 7
mov word [edx + 0x64], si
mov dword [edx + 0x8c], esi
mov dword [edx + 0x90], 7
mov word [edx + 0x7c], ax
mov dword [edx + 0xa4], esi
mov dword [edx + 0xa8], 7
mov word [edx + 0x94], si
lea ebx, [edx + 0xac]
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], 7
mov word [ebx], ax
lea edi, [edx + 0xc4]
mov dword [edi + 0x10], esi
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [edx + 0xdc]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [edx + 0x104], eax
mov dword [edx + 0x108], 7
mov word [edx + 0xf4], ax
push eax
push 0x6568d8
mov byte [ebp - 4], 0xa
mov dword [edx + 0x10c], eax
mov dword [edx], eax
call fcn.004032c0
mov ecx, dword [ebp - 0x10]
push 0
push 0x6568d8
lea ecx, [ecx + 0x64]
call fcn.004032c0
mov ecx, dword [ebp - 0x10]
push 0
push 0x6568d8
lea ecx, [ecx + 4]
call fcn.004032c0
mov ecx, dword [ebp - 0x10]
push 0
push 0x6568d8
lea ecx, [ecx + 0x1c]
call fcn.004032c0
mov ecx, dword [ebp - 0x10]
push 0
push 0x6568d8
lea ecx, [ecx + 0x34]
call fcn.004032c0
mov ecx, dword [ebp - 0x10]
push 0
push 0x6568d8
lea ecx, [ecx + 0x94]
call fcn.004032c0
push 0
push 0x6568d8
mov ecx, ebx
call fcn.004032c0
push 0
push 0x6568d8
mov ecx, edi
call fcn.004032c0
push 0
push 0x6568d8
mov ecx, esi
call fcn.004032c0
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 0x42fe90
Capabilities:
Delete service
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x667d00]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42fef0
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42feb0
sub ecx, edx
sar ecx, 1
je 0x42fef0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
test ebx, ebx
je 0x42fef0
push 0x10020
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x42ff04
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.0059d38a
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 0x42fef0
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
xor ecx, ebp
pop ebx
call fcn.0059d38a
mov esp, ebp
pop ebp
ret 4
Function at 0x43c829
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x5d026f
call fcn.0059d72c
xor esi, esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00453a07
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.00453a3b
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x43c862
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43c8d2
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5d4e18
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43c89f
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43c8d2
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0xc]
push 1
push esi
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.00453a1a
call fcn.0059d6f5
ret 8
Function at 0x43cda4
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5d0333
call fcn.0059d72c
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00453a07
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.00453a3b
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x43cde4
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43ce46
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5d4e18
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43ce21
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43ce46
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x10]
call esi
lea ecx, [ebp - 0x3c]
call fcn.00453a1a
call fcn.0059d6f5
ret 8

Function at 0x43ce62
Capabilities:
Read .ini file

Disassembly:
push 0x224
mov eax, 0x5cd06b
call fcn.0059d760
mov esi, ecx
mov edi, 0x5d4990
lea eax, [ebp - 0x230]
push edi
mov ebx, str.InstallTime
push ebx
push str.BKApp
push eax
call fcn.0043d2ae
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push edi
call fcn.0043edb6
test al, al
je 0x43cf02
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a26c0
lea eax, [esi + 0xd4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x43cec8
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push ebx
push str.BKApp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
call fcn.005b025f
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004032c0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.005aa953
pop ecx
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.00403060
mov eax, esi
call fcn.0059d70a
ret
Function at 0x43cf98
Capabilities:
Read .ini file

Disassembly:
push 0x864
mov eax, 0x5d036f
call fcn.0059d760
mov ebx, ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cdq
push edx
push eax
lea eax, [ebp - 0x828]
push eax
call fcn.00447c2a
add esp, 0xc
xor eax, eax
lea ecx, [ebp - 0x840]
mov dword [ebp - 4], eax
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x82c], eax
lea eax, [ebp - 0x828]
push eax
call fcn.0043ed0b
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.005a26c0
lea ecx, [ebx + 0xd4]
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x43d00f
mov ecx, dword [ecx]
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
push ecx
cmovae eax, dword [ebp - 0x828]
lea ecx, [ebp - 0x810]
push 0x400
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x858]
call fcn.004030c0
lea eax, [ebp - 0x828]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x858]
call fcn.0043ed86
test al, al
je 0x43d0a3
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
mov ecx, ebx
cmovae eax, dword [ebp - 0x828]
push eax
push edi
push esi
lea eax, [ebp - 0x870]
push eax
call fcn.0043d2ae
push eax
lea ecx, [ebp - 0x840]
call fcn.00406f00
lea ecx, [ebp - 0x870]
call fcn.00403060
jmp 0x43d0b5
lea eax, [ebp - 0x858]
push eax
lea ecx, [ebp - 0x840]
call fcn.00417ea0
cmp dword [ebp - 0x82c], 8
lea eax, [ebp - 0x840]
cmovae eax, dword [ebp - 0x840]
push eax
call fcn.005aa953
pop ecx
lea ecx, [ebp - 0x858]
mov esi, eax
call fcn.00403060
lea ecx, [ebp - 0x840]
call fcn.00403060
lea ecx, [ebp - 0x828]
call fcn.00403060
mov eax, esi
call fcn.0059d70a
ret 0xc

Function at 0x43d0fd
Capabilities:
Read .ini file

Disassembly:
push 0x844
mov eax, 0x5d03c4
call fcn.0059d760
mov ebx, ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x828]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x848], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x850], esi
and dword [ebp - 0x84c], 0
push edi
mov dword [ebp - 0x844], eax
call fcn.004030c0
and dword [esi + 0x10], 0
lea eax, [ebp - 0x828]
and dword [esi + 0x14], 0
mov ecx, esi
push eax
mov dword [ebp - 4], 1
call fcn.0043ed0b
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0x84c], 1
jne 0x43d1d0
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.005a26c0
lea eax, [ebx + 0xd4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x43d194
mov eax, dword [eax]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push edi
push dword [ebp - 0x844]
push dword [ebp - 0x848]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x810]
push eax
call fcn.005b025f
pop ecx
push eax
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.004032c0
lea eax, [ebp - 0x828]
mov ecx, esi
push eax
call fcn.0043ed86
test al, al
je 0x43d210
push edi
push dword [ebp - 0x844]
lea eax, [ebp - 0x840]
mov ecx, ebx
push dword [ebp - 0x848]
push eax
call fcn.0043d2ae
push eax
mov ecx, esi
call fcn.00406f00
lea ecx, [ebp - 0x840]
call fcn.00403060
lea ecx, [ebp - 0x828]
call fcn.00403060
mov eax, esi
call fcn.0059d70a
ret 0x14