joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ff38
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov esi, eax
mov eax, dword [esi]
call fcn.0042f490
mov ebx, eax
add esi, 4
mov eax, dword [esi]
call fcn.0042f490
mov esi, eax
mov eax, 0xc6ef3720
mov ecx, dword [0x4d6160]
mov edx, dword [0x4d6164]
mov dword [esp + 4], edx
mov edx, dword [0x4d6168]
mov dword [esp + 8], edx
mov edx, dword [0x4d616c]
mov dword [esp + 0xc], edx
mov edx, 0x20
mov edi, ebx
shl edi, 4
mov ebp, dword [esp + 8]
xor ebp, ebx
add edi, ebp
mov ebp, ebx
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 0xc]
sub esi, edi
mov edi, esi
shl edi, 4
mov ebp, esi
xor ebp, ecx
add edi, ebp
mov ebp, esi
shr ebp, 5
xor ebp, eax
add edi, ebp
add edi, dword [esp + 4]
sub ebx, edi
sub eax, 0x9e3779b9
dec edx
jne 0x42ff87
mov eax, ebx
call fcn.0042f490
mov edx, dword [esp]
mov dword [edx], eax
mov eax, esi
call fcn.0042f490
mov edx, dword [esp]
add edx, 4
mov dword [edx], eax
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4301bc
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov esi, dword [eax]
mov edi, dword [ecx]
mov eax, ebx
mov ecx, 3
xor edx, edx
div ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
lea ecx, [0x4d0888]
xor eax, eax
xor ebx, ebx
xor edx, edx
cmp dword [ebp - 4], 0
je 0x430223
lodsw ax, word [esi]
mov bl, al
shr bl, 2
mov dl, byte [ebx + ecx]
mov bh, ah
and bh, 0xf
rol ax, 4
and ax, 0x3f
mov dh, byte [eax + ecx]
mov ax, dx
stosw word es:[edi], ax
lodsb al, byte [esi]
mov bl, al
shr bx, 6
mov dl, byte [ebx + ecx]
and al, 0x3f
xor ah, ah
mov dh, byte [eax + ecx]
mov ax, dx
stosw word es:[edi], ax
dec dword [ebp - 4]
jne 0x4301e9
cmp dword [ebp - 8], 0
je 0x430273
xor eax, eax
xor ebx, ebx
xor edx, edx
lodsb al, byte [esi]
shl ax, 6
mov bl, ah
mov dl, byte [ebx + ecx]
dec dword [ebp - 8]
je 0x43025e
shl ax, 2
and ah, 3
lodsb al, byte [esi]
shl ax, 4
mov bl, ah
mov dh, byte [ebx + ecx]
shl edx, 0x10
shr al, 2
mov bl, al
mov dl, byte [ebx + ecx]
mov dh, 0x3d
jmp 0x43026d
shr al, 2
mov bl, al
mov dh, byte [ebx + ecx]
shl edx, 0x10
mov dh, 0x3d
mov dl, 0x3d
mov eax, edx
ror eax, 0x10
stosd dword es:[edi], eax
pop ecx
pop ecx
pop ebp
ret

Function at 0x430420
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x43042f
xor eax, eax
pop esi
pop ebx
ret
cmp byte [0x4d08c8], 0
jne 0x43043d
call fcn.004303c4
or eax, 0xffffffff
xor edx, edx
mov dl, byte [ebx]
xor edx, eax
and edx, 0xff
mov edx, dword [edx*4 + 0x4d6178]
shr eax, 8
xor edx, eax
mov eax, edx
inc ebx
dec esi
test esi, esi
jne 0x430440
xor eax, 0xffffffff
pop esi
pop ebx
ret

Function at 0x438704
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x104
call fcn.00404ef8
add esp, 0x104
pop ebx
ret
Function at 0x43abfc
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43ace6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x4d6720], bl
mov eax, 0x4d6724
mov edx, esi
call fcn.00404cdc
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
xor edx, edx
mov dl, bl
mov eax, dword [0x437d68]
call fcn.004177b8
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
call fcn.00402bd0
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x24]
mov eax, 8
call fcn.004097c0
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea edx, [ebp - 0x1c]
mov ecx, 2
mov eax, 0x43acfc
call fcn.0040aa38
mov eax, dword [ebp - 4]
call fcn.00405164
push eax
call sub.kernel32.dll_OutputDebugStringA
cmp dword [0x4d6b68], 0
je 0x43acc3
add bl, 0xfb
sub bl, 4
jae 0x43acc3
push 0x242010
push 0x43ad30
mov eax, esi
call fcn.00405164
push eax
push 0
call sub.user32.dll_MessageBoxA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43aced
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404cac
lea eax, [ebp - 4]
call fcn.00404c88
ret

Function at 0x43aefc
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, esp
push eax
push 0x43aec4
call sub.user32.dll_EnumWindows
mov eax, dword [esp + 4]
pop ecx
pop edx
ret

Function at 0x43af98
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00404f64
mov ebx, eax
inc ebx
call sub.kernel32.dll_GetCurrentProcessId
call fcn.0043aefc
push eax
call sub.user32.dll_OpenClipboard
xor eax, eax
push ebp
push 0x43b070
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43b056
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x43b038
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00405164
mov edx, dword [ebp - 8]
mov ecx, ebx
call fcn.00402e10
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 4]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b03f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
Function at 0x43b080
Capabilities:
Accept command line arguments
Create process on windows
Terminate process

Disassembly:
add esp, 0xffffffac
test al, al
je 0x43b0cc
push esp
call sub.kernel32.dll_GetStartupInfoA_1
lea eax, [esp + 0x44]
xor ecx, ecx
mov edx, 0x10
call fcn.00403620
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 4]
push eax
mov eax, dword [0x4d6710]
call fcn.00405164
push eax
push 0
push 0x220
push 0
push 0
push 0
call sub.kernel32.dll_GetCommandLineA_1
push eax
push 0
call sub.kernel32.dll_CreateProcessA
push 1
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_TerminateProcess
add esp, 0x54
ret

Function at 0x43b274
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov edx, dword [0x4d4310]
mov dl, byte [edx]
mov byte [ebp - 1], dl
mov ecx, eax
mov dl, 1
mov eax, dword [0x437e1c]
call fcn.0043b0e0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x43b344
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.0043b158
test al, al
je 0x43b32e
cmp word [ebp - 4], 0x5a4d
jne 0x43b32e
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.0041d460
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0043b158
test al, al
je 0x43b32e
cmp dword [ebp - 8], 0
je 0x43b32e
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.0041d460
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0043b158
test al, al
je 0x43b32e
cmp dword [ebp - 0xc], 0x4550
jne 0x43b32e
lea edx, [ebp - 0x24]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.0043b158
test al, al
je 0x43b32e
test byte [ebp - 0x11], 0x20
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43b34b
mov eax, dword [ebp - 0x10]
call fcn.00403d94
ret
Function at 0x43d01c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x43d19b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
lea edx, [ebp - 5]
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f6
jb 0x43d07b
cmp byte [ebp - 5], 0x80
jb 0x43d07b
and byte [ebp - 5], 0x7f
mov byte [ebp - 6], 1
xor edx, edx
mov dl, byte [ebp - 5]
mov eax, ebx
call fcn.004030c0
xor ecx, ecx
mov cl, byte [ebp - 5]
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f4
jb 0x43d16e
cmp byte [esi + 0x37], 0
je 0x43d0de
mov eax, dword [0x4d68f8]
mov edx, dword [esi + 0x33]
call fcn.004050b0
je 0x43d0cd
mov eax, dword [esi + 0x33]
call fcn.0042ffe8
mov eax, 0x4d68f8
mov edx, dword [esi + 0x33]
call fcn.00404cdc
xor ecx, ecx
mov cl, byte [ebx]
lea edx, [ebx + 1]
lea eax, [ebx + 1]
call fcn.00430088
jmp 0x43d117
cmp byte [ebx], 0
je 0x43d117
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00404eec
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004302c4
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x43d1b4
call fcn.00404fb0
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, 0xff
call fcn.00404f40
cmp byte [ebp - 6], 0
je 0x43d180
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00404eec
push dword [ebp - 0x1c]
push 0x43d1c0
lea ecx, [ebp - 0x120]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0043d01c
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x20]
call fcn.00404eec
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405024
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, 0xff
call fcn.00404f40
jmp 0x43d180
xor edx, edx
mov dl, byte [ebx]
test edx, edx
jle 0x43d180
lea eax, [ebx + 1]
xor byte [eax], 0x62
inc eax
dec edx
jne 0x43d179
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d1a2
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00404cac
ret

Function at 0x440fd8
Capabilities:
Hide graphical window

Disassembly:
push ebx
call sub.kernel32.dll_GetCurrentProcessId
call fcn.0043aefc
mov ebx, eax
test ebx, ebx
je 0x44102c
push ebx
call sub.user32.dll_IsIconic
test eax, eax
je 0x441015
push 0
push 0xf120
push 0x112
push ebx
call sub.user32.dll_SendMessageA
push 5
push ebx
call sub.user32.dll_ShowWindow
push ebx
call sub.user32.dll_SetForegroundWindow
jmp 0x44102c
push ebx
call sub.user32.dll_GetLastActivePopup
mov ebx, eax
call sub.user32.dll_GetForegroundWindow
cmp ebx, eax
je 0x44102c
push ebx
call sub.user32.dll_SetForegroundWindow
pop ebx
ret
Function at 0x443918
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe78
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x184], ecx
mov dword [ebp - 0x188], ecx
mov dword [ebp - 4], ecx
mov esi, edx
lea edi, [ebp - 0x180]
mov ecx, 0x5e
rep movsd dword es:[edi], dword [esi]
mov edi, eax
xor eax, eax
push ebp
push 0x443a07
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0x443a20
lea eax, [ebp - 0x184]
call fcn.00439460
push dword [ebp - 0x184]
push 0x443a2c
push edi
lea edx, [ebp - 0x188]
mov eax, ebx
call fcn.00409684
push dword [ebp - 0x188]
lea eax, [ebp - 4]
mov edx, 5
call fcn.00405024
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
mov eax, dword [ebp - 4]
call fcn.00405164
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x4439d7
push 0
lea eax, [ebp - 8]
push eax
push 0x178
lea eax, [ebp - 0x180]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
push esi
call sub.kernel32.dll_CloseHandle_1
inc ebx
cmp ebx, 4
jne 0x443956
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443a0e
lea eax, [ebp - 0x188]
mov edx, 2
call fcn.00404cac
lea eax, [ebp - 4]
call fcn.00404c88
ret

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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
cmp byte [0x4d0a1c], 0
jne 0x446f59
xor esi, esi
mov edx, 0x4d6bb0
mov eax, esi
mov ebx, 8
test al, 1
je 0x446f3f
shr eax, 1
xor eax, 0xedb88320
jmp 0x446f41
shr eax, 1
dec ebx
jne 0x446f32
mov dword [edx], eax
inc esi
add edx, 4
cmp esi, 0x100
jne 0x446f2b
mov byte [0x4d0a1c], 1
mov eax, dword [esp + 4]
dec eax
test eax, eax
jl 0x446f86
inc eax
xor esi, esi
mov edx, dword [esp]
movzx edx, byte [edx + esi]
xor edx, edi
and edx, 0xff
mov edx, dword [edx*4 + 0x4d6bb0]
shr edi, 8
xor edx, edi
mov edi, edx
inc esi
dec eax
jne 0x446f65
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x449de4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405154
mov eax, dword [ebp - 8]
call fcn.00405154
mov eax, dword [ebp - 0xc]
call fcn.00405154
xor eax, eax
push ebp
push 0x449fde
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x449ff8
mov eax, 0x80000000
call fcn.00424818
lea eax, [ebp - 0x14]
call fcn.00448070
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.00403620
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.00403620
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [0x4d6700]
mov edx, 0x44a01c
call fcn.00404fb0
push 0x44a02c
push dword [ebp - 4]
push 0x44a03c
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.00449d00
push dword [ebp - 0x78]
push 0x44a050
lea eax, [ebp - 0x80]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00404fb0
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.00449d00
push dword [ebp - 0x7c]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00405024
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x44a060
mov eax, dword [ebp - 0x14]
call fcn.004245d4
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x4000020
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00405164
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x449f96
xor ebx, ebx
mov eax, dword [ebp - 0x74]
mov esi, eax
push 0x2710
push eax
call sub.user32.dll_WaitForInputIdle
push 0x7d0
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 0x6c]
call fcn.0043aefc
test eax, eax
je 0x449f65
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call sub.user32.dll_SetWindowPos
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0xffffffff
je 0x449f82
lea eax, [ebp - 0x20]
push eax
push esi
call sub.kernel32.dll_GetExitCodeProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x449fb3
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x84]
call fcn.0040d018
mov edx, dword [ebp - 0x84]
mov al, 4
call fcn.0043abfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x449fe5
lea eax, [ebp - 0x84]
mov edx, 4
call fcn.00404cac
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00404cac
ret
Function at 0x450684
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x450780
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, pe_nt_image_headers32
push ebx
lea eax, [ebp - 0x104]
push eax
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
jle 0x450753
mov eax, esi
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404ef8
lea eax, [ebp - 0x10c]
call fcn.0045062c
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.00409340
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.00409584
mov edx, dword [ebp - 4]
mov eax, 0x450798
call fcn.004052a8
test eax, eax
jle 0x45075a
push 0xfffffffffffffff0
call sub.user32.dll_GetFocus
push eax
call sub.user32.dll_GetWindowLongA
test al, 0x20
je 0x45075a
mov eax, dword [esi]
call fcn.00404f64
mov edi, eax
test edi, edi
jbe 0x45075a
mov ebx, 1
mov eax, esi
call fcn.004051bc
mov byte [eax + ebx - 1], 0x2a
inc ebx
dec edi
jne 0x450741
jmp 0x45075a
mov eax, esi
call fcn.00404c88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450787
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00404cac
lea eax, [ebp - 4]
call fcn.00404c88
ret

Function at 0x4534a8
Capabilities:
Terminate thread

Disassembly:
call fcn.0042496c
test al, al
jne 0x453505
cmp dword [0x4d66d4], 0
je 0x453505
mov eax, dword [0x4d66d4]
call fcn.00421730
mov eax, dword [0x4d5668]
call fcn.0043b274
test al, al
jne 0x4534e4
push 0xffffffffffffffff
mov eax, dword [0x4d66d4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
jmp 0x4534f4
push 1
mov eax, dword [0x4d66d4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, dword [0x4d66d4]
call fcn.00403d94
xor eax, eax
mov dword [0x4d66d4], eax
ret
Function at 0x4537b4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
lea esi, [ebp - 4]
call fcn.0043bc40
mov dword [esi], eax
mov eax, dword [esi]
mov ebx, dword [eax]
dec ebx
jmp 0x4537ce
dec ebx
test ebx, ebx
jl 0x4537dd
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp dword [eax + ebx*8], 0
je 0x4537cd
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*8]
test eax, eax
je 0x453828
mov dword [0x4d6660], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8]
call fcn.00453664
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8]
call fcn.00453664
mov dword [0x4d66a8], eax
mov eax, 0x453788
mov edx, dword [0x4d66a8]
mov dword [edx], eax
mov eax, dword [esi]
mov ebx, dword [eax]
dec ebx
jmp 0x453830
dec ebx
test ebx, ebx
jl 0x453840
mov eax, dword [esi]
mov eax, dword [eax + 4]
cmp dword [eax + ebx*8 + 4], 0
je 0x45382f
mov eax, dword [esi]
mov eax, dword [eax + 4]
mov eax, dword [eax + ebx*8 + 4]
test eax, eax
je 0x45387c
mov dword [0x4d6664], eax
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov eax, dword [esi]
mov eax, dword [eax + 4]
lea eax, [eax + ebx*8 + 4]
call fcn.00453664
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, 0x4537a4
mov edx, dword [esi]
mov edx, dword [edx + 4]
mov dword [edx + ebx*8 + 4], eax
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x455cb4
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 0x455cba
ret

Function at 0x458540
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 0x458591
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x458578
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x458568
jmp 0x458591
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 0x458579
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46571c
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.00405164
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x465774
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4d47dc]
mov dl, 1
mov eax, dword [0x4652d4]
call fcn.0040d958
call fcn.004045f8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004653dc
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 0x469afc
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 0x469a48
call sub.user32.dll_EnumWindows
ret

Function at 0x469c1c
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 0x469c99
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0046967c
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 0x469c41
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0046927c
cmp dword [ebp - 4], 0
je 0x469c83
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00405164
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 0x469ca0
lea eax, [ebp - 4]
call fcn.00404c88
ret
Function at 0x46cb50
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 [0x4d72a0], 0
je 0x46cc9f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4d461c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x46cc9f
mov eax, dword [0x4d72a4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4d72a0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x46cc6e
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4d72a0]
call fcn.0041b704
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x46cc66
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x46cc66
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x46cc66
mov eax, dword [ebp - 0x14]
call fcn.00475870
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46cc66
push ebp
call fcn.0046cb0c
pop ecx
test al, al
jne 0x46cc66
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x46cc22
mov eax, dword [ebp - 0x14]
call fcn.00474368
dec eax
jle 0x46cc66
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.00403f9c
cmp byte [ebp - 1], 0
je 0x46cc66
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x46cc66
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4d72a4]
call fcn.0046c2d8
inc edi
dec ebx
jne 0x46cbb5
mov eax, dword [0x4d72a4]
cmp dword [eax + 8], 0
jle 0x46cc86
mov eax, dword [0x4d72a4]
call fcn.0046c368
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x46cc9f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0046c974
pop ecx
test al, al
jne 0x46cc9f
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