joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4037c4
Capabilities:
Accept command line arguments
Set environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
mov eax, 0x41a4a4
push ebx
mov ebx, 0x41555c
push esi
call fcn.0040f60c
call sub.KERNEL32.DLL_GetCommandLineA
mov esi, eax
test esi, esi
je 0x4037fe
xor eax, eax
mov al, byte [esi]
cmp eax, 0x22
jne 0x4037fe
lea eax, [esi + 1]
mov edx, 0x22
call fcn.0040edcc
mov esi, eax
test esi, esi
je 0x4038ae
mov edx, 0x414108
mov eax, esi
call fcn.0040ee10
mov esi, eax
test eax, eax
je 0x403821
mov eax, ebx
mov edx, esi
call fcn.0040ee3c
mov byte [ebp - 1], 0
xor eax, eax
xor esi, esi
jmp 0x40389e
xor ecx, ecx
mov cl, dl
cmp ecx, 0x20
je 0x403838
mov byte [ebp - 1], 1
cmp ecx, 0x22
jne 0x40383e
inc esi
test esi, 1
jne 0x40389d
xor edx, edx
mov dl, byte [ebx + eax]
cmp edx, 0x2d
jne 0x40385f
test eax, eax
je 0x403869
xor edx, edx
mov dl, byte [ebx + eax - 1]
cmp edx, 0x20
je 0x403869
xor ecx, ecx
mov cl, byte [ebx + eax]
cmp ecx, 0x2f
jne 0x40389d
xor edx, edx
mov dl, byte [ebx + eax + 1]
cmp edx, 0x73
je 0x403879
cmp edx, 0x53
jne 0x40389d
mov dl, byte [ebx + eax + 2]
test dl, dl
je 0x40388a
xor ecx, ecx
mov cl, dl
cmp ecx, 0x20
jne 0x40389d
mov dword [0x414058], 1
mov byte [0x41405c], 1
jmp 0x4038a5
inc eax
mov dl, byte [ebx + eax]
test dl, dl
jne 0x40382b
cmp byte [ebp - 1], 0
jne 0x4038ae
mov byte [ebx], 0
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
mov dword [0x41a49c], eax
push 0x64
push ebx
call sub.USER32.DLL_LoadIconA
mov dword [0x41595c], eax
push 0x65
push dword [0x41a49c]
call sub.USER32.DLL_LoadBitmapA
mov dword [0x415960], eax
lea eax, [ebp - 0xc]
call fcn.00405564
push 0x400
push 0x41515c
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x41515c
push str.sfxname
call sub.KERNEL32.DLL_SetEnvironmentVariableA
mov edx, 0x41515c
mov eax, 0x41a488
call fcn.00404ba4
lea eax, [ebp - 0x24]
call fcn.0040410c
lea eax, [ebp - 0x3c]
call fcn.0040410c
push 0
push 0x401183
lea edx, [ebp - 0x24]
push 0
mov dword [0x415d64], edx
lea ecx, [ebp - 0x3c]
push str.STARTDLG
push ebx
mov dword [0x415d68], ecx
call sub.USER32.DLL_DialogBoxParamA
xor eax, eax
mov dword [0x4148a8], eax
xor edx, edx
mov dword [0x415d68], edx
mov dword [0x415d64], edx
cmp dword [0x4148b0], 0
jne 0x403981
cmp dword [0x4148bc], 0
jne 0x403981
mov ecx, 4
mov edx, dword [0x414048]
xor eax, eax
call fcn.004018d1
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00404130
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404130
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004055d8
cmp byte [0x414044], 0
je 0x4039b6
call fcn.004026e6
mov eax, 0x4150cc
mov ecx, 0x80
xor edx, edx
call fcn.0040ed3c
cmp dword [0x414054], 0
jle 0x4039da
mov eax, dword [0x414048]
call fcn.0040ecc0
push dword [0x41595c]
call sub.GDI32.DLL_DeleteObject
mov eax, dword [0x415960]
test eax, eax
je 0x4039f4
push eax
call sub.GDI32.DLL_DeleteObject
cmp dword [0x41a47c], 0
jne 0x403a15
cmp dword [0x4148b0], 0
je 0x403a15
mov eax, 0x41a47c
mov edx, 0xff
call fcn.0040c3f4
mov dword [0x4148b0], 2
push dword [0x41a47c]
call sub.KERNEL32.DLL_ExitProcess
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40da48
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov ebx, eax
push edi
mov dword [ebp - 4], edx
xor edx, edx
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc18], edx
cmp byte [ebx + 0x15], 0
mov esi, ecx
je 0x40da6b
mov al, 1
cmp byte [ebp + 8], 0
mov edi, 0x80000000
je 0x40da7c
or edi, 0x40000000
mov dword [ebp - 8], 1
test al, al
je 0x40da8b
or dword [ebp - 8], 2
call fcn.00405314
test eax, eax
je 0x40dab7
test esi, esi
je 0x40dab7
cmp word [esi], 0
je 0x40dab7
push 0
push 0x8000000
push 3
push 0
push dword [ebp - 8]
push edi
push esi
call sub.KERNEL32.DLL_CreateFileW
mov edi, eax
jmp 0x40dad0
push 0
push 0x8000000
push 3
push 0
push dword [ebp - 8]
push edi
push dword [ebp - 4]
call sub.KERNEL32.DLL_CreateFileA
mov edi, eax
cmp edi, 0xffffffff
jne 0x40dae9
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
jne 0x40dae9
mov dword [ebx + 0xc18], 1
xor eax, eax
cmp edi, 0xffffffff
mov byte [ebx + 0x12], 0
setne dl
mov dword [ebx + 0xc], eax
and edx, 1
mov byte [ebx + 0x10], 0
mov byte [ebp - 9], dl
cmp byte [ebp - 9], 0
je 0x40db53
mov dword [ebx + 4], edi
test esi, esi
je 0x40db1e
lea eax, [ebx + 0x416]
mov edx, esi
call fcn.0040f514
jmp 0x40db27
mov word [ebx + 0x416], 0
cmp dword [ebp - 4], 0
je 0x40db3a
lea eax, [ebx + 0x16]
mov edx, dword [ebp - 4]
call fcn.0040ee3c
jmp 0x40db49
lea edx, [ebx + 0x16]
mov ecx, 0x10000000
mov eax, esi
call fcn.0040f468
mov edx, dword [ebx + 4]
mov eax, ebx
call fcn.0040dc38
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40dd44
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, ecx
test esi, esi
mov edi, eax
mov dword [esp], edx
je 0x40de2d
mov eax, dword [edi + 0xc]
test eax, eax
je 0x40dd7f
dec eax
je 0x40dd69
dec eax
je 0x40dd75
jmp 0x40dd7f
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
mov dword [edi + 4], eax
jmp 0x40dd7f
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov dword [edi + 4], eax
cmp dword [edi + 0xc], 0
je 0x40ddd1
xor ebp, ebp
cmp esi, ebp
jle 0x40dded
push 0
lea eax, [esp + 8]
push eax
mov edx, esi
sub edx, ebp
cmp edx, 0x4000
jge 0x40dda4
mov ecx, esi
sub ecx, ebp
jmp 0x40dda9
mov ecx, 0x4000
push ecx
mov eax, dword [esp + 0xc]
add eax, ebp
push eax
push dword [edi + 4]
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne bl
and ebx, 1
test bl, bl
je 0x40dded
add ebp, 0x4000
cmp esi, ebp
jg 0x40dd8b
jmp 0x40dded
push 0
lea eax, [esp + 8]
push eax
push esi
push dword [esp + 0xc]
push dword [edi + 4]
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne bl
and ebx, 1
test bl, bl
jne 0x40de29
cmp byte [edi + 0x14], 0
je 0x40de29
cmp dword [edi + 0xc], 0
jne 0x40de29
lea ebp, [edi + 0x16]
mov eax, 0x41a47c
mov edx, ebp
call fcn.0040c258
test al, al
jne 0x40dd7f
mov ecx, ebp
mov eax, 0x41a47c
xor edx, edx
call fcn.0040c240
jmp 0x40de29
mov byte [edi + 8], 1
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x402a40
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.00404a3c
test esi, esi
jne 0x402a76
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.00404b2c
jmp 0x402a94
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402954
mov edi, eax
test esi, esi
je 0x402a94
cmp dword [ebx], 0
je 0x402a94
dec esi
jmp 0x402a7d
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

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

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4ab008], 0x8088405
inc edx
mov dword [ebx + 0x4ab008], edx
fld qword [ebx + 0x4ab06c]
push 0
push edx
fild qword [esp]
add esp, 8
fmulp st(1)
pop ebx
ret

Function at 0x403b64
Capabilities:
Query or enumerate registry value

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

Function at 0x4048c0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ae048], 0
je 0x404921
cmp word [0x4ae21c], 0xd7b2
jne 0x4048e9
cmp dword [0x4ae224], 0
jbe 0x4048e9
mov eax, 0x4ae218
call dword [0x4ae234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4ab09c
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 0x404948
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4ab034], 0
jne 0x40493d
push 0
push 0x4ab094
push 0x4ab09c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406658
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 0x4066be
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.00404cac
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040355c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4066a8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066c5
lea eax, [ebp - 0x10]
call fcn.00404a3c
ret

Function at 0x40bd54
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 0x40bd8d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404b2c
jmp 0x40bd96
mov eax, ebx
mov edx, esi
call fcn.00404a90
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c448
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c2c0
mov eax, dword [0x4ad3a4]
cmp byte [eax], 0
je 0x40c4c4
mov eax, dword [0x4ad160]
call fcn.00402ec8
call fcn.00402874
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.004093a4
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 0x40c50c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c4fa
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4ad100]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ae664]
call fcn.00405b38
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 0x40cd90
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 0x40ce66
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404ad4
lea eax, [ebp - 8]
call fcn.00404f4c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404efc
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40ce50
mov eax, ebx
call fcn.0040270c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40ce49
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.00404efc
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40ce33
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40ce78
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40ce33
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 0x40ce50
mov eax, dword [ebp - 0x10]
call fcn.0040272c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce6d
lea eax, [ebp - 8]
call fcn.00404a3c
ret

Function at 0x40d378
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 0x40d3dc
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.00404cac
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408c68
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d3e3
lea eax, [ebp - 0xc]
call fcn.00404a3c
ret

Function at 0x41c378
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4ae884
cmp dword [edi], 0
jne 0x41c3f4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4ae880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4ab49c
mov ecx, 2
call fcn.00402914
mov edx, 0x41c350
lea eax, [esi + 5]
call fcn.0041c370
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041c370
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 0x41c3c9
mov dword [0x4ae880], 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 0x41d990
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 0x41d996
ret
Function at 0x41ffbc
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 0x42000d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41fff4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41ffe4
jmp 0x42000d
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 0x41fff5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429108
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.00404eec
xor eax, eax
push ebp
push 0x429236
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x429209
xor eax, eax
push ebp
push 0x429202
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404cfc
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4291d7
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 0x4291c6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404cfc
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404efc
mov edx, ebx
pop ecx
call fcn.00402914
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 0x4291cd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4ad09c]
mov dl, 1
mov eax, dword [0x407ad4]
call fcn.0040c5fc
call fcn.00404478
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42923d
lea eax, [ebp - 4]
call fcn.00404a3c
ret
Function at 0x429244
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 0x4293f5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.004050ec
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x42940c
call fcn.00404d48
mov eax, ebx
call fcn.0041b90c
mov edi, eax
dec edi
test edi, edi
jl 0x4292fc
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041b8e0
mov edx, dword [0x430b60]
call fcn.00403e78
test al, al
je 0x4292f8
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041b8e0
lea edx, [ebp - 0x14]
call fcn.004389a8
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.004050ec
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404dbc
inc esi
dec edi
jne 0x4292aa
mov al, byte [0x429410]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x42941c
mov eax, dword [ebp - 0xc]
call fcn.0040d950
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404ad4
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.004389a8
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x42940c
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.004389a8
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x42940c
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, 0x42940c
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, 0x429428
call fcn.00409a80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4293fc
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404a60
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404a60
lea eax, [ebp - 0x14]
call fcn.00404a3c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404a60
ret

Function at 0x433374
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 0x4332c0
call sub.user32.dll_EnumWindows
ret
Function at 0x433494
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 0x433511
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00432ef4
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 0x4334b9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00432af4
cmp dword [ebp - 4], 0
je 0x4334fb
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404efc
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 0x433518
lea eax, [ebp - 4]
call fcn.00404a3c
ret

Function at 0x4364f8
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 [0x4aeb88], 0
je 0x436647
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4ad324]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x436647
mov eax, dword [0x4aeb8c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4aeb88]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x436616
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4aeb88]
call fcn.00414e88
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43660e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43660e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43660e
mov eax, dword [ebp - 0x14]
call fcn.0043f184
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43660e
push ebp
call fcn.004364b4
pop ecx
test al, al
jne 0x43660e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4365ca
mov eax, dword [ebp - 0x14]
call fcn.0043dcb4
dec eax
jle 0x43660e
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.00403ee8
cmp byte [ebp - 1], 0
je 0x43660e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43660e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4aeb8c]
call fcn.00435c80
inc edi
dec ebx
jne 0x43655d
mov eax, dword [0x4aeb8c]
cmp dword [eax + 8], 0
jle 0x43662e
mov eax, dword [0x4aeb8c]
call fcn.00435d10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x436647
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043631c
pop ecx
test al, al
jne 0x436647
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