joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10503058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x105031a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1050307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1050306a
add dl, dl
jne 0x10503089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105030dc
xor eax, eax
add dl, dl
jne 0x10503096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1050317d
add dl, dl
jne 0x105030a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105030b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105030bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105030c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105030d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10503075
mov eax, 1
add dl, dl
jne 0x105030ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105030f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105030e1
sub eax, ebx
mov ebx, 1
jne 0x10503128
mov ecx, 1
add dl, dl
jne 0x1050310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10503119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10503105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10503075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1050313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1050314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10503136
cmp eax, 0x7d00
jae 0x1050316d
cmp eax, 0x500
jb 0x10503168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10503075
cmp eax, 0x7f
ja 0x10503170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10503075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1050319e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10503075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x101843fe
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 2]
mov ebp, dword [esp + 0x34]
lea edx, reloc.MSVCRT.dll___dllonexit
jmp 0x10184412
neg edi
jge 0x10184573
rdtsc
clc
jmp 0x10184510
mov ebx, dword [esp]
jmp 0x101844ba
clc
jmp 0x10184436
sub esp, 0xb8
mov edi, esp
mov dl, 0xef
call fcn.10184472
lea esi, [esp + 8]
and cx, 0x1416
jl 0x1018444c
clc
mov ebx, dword [esp]
jmp 0x101844ba
rdtsc
clc
jmp 0x10184510

Function at 0x101917e4
Capabilities:
Encode data using xor

Disassembly:
mov dword [esp], esp
pushal
mov dword [esp + 4], eax
mov ah, byte [esp]
lea eax, [esp + esi]
not eax
jmp 0x101917ea
mov byte [esp + 1], al
jmp 0x101917ce
mov ah, 0xc1
mov ah, byte [esp]
lea eax, [ebp*4]
mov eax, esp
mov dword [esp], esi
bswap eax
jmp 0x10191888
mov dword [esp], edx
mov esi, ebp
mov ah, 0x8b
xchg edx, esi
mov eax, 0xde7f49e0
mov si, ax
jmp 0x10191821
mov ah, 0x4b
mov esi, 0xad25cadc
lea esi, [edi*4]
pushfd
push dword [esp]
pop dword [esp]
jmp 0x10191840

Function at 0x101ba885
Capabilities:
Encrypt data using rc4 prga

Disassembly:
clc
mov dword [esp], edi
jmp 0x101ba8bb
pushal
lea esp, [esp + 0x24]
inc eax
jmp 0x101ba8a5

Function at 0x10507861
Capabilities:
Access peb ldr_data

Disassembly:
push word [esp + 3]
lea esp, [esp + 2]
mov dword [esp + 0x2c], edi
lea esp, [esp + 0x2c]
jmp 0x1050783f
Function at 0x403bec
Capabilities:
Encode data using xor

Disassembly:
push 0x403d88
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
dec eax
add byte [eax], al
add byte [eax], dh
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
fild qword [ebx + 0xe0876cf]
loope 0x403c54
mov esp, 0x133d314e
or dword [esp + ecx*2], ebp
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
sub eax, 0x30303043
sub eax, 0x70555268
dec esi
je 0x403c83
inc esi
add byte [eax], dh
xor al, 0x36
jge 0x403c59
xor ch, byte [esi]
add byte [ebx], ah
xor byte [ebx], ah
inc ebx
cmp bl, byte [edi + edx*2]
add byte [eax], al
add byte [eax], dl
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [eax], al
push ds
add byte [esi], bl
aas
sub al, 0x1b
xchg edx, eax
and cl, byte [ebx - 0x79]
shr dword [esi - 0x31], 1
loope 0x403cab
xchg edx, eax
outsb dx, byte [esi]
add dword [eax], eax
add byte [eax], al
mov al, byte [0xb0000000]
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [ebp + 0x3d], ah
sub bl, byte [ecx + eax + 0x20]
inc esp
inc ebp
inc ecx
inc esp
add byte [eax], al
inc ebp
inc esi
sub eax, 0x46373345
inc ebp
xor esi, dword [edi]
inc esi
sub eax, 0x72657355
inc ebx
jb 0x403cd0
outsd dx, dword [esi]
outsb dx, byte [esi]
je 0x403d03
outsd dx, dword [esi]
insb byte es:[edi], dx
xor dword [eax], eax
xor eax, 0xdf783335
mov edi, 0xf3315da9
dec esi
lodsb al, byte [esi]
loop 0x403c8b
xor esp, dword [ebx - 0x2e9ed419]
retf 0x7b17
jnp 0x403c8b
aam 0xe6
inc ecx
test dword [edx + 0x44902847], eax
adc al, 0x2a
add dword [eax], eax
add eax, dword [eax]
pop eax
inc esi
inc eax
add byte [eax], al
add byte [eax], al
add bh, bh
cmp al, 0x47
inc eax
add byte [ebx + eax*8 + 0x42], dh
add byte [ecx], al
add byte [eax], al
add al, dh
cmp al, 0x40
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, dh
cmp al, 0x40
add byte [edx + 0x10008ea], ah
add byte [eax], al
add byte [eax + 0x46], bl
inc eax
add byte [eax], al
add byte [eax], al
add bh, bh
Function at 0x402f90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x464020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403028
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403008
xor eax, eax
push ebp
push 0x403001
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 0x403044
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403008
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x464020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x464020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403cec
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x466048], 0
je 0x403d4d
cmp word [0x46621c], 0xd7b2
jne 0x403d15
cmp dword [0x466224], 0
jbe 0x403d15
mov eax, 0x466218
call dword [0x466234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x46406c
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 0x403d74
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x464030], 0
jne 0x403d69
push 0
push 0x464064
push 0x46406c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403ea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026cc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x466049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403e68
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405e04
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405e6a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040415c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b54
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405e54
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405e71
lea eax, [ebp - 0x10]
call fcn.00403eec
ret

Function at 0x40b23c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b275
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403fdc
jmp 0x40b27e
mov eax, ebx
mov edx, esi
call fcn.00403f40
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b288
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b2a9
mov al, byte [esp]
jmp 0x40b2ab
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b930
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b7a8
mov eax, dword [0x4658bc]
cmp byte [eax], 0
je 0x40b9ac
mov eax, dword [0x4655cc]
call fcn.004029c0
call fcn.00402834
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004089a8
push eax
lea eax, [esp + 0x50]
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 0x40b9f4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b9e2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x465558]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x466664]
call fcn.00405318
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c248
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c31e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403f84
lea eax, [ebp - 8]
call fcn.004043fc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004043ac
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c308
mov eax, ebx
call fcn.004026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c301
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 - 8]
call fcn.004043ac
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c2eb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c330
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c2eb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c308
mov eax, dword [ebp - 0x10]
call fcn.004026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c325
lea eax, [ebp - 8]
call fcn.00403eec
ret

Function at 0x40c8e8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c94c
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040415c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408370
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c953
lea eax, [ebp - 0xc]
call fcn.00403eec
ret

Function at 0x41ab3c
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.0041a994
dec esi
jne 0x41ab5e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41bca0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x466888
cmp dword [edi], 0
jne 0x41bd1c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x466884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4643ec
mov ecx, 2
call fcn.004028c8
mov edx, 0x41bc78
lea eax, [esi + 5]
call fcn.0041bc98
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041bc98
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 0x41bcf1
mov dword [0x466884], 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 0x41d290
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 0x41d296
ret

Function at 0x41f72c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41f77d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41f764
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41f754
jmp 0x41f77d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41f765
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4293d8
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040439c
xor eax, eax
push ebp
push 0x429506
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4294d9
xor eax, eax
push ebp
push 0x4294d2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041ac
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4294a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x429496
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004041ac
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.004043ac
mov edx, ebx
pop ecx
call fcn.004028c8
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42949d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4654c0]
mov dl, 1
mov eax, dword [0x4071fc]
call fcn.0040bab4
call fcn.004038a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42950d
lea eax, [ebp - 4]
call fcn.00403eec
ret
Function at 0x429514
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4296c5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0040459c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4296dc
call fcn.004041f8
mov eax, ebx
call fcn.0041b234
mov edi, eax
dec edi
test edi, edi
jl 0x4295cc
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041b208
mov edx, dword [0x42d2b8]
call fcn.004032a4
test al, al
je 0x4295c8
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041b208
lea edx, [ebp - 0x14]
call fcn.004345fc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0040459c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040426c
inc esi
dec edi
jne 0x42957a
mov al, byte [0x4296e0]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4296ec
mov eax, dword [ebp - 0xc]
call fcn.0040cec0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00403f84
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004345fc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4296dc
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.004345fc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4296dc
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4296dc
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4296f8
call fcn.00409084
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4296cc
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00403f10
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403f10
lea eax, [ebp - 0x14]
call fcn.00403eec
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403f10
ret
Function at 0x42b814
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402b34
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x465a2c]
cmp byte [edx + 0xc], 0
je 0x42b878
mov edx, dword [0x465a1c]
cmp dword [edx], 2
jne 0x42b878
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x42b87c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x42b934
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0042b814
test al, al
je 0x42b916
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403fdc
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x42b916
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004043ac
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.004043ac
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004040e4
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x42b8cf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b93b
lea eax, [ebp - 0x2c]
call fcn.00403eec
lea eax, [ebp - 0xc]
call fcn.00403eec
ret

Function at 0x42ba84
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.0042b594
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004043ac
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42bae2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x465780]
mov dl, 1
mov eax, dword [0x42b48c]
call fcn.0040baf0
call fcn.004038a4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x42baec
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.004043ac
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x42bb44
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x465a38]
mov dl, 1
mov eax, dword [0x42b48c]
call fcn.0040baf0
call fcn.004038a4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0042b5c4
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 0x42f16c
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x42f0b8
call sub.user32.dll_EnumWindows
ret

Function at 0x42f28c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x42f309
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042ecec
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42f2b1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042e8ec
cmp dword [ebp - 4], 0
je 0x42f2f3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004043ac
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f310
lea eax, [ebp - 4]
call fcn.00403eec
ret