joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 0x10
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax]
push ebx
xor ebx, ebx
and eax, 7
cmp ecx, 5
jae 0x443940
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
add dword [ebp + 0x10], 5
lea edx, [ecx - 4]
push esi
mov esi, dword [ebp + 8]
push edi
or edi, 0xffffffff
add edx, esi
mov dword [ebp - 4], edx
add esi, ebx
mov dword [ebp + 0xc], esi
cmp esi, edx
jae 0x443972
nop dword [eax]
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x44396f
inc esi
cmp esi, edx
jb 0x443960
mov dword [ebp + 0xc], esi
mov ebx, esi
sub ebx, dword [ebp + 8]
mov ecx, ebx
sub ecx, edi
cmp esi, edx
jae 0x443a9c
cmp ecx, 3
jbe 0x4439b2
xor eax, eax
mov cl, byte [esi + 4]
mov edi, ebx
mov dword [ebp - 0x10], edi
test cl, cl
je 0x4439f0
cmp cl, 0xff
je 0x4439f0
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov ecx, 1
or eax, 1
add ebx, ecx
jmp 0x443954
dec ecx
shl eax, cl
and eax, 7
je 0x44398a
movzx ecx, byte [eax + 0x5d97ec]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x5d97e4], 0
mov cl, byte [edx + 4]
je 0x4439da
test cl, cl
je 0x4439da
cmp cl, 0xff
jne 0x44398a
mov edx, dword [ebp - 4]
and eax, 3
mov esi, dword [ebp + 8]
add eax, eax
mov edi, ebx
or eax, 1
inc ebx
jmp 0x443954
movzx edi, cl
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 2]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 1]
mov esi, dword [ebp + 0x10]
shl edi, 8
or edi, ecx
cmp dword [ebp + 0x18], 0
je 0x443a1e
lea edx, [edi + ebx]
add edx, esi
jmp 0x443a24
mov edx, edi
sub edx, ebx
sub edx, esi
test eax, eax
je 0x443a62
movzx edi, byte [eax + 0x5d97ec]
mov ecx, 0x18
shl edi, 3
sub ecx, edi
mov dword [ebp - 0xc], edi
mov edi, edx
shr edi, cl
mov ecx, edi
mov dword [ebp - 8], edi
test cl, cl
je 0x443a4e
cmp cl, 0xff
jne 0x443a62
mov ecx, 0x20
mov edi, 1
sub ecx, dword [ebp - 0xc]
shl edi, cl
dec edi
xor edi, edx
jmp 0x443a11
mov esi, dword [ebp + 0xc]
mov ecx, edx
mov edi, dword [ebp - 0x10]
shr ecx, 0x18
and cl, 1
dec cl
mov byte [esi + 1], dl
not cl
mov byte [esi + 4], cl
mov ecx, edx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, edx
mov edx, dword [ebp - 4]
shr ecx, 8
mov byte [esi + 2], cl
mov ecx, 5
mov esi, dword [ebp + 8]
add ebx, ecx
jmp 0x443954
pop edi
pop esi
cmp ecx, 3
jbe 0x443ab1
mov ecx, dword [ebp + 0x14]
xor eax, eax
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0x14]
and eax, 7
mov dword [ecx], eax
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446c5e
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc34
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x20]
mov ebx, ecx
mov dword [ebp - 0xc30], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0xc2c], eax
mov eax, dword [ebp + 0x18]
push 0x200
mov dword [ebp - 0xc34], eax
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0046cf80
push 0x200
lea eax, [ebp - 0x204]
push 0
push eax
call fcn.0046cf80
push 0x208
lea eax, [ebp - 0x60c]
push 0
push eax
call fcn.0046cf80
push 0x208
lea eax, [ebp - 0xa1c]
push 0
push eax
call fcn.0046cf80
push 0x208
lea eax, [ebp - 0x814]
push 0
push eax
call fcn.0046cf80
push 0x208
lea eax, [ebp - 0xc24]
push 0
push eax
call fcn.0046cf80
add esp, 0x48
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x446d20
cmp byte [ebp + 0x1c], al
jne 0x446de4
lea eax, [ebp - 0x60c]
push edi
push eax
call fcn.0047bb33
push dword [ebp - 0xc2c]
lea eax, [ebp - 0x204]
push eax
call fcn.0047bb33
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x814]
push eax
call fcn.0047bb33
push dword [ebp - 0xc30]
lea eax, [ebp - 0x404]
push eax
call fcn.0047bb33
push dword [ebp - 0xc34]
lea eax, [ebp - 0xc24]
push eax
call fcn.0047bb33
push 2
lea eax, [ebp - 0x60c]
push eax
lea eax, [ebp - 0xa1c]
push str.__s___d
push eax
call fcn.00405db0
add esp, 0x38
mov byte [ebp - 0xc25], 0
lea eax, [ebp - 0xc25]
mov ecx, ebx
push eax
push dword [ebp + 0x1c]
lea eax, [ebp - 0x814]
push str.F7C71435_3F18_4903_B387_446346CA44B8
push 0x6568a4
push eax
lea eax, [ebp - 0xa1c]
push eax
lea eax, [ebp - 0xc24]
push eax
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.004497ef
cmp byte [ebp - 0xc25], 0
je 0x446de4
mov byte [esi], 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a851
leave
ret 0x1c
Function at 0x447b1b
Capabilities:
Get common file path

Disassembly:
push 0x26c
mov eax, 0x5d02d0
call fcn.0044ac5a
call fcn.00447d6e
call fcn.00404470
mov ecx, eax
call fcn.0044f059
push eax
lea ecx, [ebp - 0x230]
call fcn.00403040
and dword [ebp - 4], 0
lea eax, [ebp - 0x230]
push 8
pop ebx
cmp dword [ebp - 0x21c], ebx
push 1
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00401c90
and dword [ebp - 0x238], 0
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp dword [ebp - 0x21c], ebx
lea ecx, [ebp - 0x230]
mov eax, dword [ebp - 0x220]
mov edi, 0x5d4d80
cmovae ecx, dword [ebp - 0x230]
push 0x5c
pop edx
mov byte [ebp - 4], 1
cmp word [ecx + eax*2 - 2], dx
lea eax, [ebp - 0x230]
jne 0x447bc5
push eax
lea ecx, [ebp - 0x248]
call fcn.00417ad0
jmp 0x447bed
push edi
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0041a910
add esp, 0xc
lea ecx, [ebp - 0x248]
push eax
call fcn.00406eb0
lea ecx, [ebp - 0x278]
call fcn.00402fe0
mov esi, str.Convert
push esi
call fcn.0047bb55
pop ecx
push eax
push esi
lea ecx, [ebp - 0x248]
call fcn.004058f0
push edi
call fcn.0047bb55
pop ecx
push eax
push edi
lea ecx, [ebp - 0x248]
call fcn.004058f0
cmp dword [ebp - 0x234], ebx
lea eax, [ebp - 0x248]
push 1
cmovae eax, dword [ebp - 0x248]
push eax
call fcn.00401c90
push 0x208
xor esi, esi
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0046cf80
add esp, 0x14
lea eax, [ebp - 0x218]
push esi
push 0x2b
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x218]
push str.BKPDF
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x218]
push edi
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x218]
push 0x5d4df4
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x218]
push 0x5d8cb4
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00401c90
add esp, 0x30
mov dword [ebp - 0x250], esi
lea eax, [ebp - 0x230]
mov dword [ebp - 0x24c], esi
lea ecx, [ebp - 0x260]
push eax
call fcn.00446544
cmp dword [ebp - 0x21c], ebx
lea ecx, [ebp - 0x230]
mov eax, dword [ebp - 0x220]
cmovae ecx, dword [ebp - 0x230]
push 0x5c
pop edx
mov byte [ebp - 4], 2
cmp word [ecx + eax*2 - 2], dx
je 0x447d2d
push edi
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.0041a910
add esp, 0xc
lea ecx, [ebp - 0x260]
push eax
call fcn.00406eb0
lea ecx, [ebp - 0x278]
call fcn.00402fe0
cmp dword [ebp - 0x24c], ebx
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
call fcn.00402eb0
pop ecx
lea ecx, [ebp - 0x260]
call fcn.00402fe0
lea ecx, [ebp - 0x248]
call fcn.00402fe0
lea ecx, [ebp - 0x230]
call fcn.00402fe0
call fcn.0044ac04
ret
Function at 0x4491b2
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor eax, eax
xor ebx, ebx
push esi
inc eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x44923b
push dword [ebp - 4]
call fcn.0047bb28
push dword [ebp - 4]
mov esi, eax
push ebx
push esi
call fcn.0046cf80
add esp, 0x10
mov dword [ebp - 8], 1
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test esi, esi
je 0x44923b
push dword [ebp + 0x14]
push esi
call fcn.0047c3f2
test eax, eax
movzx ebx, bl
push 1
pop eax
push esi
cmove ebx, eax
call fcn.00479da4
add esp, 0xc
test bl, bl
jne 0x449254
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.CheckRegSZValue_false__
call esi
push dword [ebp + 0xc]
call esi
push 0x5da514
call esi
pop esi
mov al, bl
pop ebx
leave
ret 0x10

Function at 0x44925c
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0x10
pop ecx
push 0x88
mov dword [ebp - 0x198], eax
lea edi, [ebp - 0xcc]
lea eax, [ebp - 0x8c]
mov esi, str.SOFTWARERegisteredApplications
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.0046cf80
push 0xc8
lea eax, [ebp - 0x194]
push 0
push eax
call fcn.0046cf80
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x194]
push eax
call fcn.0047bb33
lea eax, [ebp - 0x194]
push 0x5d4d80
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x194]
push ebx
push eax
call fcn.0047bbfb
add esp, 0x30
lea eax, [ebp - 0xcc]
cmp dword [ebp + 0x10], 0
push ebx
push eax
je 0x44932b
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov esi, dword [ebp - 0x198]
push esi
call fcn.0047bb55
pop ecx
lea eax, [eax*2 + 2]
push eax
push esi
push 1
push ebx
lea eax, [ebp - 0xcc]
push eax
push edi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
jmp 0x449336
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a851
leave
ret 0xc
Function at 0x449347
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x370
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x44]
mov esi, 0x5da518
mov dword [ebp - 0x370], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp + 0x18]
movsd dword es:[edi], dword [esi]
push 0x2e
mov dword [ebp - 0x368], eax
lea eax, [ebp - 0x32]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor edi, edi
push edi
push eax
call fcn.0046cf80
mov esi, 0xc8
lea eax, [ebp - 0x1d4]
push esi
push edi
push eax
call fcn.0046cf80
push esi
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.0046cf80
push 0x190
lea eax, [ebp - 0x364]
push edi
push eax
call fcn.0046cf80
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1d4]
push eax
call fcn.0047bb33
lea eax, [ebp - 0x1d4]
push 0x5d4d80
push eax
call fcn.0047bbfb
add esp, 0x40
lea eax, [ebp - 0x1d4]
push ebx
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.0047bb33
lea eax, [ebp - 0x10c]
push str.Capabilities
push eax
call fcn.0047bbfb
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x364]
push eax
call fcn.0047bb33
lea eax, [ebp - 0x364]
push str.FileAssociations
push eax
call fcn.0047bbfb
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x364]
add esp, 0x28
cmp dword [ebp + 0x1c], edi
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push eax
push edi
je 0x4494fb
call esi
lea eax, [ebp - 0x10c]
push eax
push edi
call esi
mov esi, dword [ebp - 0x368]
push esi
call fcn.0047bb55
pop ecx
lea eax, [eax*2 + 2]
push eax
push esi
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x10c]
push 1
push str.ApplicationDescription
push eax
push edi
call esi
mov ebx, dword [ebp - 0x36c]
push ebx
call fcn.0047bb55
pop ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push str.ApplicationIcon
lea eax, [ebp - 0x10c]
push eax
push edi
call esi
mov ebx, dword [ebp - 0x370]
push ebx
call fcn.0047bb55
pop ecx
lea eax, [eax*2 + 2]
push eax
push ebx
push 1
push str.ApplicationName
lea eax, [ebp - 0x10c]
push eax
push edi
call esi
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x364]
push eax
push edi
call esi
jmp 0x449507
call esi
lea eax, [ebp - 0x10c]
push eax
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a851
leave
ret 0x18
Function at 0x449518
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x324
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x324]
push edi
mov edi, dword [ebp + 0xc]
push 0x190
push 0
push eax
call fcn.0046cf80
mov ebx, 0xc8
lea eax, [ebp - 0xcc]
push ebx
push 0
push eax
call fcn.0046cf80
push ebx
lea eax, [ebp - 0x194]
push 0
push eax
call fcn.0046cf80
push edi
push esi
lea eax, [ebp - 0x194]
push 0x5d82b0
push eax
call fcn.00405db0
push esi
lea eax, [ebp - 0x324]
push str.SOFTWARE_sCapabilitiesFileAssociations
push eax
call fcn.00405db0
add esp, 0x40
lea eax, [ebp - 0x324]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.0047bb33
lea eax, [ebp - 0xcc]
push 0x5d4d80
push eax
call fcn.0047bbfb
lea eax, [ebp - 0xcc]
push edi
push eax
call fcn.0047bbfb
add esp, 0x18
lea eax, [ebp - 0xcc]
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea eax, [ebp - 0x194]
push eax
call fcn.0047bb55
pop ecx
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x194]
push eax
push 1
push edi
lea eax, [ebp - 0x324]
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a851
leave
ret 8

Function at 0x449700
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x664340]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
xor esi, esi
lea eax, [ebp - 0x214]
push esi
push eax
call fcn.0046cf80
add esp, 0xc
mov dword [ebp - 0x218], 0x114
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x214], 6
jb 0x4497c5
lea eax, [ebp - 0x21c]
push eax
push str._n_vSN
push 3
push esi
push 0x5d8ef4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4497c5
lea eax, [ebp - 0x104]
mov dword [ebp - 0x220], esi
push 0x5d4df4
push eax
call fcn.0047bb33
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x220]
pop ecx
pop ecx
push edx
mov ecx, dword [eax]
lea edx, [ebp - 0x104]
push edx
push 1
push eax
call dword [ecx + 0x14]
cmp dword [ebp - 0x220], esi
jne 0x4497b9
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x104]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0x21c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
push esi
push 0x3000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0044a851
leave
ret
Function at 0x44b8d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 8]
mov edi, ecx
mov esi, dword [edi + 8]
mov ecx, dword [esi + 8]
call fcn.0044d0b0
push dword [ebp + 0xc]
mov ecx, dword [esi + 8]
call fcn.0044d060
push dword [ebp + 0x10]
mov ecx, dword [esi + 8]
call fcn.0044d100
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test eax, eax
je 0x44b90c
mov ecx, dword [edi + 8]
mov dword [ecx + 0xc], eax
mov esi, dword [edi + 8]
lea eax, [ebp + 8]
push eax
push 0
push esi
push 0x44b960
push 0
push 0
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x10], eax
test eax, eax
je 0x44b950
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x44b950
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x10], 0
mov eax, dword [edi + 8]
pop edi
pop esi
mov al, byte [eax + 4]
pop ebp
ret 0xc
Function at 0x44bfc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d0586
mov eax, dword fs:[0]
push eax
sub esp, 0x630
mov eax, dword [0x664340]
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, ecx
mov dword [ebp - 0x638], esi
lea eax, [esi + 8]
mov dword [esi], 0
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x63c], esi
jb 0x44c01a
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [esi + 0x34], 7
mov dword [esi + 0x30], ecx
cmp dword [esi + 0x34], 8
mov dword [ebp - 4], ecx
jb 0x44c037
mov eax, dword [esi + 0x20]
jmp 0x44c03a
lea eax, [esi + 0x20]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x38]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x44c054
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x50]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x44c06e
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
lea eax, [esi + 0x68]
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
cmp dword [eax + 0x14], 8
jb 0x44c088
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push ecx
mov byte [ebp - 4], 4
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], ecx
call fcn.00474f26
push eax
call fcn.0047eb26
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0046cf80
add esp, 0x14
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x44c147
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x634]
push eax
call fcn.0046cf80
add esp, 0xc
lea eax, [ebp - 0x634]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x44c138
test eax, eax
je 0x44c138
add eax, eax
cmp eax, 0x412
jae 0x44c133
xor ecx, ecx
mov word [ebp + eax - 0x634], cx
lea eax, [ebp - 0x634]
jmp 0x44c13e
call fcn.0044b36c
lea eax, [ebp - 0x220]
push eax
lea ecx, [esi + 0x20]
call fcn.0044c2f0
mov eax, dword [esi + 0x30]
test eax, eax
je 0x44c173
cmp dword [esi + 0x34], 8
jb 0x44c159
mov ecx, dword [esi + 0x20]
jmp 0x44c15c
lea ecx, [esi + 0x20]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x44c173
push 1
push 0x5daa18
lea ecx, [esi + 0x20]
call fcn.0044d390
cmp dword [esi + 0x30], 0
jne 0x44c188
push 3
push 0x5daa1c
lea ecx, [esi + 0x20]
call fcn.0044bc20
mov dword [esi + 4], 0
mov eax, esi
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.0044a851
mov esp, ebp
pop ebp
ret
Function at 0x44c1b0
Capabilities:
Delete file

Disassembly:
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x60], 0
je 0x44c1cc
cmp dword [edi + 0x64], 8
lea eax, [edi + 0x50]
jb 0x44c1c5
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 0x80]
test eax, eax
je 0x44c1e9
push eax
call fcn.0044a88e
add esp, 4
mov dword [edi + 0x80], 0
mov eax, dword [edi + 0x7c]
lea esi, [edi + 0x68]
cmp eax, 8
jb 0x44c1ff
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.0044bd20
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x44c215
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x50]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x44c230
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.0044bd20
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x44c246
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x38]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x44c261
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.0044bd20
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x44c277
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
lea esi, [edi + 0x20]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x44c292
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.0044bd20
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x44c2a8
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
mov eax, dword [edi + 0x1c]
cmp eax, 8
jb 0x44c2c2
inc eax
lea ecx, [edi + 8]
push eax
push dword [edi + 8]
call fcn.0044bd20
mov dword [edi + 0x1c], 7
cmp dword [edi + 0x1c], 8
mov dword [edi + 0x18], 0
jb 0x44c2e1
mov eax, dword [edi + 8]
xor ecx, ecx
pop edi
pop esi
mov word [eax], cx
ret
xor eax, eax
mov word [edi + 8], ax
pop edi
pop esi
ret
Function at 0x44dec0
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 4]
sub esp, 8
test eax, eax
je 0x44defe
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 4], 0
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 8], 4
push ecx
push 0x20000005
push eax
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x44defe
mov eax, dword [ebp - 4]
xor edx, edx
mov esp, ebp
pop ebp
ret
xor eax, eax
xor edx, edx
mov esp, ebp
pop ebp
ret
Function at 0x44eaea
Capabilities:
Set registry value

Disassembly:
push 0x2c
mov eax, 0x5d087f
call fcn.0044ac26
xor esi, esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00464805
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
call fcn.00464839
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x44eb23
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44eb93
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5d4df4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x44eb60
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44eb93
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.00464818
call fcn.0044abef
ret 8
Function at 0x44f065
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x30
mov eax, 0x5d0943
call fcn.0044ac26
xor esi, esi
mov dword [ebp - 0x18], 0x104
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00464805
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], esi
call fcn.00464839
test eax, eax
mov edi, 0xf013f
lea eax, [ebp - 0x10]
push eax
jne 0x44f0a5
mov edi, 0xf003f
push edi
push esi
push str.SoftWare
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44f107
push esi
lea eax, [ebp - 0x14]
push eax
push esi
push edi
push esi
push esi
push esi
push 0x5d4df4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x44f0e2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44f107
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.00464818
call fcn.0044abef
ret 8

Function at 0x44f123
Capabilities:
Read .ini file

Disassembly:
push 0x224
mov eax, 0x5cca2b
call fcn.0044ac5a
mov esi, ecx
mov edi, 0x5d4984
lea eax, [ebp - 0x230]
push edi
mov ebx, str.InstallTime
push ebx
push str.BKApp
push eax
call fcn.0044f56f
and dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
push edi
call fcn.00450f23
test al, al
je 0x44f1c3
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0046cf80
lea eax, [esi + 0xd4]
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x44f189
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.0047bb55
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00403240
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.00474e53
pop ecx
lea ecx, [ebp - 0x230]
mov esi, eax
call fcn.00402fe0
mov eax, esi
call fcn.0044ac04
ret