joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49cfb8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov al, byte [eax]
dec al
je 0x49cfe9
dec al
je 0x49d025
dec al
je 0x49d069
dec al
je 0x49d0d4
jmp 0x49d15e
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x49d15e
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
mov dl, byte [ecx + edx]
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x49cff9
jmp 0x49d15e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49d15e
mov esi, 1
mov al, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov dl, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
xor eax, eax
mov al, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x49d035
jmp 0x49d15e
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49d15e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x49d097
xor ebp, ebp
jmp 0x49d0a8
mov ecx, esi
sub ecx, edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x49d0b1
adc eax, 0
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x49d079
jmp 0x49d15e
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x49d15e
mov esi, 1
mov al, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x49d12c
mov edx, esi
sub edx, dword [ebx + 0x24]
xor ecx, ecx
mov cl, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
mov dl, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
mov cl, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0049a4bc
add al, byte [esp]
and al, 0xff
xor edx, edx
mov dl, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x49d0e8
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4a26b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov dl, 1
mov eax, dword [0x42a7b4]
call fcn.00430f14
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4a2887
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x54]
cmp dword [eax + 8], 0
jle 0x4a2866
xor edx, edx
mov eax, dword [ebp - 8]
call fcn.00432340
mov eax, dword [ebp - 8]
call fcn.004314e4
mov eax, dword [eax + 0x14]
mov edx, esi
call fcn.0042bf50
cmp byte [ebp + 8], 0
je 0x4a274e
xor edx, edx
mov eax, ebx
call fcn.004a163c
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.004a163c
mov edx, dword [eax]
call dword [edx + 0x20]
mov esi, eax
mov eax, ebx
call fcn.004a156c
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
jmp 0x4a278a
xor edx, edx
mov eax, ebx
call fcn.004a163c
mov edx, dword [eax]
call dword [edx + 0x2c]
mov esi, eax
mov eax, ebx
call fcn.004a156c
imul esi, eax
mov edx, esi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor edx, edx
mov eax, ebx
call fcn.004a163c
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0041ea64
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 8]
call fcn.004314e4
pop edx
call fcn.0042c33c
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xc], eax
mov eax, ebx
call fcn.004a156c
dec eax
test eax, eax
jl 0x4a283e
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004a1510
push 0
lea eax, [ebp - 0x20]
push eax
mov edx, esi
mov eax, ebx
call fcn.004a1668
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x20]
imul esi
xor edx, edx
mov dl, byte [ebp + 8]
imul edx
push eax
mov edx, esi
mov eax, ebx
call fcn.004a1668
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x2c]
imul esi
mov dl, byte [ebp + 8]
xor dl, 1
and edx, 0x7f
imul edx
xor ecx, ecx
pop edx
call fcn.0041ea3c
mov eax, dword [ebp - 8]
call fcn.004314e4
mov edx, eax
lea ecx, [ebp - 0x20]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x14]
inc esi
dec dword [ebp - 0x10]
jne 0x4a27d4
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.004a1510
cmp byte [ebp + 0xc], 0
je 0x4a2866
movzx eax, word [ebx + 0x58]
mov edx, 0x10
call fcn.00433710
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.004a0d00
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a288e
mov eax, dword [ebp - 8]
call fcn.00404638
ret
Function at 0x4b2738
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x94], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b28ba
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.004b2b2c
mov eax, ebx
call fcn.0042ba7c
dec al
je 0x4b277c
dec al
je 0x4b2782
jmp 0x4b2788
mov byte [ebp - 0x77], 2
jmp 0x4b278c
mov byte [ebp - 0x77], 1
jmp 0x4b278c
mov byte [ebp - 0x77], 0
mov eax, dword [ebp - 0x8c]
or eax, 0x80000000
or eax, 1
or eax, 2
or eax, 4
or eax, 8
or eax, 0x20000000
or eax, 0x40000000
mov dword [ebp - 0x8c], eax
mov eax, ebx
call fcn.0042ba08
shl eax, 2
lea eax, [eax + eax*4]
mov dword [ebp - 0x84], eax
mov edi, dword [ebx + 0x18]
cmp edi, 0xff000008
je 0x4b27d9
cmp edi, 0x20000000
jne 0x4b27e5
mov dword [ebp - 0x88], 0x40000000
jmp 0x4b27ef
mov eax, edi
call fcn.0042b2c4
mov dword [ebp - 0x7c], eax
mov eax, ebx
call fcn.0042ba44
test al, 1
je 0x4b2801
or dword [ebp - 0x88], 1
mov eax, ebx
call fcn.0042ba44
test al, 2
je 0x4b2813
or dword [ebp - 0x88], 2
mov eax, ebx
call fcn.0042ba44
test al, 4
je 0x4b2825
or dword [ebp - 0x88], 4
mov eax, ebx
call fcn.0042ba44
test al, 8
je 0x4b2837
or dword [ebp - 0x88], 8
lea edx, [ebp - 0x94]
mov eax, ebx
call fcn.0042b994
mov edx, dword [ebp - 0x94]
lea eax, [ebp - 0x76]
mov ecx, 0x20
call fcn.0040dfd4
or dword [ebp - 0x8c], 0x8000000
mov eax, ebx
call fcn.0042baac
mov byte [ebp - 0x78], al
lea eax, [ebp - 0x3c]
push eax
push 0x3c
mov eax, ebx
call fcn.0042b798
push eax
call sub.gdi32.dll_GetObjectA
test eax, eax
je 0x4b2894
or dword [ebp - 0x8c], 0x400000
mov ax, word [ebp - 0x2c]
mov word [ebp - 0x56], ax
lea edx, [ebp - 0x90]
mov eax, esi
call fcn.004b2b58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b28c1
lea eax, [ebp - 0x94]
call fcn.00405488
ret
Function at 0x4b3860
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, 0x4fc1bc
xor eax, eax
push ebp
push 0x4b39e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x522104], 1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b39c9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b39f4
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
jbe 0x4b38bb
cmp dword [ebx], 0x20
jae 0x4b38bb
xor eax, eax
mov dword [ebx], eax
cmp dword [ebx], 0
jne 0x4b38e7
push 0x4b3a04
call sub.kernel32.dll_LoadLibraryA
mov dword [ebx], eax
cmp dword [ebx], 0
jbe 0x4b39b2
cmp dword [ebx], 0x20
jae 0x4b39b2
xor eax, eax
mov dword [ebx], eax
jmp 0x4b39b2
mov byte [0x522104], 2
lea eax, [ebp - 8]
mov edx, 0x4b3a1c
call fcn.00405520
lea eax, [ebp - 8]
call fcn.004059a8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405958
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4b39b2
mov eax, ebx
call fcn.00402e98
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4b39ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00405958
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4b3995
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4b3a2c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4b3995
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
and eax, 0xffff
mov ecx, 0xa
xor edx, edx
div ecx
mov byte [0x522104], al
cmp byte [0x522104], 0
jne 0x4b3995
mov byte [0x522104], 2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b39b2
mov eax, dword [ebp - 0x10]
call fcn.00402ec8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b39d0
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x4bf89c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x4bf8a4
push ebx
push esi
push edi
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x4bfa86
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp - 1]
call fcn.00403440
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0x41
jb 0x4bfa56
cmp byte [ebp - 1], 0x5a
ja 0x4bfa56
lea eax, [ebp - 0x14]
mov dl, byte [ebp - 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
call fcn.00403a00
mov edx, 0x4bfa94
lea eax, [ebp - 0x18]
mov cl, 2
call fcn.004039d0
lea edx, [ebp - 0x18]
lea eax, [ebp - 0xc]
call fcn.004056fc
mov eax, dword [ebp - 0xc]
call fcn.00405958
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x4bfa56
lea eax, [ebp - 0x1c]
call fcn.004e0448
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 8]
mov edx, 0x4bfaa0
call fcn.0040dc80
mov eax, dword [ebp - 8]
call fcn.0040dab0
test al, al
jne 0x4bf926
push 0x4bfab0
push 0x4bfab8
mov ecx, dword [0x4fe668]
mov dl, 1
mov eax, dword [0x41e148]
call fcn.00422684
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4bf998
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00422480
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bf99f
mov eax, dword [ebp - 0x10]
call fcn.00404638
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bfa8d
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004054ac
lea eax, [ebp - 0x1c]
call fcn.00405488
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004054ac
ret
Function at 0x4c190c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x230], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x242], 0
jne 0x4c1959
mov eax, dword [ebp - 4]
cmp byte [eax + 0x232], 1
je 0x4c1959
mov eax, dword [ebp - 4]
cmp byte [eax + 0x232], 2
jne 0x4c1acb
mov eax, dword [ebp - 4]
call fcn.004c1398
test al, al
je 0x4c1acb
mov eax, dword [ebp - 4]
call fcn.0045067c
push eax
call sub.user32.dll_HideCaret
xor eax, eax
push ebp
push 0x4c1ac4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045067c
push eax
call sub.user32.dll_GetDC
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4c1aaf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4c1a88
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004498a4
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00449860
inc eax
push eax
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4c1a6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
mov ebx, eax
push 0
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0044e680
mov eax, dword [ebp - 4]
cmp byte [eax + 0x241], 0
je 0x4c1a0e
mov eax, dword [ebp - 4]
call fcn.004c1730
push 0xcc0020
push 1
push 1
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004498a4
push eax
mov eax, dword [ebp - 4]
call fcn.00449860
push eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x20c]
mov esi, dword [eax*4 + 0x4fc348]
push esi
push esi
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_BitBlt
push ebx
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_SelectObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c1a71
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov eax, dword [ebp - 4]
mov byte [eax + 0x230], 0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d6804
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov edi, eax
cmp byte [edi + 0x222], 0
je 0x4d682b
mov ecx, edi
mov dl, 1
mov eax, dword [0x4d55e0]
call fcn.004d5644
mov dword [edi + 0x294], eax
jmp 0x4d6934
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
cmp byte [edi + 0x22b], 0
je 0x4d686c
mov al, byte [edi + 0x22a]
xor edx, edx
mov dl, al
cmp dx, word [edi + 0x226]
jbe 0x4d6861
mov edx, eax
sub dl, byte [edi + 0x226]
mov eax, edi
call fcn.004d5db4
jmp 0x4d68a2
xor edx, edx
mov eax, edi
call fcn.004d5db4
jmp 0x4d68a2
movzx edx, word [edi + 0x226]
mov ecx, 0x64
sub ecx, edx
mov al, byte [edi + 0x22a]
xor edx, edx
mov dl, al
cmp ecx, edx
jle 0x4d6899
mov edx, eax
add dl, byte [edi + 0x226]
mov eax, edi
call fcn.004d5db4
jmp 0x4d68a2
mov dl, 0x64
mov eax, edi
call fcn.004d5db4
cmp byte [edi + 0x22b], 0
je 0x4d68b4
cmp byte [edi + 0x22a], 0
je 0x4d68c6
cmp byte [edi + 0x22b], 0
jne 0x4d68d1
cmp byte [edi + 0x22a], 0x64
jne 0x4d68d1
mov bl, byte [edi + 0x224]
xor bl, 1
jmp 0x4d6901
mov eax, dword [0x4fd464]
mov eax, dword [eax]
call fcn.00469d24
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
movzx edx, word [edi + 0x228]
cmp eax, edx
ja 0x4d6901
cmp byte [edi + 0x224], 0
jne 0x4d6901
cmp byte [edi + 0x2a0], 0
je 0x4d68d1
test bl, bl
jne 0x4d691b
cmp byte [edi + 0x224], 0
jne 0x4d691b
cmp byte [edi + 0x2a0], 0
je 0x4d682d
cmp byte [edi + 0x2a0], 0
jne 0x4d692d
cmp byte [edi + 0x224], 0
jne 0x4d6934
mov eax, edi
call fcn.004d6c28
pop edi
pop esi
pop ebx
ret
Function at 0x4e0448
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf4
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [esp + 0x105]
push eax
push 0
push 0x4e048c
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov edx, ebx
lea eax, [esp + 0x105]
call fcn.0040e118
add esp, 0x20c
pop ebx
ret

Function at 0x4e0818
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
mov ecx, dword [0x4fd464]
mov ecx, dword [ecx]
mov dl, 1
mov eax, dword [0x4df914]
call fcn.004624d8
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e09e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4fd6dc]
mov eax, dword [eax]
mov dx, 0xfff5
call fcn.00467e60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x1f4]
mov edx, edi
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax + 0x48]
mov eax, dword [ebp - 4]
call fcn.004632cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
call fcn.004632fc
mov eax, dword [0x4fd6dc]
mov eax, dword [eax]
call fcn.004678a4
mov edx, eax
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x48]
sar edx, 1
jns 0x4e08b3
adc edx, 0
mov eax, dword [ebp - 4]
call fcn.004495cc
mov eax, dword [0x4fd6dc]
mov eax, dword [eax]
call fcn.00467898
mov edx, eax
mov eax, dword [ebp - 4]
sub edx, dword [eax + 0x4c]
sar edx, 1
jns 0x4e08d6
adc edx, 0
mov eax, dword [ebp - 4]
call fcn.004495f0
test bl, bl
je 0x4e095c
mov eax, dword [edi + 0xc]
mov edx, dword [0x46bee0]
call fcn.004047d0
test al, al
jne 0x4e095c
mov eax, dword [edi + 0xc]
mov edx, dword [0x42a8f8]
call fcn.004047d0
test al, al
jne 0x4e095c
mov eax, edi
call fcn.004e18cc
test al, al
je 0x4e0939
cmp dword [0x4fca00], 0
je 0x4e0939
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
xor edx, edx
call fcn.00449d7c
mov eax, dword [edi + 0xc]
mov cl, 0xff
mov edx, dword [ebp - 4]
call fcn.004e1b04
jmp 0x4e095c
push 0
mov eax, dword [edi + 0xc]
call fcn.004e0268
push eax
mov eax, dword [ebp - 4]
call fcn.0045067c
push eax
call sub.user32.dll_SetWindowRgn
mov eax, dword [ebp - 4]
mov byte [eax + 0x2fc], 1
mov eax, dword [ebp - 4]
mov byte [eax + 0x2fe], 0
mov eax, dword [ebp - 4]
mov dl, byte [ebp + 8]
mov byte [eax + 0x2fd], dl
mov eax, dword [ebp - 4]
call fcn.00466848
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x88]
mov eax, dword [0x4fd464]
mov eax, dword [eax]
call fcn.004699a8
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x4e09a6
mov eax, dword [0x4fd464]
mov eax, dword [eax]
call fcn.00469d24
mov eax, dword [ebp - 4]
cmp byte [eax + 0x2fe], 0
jne 0x4e09c3
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
imul edx, esi, 0x3e8
cmp eax, edx
jl 0x4e099a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e09ee
mov eax, dword [0x4fd6dc]
mov eax, dword [eax]
xor edx, edx
call fcn.00467e60
mov eax, dword [ebp - 4]
call fcn.00404638
ret
Function at 0x4e0cb8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
cmp byte [eax - 1], 0
je 0x4e0ccc
mov ebx, 3
jmp 0x4e0cd1
mov ebx, 1
push ebx
push 0
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.00405958
push eax
push 0x4e0cfc
mov eax, dword [0x4fd464]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
pop ebx
pop ebp
ret

Function at 0x4e0d04
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 1], cl
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.00405948
mov eax, dword [ebp - 0xc]
call fcn.00405948
lea esi, [ebp - 0x48]
xor eax, eax
push ebp
push 0x4e0ec5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x4e0e9d
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 8]
call fcn.0048a858
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 8]
call fcn.00405520
lea edx, [ebp - 0x50]
mov eax, dword [ebp - 0xc]
call fcn.0048a858
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0xc]
call fcn.00405520
lea eax, [ebp - 0x54]
push eax
mov ecx, 7
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004059b8
mov eax, dword [ebp - 0x54]
mov edx, 0x4e0edc
call fcn.004058a4
je 0x4e0def
lea eax, [ebp - 0x58]
push eax
mov ecx, 8
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004059b8
mov eax, dword [ebp - 0x58]
mov edx, 0x4e0eec
call fcn.004058a4
je 0x4e0def
lea eax, [ebp - 0x5c]
push eax
mov ecx, 6
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.004059b8
mov eax, dword [ebp - 0x5c]
mov edx, 0x4e0f00
call fcn.004058a4
jne 0x4e0e00
mov eax, dword [0x4fd1d4]
cmp dword [eax], 4
jg 0x4e0e00
push ebp
call fcn.004e0cb8
pop ecx
mov eax, esi
xor ecx, ecx
mov edx, 0x3c
call fcn.00403ba0
mov dword [esi], 0x3c
mov dword [esi + 4], 0x40
mov eax, 0x4e0f08
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 8]
call fcn.00405958
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0xc]
call fcn.00405958
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x60]
call fcn.0040ded8
mov eax, dword [ebp - 0x60]
call fcn.00405958
mov dword [esi + 0x18], eax
cmp byte [ebp - 1], 0
je 0x4e0e5b
mov dword [esi + 0x1c], 3
jmp 0x4e0e62
mov dword [esi + 0x1c], 1
or eax, 0xffffffff
call fcn.00403bc0
mov dword [esi + 8], eax
mov ebx, dword [esi + 8]
test ebx, ebx
jbe 0x4e0e62
push ebx
call sub.user32.dll_IsWindow
test eax, eax
jne 0x4e0e62
push esi
call sub.shell32.dll_ShellExecuteExA
test eax, eax
je 0x4e0e9d
cmp byte [ebp + 8], 0
je 0x4e0e9d
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4e0e9d
push 0xffffffffffffffff
push eax
call sub.kernel32.dll_WaitForSingleObject
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0ecc
lea eax, [ebp - 0x60]
mov edx, 6
call fcn.004054ac
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004054ac
ret
Function at 0x4e0f10
Capabilities:
Compare security identifiers

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov eax, dword [0x4fd700]
cmp dword [eax], 2
je 0x4e0f29
mov byte [esp], 1
jmp 0x4e0ffe
mov byte [esp], 0
lea eax, [esp + 4]
push eax
push 0xffffffffffffffff
push 8
call sub.kernel32.dll_GetCurrentThread
push eax
call sub.advapi32.dll_OpenThreadToken
mov ebx, eax
test ebx, ebx
jne 0x4e0f67
call sub.kernel32.dll_GetLastError_1
cmp eax, 0x3f0
jne 0x4e0f67
lea eax, [esp + 4]
push eax
push 8
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov ebx, eax
test ebx, ebx
je 0x4e0ffe
mov eax, 0x400
call fcn.00402e98
mov esi, eax
lea eax, [esp + 8]
push eax
push 0x400
push esi
push 2
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_GetTokenInformation
mov ebx, eax
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
test ebx, ebx
je 0x4e0ff7
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
push 0x4fca14
call sub.advapi32.dll_AllocateAndInitializeSid
mov ebx, dword [esi]
dec ebx
test ebx, ebx
jl 0x4e0fed
inc ebx
xor edi, edi
mov eax, dword [esi + edi*8 + 4]
push eax
mov eax, dword [esp + 0x10]
push eax
call sub.advapi32.dll_EqualSid
test eax, eax
je 0x4e0fe9
mov byte [esp], 1
jmp 0x4e0fed
inc edi
dec ebx
jne 0x4e0fd0
mov eax, dword [esp + 0xc]
push eax
call sub.advapi32.dll_FreeSid
mov eax, esi
call fcn.00402ec8
mov al, byte [esp]
add esp, 0x10
pop edi
pop esi
pop ebx
ret

Function at 0x4e1108
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e1194
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4e1177
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004e10a0
mov eax, dword [ebp - 0xc]
call fcn.00405958
push eax
call sub.kernel32.dll_GetFileAttributesA
test eax, eax
jns 0x4e115d
call fcn.00404574
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e117e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret