joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100e2d20
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, edx
push edi
mov dword [esp + 0x14], esi
nop
cmp dword [esi + 0x10], 3
jae 0x100e2d40
mov ecx, esi
call fcn.100e3db0
dec ebx
jmp 0x100e2dbe
mov eax, dword [esi + 8]
mov ebp, ebx
mov edi, dword [esi + 4]
sub eax, edi
cmp ebx, eax
jbe 0x100e2d50
mov ebp, eax
mov ecx, dword [esi + 0x14]
sub ebx, ebp
mov eax, dword [esi + 0x28]
mov dword [esp + 0x18], ebx
lea ebx, [eax + ecx*4]
lea eax, [ecx + ebp]
mov ecx, dword [esi + 0x24]
mov dword [esi + 0x14], eax
mov eax, dword [esi]
mov dword [esp + 0x10], ecx
mov edi, edi
movzx ecx, byte [eax + 2]
lea edx, [eax + 1]
movzx eax, byte [eax]
lea ebx, [ebx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx]
xor ecx, dword [esi + eax*4 + 0x60]
mov esi, dword [esp + 0x10]
movzx eax, cx
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + eax*4]
mov dword [esi + eax*4], edi
inc edi
mov esi, dword [esp + 0x14]
mov eax, edx
mov dword [ebx - 4], ecx
sub ebp, 1
jne 0x100e2d70
mov ebx, dword [esp + 0x18]
mov dword [esi], eax
mov dword [esi + 4], edi
cmp edi, dword [esi + 8]
jne 0x100e2dbe
mov ecx, esi
call fcn.100e3670
test ebx, ebx
jne 0x100e2d30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x100e3710
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov dword [ecx], 0
lea esi, [ecx + 0x60]
mov dword [ecx + 0x34], 0
xor edx, edx
mov word [ecx + 0x1e], 0
mov dword [ecx + 0x38], 0
mov dword [ecx + 0x24], 0
mov dword [ecx + 0x468], 0xffffffff
mov dword [ecx + 0x46c], 0xffffffff
mov dword [ecx + 0x30], 0x20
mov byte [ecx + 0x1d], 1
mov dword [ecx + 0x48], 4
mov word [ecx + 0x58], 2
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x100e3763
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x416385
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov al, byte [edi]
cmp al, 0x5d
je 0x4163cf
inc edi
cmp al, 0x2d
jne 0x4163b6
test dl, dl
je 0x4163b6
mov cl, byte [edi]
cmp cl, 0x5d
je 0x4163b6
inc edi
cmp dl, cl
jae 0x416389
mov al, cl
jmp 0x41638d
mov al, dl
mov dl, cl
cmp dl, al
ja 0x4163b2
movzx edx, dl
movzx esi, al
sub esi, edx
inc esi
mov ecx, edx
mov eax, edx
and ecx, 7
mov bl, 1
shr eax, 3
shl bl, cl
lea eax, [ebp + eax - 0x64]
or byte [eax], bl
inc edx
dec esi
jne 0x41639a
xor dl, dl
jmp 0x41636a
movzx ecx, al
mov dl, al
mov eax, ecx
and ecx, 7
mov bl, 1
shr eax, 3
shl bl, cl
lea eax, [ebp + eax - 0x64]
or byte [eax], bl
jmp 0x41636a
cmp byte [edi], 0
je 0x45ca6bd9
cmp dword [ebp - 0x3c], 0x7b
jne 0x4163e1
jnp 0x416452
add ebx, esp
jge 0x4163ed
fdivr qword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x2c]
dec dword [ebp - 4]
push edi
inc esp
std
fmul qword [edx]
shr al, 1
push ebx
add al, 0
xor ebx, ebx
mov edi, eax
jge 0x4163db
add byte [esi + ecx], dh
add ah, dh
dec dword [ebp - 0xc]
ja 0x41640a
je 0x8d4d88a8
or al, 0x8d
inc dword [ebp - 4]
push edi
call 0x749a682f
sub byte [eax - 0x171774fd], cl
fdiv qword [esi + edi*2 - 0x75]
enter 0x16a, 0xffffffffffffff83
loope 0x41642c
pop edx
movsx ebx, byte [ebp - 0x18]
shl edx, cl
mov ecx, eax
sar ecx, 3
movsx ecx, byte [ebp + ecx - 0x64]
xor ecx, ebx
test ecx, edx
je 0x41649c
test dword [edi + 0x527575f2], esi
cmp byte [ebp - 0x16], 0
je 0x416489
mov ecx, dword [0x42a528]
mov byte [ebp - 0x38], al
movzx eax, al
mov dh, 0xc0
test byte [ecx + eax*2 + 1], 0x80
je 0x416468
inc dword [ebp - 4]
push edi
call 0xcabe2f
iretd
push dword [0x42a734]
mov dl, 0xd0
push dword [esi + 0x50c28d56]
call fcn.00419a08
mov ax, word [ebp - 0x3e]
add dh, byte [ecx + ebp + 0x66]
mov dword [esi], eax
inc esi
inc esi
jmp 0x41648c
mov byte [esi], al
inc esi
mov dword [ebp - 0x2c], esi
jmp 0x40a36586
dec dword [ebp - 4]
push edi
push eax
call 0xcabe49
iretd
Function at 0x417cd0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
mov eax, dword [0x42bad0]
push ebx
push ebp
mov ebp, dword [0x1fe021c0]
push esi
push edi
xor ebx, ebx
xor esi, esi
xor esi, dword [0x3375c33b]
call ebp
je 0x417cdf
cmp esi, ebx
je 0x417cff
mov dword [0x42bad0], 0x80bb5153
jmp 0x417d27
call dword [0x88b00bc]
adc edi, edi
cmp edi, ebx
je 0xd08378f9
mov dword [0x42bad0], 0x2e1b2f02
jmp 0x426219ad
clc
add dword [edi], ecx
test dword [ecx + 0x3b80bb51], eax
jne 0x417d37
cmp esi, ebx
jne 0x417d37
call ebp
je 0x417d1f
cmp esi, ebx
je 0xf75267f9
cmp word [esi], bx
mov eax, esi
je 0x417d4c
inc eax
inc eax
cmp word [eax], bx
jne 0x417d3e
inc eax
inc eax
cmp word [eax], bx
jne 0x417d3e
sub eax, esi
mov edi, dword [0x20fe83b0]
sar eax, 1
push ebx
push ebx
inc eax
push ebx
push ebx
push eax
push esi
push ebx
push ebx
mov dword [esp + 0x34], eax
call edi
mov ebp, eax
cmp ebp, ebx
je 0x417d9d
push ebp
call 0x3544379b
cmp eax, ebx
pop ecx
mov esi, edi
push 0x53237498
push ebx
push ebp
push eax
lcall 0x5353, 0x562460fb
call edi
inc ebp
or eax, dword [ecx]
push cs
and edx, dword es:[edx - 0x456c17f0]
cmp eax, 0x59
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x10]
push esi
cmp eax, 0x8b002515
or byte [ebx], dl
ret
Function at 0x4014ac
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4014be
mov eax, dword [0x49d08b]
shl eax, 2
mov dword [0x49d08f], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.00491400
pop edx
call fcn.00491364
call fcn.00491440
push 0
call fcn.0049284c
pop ecx
push 0x49d034
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x49d093], eax
push 0
jmp fcn.0049795c

Function at 0x410a88
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov eax, 0x49ffa0
call fcn.00491bac
mov word [ebp - 0x1c], 8
push dword [ebp + 8]
call fcn.00411788
pop ecx
mov edx, dword [ebp + 8]
add edx, 0x10
push edx
call fcn.00411788
pop ecx
push 0
mov word [ebp - 0x1c], 0x38
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
push ecx
call fcn.004117b4
add esp, 8
inc dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp + 8]
add edx, 0x20
push edx
call fcn.004117f8
add esp, 0xc
add dword [ebp - 0x10], 2
dec dword [ebp - 0x10]
push 2
lea ecx, [ebp - 8]
push ecx
call fcn.004117dc
add esp, 8
mov word [ebp - 0x1c], 0x2c
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
call fcn.00411838
add esp, 0xc
add dword [ebp - 0x10], 2
mov word [ebp - 0x1c], 8
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00414234
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x410b60
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov eax, 0x4a0010
call fcn.00491bac
mov word [ebp - 0x1c], 8
push dword [ebp + 8]
call fcn.0041191c
pop ecx
mov edx, dword [ebp + 8]
add edx, 0x10
push edx
call fcn.0041191c
pop ecx
push 0
mov word [ebp - 0x1c], 0x38
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
push ecx
call fcn.00411948
add esp, 8
inc dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp + 8]
add edx, 0x20
push edx
call fcn.0041198c
add esp, 0xc
add dword [ebp - 0x10], 2
dec dword [ebp - 0x10]
push 2
lea ecx, [ebp - 8]
push ecx
call fcn.00411970
add esp, 8
mov word [ebp - 0x1c], 0x2c
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
call fcn.004119cc
add esp, 0xc
add dword [ebp - 0x10], 2
mov word [ebp - 0x1c], 8
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00414450
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x410c38
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov eax, 0x4a0080
call fcn.00491bac
mov word [ebp - 0x1c], 8
push dword [ebp + 8]
call fcn.00411aac
pop ecx
mov edx, dword [ebp + 8]
add edx, 0x10
push edx
call fcn.00411aac
pop ecx
push 0
mov word [ebp - 0x1c], 0x38
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
push ecx
call fcn.00411ad8
add esp, 8
inc dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp + 8]
add edx, 0x20
push edx
call fcn.00411b1c
add esp, 0xc
add dword [ebp - 0x10], 2
dec dword [ebp - 0x10]
push 2
lea ecx, [ebp - 8]
push ecx
call fcn.00411b00
add esp, 8
mov word [ebp - 0x1c], 0x2c
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
call fcn.00411b5c
add esp, 0xc
add dword [ebp - 0x10], 2
mov word [ebp - 0x1c], 8
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00414650
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x410d14
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov eax, 0x4a00f0
call fcn.00491bac
mov word [ebp - 0x1c], 8
push dword [ebp + 8]
call fcn.00411c38
pop ecx
mov edx, dword [ebp + 8]
add edx, 0x10
push edx
call fcn.00411c38
pop ecx
push 0
mov word [ebp - 0x1c], 0x38
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
push ecx
call fcn.00411c64
add esp, 8
inc dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp + 8]
add edx, 0x20
push edx
call fcn.00411ca8
add esp, 0xc
add dword [ebp - 0x10], 2
dec dword [ebp - 0x10]
push 2
lea ecx, [ebp - 8]
push ecx
call fcn.00411c8c
add esp, 8
mov word [ebp - 0x1c], 0x2c
push 0
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
add eax, 0x30
push eax
call fcn.00411ce8
add esp, 0xc
add dword [ebp - 0x10], 2
mov word [ebp - 0x1c], 8
push dword [ebp + 0x10]
push dword [ebp + 8]
call fcn.00414850
add esp, 8
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret

Function at 0x426350
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a587c
cmp dword [edi], 0
jne 0x4263cc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4a5878]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a0c68
mov ecx, 2
call fcn.0043bf58
mov edx, 0x426328
lea eax, [esi + 5]
call fcn.00426348
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00426348
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 0x4263a1
mov dword [0x4a5878], 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 0x42dd90
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x42ddc9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0043d964
jmp 0x42ddd2
mov eax, ebx
mov edx, esi
call fcn.0043d8c8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42dddc
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
test eax, eax
jle 0x42ddfd
mov al, byte [esp]
jmp 0x42ddff
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x42e484
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x42e2fc
mov eax, dword [0x4a5514]
cmp byte [eax], 0
je 0x42e4f1
mov eax, dword [0x4a551c]
call fcn.0043c464
call fcn.0043bec4
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0042b234
push eax
lea eax, [esp + 0x50]
push eax
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 0x42e538
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x42e527
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4a53c0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a5714]
call fcn.0043eff8
push eax
call sub.USER32.DLL_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.DLL_MessageBoxA
add esp, 0x444
ret

Function at 0x42f29c
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 0x42f300
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0043dadc
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.0042ac88
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f307
lea eax, [ebp - 0xc]
call fcn.0043d874
ret

Function at 0x43c084
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0043d874
test esi, esi
jne 0x43c0ba
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0043d964
jmp 0x43c0d8
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0043bf98
mov edi, eax
test esi, esi
je 0x43c0d8
cmp dword [ebx], 0
je 0x43c0d8
dec esi
jmp 0x43c0c1
add esp, 0x108
pop edi
pop esi
pop ebx
ret
Function at 0x43cb98
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4a11d8]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x43cc30
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x43cc10
xor eax, eax
push ebp
push 0x43cc09
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 0x43cc4c
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 0x43cc10
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x4a11d8]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4a11d8], ax
mov esp, ebp
pop ebp
ret

Function at 0x43d6f8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a5c10], 0
je 0x43d759
cmp word [0x4a5de4], 0xd7b2
jne 0x43d721
cmp dword [0x4a5dec], 0
jbe 0x43d721
mov eax, 0x4a5de0
call dword [0x4a5dfc]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
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 0x43d780
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x4a11e8], 0
jne 0x43d775
push 0
push 0x4a1240
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x43f1ec
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x43f41c
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x43f26f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x43f41c
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x43f26f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x43f438
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x43f2f8
xor eax, eax
push ebp
push 0x43f2f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0043f034
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x43f2d6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x43f458
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x43f2d6
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43f2f8
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x43f412
cmp byte [ebp - 0xd], 0
jne 0x43f33f
cmp byte [ebp - 0x12], 0
je 0x43f412
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x43f358
dec ebx
cmp byte [ebx], 0x2e
je 0x43f367
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x43f357
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x43f412
inc ebx
cmp byte [ebp - 0x12], 0
je 0x43f3a4
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x43f412
cmp byte [ebp - 0xd], 0
je 0x43f412
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x43f412
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43fb90
Capabilities:
Accept command line arguments

Disassembly:
sub dword [0x4a6184], 1
jae 0x43fc16
mov byte [0x4a11d4], 2
mov dword [0x4a5bd4], 0x49c5a2
mov dword [0x4a5bd8], 0x49c5b4
mov byte [0x4a5c12], 2
mov dword [0x4a5bc0], 0x43e81c
call fcn.0043cb68
test al, al
je 0x43fbd3
call fcn.0043cb98
call fcn.0043cc5c
mov word [0x4a5c18], 0xd7b0
mov word [0x4a5de4], 0xd7b0
mov word [0x4a5fb0], 0xd7b0
call fcn.0043e6f4
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x4a5c04], eax
call fcn.0043a990
mov dword [0x4a5c00], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x4a5bf8], eax
ret

Function at 0x44062c
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 0x440578
call sub.USER32.DLL_EnumWindows
ret

Function at 0x440750
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 0x4407cd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0044019c
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 0x440775
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0043fdf4
cmp dword [ebp - 4], 0
je 0x4407b7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0043dd24
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 0x4407d4
lea eax, [ebp - 4]
call fcn.0043d874
ret

Function at 0x44b680
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0043d874
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.USER32.DLL_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44b6cf
push 0x100
lea edx, [ebp - 0x102]
push edx
push eax
call sub.USER32.DLL_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, 0x100
call fcn.0043dadc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45379c
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 0x4537a2
ret

Function at 0x455d98
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 0x455de9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x455dd0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x455dc0
jmp 0x455de9
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 0x455dd1
pop ebx
mov esp, ebp
pop ebp
ret