joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403690
Capabilities:
Parse pe header

Disassembly:
sub esp, 0x110
mov eax, dword [0x449590]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebp
mov ebp, dword [esp + 0x118]
mov eax, 0x5a4d
cmp word [ebp], ax
je 0x4036cf
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0042433d
add esp, 0x110
ret
mov eax, dword [ebp + 0x3c]
add eax, ebp
cmp dword [eax], 0x4550
mov dword [esp + 8], eax
jne 0x4036b7
mov eax, dword [eax + 0x78]
mov ecx, dword [eax + ebp + 0x1c]
mov edx, dword [esp + 0x11c]
add eax, ebp
push ebx
mov ebx, dword [eax + 0x10]
add ecx, ebp
push edi
cmp edx, ebx
jb 0x403837
mov edi, dword [eax + 0x14]
sub edx, ebx
cmp edx, edi
ja 0x403837
push esi
mov esi, dword [ecx + edx*4]
add esi, ebp
cmp esi, eax
jb 0x4037ab
mov edx, dword [esp + 0x14]
mov edx, dword [edx + 0x7c]
add edx, eax
cmp esi, edx
jae 0x4037ab
push 0x2e
push esi
call fcn.00424a30
mov edi, eax
add esp, 8
test edi, edi
je 0x403771
push 0x104
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00424c20
mov ecx, edi
sub ecx, esi
push ecx
lea edx, [esp + 0x28]
push esi
push edx
call fcn.00424af0
add esp, 0x18
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x40378c
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.0042433d
add esp, 0x110
ret
inc edi
push edi
push esi
call fcn.00403480
push eax
push esi
call fcn.00403690
add esp, 0x10
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
jmp 0x403773
cmp edi, 1
mov eax, SysReAllocString
mov dword [esp + 0x10], eax
jl 0x4037e9
lea edx, [ebx*4]
sub ecx, edx
add ecx, 4
mov edx, ecx
mov ecx, ebp
sub ecx, esi
add ecx, dword [edx]
test ecx, ecx
jle 0x4037db
cmp dword [esp + 0x10], ecx
jl 0x4037db
mov dword [esp + 0x10], ecx
add edx, 4
sub edi, 1
jne 0x4037c7
cmp dword [esp + 0x10], eax
jne 0x40382e
mov edi, dword [esp + 0x14]
movzx eax, word [edi + 6]
xor ebx, ebx
test eax, eax
jle 0x40382e
add edi, 0x10
lea ebx, [ebx]
test byte [edi + 0x18], 0x20
je 0x403817
mov ecx, dword [edi]
mov edx, dword [edi - 4]
add ecx, ebp
add edx, ecx
cmp esi, ecx
jb 0x403817
cmp esi, edx
jbe 0x403828
inc ebx
add edi, 0x28
cmp ebx, eax
jl 0x403800
mov eax, dword [esp + 0x10]
jmp 0x403773
sub edx, esi
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
jmp 0x403773
mov ecx, dword [esp + 0x118]
pop edi
pop ebx
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0042433d
add esp, 0x110
ret
Function at 0x403f10
Capabilities:
Resume thread

Disassembly:
push ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x57
mov dword [esp + 8], 0
call edi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x403e0d
cmp dword [eax], 0xc
je 0x403e06
xor eax, eax
pop edi
pop ecx
ret
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
push ebx
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x403e27
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00403d90
add esp, 4
test eax, eax
jne 0x403e2d
pop ebx
xor eax, eax
pop edi
pop ecx
ret
push esi
push eax
call fcn.00403940
mov esi, eax
add esp, 4
test esi, esi
je 0x403e4a
test dword [esi + 0x20], 0x30800000
je 0x403e51
push 0x57
call edi
pop esi
pop ebx
xor eax, eax
pop edi
pop ecx
ret
push 0xffffffffffffffff
call fcn.00403940
add esp, 4
test eax, eax
je 0x403e4a
push ebp
mov ebp, dword [esp + 0x20]
cmp esi, eax
je 0x403e75
test ebp, ebp
jne 0x403e73
mov ebp, 0xffffd000
jmp 0x403e75
neg ebp
test dword [esp + 0x2c], 0x80000000
mov edi, 0x48
je 0x403e89
mov edi, 0x58
mov edx, dword [0x44aa88]
push edx
call dword [0x44aaa0]
mov eax, dword [0x44aaec]
test eax, eax
je 0x403ea6
push eax
call dword [0x44aaa0]
mov eax, dword [esp + 0x28]
push edi
push eax
push ebx
push ebp
push esi
call dword [0x44aaa8]
mov esi, eax
mov eax, dword [0x44aaec]
pop ebp
test eax, eax
je 0x403ec8
push eax
call dword [0x44aafc]
mov ecx, dword [0x44aa88]
push ecx
call dword [0x44aafc]
mov eax, dword [0x44aaac]
mov ecx, dword [esp + 0x2c]
xor eax, esi
test ecx, ecx
je 0x403ee6
mov dword [ecx], eax
mov edx, dword [esp + 0xc]
push eax
push edx
push 0x1fffff
call fcn.00403b40
add esp, 0xc
test byte [esp + 0x28], 4
mov esi, eax
jne 0x403f09
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
pop esi
pop ebx
pop edi
pop ecx
ret
cmp dword [0x44aabc], 0
je 0x403f1e
jmp 0x403de0
cmp dword [0x44aab0], 0
je 0x403f51
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
call dword [0x44aaa4]
ret
xor eax, eax
ret
Function at 0x406f38
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x406f80
call fcn.0041166e
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x406f80
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x406fc3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x406fac
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x406fac
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x406fc0
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x408514
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x408538
cmp dword [edi + 0x54], 0
jne 0x408538
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0041166e
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004084d5
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x410134
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x41017b
call fcn.0041166e
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41017b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x410197
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040fcae
mov esi, eax
test edi, edi
je 0x410195
test ebx, ebx
je 0x410195
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x41090e
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x437343
call fcn.00425512
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x410933
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x410979
lea ecx, [ebp - 0x10]
call fcn.004033c0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004090f2
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004033a0
mov eax, esi
call fcn.004255ea
ret 8

Function at 0x42433d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x449590]
jne 0x424347
repz ret
jmp fcn.00428f6f

Function at 0x432b0d
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.004290e7
and dword [ebp - 4], 0
cmp dword [0x44d3f4], 0
mov ebx, eax
jne 0x432bbe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x432c6f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43ef84
push edi
call esi
test eax, eax
je 0x432c6f
push eax
call fcn.00429075
mov dword [esp], 0x43ef74
push edi
mov dword [0x44d3f4], eax
call esi
push eax
call fcn.00429075
mov dword [esp], 0x43ef60
push edi
mov dword [0x44d3f8], eax
call esi
push eax
call fcn.00429075
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44d3fc], eax
call esi
push eax
call fcn.00429075
pop ecx
mov dword [0x44d404], eax
test eax, eax
je 0x432bbe
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00429075
pop ecx
mov dword [0x44d400], eax
mov eax, dword [0x44d400]
cmp eax, ebx
je 0x432c16
cmp dword [0x44d404], ebx
je 0x432c16
push eax
call fcn.004290f0
push dword [0x44d404]
mov esi, eax
call fcn.004290f0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x432c16
test edi, edi
je 0x432c16
call esi
test eax, eax
je 0x432c0d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x432c0d
test byte [ebp - 0xc], 1
jne 0x432c16
or dword [ebp + 0x10], 0x200000
jmp 0x432c4f
mov eax, dword [0x44d3f8]
cmp eax, ebx
je 0x432c4f
push eax
call fcn.004290f0
pop ecx
test eax, eax
je 0x432c4f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x432c4f
mov eax, dword [0x44d3fc]
cmp eax, ebx
je 0x432c4f
push eax
call fcn.004290f0
pop ecx
test eax, eax
je 0x432c4f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44d3f4]
call fcn.004290f0
pop ecx
test eax, eax
je 0x432c6f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x432c71
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x405c80
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 0x405ce6
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.00404208
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c84
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405cd0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ced
lea eax, [ebp - 0x10]
call fcn.00403f98
ret

Function at 0x408530
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404458
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408549
test al, 0x10
jne 0x40854d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b22c
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 0x40b265
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404088
jmp 0x40b26e
mov eax, ebx
mov edx, esi
call fcn.00403fec
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b920
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b798
mov eax, dword [0x457094]
cmp byte [eax], 0
je 0x40b99c
mov eax, dword [0x456ea4]
call fcn.00402af0
call fcn.00402824
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.00408948
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 0x40b9e4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b9d2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x456e54]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x458664]
call fcn.00405194
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 0x40c238
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 0x40c30e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404030
lea eax, [ebp - 8]
call fcn.004044a8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404458
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c2f8
mov eax, ebx
call fcn.004026bc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c2f1
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.00404458
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c2db
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c320
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c2db
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 0x40c2f8
mov eax, dword [ebp - 0x10]
call fcn.004026dc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c315
lea eax, [ebp - 8]
call fcn.00403f98
ret

Function at 0x40c88c
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 0x40c8f0
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.00404208
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004081b0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8f7
lea eax, [ebp - 0xc]
call fcn.00403f98
ret

Function at 0x41ab4c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x458884
cmp dword [edi], 0
jne 0x41abc8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x458880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4563ec
mov ecx, 2
call fcn.004028b8
mov edx, 0x41ab24
lea eax, [esi + 5]
call fcn.0041ab44
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041ab44
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 0x41ab9d
mov dword [0x458880], 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 0x41c14c
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 0x41c152
ret
Function at 0x41e5e8
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 0x41e639
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41e620
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41e610
jmp 0x41e639
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 0x41e621
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4271bc
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.00404448
xor eax, eax
push ebp
push 0x4272ea
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4272bd
xor eax, eax
push ebp
push 0x4272b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404258
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42728b
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 0x42727a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404258
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404458
mov edx, ebx
pop ecx
call fcn.004028b8
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 0x427281
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x456e00]
mov dl, 1
mov eax, dword [0x407070]
call fcn.0040baa4
call fcn.004039d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4272f1
lea eax, [ebp - 4]
call fcn.00403f98
ret
Function at 0x4272f8
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 0x4274a9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404648
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4274c0
call fcn.004042a4
mov eax, ebx
call fcn.0041a0e0
mov edi, eax
dec edi
test edi, edi
jl 0x4273b0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041a0b4
mov edx, dword [0x42b4b0]
call fcn.004033d4
test al, al
je 0x4273ac
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041a0b4
lea edx, [ebp - 0x14]
call fcn.004327f4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404648
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404318
inc esi
dec edi
jne 0x42735e
mov al, byte [0x4274c4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4274d0
mov eax, dword [ebp - 0xc]
call fcn.0040ce64
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404030
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.004327f4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4274c0
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.004327f4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4274c0
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, 0x4274c0
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, 0x4274dc
call fcn.00409024
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4274b0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00403fbc
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403fbc
lea eax, [ebp - 0x14]
call fcn.00403f98
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00403fbc
ret

Function at 0x42d364
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 0x42d2b0
call sub.user32.dll_EnumWindows
ret
Function at 0x42d484
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 0x42d501
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042cee4
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 0x42d4a9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042cae4
cmp dword [ebp - 4], 0
je 0x42d4eb
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404458
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 0x42d508
lea eax, [ebp - 4]
call fcn.00403f98
ret

Function at 0x430354
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 [0x458b88], 0
je 0x4304a3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x457030]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4304a3
mov eax, dword [0x458b8c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x458b88]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x430472
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x458b88]
call fcn.0041411c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x43046a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x43046a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x43046a
mov eax, dword [ebp - 0x14]
call fcn.00438fd0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43046a
push ebp
call fcn.00430310
pop ecx
test al, al
jne 0x43046a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x430426
mov eax, dword [ebp - 0x14]
call fcn.00437b00
dec eax
jle 0x43046a
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.00403444
cmp byte [ebp - 1], 0
je 0x43046a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x43046a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x458b8c]
call fcn.0042fadc
inc edi
dec ebx
jne 0x4303b9
mov eax, dword [0x458b8c]
cmp dword [eax + 8], 0
jle 0x43048a
mov eax, dword [0x458b8c]
call fcn.0042fb6c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4304a3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00430178
pop ecx
test al, al
jne 0x4304a3
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