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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push ebx
push esi
push edi
push 8
xor edi, edi
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.0042b138
mov eax, 0xc1c
call fcn.0042b055
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x41fb2e
add eax, 0x3fc
mov dword [ebp - 0x1c], eax
lea esi, [ebp - 0xb0]
mov eax, 0xce
call fcn.0040aee3
lea esi, [ebp - 0x3c]
mov eax, 0xcf
call fcn.0040aee3
lea esi, [ebp - 0x48]
mov eax, 0xd0
call fcn.0040aee3
lea esi, [ebp - 0x30]
mov eax, 0xd1
call fcn.0040aee3
lea esi, [ebp - 0x24]
mov eax, 0xd2
call fcn.0040aee3
lea eax, [ebp - 4]
push eax
push 8
push edi
lea eax, [ebp - 0xb0]
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41fb05
push edi
push edi
push edi
push edi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2b8]
push eax
push edi
push dword [ebp - 4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x41fafc
mov ebx, 0xff
mov edi, dword [ebp - 0xc]
inc dword [ebp - 0x10]
push ebx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2b8]
push eax
mov eax, dword [ebp - 4]
call fcn.00430939
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x41face
test eax, eax
je 0x41face
push ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2b8]
push eax
mov eax, dword [ebp - 4]
add edi, 0x1fe
call fcn.00430939
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x41face
test eax, eax
je 0x41face
mov edi, dword [ebp - 0x1c]
push ebx
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x2b8]
push eax
mov eax, dword [ebp - 4]
call fcn.00430939
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
je 0x41face
test eax, eax
je 0x41face
mov ecx, edi
call fcn.0042bc28
test eax, eax
jle 0x41face
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2b8]
push eax
mov eax, dword [ebp - 4]
call fcn.004309ef
mov edi, eax
cmp edi, 1
jb 0x41fa85
cmp edi, 0xffff
jbe 0x41fa88
push 0x15
pop edi
lea esi, [ebp - 0x70]
mov eax, 0x8c
call fcn.0040aee3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
push edi
push eax
push ecx
add eax, 0x1fe
push eax
mov eax, esi
push eax
mov edx, 0x311
lea edi, [ecx + 0x1fe]
call fcn.0042bebe
add esp, 0x14
test eax, eax
jle 0x41face
push edi
lea ecx, [ebp - 0x18]
call fcn.0042b479
test al, al
je 0x41face
inc dword [ebp - 0x14]
xor eax, eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2b8]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 8], 0x104
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x41f9d9
xor edi, edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0xc]
call fcn.0042b085
cmp dword [ebp - 0x14], edi
jbe 0x41fb26
mov edi, dword [ebp - 0x18]
push 0xcb
mov eax, 0xd3
call fcn.0041cf45
jmp 0x41fb2e
push dword [ebp - 0x18]
call fcn.0042b085
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42027d
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x53c
push ebx
push esi
push edi
push 8
push 0
lea eax, [ebp - 0xc]
push eax
call fcn.0042b138
lea esi, [ebp - 0x128]
mov eax, 0xda
call fcn.0040aee3
lea esi, [ebp - 0xb8]
mov eax, 0xdc
call fcn.0040aee3
lea esi, [ebp - 0x54]
mov eax, 0xdb
call fcn.0040aee3
lea esi, [ebp - 0x2c]
mov eax, 0xdd
call fcn.0040aee3
lea eax, [ebp - 0x128]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0xb8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, esi
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 4], 2
mov ebx, 0x104
push ebx
push dword [ebp + esi - 0x14]
lea edi, [ebp - 0x330]
push dword [ebp + esi - 0x1c]
mov eax, reloc.WS2_32.dll_accept
call fcn.00430939
cmp eax, 0xffffffff
je 0x42033c
test eax, eax
je 0x42033c
push ebx
lea eax, [ebp - 0x538]
push eax
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [ebp - 0xc]
lea ecx, [ebp - 0x538]
call fcn.0041ffe2
add esi, 4
dec dword [ebp - 4]
jne 0x4202fb
cmp dword [ebp - 8], 0
jbe 0x42035e
mov edi, dword [ebp - 0xc]
push 0xcb
mov eax, 0xde
call fcn.0041cf45
jmp 0x420366
push dword [ebp - 0xc]
call fcn.0042b085
pop edi
pop esi
pop ebx
leave
ret
Function at 0x422296
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
cmp dword [ebp + 0xc], 0xffffffff
je 0x422346
test byte [ebp + 0x14], 2
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xa8]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x80
je 0x4222d6
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x4222de
or eax, 0xffffffff
jmp 0x4223aa
call dword [sym.imp.WS2_32.dll_getsockname]
jmp 0x4222ca
cmp word [ebp - 0xa8], 2
jne 0x422312
push 4
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp + 0xf], 1
call fcn.0042b0c1
push 2
lea eax, [ebp - 0xa6]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042b0c1
jmp 0x42236a
cmp word [ebp - 0xa8], 0x17
jne 0x4222ce
push 0x10
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp + 0xf], 4
call fcn.0042b0c1
push 2
lea eax, [ebp - 0xa6]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0042b0c1
jmp 0x42235d
push 0x1c
push 0
lea eax, [ebp - 0x20]
push eax
call fcn.0042b138
test byte [ebp + 0x14], 1
je 0x422366
mov byte [ebp + 0xf], 4
mov dword [ebp - 4], 0x12
jmp 0x422371
mov byte [ebp + 0xf], 1
mov dword [ebp - 4], 6
mov al, byte [ebp + 0x10]
mov byte [ebp + 0xd], al
push 4
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp + 0xc], 5
mov byte [ebp + 0xe], 0
call fcn.0042b0c1
mov eax, dword [ebp - 4]
add eax, 4
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call fcn.0042f61b
xor ecx, ecx
test al, al
setne cl
mov eax, ecx
leave
ret 0x10
Function at 0x422c7f
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [ebp + 0xc], 0xffffffff
je 0x422cc6
test byte [ebp + 0x14], 2
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x10
je 0x422cb2
call dword [sym.imp.WS2_32.dll_getpeername]
test eax, eax
je 0x422cba
or eax, 0xffffffff
jmp 0x422cf1
call dword [sym.imp.WS2_32.dll_getsockname]
jmp 0x422ca9
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov ax, word [ebp - 0x1a]
jmp 0x422ccc
and dword [ebp - 8], 0
xor eax, eax
mov word [ebp - 0xa], ax
mov al, byte [ebp + 0x10]
mov byte [ebp - 0xb], al
push 8
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
mov byte [ebp - 0xc], 0
call fcn.0042f61b
xor ecx, ecx
test al, al
setne cl
mov eax, ecx
leave
ret 0x10
Function at 0x42530a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
xor edx, edx
push esi
mov dword [edx], ecx
push dword [eax + 8]
xor esi, esi
test byte [eax], 2
je 0x42532a
mov edx, dword [eax + 4]
mov eax, dword [ecx + 8]
call fcn.00423410
jmp 0x425332
push dword [ecx + 8]
call fcn.0043205e
mov dword [4], eax
cmp eax, esi
je 0x425382
call fcn.0040ce4f
mov eax, 0x424d89
cmp dword [0x34], esi
jne 0x425352
mov eax, 0x425156
push esi
push esi
push esi
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
cmp eax, esi
je 0x425377
lea eax, [ebp - 4]
push eax
call fcn.0042ff61
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [4]
call fcn.0042b085
mov eax, dword [0x1c]
pop esi
leave
ret

Function at 0x4253c9
Capabilities:
Delete file
Enumerate processes
Move file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push edi
push 0
push 2
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x425498
push ebx
lea eax, [ebp - 0x230]
push eax
push edi
mov dword [ebp - 0x230], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x425494
push esi
cmp dword [ebp - 0x228], 0
jbe 0x425481
push dword [ebp - 0x228]
push 0
push 0x401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x425481
push 0x104
lea eax, [ebp - 0x438]
push eax
push esi
call fcn.0042d93f
cmp al, 1
jne 0x42547e
push dword [ebp + 8]
lea eax, [ebp - 0x438]
call fcn.0042be63
test eax, eax
je 0x42547e
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne byte [ebp - 1]
cmp byte [ebp - 1], 0
je 0x42547e
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call ebx
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x425414
pop esi
push edi
call ebx
pop ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
dec eax
neg eax
sbb al, al
inc al
pop edi
jne 0x4254bf
push 4
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
dec eax
neg eax
sbb al, al
inc al
cmp byte [ebp - 1], 0
je 0x4254ce
test al, al
je 0x4254ce
xor eax, eax
inc eax
jmp 0x4254d0
xor eax, eax
leave
ret 4
Function at 0x4254d4
Capabilities:
Delete registry value
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x698
push esi
push edi
push 0x36
xor edi, edi
lea esi, [ebp - 0x288]
pop eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x24], reloc.WS2_32.dll_accept
mov dword [ebp - 0x20], reloc.WS2_32.dll_bind
call fcn.0040aee3
lea eax, [ebp - 0x698]
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x425521
or eax, 0xffffffff
jmp 0x4256ce
lea eax, [ebp - 0x698]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
mov dword [ebp - 8], edi
mov esi, 0x208
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x288]
push eax
mov eax, dword [ebp - 8]
push dword [ebp + eax*4 - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4256bd
push edi
push edi
push edi
push edi
lea eax, [ebp - 0xc]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp - 4]
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
xor ebx, ebx
cmp dword [ebp - 0xc], edi
jbe 0x4256b4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x490]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x22c]
push eax
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x4256aa
cmp dword [ebp - 0x14], 1
jne 0x4256aa
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.SHLWAPI.dll_PathUnquoteSpacesW]
lea eax, [ebp - 0x698]
push eax
lea eax, [ebp - 0x490]
call fcn.0042be63
test eax, eax
je 0x4256aa
cmp word [ebp - 0x22c], 0x7b
jne 0x4256aa
push 0x2d
pop eax
cmp word [ebp - 0x21a], ax
jne 0x4256aa
cmp word [ebp - 0x210], ax
jne 0x4256aa
cmp word [ebp - 0x206], ax
jne 0x4256aa
cmp word [ebp - 0x1fc], ax
jne 0x4256aa
cmp word [ebp - 0x1e2], 0x7d
jne 0x4256aa
push 8
lea edx, [ebp - 0x22a]
call fcn.0042538a
test al, al
je 0x4256aa
push 4
lea edx, [ebp - 0x218]
call fcn.0042538a
test al, al
je 0x4256aa
push 4
lea edx, [ebp - 0x20e]
call fcn.0042538a
test al, al
je 0x4256aa
push 4
lea edx, [ebp - 0x204]
call fcn.0042538a
test al, al
je 0x4256aa
push 0xc
lea edx, [ebp - 0x1fa]
call fcn.0042538a
test al, al
je 0x4256aa
lea eax, [ebp - 0x490]
push eax
call fcn.004253c9
cmp al, 1
jne 0x42569a
inc dword [ebp - 0x10]
lea eax, [ebp - 0x22c]
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
inc ebx
cmp ebx, dword [ebp - 0xc]
jb 0x42557c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jb 0x425537
mov eax, dword [ebp - 0x10]
pop ebx
pop edi
pop esi
leave
ret
Function at 0x42644a
Capabilities:
Create thread

Disassembly:
push ebx
push esi
push edi
push ecx
xor ebx, ebx
push ebx
push 0x47a
mov edi, edx
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebx
je 0x4264c1
push dword [esp + 0x10]
push edi
push esi
call fcn.0040cf70
mov edi, eax
cmp edi, ebx
je 0x4264ba
sub eax, dword [0x435b5c]
push ebp
push ebx
push ebx
push ebx
add eax, 0x40d946
push eax
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebp, eax
cmp ebp, ebx
je 0x4264ab
push 0x2710
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
jmp 0x4264b9
push 0x8000
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFreeEx]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
ret 4

Function at 0x4264c9
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
push ebx
push esi
push edi
xor edi, edi
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
cmp eax, 0xffffffff
je 0x426617
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0x248], 0x22c
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x4265fd
mov ecx, dword [ebp - 0x240]
cmp ecx, edi
jbe 0x4265ed
cmp ecx, dword [0x435db8]
je 0x4265ed
mov esi, dword [ebp - 8]
xor eax, eax
cmp esi, edi
jbe 0x42654c
mov edx, dword [ebp - 0xc]
cmp dword [edx + eax*4], ecx
je 0x4265ed
inc eax
cmp eax, esi
jb 0x42653b
push ecx
call fcn.0040ce92
mov ebx, eax
cmp ebx, edi
je 0x4265ed
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x240]
call fcn.0042db05
mov edi, eax
test edi, edi
je 0x4265e4
mov eax, dword [ebp - 0x18]
cmp eax, dword [0x435b58]
jne 0x4265de
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
cmp eax, dword [0x435b50]
jne 0x4265de
mov ecx, dword [edi]
push eax
mov eax, dword [0x435b4c]
mov eax, dword [eax]
call fcn.0042b0f6
test eax, eax
jne 0x4265de
lea eax, [esi*4 + 4]
lea esi, [ebp - 0xc]
call fcn.0042b000
test al, al
je 0x4265de
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0xc]
inc dword [ebp - 8]
inc dword [ebp - 0x14]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x240]
push 0
mov edx, ebx
call fcn.0042644a
test al, al
je 0x4265de
mov byte [ebp - 1], 1
push edi
call fcn.0042b085
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
lea eax, [ebp - 0x248]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x426518
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x14], edi
jne 0x4264e1
push dword [ebp - 0xc]
call fcn.0042b085
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42c6c9
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push 0xf0000040
push 1
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 1], bl
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x42c755
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
cmp eax, 1
jne 0x42c74b
push ebx
push dword [ebp + 0x10]
mov dword [ebp - 0xc], 0x10
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
cmp eax, 1
jne 0x42c742
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
push 2
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
cmp eax, 1
jne 0x42c742
cmp dword [ebp - 0xc], 0x10
jne 0x42c742
mov byte [ebp - 1], al
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov al, byte [ebp - 1]
pop ebx
leave
ret 0xc

Function at 0x42c75d
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x437248]
cmp eax, 0x270
jl 0x42c695
push esi
push edi
xor edx, edx
mov esi, accept
mov ecx, edx
mov eax, dword [ecx*4 + 0x43687c]
xor eax, dword [ecx*4 + 0x436878]
and eax, esi
xor eax, dword [ecx*4 + 0x436878]
mov edi, eax
shr eax, 1
and edi, 1
xor eax, dword [edi*4 + 0x435970]
xor eax, dword [ecx*4 + 0x436eac]
inc edx
mov dword [ecx*4 + 0x436878], eax
cmp edx, 0xe3
jl 0x42c5ee
cmp edx, 0x26f
jge 0x42c667
lea ecx, [edx*4 + 0x436878]
mov eax, dword [ecx]
xor eax, dword [ecx + 4]
and eax, esi
xor eax, dword [ecx]
mov edi, eax
and edi, 1
mov edi, dword [edi*4 + 0x435970]
xor edi, dword [ecx - 0x38c]
shr eax, 1
xor edi, eax
mov dword [ecx], edi
add ecx, 4
cmp ecx, 0x437234
jl 0x42c63b
mov ecx, dword [0x437234]
mov eax, dword [0x436878]
xor eax, ecx
and eax, esi
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
xor eax, dword [ecx*4 + 0x435970]
pop edi
xor eax, dword [0x436ea8]
pop esi
mov dword [0x437234], eax
xor eax, eax
mov ecx, dword [eax*4 + 0x436878]
inc eax
mov dword [0x437248], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x436064]
je 0x42c7a4
xor ecx, ecx
mov dword [0x436064], eax
mov dword [0x436878], eax
inc ecx
mov eax, 0x436878
push esi
mov edx, dword [eax]
mov esi, edx
shr esi, 0x1e
xor esi, edx
imul esi, esi, 0x6c078965
add esi, ecx
mov dword [eax + 4], esi
add eax, 4
inc ecx
cmp eax, 0x437234
jl 0x42c77e
mov dword [0x437248], ecx
pop esi
jmp 0x42c5d5
Function at 0x42c7d3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp byte [0x4359f2], 0
jne 0x42c80c
xor ecx, ecx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x42c7f0
shr eax, 1
xor eax, 0xedb88320
jmp 0x42c7f2
shr eax, 1
dec edx
jne 0x42c7e3
mov dword [ecx*4 + 0x436478], eax
inc ecx
cmp ecx, 0x100
jb 0x42c7de
mov byte [0x4359f2], 1
xor ecx, ecx
or eax, 0xffffffff
cmp dword [esp + 8], ecx
jbe 0x42c838
mov edx, dword [esp + 4]
movzx edx, byte [ecx + edx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x436478]
inc ecx
cmp ecx, dword [esp + 8]
jb 0x42c817
not eax
ret 8

Function at 0x42c83d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
push esi
mov byte [ebp - 1], cl
mov byte [ebp - 2], cl
mov word [eax + 0x100], cx
mov byte [eax + 0x102], cl
mov edx, eax
push edi
mov byte [edx], cl
inc ecx
mov esi, 0x100
inc edx
cmp cx, si
jb 0x42c85a
mov esi, eax
mov edi, 0x100
push ebx
movzx ecx, byte [ebp - 1]
mov ebx, dword [ebp + 8]
mov cl, byte [ecx + ebx]
mov dl, byte [esi]
add cl, dl
add byte [ebp - 2], cl
movzx ecx, byte [ebp - 2]
mov bl, byte [ecx + eax]
inc byte [ebp - 1]
mov byte [esi], bl
mov byte [ecx + eax], dl
movzx ecx, byte [ebp - 1]
cmp cx, word [ebp + 0xc]
jne 0x42c89e
mov byte [ebp - 1], 0
inc esi
dec edi
jne 0x42c870
xor esi, esi
mov dword [ebp + 0xc], 0xe8d6403a
pop ebx
mov cl, byte [ebp + edi + 0xc]
mov dl, cl
and dl, 7
shr cl, 3
inc edi
cmp edi, 4
jne 0x42c8c0
xor edi, edi
movzx edx, dl
cmp edx, 7
ja case.default.0x42c8c8
jmp dword [edx*4 + 0x42c90d]
not byte [esi + eax]
jmp case.default.0x42c8c8
xor byte [esi + eax], cl
jmp case.default.0x42c8c8
add byte [esi + eax], cl
jmp case.default.0x42c8c8
sub byte [esi + eax], cl
jmp case.default.0x42c8c8
mov dl, byte [esi + eax]
ror dl, cl
mov byte [esi + eax], dl
jmp case.default.0x42c8c8
mov dl, byte [esi + eax]
rol dl, cl
jmp 0x42c8e8
inc byte [esi + eax]
jmp case.default.0x42c8c8
dec byte [esi + eax]
inc esi
cmp esi, 0x100
jb 0x42c8ac
pop edi
pop esi
leave
ret 8
Function at 0x42cb11
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
lea eax, [ecx + 4]
push ebx
mov dword [ecx], eax
mov ecx, dword [esp + 8]
push esi
xor edx, edx
add ecx, 2
push edi
movzx esi, byte [ecx + 1]
movzx edi, byte [ecx]
shl esi, 8
or esi, edi
movzx edi, byte [ecx - 1]
shl esi, 8
or esi, edi
movzx edi, byte [ecx - 2]
shl esi, 8
or esi, edi
mov dword [eax + edx*4], esi
inc edx
add ecx, 4
cmp edx, 4
jb 0x42cb22
xor edi, edi
mov ebx, dword [eax + 0xc]
movzx edx, byte [eax + 0xf]
movzx edx, byte [edx + 0x404508]
mov ecx, ebx
and ecx, 0xff
movzx ecx, byte [ecx + 0x404508]
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 0xe]
movzx edx, byte [edx + 0x404508]
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 0xd]
movzx edx, byte [edx + 0x404508]
shl ecx, 8
xor ecx, edx
xor ecx, dword [edi + 0x406708]
mov edx, dword [eax + 4]
xor ecx, dword [eax]
add edi, 4
xor edx, ecx
mov dword [eax + 0x10], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x18], ecx
xor ecx, ebx
mov dword [eax + 0x14], edx
mov dword [eax + 0x1c], ecx
add eax, 0x10
cmp edi, 0x28
jb 0x42cb4e
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
ret 4

Function at 0x42cbc4
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push dword [ebp + 8]
lea esi, [eax + 4]
lea ecx, [ebp - 0x114]
mov dword [eax], esi
call fcn.0042cb11
test eax, eax
je 0x42ccb5
mov eax, dword [ebp - 0x114]
add eax, 0xa0
mov ecx, dword [eax]
mov dword [esi], ecx
push 4
pop ecx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
push ebx
add esi, ecx
mov dword [ebp + 8], 9
sub eax, 0x1c
push edi
mov edx, ecx
movzx edi, byte [eax + 3]
movzx edi, byte [edi + 0x404508]
movzx ebx, byte [eax + 2]
movzx ebx, byte [ebx + 0x404508]
mov edi, dword [edi*4 + 0x406308]
xor edi, dword [ebx*4 + 0x405f08]
movzx ebx, byte [eax + 1]
movzx ebx, byte [ebx + 0x404508]
xor edi, dword [ebx*4 + 0x405b08]
mov ebx, dword [eax]
and ebx, 0xff
movzx ebx, byte [ebx + 0x404508]
xor edi, dword [ebx*4 + 0x405708]
add eax, ecx
mov dword [esi], edi
add esi, ecx
dec edx
jne 0x42cc23
dec dword [ebp + 8]
sub eax, 0x20
cmp dword [ebp + 8], edx
ja 0x42cc21
mov edx, dword [eax]
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
add esi, ecx
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
push 0x114
mov dword [esi + 4], eax
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.0042b138
xor eax, eax
pop edi
inc eax
pop ebx
pop esi
leave
ret 4
Function at 0x42d82d
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
mov byte [ebp - 1], 0
je 0x42d936
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42d936
cmp dword [ebp + 0x14], 0
je 0x42d936
test byte [ebp + 0x14], 1
jne 0x42d936
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp + 0xc]
dec eax
je 0x42d889
dec eax
je 0x42d882
dec eax
jne 0x42d936
mov edi, 0x4095bc
jmp 0x42d88e
mov edi, 0x40959c
jmp 0x42d88e
mov edi, 0x409584
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x42d936
call fcn.0042b055
mov ebx, eax
test ebx, ebx
je 0x42d936
push ebx
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
cmp eax, 1
jne 0x42d92b
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
push 0
lea eax, [ebp + 8]
push eax
push 0x4095d4
push ebx
call esi
cmp eax, 1
jne 0x42d92b
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push edi
push ecx
push eax
push 0x409608
mov edx, 0x104
lea edi, [ebp - 0x210]
call fcn.0042bebe
add esp, 0x10
push 0
lea eax, [ebp - 8]
push eax
mov eax, edi
push eax
push ebx
call esi
cmp eax, 1
jne 0x42d92b
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
shr eax, 1
dec eax
call fcn.0042b426
mov byte [ebp - 1], 1
push ebx
call fcn.0042b085
mov al, byte [ebp - 1]
jmp 0x42d938
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10