joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4034a9
Capabilities:
Delete directory
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push ebx
push esi
xor esi, esi
cmp dword [0x520838], 0x594
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
jne 0x4034ea
push esi
call dword [sym.imp.KERNEL32.dll_DeleteVolumeMountPointA]
push 0x402b88
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov eax, dword [0x46ffb8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x46ffbc]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
call fcn.004034a2
mov eax, dword [0x46ffc0]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x46ffc4]
add ebx, 0x23f
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, dword [ebp - 0x10]
mov ecx, eax
shl ecx, 4
cmp dword [0x520838], 0xc
mov dword [ebp - 4], ecx
jne 0x403575
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push esi
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea eax, [ebp - 0x2c]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
add dword [ebp - 4], ecx
mov ecx, dword [0x520838]
cmp ecx, 0xfa9
jne 0x403593
mov dword [0x51fdd4], 0xedeb2e40
cmp ecx, 0x3eb
jne 0x4035a1
mov dword [0x51f788], esi
lea ecx, [ebx + eax]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 8]
shr eax, cl
mov dword [0x51fdd0], 0xf4ea3dee
add eax, dword [ebp - 0x1c]
mov ecx, eax
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor ecx, dword [ebp - 4]
cmp dword [0x520838], 0x213
mov dword [ebp - 0x14], ecx
jne 0x4035df
push esi
push 0x402bf8
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x520838], 0xc
jne 0x403626
lea eax, [ebp - 0x14]
push eax
push esi
push esi
lea eax, [ebp - 0x30]
push eax
push esi
push esi
push esi
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_BackupWrite]
push esi
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
push esi
lea eax, [ebp - 0x830]
push eax
push 0x402c38
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ebx + eax]
xor dword [ebp - 4], edx
shr eax, cl
add eax, dword [ebp - 0x20]
cmp dword [0x520838], 0x121
mov edi, eax
jne 0x40365b
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
xor dword [ebp - 4], edi
mov eax, dword [ebp - 4]
sub dword [ebp - 0x10], eax
add ebx, 0x61c88647
dec dword [ebp - 0x18]
jne 0x403525
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x403688
Capabilities:
Create pipe
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x520838]
mov ecx, dword [0x51f78c]
sub esp, 0xe84
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x40378b
mov ebx, ecx
mov dword [ebp - 8], eax
cmp dword [0x520838], 0x959
jne 0x403779
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputA]
xor eax, eax
mov word [ebp - 4], ax
lea edi, [ebp - 2]
stosw word es:[edi], ax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
push esi
push esi
lea eax, [ebp - 0x680]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
lea eax, [ebp - 0x280]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
push 0x402c88
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x402d10
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
lea eax, [ebp - 0xe80]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_InterlockedFlushSList]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call fcn.004034a9
add ebx, 8
dec dword [ebp - 8]
jne 0x4036b1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40539b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46f5bc]
jne 0x4053a5
repz ret
jmp fcn.00408eec

Function at 0x40bf57
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040699c
and dword [ebp - 4], 0
cmp dword [0x4713b4], 0
mov ebx, eax
jne 0x40c008
push 0x4021ec
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c0b9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4021e0
push edi
call esi
test eax, eax
je 0x40c0b9
push eax
call fcn.0040692a
mov dword [esp], 0x4021d0
push edi
mov dword [0x4713b4], eax
call esi
push eax
call fcn.0040692a
mov dword [esp], 0x4021bc
push edi
mov dword [0x4713b8], eax
call esi
push eax
call fcn.0040692a
mov dword [esp], 0x4021a0
push edi
mov dword [0x4713bc], eax
call esi
push eax
call fcn.0040692a
pop ecx
mov dword [0x4713c4], eax
test eax, eax
je 0x40c008
push 0x402188
push edi
call esi
push eax
call fcn.0040692a
pop ecx
mov dword [0x4713c0], eax
mov eax, dword [0x4713c0]
cmp eax, ebx
je 0x40c060
cmp dword [0x4713c4], ebx
je 0x40c060
push eax
call fcn.004069a5
push dword [0x4713c4]
mov esi, eax
call fcn.004069a5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40c060
test edi, edi
je 0x40c060
call esi
test eax, eax
je 0x40c057
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40c057
test byte [ebp - 0xc], 1
jne 0x40c060
or dword [ebp + 0x10], 0x200000
jmp 0x40c099
mov eax, dword [0x4713b8]
cmp eax, ebx
je 0x40c099
push eax
call fcn.004069a5
pop ecx
test eax, eax
je 0x40c099
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40c099
mov eax, dword [0x4713bc]
cmp eax, ebx
je 0x40c099
push eax
call fcn.004069a5
pop ecx
test eax, eax
je 0x40c099
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4713b4]
call fcn.004069a5
pop ecx
test eax, eax
je 0x40c0b9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c0bb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402a90
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.0040477c
test esi, esi
jne 0x402ac6
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.0040486c
jmp 0x402ae4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029a4
mov edi, eax
test esi, esi
je 0x402ae4
cmp dword [ebx], 0
je 0x402ae4
dec esi
jmp 0x402acd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

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

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

Function at 0x403888
Capabilities:
Query or enumerate registry value

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

Function at 0x404600
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4a804c], 0
je 0x404661
cmp word [0x4a8220], 0xd7b2
jne 0x404629
cmp dword [0x4a8228], 0
jbe 0x404629
mov eax, 0x4a821c
call dword [0x4a8238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4a5058
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 0x404688
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4a5020], 0
jne 0x40467d
push 0
push 0x4a5078
push 0x4a5058
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406244
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 0x406474
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4062c7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406474
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4062c7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406490
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406350
xor eax, eax
push ebp
push 0x406349
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040608c
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 0x40632e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4064b0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40632e
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 0x406350
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 0x40646a
cmp byte [ebp - 0xd], 0
jne 0x406397
cmp byte [ebp - 0x12], 0
je 0x40646a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4063b0
dec ebx
cmp byte [ebx], 0x2e
je 0x4063bf
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4063af
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40646a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4063fc
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 0x40646a
cmp byte [ebp - 0xd], 0
je 0x40646a
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 0x40646a
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 0x40bb90
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 0x40bbc9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040486c
jmp 0x40bbd2
mov eax, ebx
mov edx, esi
call fcn.004047d0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c284
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c0fc
mov eax, dword [0x4a6fec]
cmp byte [eax], 0
je 0x40c2ec
mov eax, dword [0x4a6d30]
call fcn.00402efc
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409230
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x40c334
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c322
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4a6cc4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4a8718]
call fcn.00406050
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 0x40d104
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 0x40d168
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.004049e4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408e64
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d16f
lea eax, [ebp - 0xc]
call fcn.0040477c
ret
Function at 0x41f808
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a8a24
cmp dword [edi], 0
jne 0x41f884
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4a8a20]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a5594
mov ecx, 2
call fcn.00402964
mov edx, 0x41f7e0
lea eax, [esi + 5]
call fcn.0041f800
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041f800
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 0x41f859
mov dword [0x4a8a20], 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 0x420e30
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 0x420e36
ret

Function at 0x4233dc
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 0x42342d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x423414
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x423404
jmp 0x42342d
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 0x423415
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435ec4
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.00404c1c
xor eax, eax
push ebp
push 0x435ff2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x435fc5
xor eax, eax
push ebp
push 0x435fbe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a34
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x435f93
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 0x435f82
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404a34
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404c2c
mov edx, ebx
pop ecx
call fcn.00402964
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 0x435f89
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4a6c20]
mov dl, 1
mov eax, dword [0x407d8c]
call fcn.0040c400
call fcn.004041dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x435ff9
lea eax, [ebp - 4]
call fcn.0040477c
ret
Function at 0x436000
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 0x4361b1
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404e1c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4361c8
call fcn.00404a80
mov eax, ebx
call fcn.0041eda8
mov edi, eax
dec edi
test edi, edi
jl 0x4360b8
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041ed7c
mov edx, dword [0x42debc]
call fcn.00403b9c
test al, al
je 0x4360b4
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041ed7c
lea edx, [ebp - 0x14]
call fcn.0043d468
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404e1c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404af4
inc esi
dec edi
jne 0x436066
mov al, byte [0x4361cc]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4361d8
mov eax, dword [ebp - 0xc]
call fcn.0040d6dc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404814
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.0043d468
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4361c8
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 + 0x2f0]
call fcn.0043d468
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4361c8
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, 0x4361c8
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, 0x4361e4
call fcn.004099a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4361b8
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004047a0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004047a0
lea eax, [ebp - 0x14]
call fcn.0040477c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004047a0
ret

Function at 0x437aa0
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 0x4379ec
call sub.user32.dll_EnumWindows
ret
Function at 0x437bc4
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 0x437c41
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00437610
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 0x437be9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00437268
cmp dword [ebp - 4], 0
je 0x437c2b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404c2c
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 0x437c48
lea eax, [ebp - 4]
call fcn.0040477c
ret

Function at 0x43afd0
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 [0x4a8be0], 0
je 0x43b11f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4a6f60]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x43b11f
mov eax, dword [0x4a8be4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4a8be0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43b0ee
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4a8be0]
call fcn.004169e8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43b0e6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43b0e6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43b0e6
mov eax, dword [ebp - 0x14]
call fcn.00443c34
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43b0e6
push ebp
call fcn.0043af8c
pop ecx
test al, al
jne 0x43b0e6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x43b0a2
mov eax, dword [ebp - 0x14]
call fcn.00442790
dec eax
jle 0x43b0e6
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.00403c0c
cmp byte [ebp - 1], 0
je 0x43b0e6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43b0e6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4a8be4]
call fcn.0043a754
inc edi
dec ebx
jne 0x43b035
mov eax, dword [0x4a8be4]
cmp dword [eax + 8], 0
jle 0x43b106
mov eax, dword [0x4a8be4]
call fcn.0043a7e4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43b11f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0043adf4
pop ecx
test al, al
jne 0x43b11f
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