joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41aef0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x431940]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41af36
cmp word [ebx], dx
jne 0x41af36
or byte [eax + edi + 0x28], 4
jmp 0x41af3b
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x41b09e
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x41b07e
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x41af7c
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41afb2
cmp eax, edx
jae 0x41afc0
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x41af57
jmp 0x41b09e
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41b079
cmp dword [ebp - 0x18], 0
je 0x41b079
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x431940]
test byte [eax + edi + 0x28], 0x48
je 0x41b04f
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x41b013
mov word [esi], cx
jmp 0x41b04a
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x431940]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x431940]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x431940]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x41b09e
pop eax
cmp word [ebp - 4], ax
jne 0x41b05f
cmp esi, ebx
jne 0x41b05f
mov word [esi], ax
jmp 0x41b09b
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041b929
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x41b09e
push 0xd
pop eax
jmp 0x41b05a
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x431940]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x41b098
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x41b09e
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41d262
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41d2ff
push ebx
push esi
call fcn.0041d22b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041bf1d
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41d2ac
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41d2fe
push edi
push eax
call fcn.00416d1b
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41d2cc
call fcn.00416ce1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41d2fd
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041bf1d
add esp, 0x20
test eax, eax
jne 0x41d2eb
push edi
call fcn.00416ce1
jmp 0x41d2f3
push ebx
call fcn.00416ce1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41f92c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00415a20
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41f99b
cmp esi, dword [ebp - 4]
je 0x41f996
cmp dword [ebp + 0xc], 0
je 0x41f996
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41f973
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0041f47e
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x41f99d
xor eax, eax
inc eax
jmp 0x41f99d
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x41fa02
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x430040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00415a20
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00415a20
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x41fa79
cmp word [ecx], dx
je 0x41fa79
mov eax, dword [0x42970c]
push edi
dec eax
push eax
push 0x4295f8
call fcn.0041f9a1
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x41faec
cmp word [eax], dx
je 0x41faec
mov eax, dword [edi]
test eax, eax
je 0x41fa9d
cmp word [eax], dx
je 0x41fa9d
lea eax, [ebp - 0x10]
push eax
call fcn.0041f384
jmp 0x41faa6
lea eax, [ebp - 0x10]
push eax
call fcn.0041f41f
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x41fb16
mov eax, dword [0x4295f4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x4292e8
call fcn.0041f9a1
add esp, 0xc
test al, al
je 0x41fb16
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x41fae1
cmp word [eax], di
je 0x41fae1
lea eax, [ebp - 0x10]
push eax
call fcn.0041f384
pop ecx
jmp 0x41fb18
lea eax, [ebp - 0x10]
push eax
call fcn.0041f41f
jmp 0x41fade
mov eax, dword [edi]
test eax, eax
je 0x41fb03
cmp word [eax], dx
je 0x41fb03
lea eax, [ebp - 0x10]
push eax
call fcn.0041f339
pop ecx
jmp 0x41fb16
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x41fbe1
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0041f826
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41fbe1
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x41fbe1
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x41fbe1
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41fb6e
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.004185a7
test ebx, ebx
je 0x41fbdc
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.004185a7
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41fbe1
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41fbe1
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004228f7
add esp, 0x10
xor eax, eax
inc eax
jmp 0x41fbe3
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004090aa
leave
ret
Function at 0x4245f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42461d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42461d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x4bb71ffc
nop
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x25d26083
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4033cc
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.00405750
test esi, esi
jne 0x403404
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.0040588c
jmp 0x403422
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403310
mov edi, eax
test esi, esi
je 0x403422
cmp dword [ebx], 0
je 0x403422
dec esi
jmp 0x40340b
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x403a80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4bb020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403b18
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x403af8
xor eax, eax
push ebp
push 0x403af1
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 0x403b50
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 0x403af8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4bb020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4bb020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404c08
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4bf054], 0
je 0x404c69
cmp word [0x4bf330], 0xd7b2
jne 0x404c31
cmp dword [0x4bf338], 0
jbe 0x404c31
mov eax, 0x4bf32c
call dword [0x4bf348]
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 0x404c94
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4bb02c], 0
jne 0x404c85
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404de8
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 [0x4bb030], 0
je 0x404e0e
mov edx, esi
mov eax, ebx
call dword [0x4bb030]
jmp 0x404e1d
mov eax, 8
call fcn.00403058
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4bf055], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404db0
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 0x407c18
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 0x409550
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x4c1b30
push 0xa
push 0x4095e4
mov eax, dword [0x4c1b20]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x409574
call fcn.004120f0
push ebx
mov eax, dword [0x4c1b20]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40958b
call fcn.004120f0
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40959d
call fcn.004120f0
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x4c1b34], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x4c1b38], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x4c1b3c], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x4c1b40], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x4c1b44], ecx
add edx, dword [eax + 0x14]
mov dword [0x4c1b48], edx
pop esi
pop ebx
ret

Function at 0x40ac54
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40acfd
test eax, edx
je 0x40ad00
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40ac7d
push edx
mov edx, eax
mov eax, esp
call fcn.0040593c
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40ac93
push eax
lea eax, [esp + 8]
call fcn.0040593c
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40aca2
movzx eax, word [eax]
sub eax, ecx
jmp 0x40acc9
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 0x40ace3
add ecx, 4
js 0x40acba
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40ace0
push eax
mov eax, ecx
mov edx, 2
call fcn.00404e88
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40acc7
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40acc9
xor eax, eax
ret
test eax, eax
je 0x40ad10
test edx, edx
jne 0x40ac64
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40f8c8
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 0x40f901
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040588c
jmp 0x40f90a
mov eax, ebx
mov edx, esi
call fcn.00405750
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40f914
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 0x40f936
movzx eax, word [esp]
jmp 0x40f938
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x41009c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffff004
push eax
add esp, 0xffffff7c
push 0x800
lea ecx, [esp + 0x88]
call fcn.0040fed4
mov eax, dword [0x4be6a8]
cmp byte [eax], 0
je 0x41012e
mov eax, dword [0x4be320]
call fcn.004034d8
call fcn.004031c0
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.0040be64
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 0x41017c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x410167
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4be284]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4c1b20]
call fcn.00406f60
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 0x410db0
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 0x410e86
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004057a4
lea eax, [ebp - 4]
call fcn.00406038
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004057dc
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x410e70
mov eax, ebx
call fcn.00403058
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x410e69
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.004057dc
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x410e53
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x410e98
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x410e53
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 0x410e70
mov eax, dword [ebp - 0x10]
call fcn.00403074
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x410e8d
lea eax, [ebp - 4]
call fcn.00405740
ret
Function at 0x411f98
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.00405168
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 0x411f42
mov eax, edi
add eax, eax
call fcn.00403058
mov esi, eax
jmp 0x411f44
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 0x411f7d
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 0x411f67
mov eax, esp
cmp esi, eax
je 0x411f8a
mov eax, esi
call fcn.00403074
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 0x411fc4
cmp bl, 0
je 0x411fc0
cmp bl, 0x41
jl 0x411fbb
cmp bl, 0x5a
jg 0x411fbb
or bl, 0x20
xor al, bl
inc esi
jmp 0x411f9f
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x411f04

Function at 0x42a7d4
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.0042a4d8
dec esi
jne 0x42a7f6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x42b9a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4c3e64
cmp dword [edi], 0
jne 0x42ba1c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4c3e60]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4bbe30
mov ecx, 2
call fcn.00403210
mov edx, 0x42b978
lea eax, [esi + 5]
call fcn.0042b998
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0042b998
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 0x42b9f1
mov dword [0x4c3e60], 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 0x42e848
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.004057dc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
je 0x42e8a0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4be898]
mov dl, 1
mov eax, dword [0x42e2d0]
call fcn.0041029c
call fcn.0040468c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042e458
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 0x42f7e0
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 0x42f7e6
ret
Function at 0x44302c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea esi, [ebp - 4]
xor eax, eax
push ebp
push 0x44320e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [esi]
call fcn.00460e9c
mov eax, dword [esi]
cmp byte [eax + 0x268], 0
je 0x4431f3
call sub.kernel32.dll_GetTickCount
mov edx, dword [esi]
sub eax, dword [edx + 0x278]
mov edx, dword [esi]
cmp eax, dword [edx + 0x2d0]
jb 0x443094
mov eax, dword [esi]
add eax, 0x274
xor edx, edx
call fcn.00405750
call sub.kernel32.dll_GetTickCount
mov edx, dword [esi]
mov dword [edx + 0x278], eax
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp ax, 8
je 0x44317a
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp ax, 0xd800
jb 0x4430c3
cmp ax, 0xdfff
jbe 0x4430c7
xor eax, eax
jmp 0x4430c9
mov al, 1
test al, al
je 0x443137
push 1
push 0x102
push 0x102
mov eax, dword [esi]
call fcn.00462018
push eax
lea eax, [ebp - 0x24]
push eax
call sub.user32.dll_PeekMessageW
test eax, eax
je 0x4431be
mov eax, dword [esi]
push dword [eax + 0x274]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
movzx edx, word [edx]
call fcn.004058bc
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
call fcn.004058bc
push dword [ebp - 0x2c]
mov eax, dword [esi]
add eax, 0x274
mov edx, 3
call fcn.00405bc4
mov eax, dword [ebp - 8]
mov word [eax], 0
jmp 0x4431be
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
movzx edx, word [edx]
call fcn.004058bc
mov edx, dword [ebp - 0x30]
mov eax, dword [esi]
add eax, 0x274
call fcn.00405a74
jmp 0x4431be
mov eax, dword [esi]
mov ebx, dword [eax + 0x274]
test ebx, ebx
je 0x443167
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [esi]
add eax, 0x274
mov ecx, 1
mov edx, ebx
call fcn.00405e44
mov eax, dword [esi]
mov eax, dword [eax + 0x274]
call fcn.004059d0
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x274]
call fcn.00410e9c
cmp al, 2
je 0x443156
mov eax, dword [esi]
mov eax, dword [eax + 0x274]
test eax, eax
je 0x4431ab
sub eax, 4
mov eax, dword [eax]
mov edx, dword [esi]
add edx, 0x274
mov ecx, 1
xchg edx, eax
call fcn.00405e44
mov eax, dword [esi]
mov eax, dword [eax + 0x274]
test eax, eax
je 0x4431cf
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x4431dc
push ebp
call fcn.00442f44
pop ecx
jmp 0x4431f3
xor edx, edx
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0xe0]
mov eax, dword [esi]
mov si, 0xffeb
call fcn.00403ec0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443215
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00405748
ret
Function at 0x44b8b8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00405750
push 0
mov eax, esi
movzx eax, al
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x44b8ff
push pe_nt_image_headers32
lea edx, [esp + 4]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00405920
add esp, 0x200
pop esi
pop ebx
ret