joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467448
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 0x467520
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d9940], 0
jne 0x467504
lea eax, [ebp - 4]
mov edx, 0x467538
call fcn.00403c9c
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404064
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x467504
mov eax, ebx
call fcn.0040276c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4674fd
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 0x4674e7
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x467548
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4674e7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [0x4d9940], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467504
mov eax, dword [ebp - 0xc]
call fcn.00402784
ret
mov ebx, dword [0x4d9940]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x467527
lea eax, [ebp - 4]
call fcn.00403c04
ret
Function at 0x483c80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x483edf
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x483ce2
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00483748
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040c420
cmp al, 1
jne 0x483ce2
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00483a60
test al, al
je 0x483e6e
cmp dword [ebp - 8], 0
jge 0x483d00
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00483748
mov eax, dword [ebp - 0x210]
call fcn.00403ea0
cmp ebx, eax
jge 0x483d4a
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00483748
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4d8198]
and eax, 0xff
bt dword [edx], eax
jae 0x483d4a
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x483d5e
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00483c5c
cmp ebx, dword [ebp - 8]
je 0x483e60
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x483d8a
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403078
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d70fc]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x483e4d
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403078
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d70fc]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.00439e38
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.00403078
and eax, 0x7f
movzx eax, word [eax*2 + 0x4d70fc]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.00439e38
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483e54
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x483ec1
cmp dword [ebp - 8], 0
jge 0x483e79
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00483748
mov eax, dword [ebp - 0x218]
call fcn.00403ea0
cmp eax, dword [ebp - 8]
jg 0x483eb3
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00483748
mov eax, dword [ebp - 0x21c]
call fcn.00403ea0
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00483c5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483ee6
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403c28
ret
Function at 0x494788
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x40dd00]
call fcn.00404400
xor eax, eax
push ebp
push 0x4948cf
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d71a8], 0
jne 0x4947db
mov ecx, dword [0x4d7cf0]
mov dl, 1
mov eax, dword [0x407be4]
call fcn.0040bba0
call fcn.00403634
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402b5c
mov eax, ebx
call fcn.00404368
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4948e0
lea edi, [ebp - 0x30]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405be8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404378
test eax, eax
jle 0x494876
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49486f
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00403e68
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00403e34
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004089ac
test eax, eax
jne 0x49486f
mov ebx, 0x15
jmp 0x49487b
mov ebx, 0x10
jmp 0x49487b
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4d71a8]
call fcn.00494684
mov eax, dword [ebp - 8]
call fcn.00494684
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405c00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4948d6
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403c28
lea eax, [ebp - 0x10]
mov edx, dword [0x40dd00]
call fcn.004044cc
ret

Function at 0x496178
Capabilities:
Find taskbar

Disassembly:
push 0
push 0x496188
call sub.user32.dll_FindWindowA
ret

Function at 0x497048
Capabilities:
Find taskbar

Disassembly:
push ebx
push esi
xor ebx, ebx
push 0
push 0x4970b4
call sub.user32.dll_FindWindowA
test eax, eax
jbe 0x4970ad
push 0
push 0x4970c4
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
jbe 0x4970ad
mov esi, eax
push 0x4970d4
push 0x4970d8
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
jbe 0x497098
push 0
push 0x4970e4
push 0
push eax
call sub.user32.dll_FindWindowExA
jmp 0x4970a7
push 0
push 0x4970e4
push 0
push esi
call sub.user32.dll_FindWindowExA
test eax, eax
jbe 0x4970ad
mov ebx, eax
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x49704c
Capabilities:
Find taskbar

Disassembly:
push ebx
push esi
xor ebx, ebx
push 0
push 0x4970b4
call sub.user32.dll_FindWindowA
test eax, eax
jbe 0x4970ad
push 0
push 0x4970c4
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
jbe 0x4970ad
mov esi, eax
push 0x4970d4
push 0x4970d8
push 0
push eax
call sub.user32.dll_FindWindowExA
test eax, eax
jbe 0x497098
push 0
push 0x4970e4
push 0
push eax
call sub.user32.dll_FindWindowExA
jmp 0x4970a7
push 0
push 0x4970e4
push 0
push esi
call sub.user32.dll_FindWindowExA
test eax, eax
jbe 0x4970ad
mov ebx, eax
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4998fc
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x49990e
add esp, 0xfffffff0
call fcn.004031dc
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404054
mov eax, dword [ebp + 0x1c]
call fcn.00404054
xor eax, eax
push ebp
push 0x4999cc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, esi
call fcn.00499a40
lea eax, [esi + 0xc]
mov edx, dword [ebp - 4]
call fcn.00403c58
mov al, byte [ebp + 0x18]
mov byte [esi + 0x10], al
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
lea eax, [esi + 0x18]
mov edx, dword [ebp + 0x1c]
call fcn.00403c58
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x24], eax
mov al, byte [ebp + 8]
mov byte [esi + 0x28], al
mov word [esi + 0x2a], 0
mov byte [esi + 0x2c], 0
lea eax, [esi + 0x30]
call fcn.00403c04
xor eax, eax
mov dword [esi + 0x34], eax
xor eax, eax
mov dword [esi + 0x38], eax
lea eax, [esi + 0x3c]
call fcn.00403c04
mov byte [esi + 0x40], 0
mov byte [esi + 0x41], 0
xor edx, edx
mov eax, esi
call fcn.00499a50
xor edx, edx
mov eax, esi
call fcn.00499a4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4999d3
lea eax, [ebp - 4]
call fcn.00403c04
lea eax, [ebp + 0x1c]
call fcn.00403c04
ret
Function at 0x49ff84
Capabilities:
Access peb ldr_data
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x15c], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a0194
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x150]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov edx, 0x4a01ac
call fcn.0045baf8
mov eax, dword [ebp - 0x150]
call fcn.00404064
push eax
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4a0176
xor eax, eax
push ebp
push 0x4a016f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 0x14c], 0x10
je 0x4a0140
lea eax, [ebp - 0x158]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00403e34
mov edx, dword [ebp - 0x158]
lea ecx, [ebp - 0x154]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
call fcn.0045baf8
mov ecx, dword [ebp - 0x154]
mov dl, 1
mov eax, dword [0x454914]
call fcn.004549bc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a0139
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x49f418]
call fcn.00402e6c
mov ebx, eax
lea eax, [ebx + 4]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00403e34
push 0
lea eax, [ebp - 0x15c]
push eax
mov ecx, 0x4a01bc
mov edx, 0x4a01cc
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x15c]
lea eax, [ebx + 0xc]
call fcn.00403c58
push 0
lea eax, [ebp - 0x160]
push eax
mov edx, 0x4a01cc
mov ecx, 0x4a01dc
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x160]
lea eax, [ebx + 0x10]
call fcn.00403c58
push 0
lea eax, [ebp - 0x164]
push eax
mov edx, 0x4a01cc
mov ecx, 0x4a01ec
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x164]
lea eax, [ebx + 8]
call fcn.00403c58
cmp dword [ebx + 8], 0
jne 0x4a0116
lea eax, [ebx + 8]
mov edx, dword [ebx + 4]
call fcn.00403c58
mov edx, dword [ebx + 8]
mov ecx, ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0140
mov eax, dword [ebp - 0xc]
call fcn.00402e9c
ret
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4a000f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0176
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindClose_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a019b
lea eax, [ebp - 0x164]
mov edx, 6
call fcn.00403c28
ret
Function at 0x4a89f8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
mov ecx, ebx
mov dl, 1
mov eax, dword [0x45ae10]
call fcn.0045b234
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a8a74
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push ebx
call sub.user32.dll_ShowWindow
push 0x11
push 0
push 0
push 0xbb8
push 0xbb8
push 1
push ebx
call sub.user32.dll_SetWindowPos
mov eax, dword [ebp - 4]
call fcn.0045b444
mov edx, eax
or edx, 0x80
mov eax, dword [ebp - 4]
call fcn.0045b4a8
push 5
push ebx
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8a7b
mov eax, dword [ebp - 4]
call fcn.00402e9c
ret

Function at 0x4a8a80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, edx
mov ecx, ebx
mov dl, 1
mov eax, dword [0x45ae10]
call fcn.0045b234
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4a8b05
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0045b444
mov edx, eax
and edx, 0xffffff7f
mov eax, dword [ebp - 0xc]
call fcn.0045b4a8
push 5
push ebx
call sub.user32.dll_ShowWindow
push 0x11
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push ebx
call sub.user32.dll_SetWindowPos
push 5
push ebx
call sub.user32.dll_ShowWindow
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8b0c
mov eax, dword [ebp - 0xc]
call fcn.00402e9c
ret
Function at 0x4a8b14
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a8cea
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0045af8c
mov ebx, eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a8df0
test al, al
jne 0x4a8ccf
mov eax, dword [0x4d8010]
mov eax, dword [eax]
cmp ebx, dword [eax + 0x24]
je 0x4a8ccf
mov ecx, ebx
mov dl, 1
mov eax, dword [0x45ae10]
call fcn.0045b234
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a8cc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004a8878
test al, al
je 0x4a8b98
mov edx, 6
mov eax, ebx
call fcn.0045b004
lea eax, [ebp - 0x18]
push eax
push ebx
call sub.user32.dll_GetWindowRect
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a8954
test al, al
je 0x4a8bbc
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a89f8
jmp 0x4a8bc4
push 0
push ebx
call sub.user32.dll_ShowWindow
inc dword [0x4d72bc]
call fcn.0045c328
test al, al
je 0x4a8c1e
mov eax, dword [ebp - 8]
call fcn.0045b334
call fcn.00421aa4
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4d72bc]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.0045b2ac
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x495708]
call fcn.00496608
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0xa0], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0xa4], eax
jmp 0x4a8c7e
mov eax, dword [ebp - 8]
call fcn.0045b334
call fcn.0049b6e4
mov esi, eax
mov eax, esi
call fcn.00421aa4
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4d72bc]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.0045b2ac
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x495708]
call fcn.00496608
mov ebx, eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0xa0], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0xa4], eax
mov eax, esi
call fcn.00421d38
mov eax, esi
call fcn.00402e9c
mov byte [ebx + 0x78], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov edx, ebx
call fcn.00410d5c
mov eax, dword [ebp - 4]
mov dword [ebx + 0x9c], eax
mov dword [ebx + 0x98], 0x4a8dc0
mov dl, 1
mov eax, ebx
call fcn.00496410
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8cc8
mov eax, dword [ebp - 8]
call fcn.00402e9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8cf1
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00403c28
ret
Function at 0x4af8ac
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4af8da
mov eax, ebx
call fcn.004b0350
cmp dword [ebx + 0x3c], 0
je 0x4af8d3
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4af94b
mov edx, dword [ebx + 0x1a6]
cmp dword [edx + 0x10], 0
je 0x4af93d
cmp dword [ebx + 8], 0
je 0x4af8fc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1a6]
call dword [edx]
test eax, eax
jne 0x4af90e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4af93d
cmp dword [ebx + 8], 0
je 0x4af8ef
cmp eax, 3
je 0x4af921
dec eax
jne 0x4af8ef
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 0x4af8ef
mov edx, dword [ebx + 0x132]
add dword [eax + 8], edx
jmp 0x4af8ef
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4af969
cmp dword [ebx + 0x10], 0xcc
je 0x4af969
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004af974
pop ebx
ret

Function at 0x4c741c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4c755f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403c04
test edi, edi
je 0x4c7549
lea eax, [ebp - 8]
mov edx, 0x4c7578
call fcn.00403c9c
mov eax, edi
call fcn.00403ea0
mov ebx, eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
xor ebx, eax
lea eax, [ebp - 8]
call fcn.00404070
mov byte [eax], bl
mov eax, edi
call fcn.00403ea0
mov esi, eax
test esi, esi
jle 0x4c74a0
mov ebx, 1
lea eax, [ebp - 8]
call fcn.00404070
mov edx, dword [ebp - 8]
mov dl, byte [edx]
mov cl, byte [edi + ebx - 1]
xor dl, cl
mov byte [eax], dl
inc ebx
dec esi
jne 0x4c7487
mov eax, dword [ebp - 8]
call fcn.00403ea0
mov esi, eax
sub esi, 2
jl 0x4c74d5
inc esi
mov ebx, 2
lea eax, [ebp - 8]
call fcn.00404070
mov edx, dword [ebp - 8]
mov dl, byte [edx + ebx - 1]
mov ecx, dword [ebp - 8]
mov cl, byte [ecx + ebx - 2]
xor dl, cl
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4c74b5
mov eax, dword [ebp - 8]
call fcn.00403ea0
mov esi, eax
test esi, esi
jle 0x4c750e
mov ebx, 1
mov eax, dword [ebp - 8]
call fcn.00403ea0
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx - 1]
xor eax, edx
sub eax, ebx
push eax
lea eax, [ebp - 8]
call fcn.00404070
pop edx
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x4c74e8
mov eax, dword [ebp - 8]
call fcn.00403ea0
mov esi, eax
test esi, esi
jle 0x4c7549
mov ebx, 1
push ebp
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx - 1]
shr eax, 4
call fcn.004c72a4
pop ecx
push ebp
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx - 1]
and eax, 0xf
call fcn.004c72a4
pop ecx
inc ebx
dec esi
jne 0x4c7521
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7566
lea eax, [ebp - 8]
call fcn.00403c04
ret
Function at 0x4c79c8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4c7c2a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004d18f0
test al, al
je 0x4c7a4a
mov eax, ebx
call fcn.004d18f8
mov edi, eax
push edi
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4c7b56
push 0
push 0
push 0
lea edx, [ebp - 8]
mov eax, dword [0x4d8010]
mov eax, dword [eax]
call fcn.004537f8
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00408f90
lea eax, [ebp - 4]
mov edx, 0x4c7c40
call fcn.00403ea8
mov eax, dword [ebp - 4]
call fcn.00404064
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x4c7b56
cmp dword [ebx + 0x6d8], 0
jne 0x4c7a8e
lea edx, [ebp - 0x10]
mov eax, dword [0x4d8010]
mov eax, dword [eax]
call fcn.004537f8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00408f90
lea eax, [ebp - 0xc]
mov edx, 0x4c7c5c
call fcn.00403ea8
mov eax, dword [ebp - 0xc]
call fcn.00404064
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx + 0x6d8], eax
xor eax, eax
push ebp
push 0x4c7b3b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x6d8], 0
jne 0x4c7abb
mov ecx, 0x4c7c70
mov dl, 1
mov eax, dword [0x407be4]
call fcn.0040bae4
call fcn.00403634
push 0x4c7c88
mov eax, dword [ebx + 0x6d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x6e4], eax
push 0x4c7c90
mov eax, dword [ebx + 0x6d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x6e8], eax
push 0x4c7c98
mov eax, dword [ebx + 0x6d8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x6ec], eax
cmp dword [ebx + 0x6e4], 0
je 0x4c7b1b
cmp dword [ebx + 0x6e8], 0
je 0x4c7b1b
cmp dword [ebx + 0x6ec], 0
jne 0x4c7b31
mov ecx, 0x4c7cb0
mov dl, 1
mov eax, dword [0x407be4]
call fcn.0040bae4
call fcn.00403634
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c7b56
cmp dword [ebx + 0x6dc], 0
jne 0x4c7b79
push 0x4c7cd8
push 4
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebx + 0x6dc], eax
cmp dword [ebx + 0x6dc], 0
jne 0x4c7b98
mov ecx, 0x4c7cfc
mov dl, 1
mov eax, dword [0x407be4]
call fcn.0040bae4
call fcn.00403634
push 0
push 0
push 0
push 2
mov eax, dword [ebx + 0x6dc]
push eax
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
mov dword [ebx + 0x6e0], esi
mov eax, dword [ebx + 0x6c8]
mov eax, dword [eax + 0x90]
mov dword [esi], eax
mov eax, dword [ebx + 0x604]
mov edx, dword [eax]
call dword [edx + 0xb4]
and eax, 0x7f
mov edx, dword [ebx + 0x6e0]
mov dword [edx + 4], eax
mov eax, ebx
call fcn.004d18f0
test al, al
je 0x4c7c09
push edi
call sub.user32.dll_IsWindow
test eax, eax
je 0x4c7c0f
push 0
push 0
push 0x546
mov eax, ebx
call fcn.004d18f8
push eax
call sub.user32.dll_SendMessageA
jmp 0x4c7c0f
call dword [ebx + 0x6e4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7c31
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403c28
ret