joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1564610
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6f9000]
push edi
jmp 0x156462a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1564631
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1564620
mov eax, 1
add ebx, ebx
jne 0x1564643
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1564654
jne 0x1564673
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1564673
dec eax
add ebx, ebx
jne 0x1564660
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1564638
add ebx, ebx
jne 0x156466f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x15646c5
xor ecx, ecx
sub eax, 3
jb 0x156468b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x15646fa
sar eax, 1
mov ebp, eax
jmp 0x1564696
add ebx, ebx
jne 0x1564696
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1564664
inc ecx
add ebx, ebx
jne 0x15646a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1564664
add ebx, ebx
jne 0x15646b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x15646a6
jne 0x15646c2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x15646a6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x15646e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x15646d6
jmp 0x1564626
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x15646e4
add edi, ecx
jmp 0x1564626
pop esi
mov edi, esi
mov ecx, 0x44c04f
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x156471f
cmp byte [edi], 0x82
jne 0x1564704
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x1564702
lea edi, [esi + 0x9e3000]
mov eax, dword [edi]
or eax, eax
je 0x1564770
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa1ede8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa1ee24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1564725
mov ecx, edi
jns 0x1564754
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa1ee28]
or eax, eax
je 0x156476a
mov dword [ebx], eax
add ebx, 4
jmp 0x1564742
call dword [esi + 0xa1ee38]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x15647a1
cmp al, 0xef
ja 0x1564794
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1564776
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1564783
mov ebp, dword [esi + 0xa1ee2c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x15647d5
sub esp, 0xffffff80
jmp 0xf4c3e7
Function at 0x407920
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5000]
push edi
jmp 0x40793a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407941
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407930
mov eax, 1
add ebx, ebx
jne 0x407953
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407948
jne 0x407964
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407948
xor ecx, ecx
sub eax, 3
jb 0x407978
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4079ea
mov ebp, eax
add ebx, ebx
jne 0x407983
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407990
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4079b4
inc ecx
add ebx, ebx
jne 0x4079a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407995
jne 0x4079b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407995
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4079d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4079c5
jmp 0x407936
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4079d4
add edi, ecx
jmp 0x407936
pop esi
mov edi, esi
mov ecx, 0xe7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4079f2
cmp byte [edi], 0
jne 0x4079f2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4079f7
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x407a6f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7080]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x407a24
mov ecx, edi
jns 0x407a53
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7088]
or eax, eax
je 0x407a69
mov dword [ebx], eax
add ebx, 4
jmp 0x407a41
call dword [esi + 0x7084]
mov ebp, dword [esi + 0x708c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x407aa3
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x402df4
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4f1008], 0x8088405
inc edx
mov dword [ebx + 0x4f1008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40327c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4f1024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403314
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4032f4
xor eax, eax
push ebp
push 0x4032ed
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 0x403330
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 0x4032f4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4f1024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4f1024], ax
mov esp, ebp
pop ebp
ret

Function at 0x4040f0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f404c], 0
je 0x404151
cmp word [0x4f4220], 0xd7b2
jne 0x404119
cmp dword [0x4f4228], 0
jbe 0x404119
mov eax, 0x4f421c
call dword [0x4f4238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f1070
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 0x404178
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f1034], 0
jne 0x40416d
push 0
push 0x4f1068
push 0x4f1070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405c40
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 0x405e70
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405cc3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405e70
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405cc3
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405e8c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405d4c
xor eax, eax
push ebp
push 0x405d45
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405a88
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 0x405d2a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405eac
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405d2a
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 0x405d4c
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 0x405e66
cmp byte [ebp - 0xd], 0
jne 0x405d93
cmp byte [ebp - 0x12], 0
je 0x405e66
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405dac
dec ebx
cmp byte [ebx], 0x2e
je 0x405dbb
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405dab
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405e66
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405df8
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 0x405e66
cmp byte [ebp - 0xd], 0
je 0x405e66
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 0x405e66
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 0x406554
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 0x4065ba
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.004044dc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e10
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4065a4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4065c1
lea eax, [ebp - 0x10]
call fcn.0040426c
ret

Function at 0x40bf78
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 0x40bfb1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040435c
jmp 0x40bfba
mov eax, ebx
mov edx, esi
call fcn.004042c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bfc4
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 0x40bfe5
mov al, byte [esp]
jmp 0x40bfe7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c66c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c4e4
mov eax, dword [0x4f3624]
cmp byte [eax], 0
je 0x40c6e8
mov eax, dword [0x4f3364]
call fcn.00402c24
call fcn.00402a70
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.004096a8
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 0x40c730
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c71e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4f32e8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4f4668]
call fcn.00405a4c
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 0x40cfcc
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 0x40d0a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404304
lea eax, [ebp - 8]
call fcn.0040477c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040472c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d08c
mov eax, ebx
call fcn.00402908
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d085
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.0040472c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d06f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d0b4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d06f
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 0x40d08c
mov eax, dword [ebp - 0x10]
call fcn.00402928
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d0a9
lea eax, [ebp - 8]
call fcn.0040426c
ret

Function at 0x40d5cc
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 0x40d630
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.004044dc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004090c0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d637
lea eax, [ebp - 0xc]
call fcn.0040426c
ret

Function at 0x4274ec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4f4888
cmp dword [edi], 0
jne 0x427568
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4f4884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4f16a0
mov ecx, 2
call fcn.00402b04
mov edx, 0x4274c4
lea eax, [esi + 5]
call fcn.004274e4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004274e4
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 0x42753d
mov dword [0x4f4884], 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 0x428784
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 0x42878a
ret
Function at 0x42abcc
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 0x42ac1d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42ac04
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42abf4
jmp 0x42ac1d
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 0x42ac05
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x437dc0
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 0x437d0c
call sub.user32.dll_EnumWindows
ret

Function at 0x437ee0
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 0x437f5d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00437940
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x437f05
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00437540
cmp dword [ebp - 4], 0
je 0x437f47
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040472c
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 0x437f64
lea eax, [ebp - 4]
call fcn.0040426c
ret

Function at 0x43af28
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4f4b58], 0
je 0x43b077
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4f358c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43b077
mov eax, dword [0x4f4b5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4f4b58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43b046
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4f4b58]
call fcn.0041d288
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43b03e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43b03e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43b03e
mov eax, dword [ebp - 0x14]
call fcn.00443bc0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43b03e
push ebp
call fcn.0043aee4
pop ecx
test al, al
jne 0x43b03e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43affa
mov eax, dword [ebp - 0x14]
call fcn.004426f0
dec eax
jle 0x43b03e
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403610
cmp byte [ebp - 1], 0
je 0x43b03e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43b03e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4f4b5c]
call fcn.0043a6b0
inc edi
dec ebx
jne 0x43af8d
mov eax, dword [0x4f4b5c]
cmp dword [eax + 8], 0
jle 0x43b05e
mov eax, dword [0x4f4b5c]
call fcn.0043a740
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43b077
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043ad4c
pop ecx
test al, al
jne 0x43b077
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43e658
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x43e6a4
mov eax, esi
call fcn.00453e08
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43e6a4
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43e6a4
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x43e7e3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43e6e4
cmp eax, 0x108
ja 0x43e6e4
mov eax, esi
call fcn.00453e08
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43e7da
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43e7e3
jmp 0x43e7da
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43e7c3
cmp eax, 0x20a
ja 0x43e7c3
test byte [esi + 0x50], 0x80
jne 0x43e716
sub eax, 0x203
je 0x43e713
sub eax, 3
je 0x43e713
sub eax, 3
jne 0x43e716
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43e72a
dec eax
je 0x43e73f
dec eax
je 0x43e75c
dec eax
je 0x43e73f
jmp 0x43e763
mov ecx, ebx
mov eax, dword [0x4f358c]
mov eax, dword [eax]
mov edx, esi
call fcn.0045d5b4
jmp 0x43e7da
cmp byte [esi + 0x5d], 1
jne 0x43e755
mov eax, esi
mov si, 0xffed
call fcn.00403610
jmp 0x43e7e3
or word [esi + 0x54], 1
jmp 0x43e7da
and word [esi + 0x54], 0xfffe
jmp 0x43e7da
mov eax, dword [0x4f4b14]
cmp byte [eax + 0x20], 0
je 0x43e7da
mov eax, dword [0x4f4b14]
cmp dword [eax + 0x1c], 0
je 0x43e7da
mov eax, dword [ebx]
mov edx, dword [0x4f4b14]
cmp eax, dword [edx + 0x1c]
jne 0x43e7da
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00453d4c
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00403610
jmp 0x43e7e3
cmp eax, 0xb00b
jne 0x43e7da
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043cf78
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret