joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7de615
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x463fef
call fcn.007f2fc0
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
push 8
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
pop edi
mov edx, 0x466448
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov dword [ecx], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edx
lea ebx, [esi + 0x38]
mov edx, 0x466ed0
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov dword [ebx], edx
lea edi, [esi + 0x4c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], edx
push dword [esi + 8]
mov byte [ebp - 4], 5
call fcn.007a163d
push dword [esi + 8]
mov ecx, ebx
call fcn.007a163d
push dword [esi + 0xc]
mov ecx, edi
call fcn.007a163d
push dword [esi + 0xc]
mov ecx, edi
call fcn.007a163d
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x7dfc62
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x464456
call fcn.007f2fc0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
push 0x20000
mov byte [ebp - 4], 5
mov dword [esi], 0x4675d4
mov dword [esi + 4], 0x4675c0
mov dword [esi + 8], 0x4675ac
mov dword [esi + 0xc], 0x467598
mov dword [esi + 0x10], 0x467584
mov dword [esi + 0x14], 0x467574
mov dword [esi + 0x18], 0x467564
mov dword [esi + 0x1c], 0x467554
mov dword [esi + 0x20], 0x467544
call fcn.0079fdcb
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x7e4034
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x464aec
call fcn.007f2fc0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0079d6bb
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.0079d6bb
lea eax, [edi + 0x18]
lea ecx, [esi + 0x18]
push eax
mov byte [ebp - 4], 1
call fcn.0079d6bb
lea eax, [edi + 0x24]
lea ecx, [esi + 0x24]
push eax
mov byte [ebp - 4], 2
call fcn.0079d6bb
mov al, byte [edi + 0x30]
lea ecx, [esi + 0x34]
mov byte [esi + 0x30], al
lea eax, [edi + 0x34]
push eax
mov byte [ebp - 4], 3
call fcn.0079d6bb
add edi, 0x40
lea ecx, [esi + 0x40]
push edi
mov byte [ebp - 4], 4
call fcn.0079d6bb
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x7e5bcc
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x464f0a
call fcn.007f2fc0
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0079d6bb
lea eax, [edi + 0xc]
xor ebx, ebx
push eax
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
call fcn.007e5c4f
lea ecx, [esi + 0x20]
lea eax, [edi + 0x20]
push eax
mov byte [ebp - 4], 1
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov ebx, 0x466264
mov dword [ecx], ebx
call fcn.007c4cc1
and dword [esi + 0x30], 0
and dword [esi + 0x34], 0
lea ecx, [esi + 0x2c]
lea eax, [edi + 0x2c]
push eax
mov byte [ebp - 4], 2
mov dword [ecx], ebx
call fcn.007c4cc1
mov al, byte [edi + 0x38]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x38], al
mov al, byte [edi + 0x39]
mov byte [esi + 0x39], al
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x7e6afb
Capabilities:
Get process heap flags

Disassembly:
mov eax, 0x46521a
call fcn.007f2fc0
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov al, byte [esi]
lea ecx, [ebx + 8]
mov byte [ebx], al
mov al, byte [esi + 1]
mov byte [ebx + 1], al
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
lea eax, [esi + 8]
push eax
call fcn.0079d6bb
mov al, byte [esi + 0x14]
and dword [ebp - 4], 0
mov byte [ebx + 0x14], al
lea eax, [esi + 0x18]
push eax
lea ecx, [ebx + 0x18]
call fcn.0079d6bb
lea eax, [esi + 0x28]
lea edx, [ebx + 0x28]
push 0xc
mov esi, eax
pop ecx
mov edi, edx
rep movsd dword es:[edi], dword [esi]
add eax, 0x30
lea ecx, [edx + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.0079d6bb
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, dword [eax + 0x68]
mov dword [ebx + 0x68], eax
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x7e7aaa
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x465427
call fcn.007f2fc0
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [esi + 8], edi
push 0xf
mov dword [ebp - 0x10], esi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.0079c574
lea ecx, [esi + 0x18]
push 0xf
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.0079c574
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 4
mov dword [esi + 0x24], 0x467868
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], 8
mov dword [esi + 0x38], 0x466448
mov dword [esi], 0x467834
mov dword [esi + 4], 0x467824
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x7e7ab5
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x465427
call fcn.007f2fc0
push ecx
push esi
mov esi, ecx
push edi
xor edi, edi
lea ecx, [esi + 0xc]
mov dword [esi + 8], edi
push 0xf
mov dword [ebp - 0x10], esi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.0079c574
lea ecx, [esi + 0x18]
push 0xf
mov dword [ebp - 4], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
call fcn.0079c574
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 4
mov dword [esi + 0x24], 0x467868
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], 8
mov dword [esi + 0x38], 0x466448
mov dword [esi], 0x467834
mov dword [esi + 4], 0x467824
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x7ec655
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [ecx]
push esi
push edi
mov eax, edx
movzx edi, byte [esp + 0xc]
mov esi, 0xff
and eax, esi
xor eax, edi
shr edx, 8
mov eax, dword [eax*4 + 0x478814]
xor eax, edx
mov edx, dword [ecx + 8]
mov dword [ecx], eax
and eax, esi
add eax, dword [ecx + 4]
mov edi, edx
and edi, esi
imul eax, eax, 0x8088405
inc eax
mov dword [ecx + 4], eax
shr eax, 0x18
xor eax, edi
pop edi
shr edx, 8
mov eax, dword [eax*4 + 0x478814]
pop esi
xor eax, edx
mov dword [ecx + 8], eax
ret 4

Function at 0x7f2778
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 0x20], eax
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x24], eax
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x403450
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00405bb8
test esi, esi
jne 0x403488
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00405cf4
jmp 0x4034a6
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403394
mov edi, eax
test esi, esi
je 0x4034a6
cmp dword [ebx], 0
je 0x4034a6
dec esi
jmp 0x40348f
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x403bc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x51a020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403c58
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x403c38
xor eax, eax
push ebp
push 0x403c31
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403c90
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403c38
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x51a020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x51a020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404d84
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x526054], 0
je 0x404de5
cmp word [0x526330], 0xd7b2
jne 0x404dad
cmp dword [0x526338], 0
jbe 0x404dad
mov eax, 0x52632c
call dword [0x526348]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404e10
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x51a02c], 0
jne 0x404e01
push 0
push 0x51a77c
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404f84
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x51a030], 0
je 0x404faa
mov edx, esi
mov eax, ebx
call dword [0x51a030]
jmp 0x404fb9
mov eax, 8
call fcn.004030dc
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x526055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404f4c
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x407fe0
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x409dc0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x528b30
push 0xa
push 0x409e54
mov eax, dword [0x528b20]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x409de4
call fcn.004137c0
push ebx
mov eax, dword [0x528b20]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x409dfb
call fcn.004137c0
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x409e0d
call fcn.004137c0
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x528b34], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x528b38], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x528b3c], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x528b40], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x528b44], ecx
add edx, dword [eax + 0x14]
mov dword [0x528b48], edx
pop esi
pop ebx
ret

Function at 0x40b640
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40b6e9
test eax, edx
je 0x40b6ec
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40b669
push edx
mov edx, eax
mov eax, esp
call fcn.00405dd4
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40b67f
push eax
lea eax, [esp + 8]
call fcn.00405dd4
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40b68e
movzx eax, word [eax]
sub eax, ecx
jmp 0x40b6b5
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40b6cf
add ecx, 4
js 0x40b6a6
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40b6cc
push eax
mov eax, ecx
mov edx, 2
call fcn.00405024
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40b6b3
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40b6b5
xor eax, eax
ret
test eax, eax
je 0x40b6fc
test edx, edx
jne 0x40b650
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40c8e4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00405c44
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x40c902
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x40c923
cmp ebx, 3
je 0x40c923
cmp ebx, 0x7b
je 0x40c923
mov eax, esi
call fcn.0040c8a4
test al, al
jne 0x40c927
xor eax, eax
jmp 0x40c929
mov al, 1
pop esi
pop ebx
ret

Function at 0x40c92c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00405c44
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x40c945
test al, 0x10
jne 0x40c949
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x410f20
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x410f59
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00405cf4
jmp 0x410f62
mov eax, ebx
mov edx, esi
call fcn.00405bb8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x410f6c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x410f8e
movzx eax, word [esp]
jmp 0x410f90
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4116f4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffff004
push eax
add esp, 0xffffff7c
push 0x800
lea ecx, [esp + 0x88]
call fcn.0041152c
mov eax, dword [0x525d18]
cmp byte [eax], 0
je 0x411786
mov eax, dword [0x525854]
call fcn.00403590
call fcn.00403244
lea eax, [esp + 0x884]
push eax
lea eax, [esp + 0x88]
push eax
call sub.user32.dll_CharToOemW
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x88c]
call fcn.0040cdd8
push eax
lea eax, [esp + 0x890]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4117d4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x4117bf
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x525798]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x528b20]
call fcn.0040730c
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x8c]
push eax
push 0
call sub.user32.dll_MessageBoxW
add esp, 0x1084
ret
Function at 0x412414
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4124ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405c0c
lea eax, [ebp - 4]
call fcn.004064d0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405c44
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4124d4
mov eax, ebx
call fcn.004030dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4124cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00405c44
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4124b7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4124fc
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4124b7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4124d4
mov eax, dword [ebp - 0x10]
call fcn.004030f8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4124f1
lea eax, [ebp - 4]
call fcn.00405ba8
ret

Function at 0x413668
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00405354
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x413612
mov eax, edi
add eax, eax
call fcn.004030dc
mov esi, eax
jmp 0x413614
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x41364d
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x413637
mov eax, esp
cmp esi, eax
je 0x41365a
mov eax, esi
call fcn.004030f8
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x413694
cmp bl, 0
je 0x413690
cmp bl, 0x41
jl 0x41368b
cmp bl, 0x5a
jg 0x41368b
or bl, 0x20
xor al, bl
inc esi
jmp 0x41366f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x4135d4

Function at 0x42be10
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0042bb14
dec esi
jne 0x42be32
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42cfdc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x52ae64
cmp dword [edi], 0
jne 0x42d058
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x52ae60]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x51ade4
mov ecx, 2
call fcn.00403294
mov edx, 0x42cfb4
lea eax, [esi + 5]
call fcn.0042cfd4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042cfd4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x42d02d
mov dword [0x52ae60], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x431618
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00405c44
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x431670
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x525f94]
mov dl, 1
mov eax, dword [0x4310a0]
call fcn.00411900
call fcn.004047ec
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00431228
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4329b8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4329be
ret
Function at 0x43f91c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x43f94b
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x43f9ca
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.0043e1ec
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x43f998
mov cx, word [esp]
sub cx, si
jmp 0x43f99a
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x43f981
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x43f9c0
mov cx, word [esp]
sub cx, si
jmp 0x43f9c2
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x43f9a9
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x43fa27
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.0043f5f0
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x43fa12
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x43fa27
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x43f926
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret