joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40626c
Capabilities:
Read file on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdb0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
push 0x406400
call sub.KERNEL32.DLL_QueryPerformanceFrequency
mov esi, eax
test esi, esi
je 0x4062d4
push 0x406410
push esi
call sub.KERNEL32.DLL_ReadFile
mov ebx, eax
test ebx, ebx
je 0x4062d4
push 0x105
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call ebx
test eax, eax
je 0x4062d4
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetEvent
jmp 0x4063f6
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x406314
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x5c
jne 0x4063f6
mov eax, dword [ebp - 4]
add eax, 2
call fcn.00406258
mov esi, eax
cmp byte [esi], 0
je 0x4063f6
lea eax, [esi + 1]
call fcn.00406258
mov esi, eax
cmp byte [esi], 0
je 0x4063f6
jmp 0x40631a
mov esi, dword [ebp - 4]
add esi, 2
mov ebx, esi
sub ebx, dword [ebp - 4]
lea eax, [ebx + 1]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x24f]
push eax
call sub.KERNEL32.DLL_SetEvent
jmp 0x4063d9
lea eax, [esi + 1]
call fcn.00406258
mov edi, eax
mov eax, edi
sub eax, esi
mov edx, eax
add edx, ebx
inc edx
cmp edx, 0x105
jg 0x4063f6
inc eax
push eax
push esi
lea eax, [ebp - 0x24f]
add eax, ebx
push eax
call sub.KERNEL32.DLL_SetEvent
lea eax, [ebp - 0x14a]
push eax
lea eax, [ebp - 0x24f]
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov esi, eax
cmp esi, 0xffffffff
je 0x4063f6
push esi
call sub.KERNEL32.DLL_LeaveCriticalSection
lea eax, [ebp - 0x11e]
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
lea edx, [ebx + 1]
add eax, edx
inc eax
cmp eax, 0x105
jg 0x4063f6
mov byte [ebp + ebx - 0x24f], 0x5c
mov eax, 0x105
sub eax, ebx
dec eax
push eax
lea eax, [ebp - 0x11e]
push eax
lea eax, [ebp - 0x24f]
add eax, ebx
inc eax
push eax
call sub.KERNEL32.DLL_SetEvent
lea eax, [ebp - 0x11e]
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
inc eax
add ebx, eax
mov esi, edi
cmp byte [esi], 0
jne 0x406338
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x24f]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetEvent
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x406424
Capabilities:
Clear file content
Move file
Set file attributes

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_QueryPerformanceCounter
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406654
push 0x80000001
call sub.user32.dll_UnregisterClassA
test eax, eax
je 0x4064a7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406654
push 0x80000002
call sub.user32.dll_UnregisterClassA
test eax, eax
je 0x4064a7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406670
push 0x80000001
call sub.user32.dll_UnregisterClassA
test eax, eax
jne 0x406530
xor eax, eax
push ebp
push 0x406529
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.0040626c
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.user32.dll_UpdateWindow
test eax, eax
je 0x40650e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406690
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_UpdateWindow
test eax, eax
je 0x40650e
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 0x406530
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_UnionRect
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_SetEvent
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_SetEndOfFile
push eax
call sub.KERNEL32.DLL_MoveFileA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40664a
cmp byte [ebp - 0xd], 0
jne 0x406577
cmp byte [ebp - 0x12], 0
je 0x40664a
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406590
dec ebx
cmp byte [ebx], 0x2e
je 0x40659f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40658f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40664a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4065dc
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_SetEvent
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_SetErrorMode
mov esi, eax
test esi, esi
jne 0x40664a
cmp byte [ebp - 0xd], 0
je 0x40664a
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_SetEvent
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_SetErrorMode
mov esi, eax
test esi, esi
jne 0x40664a
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_SetEvent
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_SetErrorMode
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40cc64
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x14c], eax
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x150], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40ce1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov ebx, dword [eax - 4]
cmp dword [ebx + 0x14], 0
jne 0x40ccb5
lea edx, [ebp - 4]
mov eax, dword [0x4c84b0]
call fcn.00406ccc
jmp 0x40ccc2
lea edx, [ebp - 4]
mov eax, dword [0x4c82dc]
call fcn.00406ccc
mov esi, dword [ebx + 0x18]
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0xc]
push eax
call sub.user32.dll_SetCursor
cmp dword [ebp - 0x10], 0x1000
jne 0x40cd94
push 0x105
lea eax, [ebp - 0x125]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.user32.dll_GetWindowTextA
test eax, eax
je 0x40cd94
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x148], eax
mov byte [ebp - 0x144], 5
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x125]
mov ecx, 0x105
call fcn.00404d18
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.00409868
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x140], eax
mov byte [ebp - 0x13c], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x138], eax
mov byte [ebp - 0x134], 0xb
mov dword [ebp - 0x130], esi
mov byte [ebp - 0x12c], 5
lea eax, [ebp - 0x148]
push eax
push 3
lea edx, [ebp - 0x154]
mov eax, dword [0x4c8370]
call fcn.00406ccc
mov ecx, dword [ebp - 0x154]
mov dl, 1
mov eax, dword [0x408848]
call fcn.0040c88c
mov ebx, eax
jmp 0x40cdee
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x16c], eax
mov byte [ebp - 0x168], 5
mov eax, dword [ebp - 4]
mov dword [ebp - 0x164], eax
mov byte [ebp - 0x160], 0xb
mov dword [ebp - 0x15c], esi
mov byte [ebp - 0x158], 5
lea eax, [ebp - 0x16c]
push eax
push 2
lea edx, [ebp - 0x170]
mov eax, dword [0x4c83d8]
call fcn.00406ccc
mov ecx, dword [ebp - 0x170]
mov dl, 1
mov eax, dword [0x408848]
call fcn.0040c88c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce26
lea eax, [ebp - 0x170]
call fcn.00404ab0
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.00404ad4
lea eax, [ebp - 4]
call fcn.00404ab0
ret

Function at 0x41a49c
Capabilities:
Log keystrokes via polling

Disassembly:
add eax, 8
push eax
call sub.user32.dll_GetKeyboardState
ret
Function at 0x4234c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
call sub.user32.dll_GetSubMenu
mov edx, dword [0x4c84a8]
cmp eax, dword [edx]
je 0x423509
call sub.user32.dll_GetSubMenu
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [0x4c82d4]
mov dl, 1
mov eax, dword [0x419868]
call fcn.0040c948
call fcn.004044f0
cmp byte [0x4c9a00], 0
je 0x4235e5
push 0x4c9a04
call sub.user32.dll_GetKeyboardState
xor eax, eax
push ebp
push 0x4235de
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c65f8], 0
je 0x423542
mov eax, dword [0x4c65f8]
cmp dword [eax + 8], 0
jg 0x423546
xor eax, eax
jmp 0x423548
mov al, 1
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x4235c6
jmp 0x4235b4
xor edx, edx
mov eax, dword [0x4c65f8]
call fcn.0041b2ec
mov dword [ebp - 8], eax
xor edx, edx
mov eax, dword [0x4c65f8]
call fcn.0041b1dc
xor eax, eax
push ebp
push 0x423591
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
mov eax, dword [ebx + 0x24]
call dword [ebx + 0x20]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4235a8
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
call sub.user32.dll_RemoveMenu
mov eax, dword [0x4c65f8]
cmp dword [eax + 8], 0
jg 0x423553
mov byte [0x4c9a00], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4235e9
push 0x4c9a04
call sub.user32.dll_OemToCharA
ret
mov byte [ebp - 1], 0
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x424678
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4c9a20
cmp dword [edi], 0
jne 0x4246f4
push pe_nt_image_headers32
push 0x1000
push 0x1000
push 0
call sub.user32.dll_SetClipboardData
mov esi, eax
mov eax, dword [0x4c9a1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4c65fc
mov ecx, 2
call fcn.0040296c
mov edx, 0x424650
lea eax, [esi + 5]
call fcn.00424670
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00424670
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 0x4246c9
mov dword [0x4c9a1c], 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 0x425c58
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 0x425c5e
ret

Function at 0x425ccc
Capabilities:
Log keystrokes via polling

Disassembly:
add eax, 8
push eax
call sub.user32.dll_GetKeyboardState
ret
Function at 0x427d48
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x10]
mov dl, byte [0x427d8c]
mov eax, ebx
call fcn.00427e88
mov eax, dword [ebp + 8]
call fcn.004264b4
push eax
push edi
push esi
mov eax, dword [ebx + 4]
push eax
call sub.user32.dll_EnumWindows
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x42c8b4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov dl, 1
mov eax, dword [0x425968]
call fcn.00403cf4
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42c93b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, dword [ebp - 8]
mov dword [eax + 0x10], esi
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 8]
mov esi, eax
lea edi, [edx + 0x18]
mov ecx, 0x15
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 8]
mov dl, byte [ebp + 0xc]
mov byte [eax + 0x70], dl
mov eax, dword [ebp - 8]
cmp dword [eax + 0x2c], 0
je 0x42c91d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], eax
mov eax, dword [ebp + 8]
mov edx, dword [0x419410]
call fcn.00403ed4
mov edx, dword [ebp - 8]
mov dword [edx + 0x6c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42c952
push 0x4c9a44
call sub.user32.dll_GetKeyboardState
xor edx, edx
push ebp
push 0x42c99b
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
call fcn.0042b204
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [edx + 0x28], eax
call fcn.0042b200
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c9a2
push 0x4c9a44
call sub.user32.dll_OemToCharA
ret

Function at 0x42df64
Capabilities:
Log keystrokes via polling

Disassembly:
add eax, 8
push eax
call sub.user32.dll_GetKeyboardState
ret
Function at 0x43094c
Capabilities:
Read clipboard data

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp], ecx
mov esi, edx
mov edi, eax
mov eax, dword [0x4c6934]
call fcn.00431504
mov ebp, eax
cmp dword [esp], 0
jle 0x430a04
mov ebx, dword [esp]
lea eax, [esp + 4]
push eax
push ebx
push esi
mov eax, ebp
call fcn.00427db4
push eax
call sub.user32.dll_CloseClipboard
jmp 0x4309aa
add ebx, esi
push ebx
push esi
call fcn.00407664
sub eax, esi
mov ebx, eax
lea eax, [esp + 4]
push eax
push ebx
push esi
mov eax, ebp
call fcn.00427db4
push eax
call sub.user32.dll_CloseClipboard
test ebx, ebx
jle 0x4309b9
mov eax, dword [edi]
add eax, dword [esp + 4]
cmp eax, dword [edi + 8]
jg 0x430989
mov edx, dword [edi + 0x10]
mov eax, dword [esp + 8]
cmp edx, eax
jge 0x4309ca
add eax, 2
mov dword [edi + 0x10], eax
push ebx
push esi
mov eax, dword [edi + 4]
push eax
mov eax, dword [edi]
push eax
mov eax, ebp
call fcn.00427db4
push eax
call sub.user32.dll_GetClipboardData
sub dword [esp], ebx
add esi, ebx
cmp dword [esp], 0
jle 0x4309f4
mov eax, edi
call fcn.00430910
jmp 0x4309fa
mov eax, dword [esp + 4]
add dword [edi], eax
cmp dword [esp], 0
jg 0x430970
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x43e73c
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 0x43e8ed
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405150
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x43e904
call fcn.00404db4
mov eax, ebx
call fcn.00423c18
mov edi, eax
dec edi
test edi, edi
jl 0x43e7f4
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00423bec
mov edx, dword [0x433b08]
call fcn.00403eb0
test al, al
je 0x43e7f0
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00423bec
lea edx, [ebp - 0x14]
call fcn.00445e84
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405150
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404e28
inc esi
dec edi
jne 0x43e7a2
mov al, byte [0x43e908]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43e914
mov eax, dword [ebp - 0xc]
call fcn.0040dc38
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404b48
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.00445e84
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43e904
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.00445e84
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43e904
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, 0x43e904
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, 0x43e920
call fcn.0040a128
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e8f4
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404ad4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404ad4
lea eax, [ebp - 0x14]
call fcn.00404ab0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404ad4
ret
Function at 0x4648e8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4648ff
add esp, 0xfffffff0
call fcn.00404088
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004235f4
mov eax, dword [0x4c822c]
cmp word [eax + 2], 0
jne 0x464927
mov eax, dword [0x4c822c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465fc4
mov eax, dword [0x4c8300]
cmp word [eax + 2], 0
jne 0x464941
mov eax, dword [0x4c8300]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004661bc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418abc]
call fcn.00403cf4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418abc]
call fcn.00403cf4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x425b0c]
call fcn.0042d948
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x464ac8
mov eax, dword [0x4c8124]
mov eax, dword [eax]
push eax
call fcn.004079f4
mov edx, eax
mov eax, esi
call fcn.0042dd18
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x46673c
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c8124]
mov eax, dword [eax]
push eax
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call fcn.00407a34
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d5f8
test eax, eax
je 0x464a36
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004099f0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d620
test eax, eax
je 0x464a4a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call fcn.00407634
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00404d18
mov eax, dword [0x4c7fb8]
cmp byte [eax], 0
jne 0x464a7e
mov eax, ebx
call fcn.00464bf0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00466918
mov eax, ebx
call fcn.004672c8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x464abe
call fcn.004040e0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x471d24
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x471dfc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4c9cb8], 0
jne 0x471de0
lea eax, [ebp - 4]
mov edx, 0x471e14
call fcn.00404b48
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404f60
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x471de0
mov eax, ebx
call fcn.00402764
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x471dd9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
push ebx
mov eax, dword [ebp - 8]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x471dc3
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x471e24
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x471dc3
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4c9cb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471de0
mov eax, dword [ebp - 0xc]
call fcn.00402784
ret
mov ebx, dword [0x4c9cb8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x471e03
lea eax, [ebp - 4]
call fcn.00404ab0
ret
Function at 0x4b4b5c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404f50
xor eax, eax
push ebp
push 0x4b4bf1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4c8434]
mov dword [eax], 0x18f13e8
mov eax, dword [ebp - 4]
call fcn.00404d68
test al, al
jbe 0x4b4bd1
mov byte [ebp - 5], al
mov bl, 1
mov eax, 0x80
call fcn.004031b4
or eax, 0x80
mov esi, ebx
and esi, 0xff
mov edx, dword [ebp - 4]
movzx edx, byte [edx + esi - 1]
xor eax, edx
push eax
lea eax, [ebp - 4]
call fcn.00404fb8
pop edx
mov byte [eax + esi - 1], dl
inc ebx
dec byte [ebp - 5]
jne 0x4b4b9c
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404b04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4bf8
lea eax, [ebp - 4]
call fcn.00404ab0
ret

Function at 0x4b62e8
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ecx, dword [ebp + 8]
test ecx, ecx
jle 0x4b6309
cmp ecx, 0x100
jle 0x4b631f
mov ecx, 0x4b63ac
mov dl, 1
mov eax, dword [0x408194]
call fcn.0040c850
call fcn.004044f0
xor ebx, ebx
mov esi, dword [ebp - 4]
lea edi, [ebp - 0x109]
mov byte [esi], bl
mov eax, ebx
cdq
idiv ecx
add edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [edi], al
inc ebx
inc edi
inc esi
cmp ebx, 0x100
jne 0x4b632a
xor esi, esi
mov ebx, 0x100
mov eax, dword [ebp - 4]
lea edx, [ebp - 0x109]
xor ecx, ecx
mov cl, byte [eax]
add esi, ecx
xor ecx, ecx
mov cl, byte [edx]
add esi, ecx
and esi, 0xff
mov cl, byte [eax]
mov byte [ebp - 9], cl
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + esi]
mov byte [eax], cl
mov ecx, dword [ebp - 4]
lea edi, [ecx + esi]
mov cl, byte [ebp - 9]
mov byte [edi], cl
inc edx
inc eax
dec ebx
jne 0x4b6353
mov edx, dword [ebp - 4]
add edx, 0x100
mov eax, dword [ebp - 4]
mov ecx, 0x100
call fcn.0040296c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4b63d8
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor eax, eax
xor ecx, ecx
mov ebx, dword [ebp + 8]
dec ebx
test ebx, ebx
jl 0x4b6465
inc ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 0
inc eax
and al, 0xff
xor ebx, ebx
mov bl, al
add cl, byte [edx + ebx]
and cl, 0xff
xor ebx, ebx
mov bl, al
mov bl, byte [edx + ebx]
mov byte [ebp - 5], bl
mov esi, ecx
and esi, 0xff
xor ebx, ebx
mov bl, al
lea edi, [edx + ebx]
mov bl, byte [edx + esi]
mov byte [edi], bl
mov bl, byte [ebp - 5]
mov byte [edx + esi], bl
xor ebx, ebx
mov bl, al
mov bl, byte [edx + ebx]
mov esi, ecx
and esi, 0xff
add bl, byte [edx + esi]
and bl, 0xff
mov byte [ebp - 5], bl
mov ebx, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov bl, byte [ebx + esi]
movzx esi, byte [ebp - 5]
xor bl, byte [edx + esi]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0xc]
mov byte [esi + edi], bl
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x4b63fb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8