joyce8/EMBER2024-capa huggingface dataset:
Function at 0x495c90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a574b
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x230], edi
cmp dword [ecx + 0xdc], 0
je 0x495cec
mov ecx, dword [ecx + 0xc0]
sub ecx, 0x10
push ecx
call fcn.00429b80
add esp, 4
add eax, 0x10
mov dword [edi], eax
jmp 0x495e6a
xor esi, esi
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], esi
push esi
push eax
call fcn.00560a80
add esp, 0xc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x21c]
push eax
push 0x2001f
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallKingsoft_Office
push 0x80000001
mov dword [ebp - 0x21c], esi
call ebx
test eax, eax
jne 0x495d53
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 0
test eax, eax
je 0x495db0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
push 0x2001f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallKingsoft_Office
push 0x80000002
call ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x495da6
test esi, esi
je 0x495d90
push esi
call ebx
mov esi, dword [ebp - 0x21c]
mov dword [ebp - 0x228], esi
mov dword [ebp - 0x224], 0
mov byte [ebp - 4], 0
test eax, eax
jne 0x495e09
jmp 0x495db6
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x22c]
push eax
push 0
push str.StartMenuDir
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x495e09
mov eax, dword [ebp - 0x22c]
cmp eax, 1
je 0x495df7
cmp eax, 2
jne 0x495e09
cmp dword [ebp - 0x21c], 0
jne 0x495e09
xor eax, eax
mov word [ebp - 0x218], ax
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x495e8a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 3
test eax, 0xffff0000
jne 0x495e3c
movzx eax, ax
mov ecx, edi
push eax
call fcn.00429d90
jmp 0x495e63
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x495e45
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0042a060
test esi, esi
je 0x495e6a
push esi
call ebx
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00429b60
int3
Function at 0x496580
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a58a0
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x58], 0
je 0x4965c0
cmp byte [edi + 0x59], 0
je 0x4966cb
xor esi, esi
lea eax, [ebp - 0x234]
mov dword [ebp - 0x234], esi
push eax
push 0x2001f
push esi
push dword [0x6134a0]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4965f0
mov esi, dword [ebp - 0x234]
mov dword [ebp - 4], 0xffffffff
test eax, eax
jne 0x496717
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00560a80
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x238]
add esp, 0xc
mov dword [ebp - 0x238], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x240]
push eax
push 0
push str.disableGlobalInfoCollect
push esi
call ebx
test eax, eax
jne 0x496672
mov eax, dword [ebp - 0x240]
cmp eax, 1
je 0x496657
cmp eax, 2
jne 0x496672
mov eax, dword [ebp - 0x238]
test eax, eax
je 0x4966d2
test al, 1
jne 0x496672
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x4966db
lea eax, [ebp - 0x244]
mov dword [ebp - 0x23c], 0
push eax
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x244], 4
push eax
lea eax, [ebp - 0x248]
push eax
push 0
push str.disableGlobalInfoCollect
push esi
call ebx
test eax, eax
jne 0x496717
cmp dword [ebp - 0x248], 4
jne 0x496717
cmp dword [ebp - 0x23c], 1
sete bl
test esi, esi
je 0x4966c7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x496722
mov al, 1
jmp 0x496764
xor eax, eax
mov word [ebp - 0x218], ax
mov ecx, 0x5bbd7c
lea eax, [ebp - 0x218]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x49670e
test dx, dx
je 0x496708
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x49670e
add eax, 4
add ecx, 4
test dx, dx
jne 0x4966e6
xor eax, eax
test eax, eax
jmp 0x4966b9
sbb eax, eax
or eax, 1
test eax, eax
jmp 0x4966b9
test esi, esi
je 0x496722
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [edi + 0x108]
test esi, esi
je 0x496762
push str.Support_DisableGlobalInfoCollect
lea ecx, [ebp - 0x230]
call fcn.0043f5c0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 1
push eax
mov ecx, esi
call fcn.004a07c0
lea ecx, [ebp - 0x230]
mov bl, al
call fcn.0042ab30
mov al, bl
jmp 0x496764
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret
Function at 0x4974d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, ecx
push ebx
mov dword [ebp - 0xc], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [eax]
test eax, eax
je 0x49759c
lea ecx, [ebp - 4]
push ecx
push ebx
lea ecx, [ebp - 8]
push ecx
push ebx
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x497510
cmp eax, 2
jne 0x49759c
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.00429c20
mov edx, dword [ebp - 4]
shr edx, 1
add edx, 1
js 0x4975a5
mov edi, dword [esi]
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, edx
or ecx, eax
jge 0x497543
push edx
mov ecx, esi
call fcn.00429eb0
mov edi, dword [esi]
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49759a
mov eax, dword [ebp - 4]
xor ecx, ecx
shr eax, 1
mov word [edi + eax*2], cx
mov eax, dword [esi]
test eax, eax
je 0x497583
push dword [eax - 8]
push eax
call fcn.0056b163
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x4975a5
mov eax, dword [esi]
cmp ecx, dword [eax - 8]
jg 0x4975a5
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [esi]
mov ebx, 1
mov word [eax + ecx*2], dx
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x80070057
call fcn.00429b60
int3
Function at 0x4975b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5a47
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x220], 0
mov dword [ebp - 4], 1
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x4976fe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
push 0x20019
push 0
push str.SoftwarekingsoftOffice6.0Commonupdateinfo
push 0x80000001
mov dword [ebp - 0x220], 1
mov dword [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4976e0
cmp dword [ebp - 0x21c], eax
je 0x4976e0
push 0x208
push eax
mov dword [ebp - 0x228], eax
lea eax, [ebp - 0x218]
push eax
call fcn.00560a80
add esp, 0xc
mov dword [ebp - 0x224], 0x208
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x228]
push eax
push 0
push str.waitclearversions
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4976d4
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4976b6
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0042a060
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.0055c3a9
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00429b60
int3
Function at 0x497710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5a95
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x49787f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
test edx, edx
je 0x497791
test edx, 0xffff0000
jne 0x497776
movzx eax, dx
lea ecx, [ebp - 0x10]
push eax
call fcn.00429d90
jmp 0x49779d
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x497780
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x497780
sub ecx, esi
sar ecx, 1
jmp 0x497793
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.0042a060
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
call fcn.0049f120
mov edi, eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0049f350
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x14]
add esp, 0xc
mov dword [ebp - 0x14], 0
push eax
mov eax, dword [ebp + 0x14]
or eax, 0x20019
push eax
push 0
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
je 0x4977f3
jle 0x497839
movzx edi, di
or edi, 0x80070000
jmp 0x497839
mov eax, dword [ebp + 0x10]
add eax, eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x497837
jle 0x497839
movzx edi, di
or edi, 0x80070000
jmp 0x497839
xor edi, edi
mov edx, dword [ebp - 0x18]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x497856
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x49786b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b60
int3
Function at 0x497890
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5ad5
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x497a21
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
test edx, edx
je 0x497911
test edx, 0xffff0000
jne 0x4978f6
movzx eax, dx
lea ecx, [ebp - 0x14]
push eax
call fcn.00429d90
jmp 0x49791d
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x497900
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x497900
sub ecx, esi
sar ecx, 1
jmp 0x497913
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x14]
call fcn.0042a060
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.0049f120
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
add esp, 4
xor edi, edi
mov dword [ebp - 0x10], edi
push ecx
mov ecx, dword [ebp + 0x18]
or ecx, 0x20019
push ecx
push edi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x49796a
jg 0x49795c
mov edi, eax
jmp 0x4979f5
movzx edi, ax
or edi, 0x80070000
jmp 0x4979f5
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x1c], 0x104
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], edi
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ebx, eax
test ebx, ebx
je 0x4979c7
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jg 0x4979bc
mov edi, ebx
jmp 0x4979f5
movzx edi, bx
or edi, 0x80070000
jmp 0x4979f5
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x4979ec
jg 0x4979e3
mov edi, eax
jmp 0x4979ec
movzx edi, ax
or edi, 0x80070000
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x497a0d
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00429b60
int3
Function at 0x49d3a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp byte [0x6421fc], 0
push esi
push edi
mov esi, ecx
je 0x49d3e3
push 0
push 0
push 0x5ba110
push str.StartUninstall
push 1
call fcn.004d4f50
add esp, 0x14
cmp byte [0x6421fc], 0
je 0x49d3e3
push 0xff
push str.StartUninstall
call fcn.004d4fd0
add esp, 8
mov eax, dword [esi + 0x10]
xor edi, edi
mov ecx, dword [ebp + 8]
mov dword [esi + 4], ecx
cmp dword [eax - 0xc], edi
je 0x49d43b
mov dword [esi + 8], edi
test ecx, ecx
je 0x49d406
or dword [0x641b68], 4
cmp dword [esi + 4], edi
jne 0x49d41a
push str.7E3EDCB6_AA19_4598_A948_C59B6B02BF64
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x48], eax
push 0
push 0
push esi
push 0x49e2b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0xc], eax
mov ecx, 1
cmovne edi, ecx
cmp byte [0x6421fc], 0
je 0x49d477
push 0
push 0
push 0x5ba110
push str.StartUninstall
push 1
call fcn.004d4f90
add esp, 0x14
cmp byte [0x6421fc], 0
je 0x49d477
push 0xff
push str.StartUninstall
call fcn.004d4ff0
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x49e700
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a65f0
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
xor edi, edi
push edi
push eax
call fcn.00560a80
add esp, 0xc
mov dword [ebp - 4], edi
call fcn.00429250
mov ecx, eax
test ecx, ecx
je 0x49e84c
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x49e80d
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49e7a0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, ebx
call fcn.0042a060
push 4
push str.wps_
mov ecx, ebx
call fcn.004299d0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea eax, [ebp - 0x21c]
push 0x5c5910
push eax
call fcn.0042c720
mov esi, dword [ebp - 0x21c]
add esp, 0xc
mov ecx, ebx
push dword [esi - 0xc]
push esi
call fcn.004299d0
push dword [ebx]
call fcn.00479dd0
add esp, 4
test eax, eax
je 0x49e80d
mov edi, 1
jmp 0x49e814
mov ecx, ebx
call fcn.00429c20
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x49e82c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00429b60
int3
Function at 0x4a4580
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a705b
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push esi
mov byte [ebp - 4], 1
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x4a462c
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x4a462c
call fcn.00468130
mov esi, eax
jmp 0x4a471c
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4a464f
call fcn.00468130
jmp 0x4a470f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x4a466d
call fcn.00468130
jmp 0x4a470f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x4a468e
mov esi, 0x8007000e
jmp 0x4a4711
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004a2550
jmp 0x4a46b8
cmp dword [ebp - 0x418], 0
mov dword [ebp - 4], 1
jne 0x4a46cf
mov esi, 0x8007000e
jmp 0x4a4711
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x4a46ef
call fcn.00468130
jmp 0x4a470f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.004a43e0
mov esi, eax
test edi, edi
je 0x4a471c
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4a4735
lea ecx, [ebp - 0x418]
call fcn.004a35e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4adc80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7bb0
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x639354]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov edi, edx
sbb ecx, ecx
mov dword [ebp - 4], 0
and ecx, 0xfffffffc
xor al, al
push edx
mov ecx, dword [ecx + esi + 0x30]
rep stosb byte es:[edi], al
call fcn.00402ac0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
cmp eax, ecx
mov edx, dword [esi + 0x24]
mov edi, edx
cmovb ecx, eax
mov dword [ebp - 4], 1
xor al, al
rep stosb byte es:[edi], al
push edx
call fcn.00402ac0
mov ecx, dword [esi + 0xc]
add esp, 8
test ecx, ecx
je 0x4adcfc
mov eax, dword [ecx]
push 1
call dword [eax]
test byte [ebp + 8], 1
je 0x4add0d
push 0x40
push esi
call fcn.0055c524
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4b4bd0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8280
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x639354]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], edi
push eax
push 0x2001f
push edi
push dword [0x613624]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x4b4c4a
push dword [0x613628]
mov edi, dword [ebp - 0x21c]
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test edi, edi
je 0x4b4c4a
push edi
call ebx
xor edi, edi
mov esi, dword [ebp + 8]
cmp dword [esi - 0xc], 0
je 0x4b4d56
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00560a80
push esi
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0056f8ec
add esp, 0x18
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push eax
push 0x2001f
push 0
push dword [0x613624]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b4cd3
test edi, edi
je 0x4b4cb3
push edi
call ebx
mov edi, dword [ebp - 0x220]
test eax, eax
jne 0x4b4cd3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b4cc6
jmp 0x4b4d32
lea eax, [ebp - 0x228]
mov dword [ebp - 0x224], 0
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push dword [0x613624]
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4b4d56
test edi, edi
je 0x4b4d14
push edi
call ebx
mov edi, dword [ebp - 0x224]
test eax, eax
jne 0x4b4d56
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b4d27
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push dword [0x613628]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test edi, edi
je 0x4b4d5d
push edi
call ebx
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4b4d78
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055c3a9
mov esp, ebp
pop ebp
ret

Function at 0x4b4de0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x4b4e11
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4b4e00
pop edi
mov eax, edx
pop esi
pop ebp
ret 8