joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49b848
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049fc
xor eax, eax
push ebp
push 0x49b8a6
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
call fcn.0049b924
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x49b88e
lea eax, [ebp - 4]
call fcn.0049b924
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x49b890
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b8ad
lea eax, [ebp - 4]
call fcn.0040454c
ret

Function at 0x49b8b4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049fc
xor eax, eax
push ebp
push 0x49b918
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0xe
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 4]
call fcn.0049b924
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov edx, ebx
lea eax, [ebp - 0x1a]
call fcn.00409f6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b91f
lea eax, [ebp - 4]
call fcn.0040454c
ret

Function at 0x49bf10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004049fc
xor eax, eax
push ebp
push 0x49c009
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [esi + 4]
mov word [ebx + 4], ax
mov ax, word [esi + 6]
mov word [ebx + 6], ax
mov ax, word [esi + 8]
mov word [ebx + 8], ax
mov ax, word [esi + 0xa]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xc]
call fcn.0049b5ec
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1e]
mov word [ebx + 0x1e], ax
mov ax, word [esi + 0x20]
mov word [ebx + 0x22], ax
mov ax, word [esi + 0x22]
mov word [ebx + 0x24], ax
mov ax, word [esi + 0x24]
mov word [ebx + 0x26], ax
mov eax, dword [esi + 0x26]
mov dword [ebx + 0x28], eax
mov eax, dword [esi + 0x2a]
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409bc8
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0049c8d0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409aac
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0049c944
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c010
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404570
ret
Function at 0x49c018
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.004049fc
xor eax, eax
push ebp
push 0x49c121
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx + 4], 0
mov ax, word [esi + 4]
mov word [ebx + 6], ax
mov ax, word [esi + 6]
mov word [ebx + 8], ax
mov ax, word [esi + 8]
mov word [ebx + 0xa], ax
mov eax, dword [esi + 0xa]
call fcn.0049b5ec
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0xe]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x12]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x16]
mov dword [ebx + 0x18], eax
mov ax, word [esi + 0x1a]
mov word [ebx + 0x1c], ax
mov ax, word [esi + 0x1c]
mov word [ebx + 0x20], ax
mov word [ebx + 0x22], 0
mov word [ebx + 0x24], 0
mov word [ebx + 0x26], 0
xor eax, eax
mov dword [ebx + 0x28], eax
xor eax, eax
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp dword [ebp - 4], 0
je 0x49c0e7
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00409bc8
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0049c8d0
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00409aac
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.0049c944
jmp 0x49c0f9
xor edx, edx
mov eax, ebx
call fcn.0049c8d0
xor edx, edx
mov eax, ebx
call fcn.0049c944
xor eax, eax
mov dword [ebx + 0x44], eax
mov byte [ebx + 0x48], 0
mov byte [ebx + 0x4a], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c128
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404570
ret

Function at 0x4a2984
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov ecx, dword [edi + 0x170]
mov edx, ebx
mov eax, edi
call fcn.004a2bb8
mov esi, eax
mov dword [edi + 0x170], esi
and esi, 0xff
add dword [edi + 0x174], esi
imul esi, dword [edi + 0x174], 0x8088405
inc esi
mov dword [edi + 0x174], esi
mov edx, esi
shr edx, 0x18
mov ecx, dword [edi + 0x178]
mov eax, edi
call fcn.004a2bb8
mov dword [edi + 0x178], eax
pop edi
pop esi
pop ebx
ret

Function at 0x4a29f8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov edi, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4a2a1d
inc esi
mov eax, edi
call fcn.004a29dc
xor byte [ebx], al
mov dl, byte [ebx]
mov eax, edi
call fcn.004a2984
inc ebx
dec esi
jne 0x4a2a07
pop edi
pop esi
pop ebx
ret
Function at 0x4a2aac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.004049fc
xor eax, eax
push ebp
push 0x4a2b21
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004a2a24
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.004a29dc
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.004a2984
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x4a2aec
mov bl, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a2b28
lea eax, [ebp - 4]
call fcn.0040454c
ret
Function at 0x4a36e4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a38c8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x4a3884
mov eax, dword [ebp - 4]
call fcn.004a5034
cmp ebx, eax
jge 0x4a3884
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
mov edx, ebx
call fcn.00499f30
mov edx, dword [0x49b9b0]
call fcn.004038ec
mov esi, eax
mov eax, esi
call fcn.0049c864
test al, al
je 0x4a387a
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov edi, dword [esi + 0x44]
test edi, edi
jne 0x4a386e
xor eax, eax
push ebp
push 0x4a3867
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004a3c9c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
call fcn.0041c264
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
mov edx, esi
call fcn.00404b98
mov eax, dword [ebp - 8]
call fcn.00404a64
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov al, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a3a60
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x158]
mov dl, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a38b2
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x130]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x3c]
test al, al
jne 0x4a3866
mov eax, dword [ebp - 4]
call fcn.004a3d20
ret
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.00409f6c
jmp 0x4a38b2
mov eax, dword [ebp - 8]
call fcn.0040454c
jmp 0x4a38b2
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.004094d0
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x4170cc]
call fcn.0040cf34
call fcn.00403ec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a38cf
lea eax, [ebp - 0x54]
call fcn.0040454c
ret
Function at 0x4aadf0
Capabilities:
Acquire debug privileges

Disassembly:
push ebx
push ecx
push esp
push 0x20
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
mov cl, 1
mov edx, 0x4aae28
mov eax, dword [esp]
call fcn.004aad58
mov ebx, eax
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop edx
pop ebx
ret

Function at 0x4aae3c
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049fc
lea edi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x4aafaa
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
xor edx, edx
mov eax, 2
call fcn.004940d8
mov ebx, eax
mov dword [edi], 0x128
mov edx, edi
mov eax, ebx
call fcn.004940f8
jmp 0x4aaf76
lea eax, [ebp - 0x138]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004047bc
mov eax, dword [ebp - 0x138]
lea edx, [ebp - 0x134]
call fcn.00409bc8
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00408a28
mov eax, dword [ebp - 0x130]
push eax
lea edx, [ebp - 0x13c]
mov eax, dword [ebp - 4]
call fcn.00408a28
mov edx, dword [ebp - 0x13c]
pop eax
call fcn.00404958
je 0x4aaf56
lea eax, [ebp - 0x144]
lea edx, [edi + 0x24]
mov ecx, 0x104
call fcn.004047bc
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.00408a28
mov eax, dword [ebp - 0x140]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408a28
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404958
jne 0x4aaf6d
push 0
mov eax, dword [edi + 8]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
mov esi, eax
mov edx, edi
mov eax, ebx
call fcn.00494118
test eax, eax
jne 0x4aaeb7
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aafb1
lea eax, [ebp - 0x148]
mov edx, 7
call fcn.00404570
lea eax, [ebp - 4]
call fcn.0040454c
ret
Function at 0x4ab860
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffecc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.004049fc
xor eax, eax
push ebp
push 0x4ab953
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
xor edx, edx
push ebp
push 0x4ab924
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov eax, 0xf
call fcn.004940d8
mov esi, eax
lea edx, [ebp - 0x12d]
mov eax, esi
call fcn.004940f8
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x4ab916
lea edx, [ebp - 0x12d]
mov eax, esi
call fcn.00494118
cmp eax, 1
sbb ebx, ebx
inc ebx
lea eax, [ebp - 0x134]
lea edx, [ebp - 0x109]
mov ecx, 0x104
call fcn.004047bc
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 4]
call fcn.00404958
jne 0x4ab916
mov eax, dword [ebp - 0x125]
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
push 0
push eax
call sub.kernel32.dll_TerminateProcess
test bl, bl
jne 0x4ab8c2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ab932
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ab95a
lea eax, [ebp - 0x134]
call fcn.0040454c
lea eax, [ebp - 4]
call fcn.0040454c
ret
Function at 0x4aedbc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4aedea
mov eax, ebx
call fcn.004af870
cmp dword [ebx + 0x40], 0
je 0x4aede3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4aee5b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4aee4d
cmp dword [ebx + 8], 0
je 0x4aee0c
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 0x4aee1e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4aee4d
cmp dword [ebx + 8], 0
je 0x4aedff
cmp eax, 3
je 0x4aee31
dec eax
jne 0x4aedff
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 0x4aedff
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4aedff
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4aee79
cmp dword [ebx + 0x14], 0xcc
je 0x4aee79
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.004aee84
pop ebx
ret
Function at 0x4c3950
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 [0x416894]
call fcn.00404f04
xor eax, eax
push ebp
push 0x4c3a94
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x565318], 0
jne 0x4c39a3
mov ecx, dword [0x565b98]
mov dl, 1
mov eax, dword [0x407d38]
call fcn.0040cfb4
call fcn.00403ec8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.0040313c
mov eax, ebx
call fcn.00404db4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4c3aa4
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
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.004060c8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404dc4
test eax, eax
jle 0x4c3a3b
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 0x4c3a34
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004047d4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004047bc
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408c08
test eax, eax
jne 0x4c3a34
mov ebx, 0x15
jmp 0x4c3a40
mov ebx, 0x10
jmp 0x4c3a40
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 [0x565318]
call fcn.004c38a8
mov eax, dword [ebp - 8]
call fcn.004c38a8
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004060e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3a9b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404570
lea eax, [ebp - 0x10]
mov edx, dword [0x416894]
call fcn.00404fd4
ret
Function at 0x4c982c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x68], 0
jne 0x4c9844
mov eax, ebx
call fcn.004c9598
cmp dword [ebx + 0x60], 0
jne 0x4c9851
mov eax, ebx
call fcn.004c94f0
mov esi, dword [ebx + 0x68]
test esi, esi
je 0x4c99f5
cmp dword [ebx + 0x60], 0
je 0x4c99f5
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [esp], eax
mov eax, dword [ebx + 0x68]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [esp + 4], eax
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.004c9474
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x4c98c4
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x4c98ad
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x4c98b9
adc eax, 0
push eax
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x4c]
mov eax, dword [eax + 0xd8]
test eax, eax
je 0x4c98da
call fcn.00452748
mov esi, eax
jmp 0x4c98dd
mov esi, dword [ebx + 0x48]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x4c98f2
or esi, 0xffffffff
jmp 0x4c98fc
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x60]
call fcn.0044b5d8
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x60]
call fcn.0044b5fc
mov edx, dword [esp]
mov eax, dword [ebx + 0x60]
call fcn.0044b624
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x60]
call fcn.0044b648
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.004068f8
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 1
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.00452748
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x60]
call fcn.00452748
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x60]
call fcn.00452748
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x68]
call fcn.00429b20
call fcn.00425170
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x60]
call fcn.00452748
push eax
call dword [0x5684e4]
push 4
mov eax, dword [ebx + 0x60]
call fcn.00452748
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d693c
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 0x4d69f6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404c58
mov eax, dword [0x5663e0]
cmp dword [eax], 2
jne 0x4d69ab
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.00404ea0
mov eax, dword [ebx]
call fcn.00404dc4
push eax
mov eax, dword [ebx]
call fcn.00404db4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.00404dc4
mov edx, eax
dec edx
mov eax, ebx
call fcn.00404ea0
jmp 0x4d69dd
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.00409f6c
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.00404da4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d69fd
lea eax, [ebp - 0x3f0]
call fcn.0040454c
ret
Function at 0x4fa99c
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.004fa988
test eax, eax
jne 0x4fa9bd
mov eax, esi
call fcn.0040454c
jmp 0x4faa4e
mov eax, ebx
call fcn.004faae4
test al, al
je 0x4faa03
push 0
push 0
push 0xe
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
mov edi, eax
mov eax, esi
mov ecx, edi
xor edx, edx
call fcn.0040463c
test edi, edi
je 0x4fa9fa
mov eax, dword [esi]
push eax
inc edi
push edi
push 0xd
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
jmp 0x4faa4e
mov eax, esi
call fcn.0040454c
jmp 0x4faa4e
mov ebp, dword [ebx + 0x78]
test ebp, ebp
je 0x4faa47
mov eax, dword [ebp + 0x208]
call fcn.0041a808
test eax, eax
jle 0x4faa35
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x208]
mov edx, edi
call fcn.0043b204
mov edx, dword [eax + 0xc]
mov eax, esi
call fcn.004045a0
jmp 0x4faa4e
mov eax, esi
mov edx, dword [ebx + 0x78]
mov edx, dword [edx + 0x210]
call fcn.004045a0
jmp 0x4faa4e
mov eax, esi
call fcn.0040454c
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4fc698
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, eax
push 1
push esi
mov ecx, 1
xor edx, edx
xor eax, eax
call fcn.004068dc
push esi
push 0
push 0x419
mov eax, dword [ebx + 0x54]
push eax
call sub.user32.dll_SendMessageA
pop esi
pop ebx
ret
Function at 0x53c6a4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x6c], 0
jne 0x53c6bc
mov eax, ebx
call fcn.0053bf20
cmp dword [ebx + 0x68], 0
jne 0x53c6c9
mov eax, ebx
call fcn.0053be7c
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x53c879
cmp dword [ebx + 0x68], 0
je 0x53c879
mov eax, esi
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 + 0x14]
mov eax, ebx
call fcn.0053bcec
lea eax, [esp + 0x14]
xor edx, edx
call fcn.0053f0f4
cmp eax, dword [esp]
je 0x53c74b
lea eax, [esp + 0x14]
xor edx, edx
call fcn.0053f108
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x53c727
adc edx, 0
push edx
lea eax, [esp + 0x18]
xor edx, edx
call fcn.0053f0f4
mov edx, dword [esp + 4]
sub edx, eax
sar edx, 1
jns 0x53c740
adc edx, 0
push edx
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x53c75e
mov eax, dword [eax + 0x18]
call fcn.00452748
mov esi, eax
jmp 0x53c761
mov esi, dword [ebx + 0x50]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
and eax, 8
cmp eax, 8
jne 0x53c776
or esi, 0xffffffff
jmp 0x53c780
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x68]
call fcn.0044b5d8
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x68]
call fcn.0044b5fc
mov edx, dword [esp]
mov eax, dword [ebx + 0x68]
call fcn.0044b624
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x68]
call fcn.0044b648
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.004068f8
mov eax, ebp
mov byte [esp + 0x12], al
mov byte [esp + 0x10], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x13], 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.00452748
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.00452748
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.00452748
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x6c]
call fcn.00429b20
call fcn.00425170
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x68]
call fcn.00452748
push eax
call dword [0x5684e4]
push 4
mov eax, dword [ebx + 0x68]
call fcn.00452748
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret