joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461cac
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x461e57
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x461e38
mov dl, 1
mov eax, dword [0x417e18]
call fcn.004041c8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00405114
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x461e27
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00452e58
test al, al
je 0x461e1a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x461e68
lea eax, [ebp - 0x254]
call fcn.0040ac4c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x461e1a
xor eax, eax
push ebp
push 0x461e13
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x461ea0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x461dfc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405384
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x461dfc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00405384
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461e1a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x461d1d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041c7a8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x461e5e
lea eax, [ebp - 0x260]
call fcn.00405114
ret

Function at 0x462818
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4c8cd4]
cmp byte [eax + 0xad], 0
jne 0x462889
cmp dword [0x4c8cf0], 0
jne 0x46284a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4627d4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4c8cf0], eax
cmp dword [0x4c8cec], 0
jne 0x462865
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4c8cec], eax
cmp dword [0x4c8cf4], 0
jne 0x462889
push esp
push 0
push 0
push 0x462778
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4c8cf4], eax
pop edx
ret
Function at 0x462a5c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x462a73
add esp, 0xfffffff0
call fcn.0040451c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421064
mov eax, dword [0x4c3908]
cmp word [eax + 2], 0
jne 0x462a9b
mov eax, dword [0x4c3908]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00464768
mov eax, dword [0x4c3a98]
cmp word [eax + 2], 0
jne 0x462ab5
mov eax, dword [0x4c3a98]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00464974
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41778c]
call fcn.004041c8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41778c]
call fcn.004041c8
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41778c]
call fcn.004041c8
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x425eb4]
call fcn.0042dc78
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x462c6c
mov eax, dword [0x4c3708]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e04c
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x465038
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4c3708]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040ea64
test eax, eax
je 0x462bbc
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a268
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ea98
test eax, eax
je 0x462bd0
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00405384
mov byte [ebx + 0xd4], 0
push ebx
push 0x4641c0
call fcn.004221e0
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4c33fc]
cmp byte [eax], 0
jne 0x462c21
mov eax, ebx
call fcn.00462db0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0046524c
mov eax, ebx
call fcn.00465db0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x462c61
call fcn.00404574
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463030
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4630cf
cmp dword [ebx + 0x94], 0
jne 0x4630c9
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x462fb8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4630c9
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46308f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4630c9
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00419e7c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46309e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4632e8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4c8cd4]
cmp dword [eax + 0x30], 0
je 0x463445
test bl, bl
jne 0x463396
cmp dword [esi + 0x9c], 0
jne 0x46338b
mov eax, esi
call fcn.00465c2c
push eax
push 0x463214
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x46335c
mov eax, dword [0x4c8cd4]
call fcn.0046630c
test al, al
je 0x46335c
mov eax, dword [0x4c8cf8]
call fcn.004063e0
mov edi, eax
cmp edi, 0
jl 0x46335c
push 0
mov eax, dword [0x4c8cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x463346
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x46338b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419e7c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x46336b
inc dword [esi + 0x9c]
jmp 0x463445
cmp dword [esi + 0x9c], 0
jle 0x463445
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x463445
cmp dword [esi + 0x44], 0
je 0x4633f1
mov eax, dword [0x4c8cd4]
call fcn.0046630c
test al, al
je 0x4633f1
mov eax, dword [0x4c8cf8]
call fcn.004063e0
mov edi, eax
cmp edi, 0
jl 0x4633f1
push 5
mov eax, dword [0x4c8cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4633db
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x463420
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00419e7c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x463400
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4c8cf8
mov ecx, 1
mov edx, dword [0x4631f4]
call fcn.00406594
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x463f14
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x463f7e
mov eax, ebx
call fcn.0046630c
test al, al
jne 0x463f7e
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405204
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x463f6b
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x463f8b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405168
jmp 0x463f8b
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405168
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x465430
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46549e
mov eax, esi
call fcn.0044daf4
test al, al
je 0x46549e
mov eax, dword [ebx + 0x84]
call fcn.0044d754
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46549e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x465492
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044d754
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004455f0
jmp 0x46549e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046526c
pop esi
pop ebx
ret
Function at 0x47704c
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb0
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
lea eax, [esp + 0x10]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebp, dword [esp + 0x14]
call sub.kernel32.dll_GetCurrentProcessId
mov dword [esp + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
xor edi, edi
mov ebx, dword [esp + 0xc]
and ebx, 0xffff0000
mov eax, edi
shl eax, 0x10
sub ebx, eax
mov eax, ebp
not eax
inc eax
and eax, ebx
mov ebx, eax
push 4
push 0x3000
push ebp
push ebx
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
test esi, esi
je 0x4770c5
cmp esi, ebx
je 0x4770c5
push 0x8000
push 0
push esi
call sub.kernel32.dll_VirtualFree_1
inc edi
jmp 0x47713d
test esi, esi
jne 0x477146
push 0x1c
lea eax, [esp + 0x38]
push eax
push ebx
call sub.kernel32.dll_VirtualQuery_1
cmp dword [esp + 0x40], 0x118
jb 0x47713a
mov eax, dword [esp + 0x48]
and eax, 4
cmp eax, 4
jne 0x47713a
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
cmp edx, dword [ebx + 4]
jne 0x47713a
cmp eax, dword [ebx]
jne 0x47713a
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
cmp edx, dword [ebx + 0x114]
jne 0x47713a
cmp eax, dword [ebx + 0x110]
jne 0x47713a
lea eax, [ebx + 8]
mov edx, dword [esp]
movzx ecx, byte [eax]
inc ecx
call fcn.00403920
je 0x477146
inc edi
xor ebx, ebx
cmp edi, 0x14
jle 0x477083
xor eax, eax
test esi, esi
je 0x4771ac
cmp esi, ebx
jne 0x4771c8
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea eax, [ebx + 8]
mov edx, dword [esp]
call fcn.00403874
mov eax, dword [esp + 8]
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov dword [ebx + 0x110], eax
mov dword [ebx + 0x114], edx
mov dword [ebx + 0x108], 1
lea eax, [ebx + 0x118]
mov edx, dword [esp + 4]
mov dword [edx], 1
jmp 0x4771c8
test ebx, ebx
je 0x4771c8
inc dword [ebx + 0x108]
lea eax, [ebx + 0x118]
mov edx, dword [esp + 4]
mov ecx, dword [ebx + 0x108]
mov dword [edx], ecx
add esp, 0x50
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x47a46c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x47a513
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0x10]
push eax
mov eax, esi
call fcn.004055a4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x47a4fd
lea eax, [ebp - 4]
mov edx, edi
call fcn.00405834
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.004055a4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47a4fd
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x47a524
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47a4fd
cmp dword [ebp - 0xc], 0x34
jne 0x47a4fd
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47a51a
lea eax, [ebp - 4]
call fcn.00405114
ret

Function at 0x47aa9c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47ac79
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403990
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4c178c], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4c1790], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4c1794], eax
mov eax, dword [0x4c3d70]
cmp dword [eax], 2
sete byte [0x4c1138]
push 0x47ac84
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.0047a328
cmp byte [0x4c1138], 0
jne 0x47ab28
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0047a46c
test al, al
je 0x47ab28
mov eax, dword [ebp - 0x4c]
mov dword [0x4c9650], eax
jmp 0x47ab2f
xor eax, eax
mov dword [0x4c9650], eax
call fcn.0047a7dc
and eax, 0x7f
cmp eax, 0x12
ja case.0x47ab40.0
jmp dword [eax*4 + 0x47ab47]
mov byte [0x4c1124], 1
jmp case.0x47ab40.0
mov byte [0x4c1128], 1
jmp case.0x47ab40.0
mov byte [0x4c112c], 1
jmp case.0x47ab40.0
mov byte [0x4c1130], 1
jmp case.0x47ab40.0
mov byte [0x4c1134], 1
jmp case.0x47ab40.0
mov byte [0x4c113c], 1
mov byte [0x4c1140], 1
jmp case.0x47ab40.0
mov byte [0x4c113c], 1
mov byte [0x4c1144], 1
jmp case.0x47ab40.0
mov byte [0x4c113c], 1
mov byte [0x4c1144], 1
mov byte [0x4c1148], 1
jmp case.0x47ab40.0
mov byte [0x4c114c], 1
jmp case.0x47ab40.0
mov byte [0x4c1150], 1
jmp case.0x47ab40.0
mov byte [0x4c1154], 1
jmp case.0x47ab40.0
mov byte [0x4c1158], 1
jmp case.0x47ab40.0
mov byte [0x4c115c], 1
jmp case.0x47ab40.0
mov byte [0x4c1160], 1
jmp case.0x47ab40.0
mov byte [0x4c1164], 1
jmp case.0x47ab40.0
mov byte [0x4c1168], 1
jmp case.0x47ab40.0
mov byte [0x4c116c], 1
jmp case.0x47ab40.0
mov byte [0x4c1170], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ac80
lea eax, [ebp - 4]
call fcn.00405114
ret
Function at 0x47b990
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47ba64
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004051ac
lea eax, [ebp - 4]
call fcn.004055fc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004055a4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x47ba4e
mov eax, ebx
call fcn.00402efc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x47ba47
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 - 4]
call fcn.004055a4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x47ba31
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x47ba74
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x47ba31
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ba4e
mov eax, dword [ebp - 0x10]
call fcn.00402f18
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ba6b
lea eax, [ebp - 4]
call fcn.00405114
ret

Function at 0x47ffd8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x480006
mov eax, ebx
call fcn.00480a8c
cmp dword [ebx + 0x40], 0
je 0x47ffff
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x480077
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x480069
cmp dword [ebx + 8], 0
je 0x480028
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 0x48003a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x480069
cmp dword [ebx + 8], 0
je 0x48001b
cmp eax, 3
je 0x48004d
dec eax
jne 0x48001b
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 0x48001b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x48001b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x480095
cmp dword [ebx + 0x14], 0xcc
je 0x480095
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.004800a0
pop ebx
ret
Function at 0x491724
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 4], edx
xor edx, edx
push ebp
push 0x491797
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
test al, al
je 0x491781
lea ecx, [ebp - 4]
lea edx, [ebp - 0xc]
call fcn.00491584
cmp dword [ebp - 0xc], 0
je 0x491776
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00408274
test al, al
je 0x491781
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x491781
mov eax, dword [ebp - 4]
call fcn.0049167c
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49179e
lea eax, [ebp - 4]
call fcn.00405114
ret

Function at 0x491838
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4918f2
push dword fs:[edx]
mov dword fs:[edx], esp
test al, al
jne 0x491861
mov eax, ebx
call fcn.00405114
jmp 0x4918dc
mov ecx, ebx
lea edx, [ebp - 8]
call fcn.00491584
cmp dword [ebp - 8], 0
je 0x4918dc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.00408268
test al, al
je 0x4918d5
xor eax, eax
push ebp
push 0x4918ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004917a8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4918dc
lea eax, [ebp - 4]
push eax
call sub.shell32.dll_SHGetMalloc
call fcn.00408268
test al, al
je 0x4918cd
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
ret
mov eax, ebx
call fcn.00405114
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4918f9
lea eax, [ebp - 4]
call fcn.00406c84
ret

Function at 0x4b01d8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4b0232
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004b01c8
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004ade20
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004ad938
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0239
lea eax, [ebp - 4]
call fcn.00405114
ret
Function at 0x4b8610
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov esi, eax
lea edi, [ebp - 6]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
push ebp
push 0x4b870d
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00403354
mov eax, pe_nt_image_headers32
call fcn.0040337c
mov byte [ebp - 0x1c], al
mov eax, pe_nt_image_headers32
call fcn.0040337c
add al, 0x57
mov byte [ebp - 0x1b], al
xor ebx, ebx
lea eax, [ebp - 6]
movzx edx, byte [eax]
mov ecx, edx
xor cl, byte [ebp - 0x1c]
lea esi, [ebx + 2]
mov byte [ebp + esi - 0x1c], cl
xor dl, byte [ebp - 0x1b]
lea ecx, [ebx + 8]
mov byte [ebp + ecx - 0x1c], dl
inc ebx
inc eax
cmp ebx, 6
jne 0x4b8660
mov eax, pe_nt_image_headers32
call fcn.0040337c
add al, 0x11
mov byte [ebp - 0xe], al
mov eax, pe_nt_image_headers32
call fcn.0040337c
sub al, 0xc3
mov byte [ebp - 0xd], al
mov ebx, 0x10
mov eax, 0x4c3384
lea edx, [ebp - 0x1c]
movzx ecx, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x4b86ab
mov eax, dword [ebp - 0xc]
call fcn.00405114
mov ebx, 0x10
lea esi, [ebp - 0x1c]
lea ecx, [ebp - 0x24]
movzx eax, byte [esi]
mov edx, 2
call fcn.00409a8c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040937c
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.004053e0
mov eax, dword [ebp - 0xc]
inc esi
dec ebx
jne 0x4b86c5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8714
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00405138
ret

Function at 0x4b871c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405594
xor eax, eax
push ebp
push 0x4b87bc
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x14]
lea eax, [ebp - 0xe]
call fcn.004b8388
lea edx, [ebp - 8]
lea eax, [ebp - 0xe]
call fcn.004b8610
push 5
push 0
push 0
push 0x4b87d0
push dword [ebp - 4]
push 0x4b8800
push dword [ebp - 8]
lea eax, [ebp - 0x18]
mov edx, 4
call fcn.004054a8
mov eax, dword [ebp - 0x18]
call fcn.004055a4
push eax
push 0x4b8808
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b87c3
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00405138
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405138
ret