joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4575bc
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 [0x4fdcc8], 0
je 0x457705
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4f85c4]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x457705
mov eax, dword [0x4fdccc]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4fdcc8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4576d4
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4fdcc8]
call fcn.0041909c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4576cc
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x4576cc
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4576cc
mov eax, dword [ebp - 0x14]
call fcn.00461ebc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4576cc
push ebp
call fcn.00457578
pop ecx
test al, al
jne 0x4576cc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403f20
test al, al
je 0x4576cc
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, 0xffbc
call fcn.00403f20
cmp byte [ebp - 1], 0
je 0x4576cc
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4576cc
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4fdccc]
call fcn.00456ce8
inc edi
dec ebx
jne 0x457621
mov eax, dword [0x4fdccc]
cmp dword [eax + 8], 0
jle 0x4576ec
mov eax, dword [0x4fdccc]
call fcn.00456da0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x457705
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004573dc
pop ecx
test al, al
jne 0x457705
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
Function at 0x45ed90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406ebc
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00459944
test ebx, ebx
jne 0x45ede3
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0045eccc
mov ebx, eax
test ebx, ebx
je 0x45eece
cmp esi, ebx
je 0x45ee0c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x45ee21
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x45ee59
add eax, 0xffffff5f
sub eax, 2
jb 0x45ee71
dec eax
sub eax, 2
jb 0x45ee85
dec eax
sub eax, 2
jb 0x45ee7b
jmp 0x45ee8f
add eax, 0xfffffdff
sub eax, 2
jb 0x45ee71
dec eax
sub eax, 2
jb 0x45ee85
dec eax
sub eax, 2
jb 0x45ee7b
jmp 0x45ee8f
mov byte [esp + 0x120], 0
jmp 0x45ee97
mov byte [esp + 0x120], 2
jmp 0x45ee97
mov byte [esp + 0x120], 1
jmp 0x45ee97
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0043b888
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0045b0fc
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x45eed0
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x4672f4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4f87ac]
cmp byte [eax + 0xc], 0
je 0x467461
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46745a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4fdcd8], 0
jne 0x467348
push 0x467468
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x467470
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fdcd8], eax
cmp dword [0x4f48bc], 0
jne 0x467443
push 0x467480
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4f48bc], eax
cmp dword [0x4f48bc], 0
je 0x467443
push 0x46748c
mov eax, dword [0x4f48bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fdcdc], eax
push 0x46749c
mov eax, dword [0x4f48bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fdce0], eax
push 0x4674b0
mov eax, dword [0x4f48bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fdce4], eax
push 0x4674c8
mov eax, dword [0x4f48bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fdce8], eax
push 0x4674e0
mov eax, dword [0x4f48bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fdcec], eax
push 0x4674f4
mov eax, dword [0x4f48bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fdcf0], eax
push 0x46750c
mov eax, dword [0x4f48bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fdcf4], eax
push 0x467524
mov eax, dword [0x4f48bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fdcf8], eax
push 0x467540
mov eax, dword [0x4f48bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fdcfc], eax
push 0x46754c
mov eax, dword [0x4f48bc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4fdd00], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467461
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x468108
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4681a1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00404b70
push 0xff
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
jbe 0x468176
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x108]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404de0
mov eax, dword [ebp - 0x108]
mov ecx, 2
xor edx, edx
call fcn.00405068
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404bc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4681a8
lea eax, [ebp - 0x108]
call fcn.00404b70
lea eax, [ebp - 4]
call fcn.00404b70
ret
Function at 0x4681b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46821f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.00404b70
lea eax, [ebp - 0x104]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
test eax, eax
jbe 0x4681ff
lea eax, [ebp - 4]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.00404de0
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404bc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468226
lea eax, [ebp - 4]
call fcn.00404b70
ret
Function at 0x4685d8
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffadc
push ebx
xor edx, edx
mov dword [ebp - 0x524], edx
mov dword [ebp - 0x520], edx
mov dword [ebp - 0x51c], edx
mov dword [ebp - 0x518], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46873f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x40d], 0
lea eax, [ebp - 0x40c]
push eax
push 0x3fe
call sub.kernel32.dll_GetLogicalDriveStringsA
test eax, eax
jne 0x468658
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x518]
call fcn.0040c5b0
mov ecx, dword [ebp - 0x518]
mov dl, 1
mov eax, dword [0x4081d8]
call fcn.0040cdc4
call fcn.00404598
lea ecx, [eax + 1]
lea edx, [ebp - 0x40d]
lea eax, [ebp - 4]
call fcn.00404c60
lea edx, [ebp - 0x51c]
mov eax, dword [ebp - 4]
call fcn.00408c94
mov edx, dword [ebp - 0x51c]
lea eax, [ebp - 4]
call fcn.00404c08
push 0x104
lea eax, [ebp - 0x512]
push eax
mov eax, ebx
call fcn.00405000
push eax
call sub.kernel32.dll_GetShortPathNameA
test eax, eax
jne 0x4686c9
call sub.kernel32.dll_GetLastError_1
lea edx, [ebp - 0x520]
call fcn.0040c5b0
mov ecx, dword [ebp - 0x520]
mov dl, 1
mov eax, dword [0x4081d8]
call fcn.0040cdc4
call fcn.00404598
lea edx, [ebp - 0x512]
lea ecx, [ebp - 8]
xchg ecx, eax
call fcn.00404c60
lea edx, [ebp - 0x524]
mov eax, dword [ebp - 8]
call fcn.00408c94
mov edx, dword [ebp - 0x524]
lea eax, [ebp - 8]
call fcn.00404c08
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.0040db70
push ebp
mov eax, dword [ebp - 0xc]
call fcn.004682a4
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468746
lea eax, [ebp - 0x524]
mov edx, 4
call fcn.00404b94
lea eax, [ebp - 0xc]
call fcn.00404b70
lea eax, [ebp - 8]
call fcn.00404b70
lea eax, [ebp - 4]
call fcn.00404b70
ret
Function at 0x471ee4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x471f12
mov eax, ebx
call fcn.00472998
cmp dword [ebx + 0x40], 0
je 0x471f0b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x471f83
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x471f75
cmp dword [ebx + 8], 0
je 0x471f34
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x471f46
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x471f75
cmp dword [ebx + 8], 0
je 0x471f27
cmp eax, 3
je 0x471f59
dec eax
jne 0x471f27
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x471f27
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x471f27
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x471fa1
cmp dword [ebx + 0x14], 0xcc
je 0x471fa1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00471fac
pop ebx
ret
Function at 0x487620
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x487691
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x4f800c]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x48767b
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.00487610
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x48740c]
call fcn.004876b8
mov dword [0x4f8070], eax
mov eax, dword [ebp - 4]
call fcn.004875c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487698
lea eax, [ebp - 8]
call fcn.004067f0
ret

Function at 0x489294
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x48934e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405350
mov eax, dword [0x4f8794]
cmp dword [eax], 2
jne 0x489303
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.0040559c
mov eax, dword [ebx]
call fcn.004054c0
push eax
mov eax, dword [ebx]
call fcn.004054b0
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004054c0
mov edx, eax
dec edx
mov eax, ebx
call fcn.0040559c
jmp 0x489335
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.00409e98
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004054a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x489355
lea eax, [ebp - 0x3f0]
call fcn.00404b70
ret
Function at 0x4a5a58
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe0
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x4a5a70
mov eax, ebx
call fcn.004a531c
cmp dword [ebx + 0x68], 0
jne 0x4a5a7d
mov eax, ebx
call fcn.004a52a4
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x6c]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x10]
mov eax, ebx
call fcn.004a5124
lea eax, [esp + 0x10]
xor edx, edx
call fcn.004e3c70
cmp eax, dword [esp]
je 0x4a5aeb
lea eax, [esp + 0x10]
xor edx, edx
call fcn.004e3c84
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x4a5ac7
adc edx, 0
push edx
lea eax, [esp + 0x14]
xor edx, edx
call fcn.004e3c70
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x4a5ae0
adc edx, 0
push edx
lea eax, [esp + 0x18]
push eax
call sub.user32.dll_InflateRect
mov esi, dword [ebx + 0x48]
test esi, esi
je 0x4a5b06
push 3
mov eax, dword [esi + 0x10]
call fcn.00461ebc
push eax
call sub.user32.dll_GetWindow
mov esi, eax
jmp 0x4a5b13
push 3
mov eax, dword [ebx + 0x50]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x10]
mov eax, dword [ebx + 0x68]
call fcn.00443348
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.00443384
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.004594fc
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.00459530
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.00417c24
mov eax, ebp
mov edx, dword [0x4f82f8]
mov byte [edx + 2], al
mov eax, dword [0x4f82f8]
mov byte [eax], 0
mov eax, dword [0x4f82f8]
mov byte [eax + 1], 0
mov eax, dword [0x4f82f8]
mov byte [eax + 3], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00461ebc
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.00461ebc
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x68]
call fcn.00461ebc
push eax
call sub.user32.dll_SetWindowLongA
push 2
mov eax, dword [0x4f82f8]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.0042b0e4
call fcn.00426b4c
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00461ebc
push eax
mov eax, dword [0x4f82dc]
mov eax, dword [eax]
call eax
push 4
mov eax, dword [ebx + 0x68]
call fcn.00461ebc
push eax
call sub.user32.dll_ShowWindow
push 0
push esi
call sub.user32.dll_ReleaseDC
add esp, 0x20
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c2ac4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, ebx
call fcn.004c2ab0
test eax, eax
jne 0x4c2ae5
mov eax, esi
call fcn.00404b70
jmp 0x4c2b76
mov eax, ebx
call fcn.004c2c0c
test al, al
je 0x4c2b2b
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.00404c60
test edi, edi
je 0x4c2b22
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4c2b76
mov eax, esi
call fcn.00404b70
jmp 0x4c2b76
mov ebp, dword [ebx + 0x70]
test ebp, ebp
je 0x4c2b6f
mov eax, dword [ebp + 0x250]
call fcn.00419e00
test eax, eax
jle 0x4c2b5d
mov eax, dword [ebx + 0x70]
mov eax, dword [eax + 0x250]
mov edx, edi
call fcn.0046ee4c
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.00404bc4
jmp 0x4c2b76
mov eax, esi
mov edx, dword [ebx + 0x70]
mov edx, dword [edx + 0x258]
call fcn.00404bc4
jmp 0x4c2b76
mov eax, esi
call fcn.00404b70
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4e2b0c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, eax
mov ebx, dword [ebp + 8]
add ebx, 0xffffffc4
mov esi, dword [ebp + 8]
add esi, 0xffffffbc
xor eax, eax
push ebp
push 0x4e2cbf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042b0e4
mov eax, dword [eax + 0xc]
mov edx, dword [esi]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0x70]
mov edx, dword [edx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x48]
call fcn.0044d364
call fcn.004860c4
mov edx, dword [ebp + 8]
mov dword [edx - 0x4c], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 0x4c], 0
je 0x4e2b90
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x4c]
mov eax, dword [eax + 0x68]
call fcn.00425d20
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042b0e4
mov eax, dword [eax + 0xc]
pop edx
call fcn.00425d28
mov eax, dword [ebp + 8]
mov dword [eax - 0x50], ebx
lea edx, [ebp - 4]
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00425bf4
mov edx, dword [ebp - 4]
lea eax, [ebx + 0x1c]
call fcn.00409d18
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x50]
push eax
push 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042b0e4
call fcn.00426b4c
push eax
call sub.gdi32.dll_GetObjectA
mov dword [ebx + 8], edi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00425c68
mov dword [ebx], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00425ca4
test al, 8
setne al
mov byte [ebx + 0x16], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00425ca4
test al, 2
setne al
mov byte [ebx + 0x14], al
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00425ca4
test al, 4
setne al
mov byte [ebx + 0x15], al
mov dword [ebx + 0x10], 0x190
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x70]
mov eax, dword [eax + 0x10]
call fcn.00425d20
mov byte [ebx + 0x17], al
xor eax, eax
mov dword [ebx + 4], eax
mov byte [ebx + 0x18], 0
mov byte [ebx + 0x19], 0
mov eax, dword [ebx + 8]
mov dword [ebx + 0xc], eax
mov byte [ebx + 0x1b], 0
mov byte [ebx + 0x1a], 0
push ebx
call sub.gdi32.dll_CreateFontIndirectA
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042b0e4
mov eax, dword [eax + 0xc]
pop edx
call fcn.00425b98
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x40]
call fcn.0042b0e4
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 0x54], 0x23
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x94]
mov edx, dword [ecx + edx*4 + 0xc]
call fcn.0042591c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2cc6
lea eax, [ebp - 4]
call fcn.00404b70
ret
Function at 0x4e40a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
mov eax, dword [0x4f85c4]
mov eax, dword [eax]
call fcn.0044649c
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, esi
jb 0x4e40ab
pop esi
pop ebx
ret

Function at 0x4e4614
Capabilities:
Get file system object information

Disassembly:
push ebx
push esi
add esp, 0xfffffe9c
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [esp], eax
mov eax, ebx
call fcn.00409898
test al, al
je 0x4e469b
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x160
call fcn.00403658
or esi, 0x100
test esi, esi
jns 0x4e464f
call fcn.00403bec
push esi
push 0x160
lea eax, [esp + 0xc]
push eax
push 0
mov eax, ebx
call fcn.00405000
push eax
call sub.shell32.dll_SHGetFileInfoA
test eax, eax
je 0x4e469b
mov dl, 1
mov eax, dword [0x424a04]
call fcn.0042c6bc
mov dword [esp], eax
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.0042ca90
mov eax, dword [esp]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
je 0x4e469b
mov eax, esp
call fcn.0040eabc
mov eax, dword [esp]
add esp, 0x164
pop esi
pop ebx
ret

Function at 0x4e4964
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x4fe03c
test esi, esi
jne 0x4e497e
xor eax, eax
jmp 0x4e4a6f
cmp dword [ebp], 0
jne 0x4e4989
call fcn.004e48f4
xor ebx, 0xffffffff
cmp edi, 8
jb 0x4e4a49
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
movzx eax, al
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x4e4995
test edi, edi
jbe 0x4e4a6a
movzx eax, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x4e4a4d
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ef67c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x4ef6f4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x54]
xor ecx, ecx
mov edx, 0x44
call fcn.00403658
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], 5
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push 0
push 0x40
push 0
push 0
push 0
mov eax, esi
call fcn.00405000
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4ef6e6
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ef6fb
ret

Function at 0x4f0128
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
xor eax, eax
push ebp
push 0x4f01f9
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040338c
lea edx, [ebp - 8]
xor eax, eax
call fcn.0040332c
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00409b28
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4f016d
sub ebx, 4
mov ebx, dword [ebx]
lea edx, [ebp - 0x14]
xor eax, eax
call fcn.0040332c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00409b60
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4f0194
sub eax, 4
mov eax, dword [eax]
mov edx, eax
mov eax, ebx
call fcn.004f0004
mov eax, dword [0x4f8784]
call fcn.0046885c
mov edx, dword [0x4f82c0]
mov byte [edx], al
mov eax, dword [0x4f82c0]
cmp byte [eax], 6
je 0x4f01c3
mov eax, dword [0x4f82c0]
cmp byte [eax], 7
jne 0x4f01cf
push 0
push 0x4f0208
call sub.kernel32.dll_WinExec
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f0200
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404b94
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404b94
ret