joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4044d0
Capabilities:
Hash data via wincrypt

Disassembly:
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4044d6
mov ecx, dword [esp + 8]
sub eax, esi
sar eax, 1
push 0
add eax, eax
push eax
push edx
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
pop esi
jne 0x404505
call fcn.004044b0
ret 4
xor eax, eax
ret 4

Function at 0x404530
Capabilities:
Hash data using sha1
Initialize hashing via wincrypt

Disassembly:
mov eax, dword [eax]
push ecx
push 0
push 0
push 0x8004
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x40454c
jmp fcn.004044b0
xor eax, eax
ret

Function at 0x4046f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x404707
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x404738
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x404734
cmp esi, eax
jae 0x404738
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x404724
cmp esi, eax
jb 0x40473e
pop esi
pop edi
xor eax, eax
pop ebp
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret
Function at 0x405e00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
cmp dword [esi + 8], 0
push ebx
push edi
je 0x405e19
mov eax, 0x8000ffff
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
lea edi, [esi + 0x24]
mov ecx, edi
call fcn.00406b30
test eax, eax
jl 0x405f19
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
mov byte [edi + 0x18], 1
call ebx
test eax, eax
mov dword [esi + 0x40], eax
jne 0x405e60
cmp byte [edi + 0x18], al
je 0x405e55
push edi
mov byte [edi + 0x18], al
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call fcn.004044b0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call ebx
mov edi, eax
test edi, edi
jne 0x405e90
call fcn.004044b0
mov edi, eax
mov eax, esi
call fcn.004060d0
test eax, eax
jge 0x405e88
test edi, edi
jl 0x405e88
mov edi, eax
mov eax, edi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push edi
mov eax, esi
call fcn.00406480
mov ebx, eax
test ebx, ebx
jge 0x405eb8
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
call fcn.004060d0
mov eax, ebx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov edi, eax
test edi, edi
je 0x405e70
push 0
push 0
push edi
mov eax, esi
call fcn.00406480
mov ebx, eax
test ebx, ebx
jl 0x405ea2
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x406610
push 0
push 0
call fcn.00435289
add esp, 0x18
test eax, eax
mov dword [esi], eax
je 0x405e70
mov ecx, dword [esi + 0x40]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x405f17
call fcn.004044b0
mov ebx, eax
mov eax, ebx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4082a0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
je 0x408327
mov eax, dword [esp + 0x10]
mov ecx, 2
sub eax, ecx
je 0x4082ec
mov word [0x48ee20], cx
call fcn.0040b9f0
add esp, 0x94
ret
mov eax, dword [esp + 4]
cmp eax, 5
jne 0x40830a
mov edx, dword [esp + 8]
mov eax, 1
cmp edx, eax
jb 0x4082d9
mov word [0x48ee20], ax
jmp 0x408318
cmp eax, 6
jb 0x4082d9
mov word [0x48ee20], 1
call fcn.00407ff0
call fcn.00408180
call fcn.0040b9f0
add esp, 0x94
ret
Function at 0x4091d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
mov cl, 0x65
mov al, 0x72
push esi
xor esi, esi
mov byte [esp + 4], 0x54
mov byte [esp + 5], cl
mov byte [esp + 6], al
mov byte [esp + 7], 0x6d
mov byte [esp + 8], 0x69
mov byte [esp + 9], 0x6e
mov byte [esp + 0xa], 0x61
mov byte [esp + 0xb], 0x6c
mov byte [esp + 0xc], 0x20
mov byte [esp + 0xd], 0x53
mov byte [esp + 0xe], cl
mov byte [esp + 0xf], al
mov byte [esp + 0x10], 0x76
mov byte [esp + 0x11], cl
mov byte [esp + 0x12], al
mov byte [esp + 0x13], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, 0x80000000
jne 0x409259
cmp al, 4
jbe 0x409247
lea eax, [esp + 4]
push eax
call fcn.00409260
add esp, 4
pop esi
add esp, 0x10
ret
lea ecx, [esp + 4]
push ecx
call fcn.00409260
add esp, 4
pop esi
add esp, 0x10
ret
mov eax, esi
pop esi
add esp, 0x10
ret

Function at 0x409260
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
xor ebp, ebp
xor ebx, ebx
push str.SystemCurrentControlSetControlProductOptions
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x409335
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push ebp
push edx
push ebp
push str.ProductSuite
push eax
call esi
test eax, eax
jne 0x409335
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x409335
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
cmp edi, ebp
je 0x409335
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edi
push edx
push ebp
push str.ProductSuite
push eax
call esi
test eax, eax
jne 0x409328
cmp dword [esp + 0x18], 7
jne 0x409328
mov al, byte [edi]
mov esi, edi
test al, al
je 0x409328
mov ebp, dword [esp + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpA]
push ebp
push esi
call ebx
test eax, eax
je 0x409320
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x409306
jmp 0x409328
mov dword [esp + 0x1c], 1
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esp + 0x1c]
xor ebp, ebp
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x409344
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x409a80
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x14
push esi
push 0x4e8
push 5
push 6
mov dword [esp + 0x10], 0x10
call fcn.00409fd0
mov esi, eax
add esp, 0xc
cmp esi, 0xffffffff
je 0x409b14
mov edx, dword [esp + 4]
push ebx
mov ecx, edx
push edi
mov ebx, ecx
xor eax, eax
lea edi, [esp + 0x10]
push edx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x14]
mov word [esp + 0x14], 6
push eax
push esi
call sub.WSOCK32.dll_bind
pop edi
cmp eax, 0xffffffff
pop ebx
je 0x409b14
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ecx
push edx
push esi
call sub.WSOCK32.dll_getsockname
cmp eax, 0xffffffff
je 0x409b14
lea eax, [esp + 8]
push eax
call fcn.004099f0
mov ecx, dword [esp + 0x20]
push eax
push ecx
call fcn.004362ea
add esp, 0xc
push esi
call sub.WSOCK32.dll_closesocket
xor eax, eax
pop esi
add esp, 0x14
ret
mov edx, dword [esp + 0x1c]
push str.00_00_00_00_FF_FF_FF_FF_FF_FF
push edx
call fcn.004362ea
add esp, 8
mov eax, 1
pop esi
add esp, 0x14
ret

Function at 0x409c60
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
push edi
mov ecx, 0x27
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
mov dword [esp + 4], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
je 0x409cb5
cmp dword [esp + 4], 6
jne 0x409cb5
mov eax, dword [esp + 8]
test eax, eax
jne 0x409cb5
cmp word [esp + 0x94], 0
jne 0x409cb5
mov eax, 1
cmp word [esp + 0x9a], ax
je 0x409cb7
xor eax, eax
add esp, 0x9c
ret

Function at 0x40a290
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push ebp
push esi
push edi
xor ebp, ebp
call fcn.00409150
test eax, eax
jne 0x40a2c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x40a2d5
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
mov edx, dword [esp + 0x14]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
je 0x40a319
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push esi
call ebx
test eax, eax
je 0x40a2f9
cmp eax, 0x102
jne 0x40a306
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jg 0x40a310
jmp 0x40a2df
mov eax, dword [esp + 0x1c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 0x73
pop ebx
ret
push esi
call fcn.0040a390
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret

Function at 0x40a330
Capabilities:
Check mutex on windows

Disassembly:
push esi
call fcn.00409150
test eax, eax
jne 0x40a348
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
push eax
push 0
push ecx
jmp 0x40a351
mov edx, dword [esp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
test esi, esi
jne 0x40a364
mov eax, 1
pop esi
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40a37b
mov eax, dword [esp + 0x10]
mov dword [eax], esi
xor eax, eax
pop esi
ret
mov eax, 0x73
pop esi
ret
Function at 0x40df20
Capabilities:
Get session user name

Disassembly:
sub esp, 0x4c8
push esi
lea eax, [esp + 8]
push edi
lea ecx, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x14], 0x40
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
cmp eax, 1
jne 0x40dfb1
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x54]
push ecx
push edx
call fcn.00419c20
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40dfa7
mov eax, dword [str.NoName]
mov cx, word [0x452044]
mov dl, byte [0x452046]
mov dword [esp + 0x10], eax
mov word [esp + 0x14], cx
mov byte [esp + 0x16], dl
jmp 0x40dff8
lea edi, [esp + 0x50]
lea edx, [esp + 0x10]
jmp 0x40dfdb
mov dx, word [0x452044]
mov ecx, dword [str.NoName]
mov al, byte [0x452046]
mov word [esp + 0x14], dx
mov dword [esp + 0x10], ecx
mov byte [esp + 0x16], al
lea edi, [esp + 0x10]
lea edx, [esp + 0xd0]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x90]
push ebx
push ecx
call fcn.00419a80
lea edi, [esp + 0x98]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x40
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x2dc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xe0]
push ecx
call fcn.00419c20
add esp, 0x10
cmp eax, 0xffffffff
pop ebx
jne 0x40e090
mov edx, dword [str.NoShareString]
mov eax, dword [0x4520c0]
mov ecx, dword [0x4520c4]
mov dword [esp + 0xd0], edx
mov dx, word [0x4520c8]
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], ecx
mov word [esp + 0xdc], dx
jmp 0x40e0bb
lea edi, [esp + 0x2d0]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 8]
lea edi, [esp + 0xd0]
push ecx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0xd4]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], 0
push ecx
push edx
call fcn.004199b0
mov ecx, dword [esp + 0x14]
add esp, 0xc
inc eax
neg eax
sbb eax, eax
pop edi
and eax, ecx
pop esi
mov dword [0x48fe14], eax
add esp, 0x4c8
ret
Function at 0x40ed10
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 0x18]
push ebx
mov ebx, dword [esp + 0x24]
push ebp
mov ebp, dword [esp + 0x24]
push esi
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
push edi
push ebx
push ebp
push eax
mov eax, dword [esp + 0x28]
push 0
push esi
push ecx
push edx
push eax
call fcn.0040a740
add esp, 0x24
test ax, ax
je 0x40ed58
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov word [ecx + 6], ax
pop ebx
ret
cmp word [0x48fe24], 0
jne 0x40ede9
lea edx, [esp + 0x30]
lea eax, [esp + 0x34]
push edx
push 0
push eax
push fcn.0040a670
push 0
push 0
call fcn.00435289
add esp, 0x18
mov dword [0x48fe20], eax
push 0x1b58
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x40ede9
mov ax, word [esp + 0x34]
cmp ax, 2
jne 0x40edf1
cmp dword [esp + 0x20], 0xffffffff
jne 0x40edbd
test esi, esi
jge 0x40edbd
mov ecx, dword [esp + 0x28]
push edi
push ebx
push ebp
push ecx
push 2
push esi
push 0xffffffffffffffff
jmp 0x40edca
mov ecx, dword [esp + 0x28]
push edi
push ebx
push ebp
push ecx
push 2
push esi
push 1
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push edx
push eax
call fcn.0040a740
mov ecx, dword [0x48fe20]
add esp, 0x24
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
test ax, ax
jne 0x40ee0b
mov edx, dword [0x48fe20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
cmp dword [esp + 0x20], 1
jne 0x40ee25
test esi, esi
jle 0x40ee25
mov eax, dword [esp + 0x28]
push edi
push ebx
push ebp
push eax
push 1
push esi
push 1
jmp 0x40ee32
mov eax, dword [esp + 0x28]
push edi
push ebx
push ebp
push eax
push 1
push esi
push 0xffffffffffffffff
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
push edx
call fcn.0040a740
mov eax, dword [esp + 0x38]
add esp, 0x24
mov word [eax + 6], 0x46
mov ecx, dword [0x48fe20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov ax, 0x46
pop ebx
ret
Function at 0x4133d0
Capabilities:
Create thread

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
push esi
call fcn.0040ce80
test esi, esi
mov edi, eax
jne 0x4133f1
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
pop ecx
ret 8
cmp word [edi + 0x18], 0x7242
lea esi, [edi + 0x18]
je 0x413408
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
pop ecx
ret 8
test byte [esi + 0x12], 4
jne 0x413420
mov word [esi + 6], 0xb39
pop edi
pop esi
pop ebp
mov ax, 0x39
pop ebx
pop ecx
ret 8
push 0
call fcn.0041c290
mov ebp, eax
test ebp, 0x100
jne 0x413433
xor ebp, ebp
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc8], ebp
mov word [esi + 0xd0], ax
push eax
lea eax, [esi + 0x34]
mov word [esi + 0x30], 8
push eax
call fcn.00413550
xor bl, bl
mov eax, 3
cmp ax, 3
je 0x413467
cmp ax, 7
jne 0x41347d
push esi
mov byte [esi + 0xa], bl
call fcn.0040c510
push eax
call fcn.004130a0
inc bl
cmp bl, 3
jbe 0x41345b
cmp ax, 9
jne 0x41348f
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
pop ecx
ret 8
test ax, ax
jne 0x41353b
mov bl, byte [edi]
mov byte [esp + 0x18], 0x91
and bl, 0xfc
mov byte [edi], bl
mov cx, word [esi + 0x3c]
mov al, bl
cmp cx, 5
mov bl, 1
jne 0x4134bc
or al, 2
mov byte [esp + 0x18], bl
mov byte [edi], al
jmp 0x4134c6
cmp cx, 7
jne 0x4134c6
or al, bl
mov byte [edi], al
test ebp, ebp
je 0x4134f8
mov ecx, dword [esp + 0x18]
mov esi, dword [esi + 0xc8]
push ebp
push ecx
call fcn.00414520
add esp, 8
cmp esi, eax
je 0x4134f8
push ebp
call fcn.0041c3a0
cmp esi, eax
je 0x4134f8
pop edi
pop esi
pop ebp
mov ax, 3
pop ebx
pop ecx
ret 8
cmp dword [0x452190], 0xffffffff
jne 0x413538
lea edx, [esp + 0x10]
push edx
push 0
push 0x490256
push 0x414ae0
push 0
push 0
call fcn.00435289
mov dword [0x452190], eax
mov al, byte [0x490254]
add esp, 0x18
cmp al, bl
jne 0x413538
pop edi
pop esi
pop ebp
mov ax, 0x68
pop ebx
pop ecx
ret 8
xor ax, ax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x414520
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc0
push ebx
mov ebx, dword [esp + 0xc8]
test bl, 0x80
je 0x414690
push esi
mov esi, dword [esp + 0xd0]
mov eax, esi
mov ecx, esi
and eax, 0xff00
xor edx, edx
shl ecx, 0x10
or eax, ecx
mov ecx, esi
and ecx, 0xff0000
push edi
shr esi, 0x10
or ecx, esi
mov esi, ebx
and esi, 0xf
shl eax, 8
shr ecx, 8
cmp esi, 3
ja case.default.0x414571
jmp dword [esi*4 + 0x414790]
mov edi, 0x20
mov esi, eax
shr esi, 0xd
and esi, 1
mov ebx, esi
xor esi, ecx
shl ebx, 0x1f
shr edx, 1
shl esi, 0x1f
shr eax, 1
or edx, ebx
or esi, eax
shr ecx, 1
dec edi
mov eax, esi
jne 0x41457d
jmp case.default.0x414571
mov esi, 0x20
mov edi, eax
mov ebx, ecx
and edi, 0xffff0000
shl edi, 0xf
shr edx, 1
or edx, edi
mov edi, eax
and edi, 0xfffff000
shl ebx, 0xc
xor edi, ebx
mov ebx, eax
shl edi, 8
and ebx, 0xfff00000
xor edi, ebx
shl edi, 0xb
shr eax, 1
or eax, edi
shr ecx, 1
dec esi
jne 0x4145a8
jmp case.default.0x414571
push ebp
mov edi, 0x20
mov esi, ecx
mov ebp, eax
and esi, 1
and ebp, 0xfff80000
mov ebx, esi
shl ebx, 0x13
xor ebx, ebp
shl ebx, 0xc
shr edx, 1
or edx, ebx
mov ebx, eax
and bl, 0
shl esi, 8
xor ebx, esi
mov esi, eax
shl ebx, 0xf
and esi, 0xff800000
xor ebx, esi
shl ebx, 8
shr eax, 1
or eax, ebx
shr ecx, 1
dec edi
jne 0x4145ea
pop ebp
jmp case.default.0x414571
mov esi, 0x20
mov edi, eax
mov ebx, ecx
and edi, 0xfffff800
shl ebx, 0xb
xor edi, ebx
mov ebx, eax
shl edi, 5
and ebx, 0xffff0000
xor edi, ebx
mov ebx, ecx
shl edi, 0xf
shr edx, 1
or edx, edi
mov edi, eax
and edi, 0xffffff80
shl ebx, 7
xor edi, ebx
mov ebx, eax
shl edi, 0x12
and ebx, 0xfe000000
xor edi, ebx
shl edi, 6
shr eax, 1
or eax, edi
shr ecx, 1
dec esi
jne 0x414630
xor eax, eax
pop edi
mov al, dh
pop esi
mov ah, dl
and edx, 0xffff0000
or eax, edx
pop ebx
add esp, 0xc0
ret
lea edx, [esp + 4]
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0xc], 0x29
mov byte [esp + 0xd], 0x56
mov byte [esp + 0xe], 0xb2
mov byte [esp + 0xf], 0x39
mov byte [esp + 0x10], 0xa0
mov byte [esp + 0x11], 0xce
mov byte [esp + 0x12], 0xeb
mov byte [esp + 0x13], 0x87
mov byte [esp + 0x14], 0x52
mov byte [esp + 0x15], 0xb4
mov byte [esp + 0x16], 0x76
mov byte [esp + 0x17], 0xfb
mov byte [esp + 0x18], 0xc
mov byte [esp + 0x19], 0x94
mov byte [esp + 0x1a], 0x37
mov byte [esp + 0x1b], 0x71
call fcn.0041c820
mov eax, dword [esp + 0xd4]
and ebx, 0xff
mov byte [esp + 0xc], al
mov ecx, eax
mov edx, eax
shr eax, 0x18
mov byte [esp + 0xf], al
mov al, bl
mov ah, al
mov ebx, eax
shl ebx, 0x10
shr ecx, 8
shr edx, 0x10
mov bx, ax
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], dl
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
lea edx, [esp + 0x1c]
mov dword [esp + 0x14], ebx
push ecx
push edx
mov dword [esp + 0x20], ebx
call fcn.0041c910
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0041c820
mov eax, dword [esp + 0x1f]
mov edx, dword [esp + 0x1e]
mov ecx, dword [esp + 0x1d]
and eax, 0xff
shl eax, 8
and edx, 0xff
and ecx, 0xff
or eax, edx
mov edx, dword [esp + 0x1c]
shl eax, 8
or eax, ecx
add esp, 0x18
shl eax, 8
and edx, 0xff
pop ebx
or eax, edx
add esp, 0xc0
ret
Function at 0x416d30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x100
push ebx
push ebp
push esi
push edi
mov ecx, 0x2b
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x124]
test eax, eax
je 0x416ef9
mov ebp, dword [esp + 0x128]
test ebp, ebp
je 0x416ef9
mov ebx, dword [esp + 0x120]
cmp ebx, 0x50
ja 0x416ef9
cmp dword [esp + 0x12c], 0x50
jb 0x416ef9
test ebx, ebx
jne 0x416d98
lea esi, [esp + 0xc0]
jmp 0x416df1
cmp ebx, 0xc
jbe 0x416dea
mov eax, dword [esp + 0x11c]
mov edx, ebp
mov ecx, eax
cmp ebx, 0x4c
mov esi, dword [ecx]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov ecx, dword [ecx + 8]
mov dword [edx + 8], ecx
ja 0x416ef9
lea ecx, [ebx - 0xc]
lea edi, [ebp + 0x10]
mov edx, ecx
lea esi, [eax + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, 0x38
mov ecx, edx
sub eax, ebx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
jle 0x416e0e
push eax
lea eax, [ebx + ebp + 4]
jmp 0x416e08
mov esi, dword [esp + 0x11c]
mov ecx, ebx
mov edi, ebp
mov edx, ecx
lea eax, [ebp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x2c
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.0041c7f0
mov byte [ebp + 0xc], bl
mov ebx, dword [esp + 0x118]
lea esi, [ebp + 0xe]
push 2
push esi
mov byte [ebp + 0xd], bl
call fcn.0041c7f0
mov cl, byte [esi]
mov dl, byte [ebp + 0xf]
mov al, byte [esp + 0x114]
not cl
mov byte [ebp + 0x3d], al
mov eax, dword [esp + 0x124]
mov byte [ebp + 0x3e], cl
lea ecx, [esp + 0x10]
shr ebx, 8
not dl
push eax
push ecx
mov byte [ebp + 0x3c], bl
mov byte [ebp + 0x3f], dl
call fcn.0041c820
lea esi, [ebp + 0x30]
lea edx, [esp + 0x18]
push esi
push edx
call fcn.0041cb40
mov ecx, 0xffffffd0
add esp, 0x10
mov eax, esi
sub ecx, ebp
mov dl, byte [eax - 0x10]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x416e71
lea esi, [ebp + 0x20]
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0041cb40
mov ecx, 0xffffffe0
add esp, 8
mov eax, esi
sub ecx, ebp
mov dl, byte [eax - 0x10]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x416e9d
lea esi, [ebp + 0x10]
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0041cb40
mov ecx, 0xfffffff0
add esp, 8
mov eax, esi
sub ecx, ebp
mov dl, byte [eax - 0x10]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
lea edx, [ecx + eax]
cmp edx, 0x10
jb 0x416ec9
lea eax, [esp + 0x10]
push ebp
push eax
call fcn.0041cb40
add esp, 8
xor ax, ax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 0x1c
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0x100
ret 0x1c
Function at 0x416f10
Capabilities:
Terminate thread

Disassembly:
push ecx
mov eax, dword [0x452190]
mov dword [esp], 0
test eax, eax
je 0x416f7b
cmp eax, 0xffffffff
je 0x416f7b
lea ecx, [esp]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp], 0x103
jne 0x416f7b
mov edx, dword [0x452190]
push 0x7530
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x416f64
mov eax, dword [0x452190]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [0x452190]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x452190], 0
pop ecx
ret
Function at 0x4199b0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x490758]
push esi
mov esi, dword [esp + 8]
test eax, eax
jne 0x4199e4
call fcn.00419a30
test eax, eax
je 0x4199cc
or eax, 0xffffffff
pop esi
ret
mov eax, dword [0x490758]
mov dword [0x452298], 0
test eax, eax
jne 0x4199e4
or eax, 0xffffffff
pop esi
ret
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
je 0x419a1e
push ebx
push edi
lea edi, [eax + 1]
mov eax, dword [edx]
xor ebx, ebx
mov bl, byte [esi]
mov ecx, eax
and ecx, 0xff
xor ecx, ebx
mov ebx, dword [0x490758]
shr eax, 8
mov ecx, dword [ebx + ecx*4]
inc esi
xor eax, ecx
dec edi
mov dword [edx], eax
jne 0x4199f8
pop edi
pop ebx
mov eax, dword [edx]
pop esi
ret

Function at 0x419a30
Capabilities:
Hash data with crc32

Disassembly:
push 0x400
call fcn.00434a73
add esp, 4
mov dword [0x490758], eax
test eax, eax
jne 0x419a4a
or eax, 0xffffffff
ret
push esi
xor edx, edx
jmp 0x419a54
mov eax, dword [0x490758]
mov ecx, edx
mov esi, 8
test cl, 1
je 0x419a6a
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x419a6c
shr ecx, 1
dec esi
jne 0x419a5b
mov dword [eax + edx*4], ecx
inc edx
cmp edx, 0xff
jle 0x419a4f
xor eax, eax
pop esi
ret