joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402f01
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x402f2e
mov ecx, dword [0x423ef8]
push edi
add eax, ecx
push edi
push eax
mov dword [0x41703c], eax
push dword [0x409014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.0040302c
cmp eax, edi
jl 0x403025
lea eax, [ebp - 4]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push eax
lea eax, [ebp + 8]
push esi
push eax
push dword [0x409014]
call ebx
test eax, eax
je 0x403022
cmp dword [ebp - 4], esi
jne 0x403022
push dword [ebp + 8]
add dword [0x41703c], esi
call fcn.0040302c
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x403025
cmp dword [ebp + 0x10], edi
jne 0x402ff1
cmp dword [ebp + 8], edi
jle 0x40301d
mov esi, 0x413038
mov edi, 0x4000
cmp dword [ebp + 8], edi
jge 0x402fa1
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push 0
push eax
push edi
push esi
push dword [0x409014]
call ebx
test eax, eax
je 0x403022
cmp edi, dword [ebp - 4]
jne 0x403022
lea eax, [ebp + 0x14]
push 0
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402fed
cmp dword [ebp + 0x14], edi
jne 0x402fed
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x41703c], eax
cmp dword [ebp + 8], 0
jg 0x402f94
jmp 0x40301d
push 0xfffffffffffffffe
jmp 0x403024
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x402ffc
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push edi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x409014]
call ebx
test eax, eax
je 0x403022
mov eax, dword [ebp - 4]
add dword [0x41703c], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x403025
push 0xfffffffffffffffd
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x40302c
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x41703c]
sub esi, dword [0x40afa8]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
add eax, 0x1f4
cmp esi, ebx
mov dword [0x423eac], eax
jle 0x403196
push dword [0x41f04c]
call fcn.004031da
push ebx
push ebx
push dword [0x40afa8]
push dword [0x409014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x41f048], esi
mov dword [0x417038], ebx
mov ebp, 0x40b038
mov eax, dword [0x417040]
mov edi, 0x4000
sub eax, dword [0x41f04c]
cmp eax, edi
jg 0x4030a1
mov edi, eax
mov esi, 0x413038
push edi
push esi
call fcn.004031a8
test eax, eax
je 0x403188
add dword [0x41f04c], edi
mov dword [0x40afc8], esi
mov dword [0x40afcc], edi
cmp dword [0x423eb0], ebx
je 0x4030f8
cmp dword [0x423f40], ebx
jne 0x4030f8
mov eax, dword [0x41f048]
push ebx
sub eax, dword [0x41703c]
sub eax, dword [esp + 0x1c]
add eax, dword [0x40afa8]
mov dword [0x417038], eax
call fcn.00402bc5
pop ecx
mov ecx, 0x40afb0
mov dword [0x40afd0], ebp
mov dword [0x40afd4], 0x8000
call fcn.00405e5b
test eax, eax
jl 0x403191
mov esi, dword [0x40afd0]
sub esi, ebp
je 0x403152
lea eax, [esp + 0x10]
push ebx
push eax
push esi
push ebp
push dword [0x409014]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40318d
cmp esi, dword [esp + 0x10]
jne 0x40318d
add dword [0x40afa8], esi
cmp dword [0x40afcc], ebx
jne 0x4030c7
jmp 0x40315e
cmp dword [0x40afcc], ebx
jne 0x403191
cmp edi, ebx
je 0x403191
mov eax, dword [0x41703c]
mov ecx, eax
sub ecx, dword [0x40afa8]
add ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x40308b
push ebx
push ebx
push eax
push dword [0x409014]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x403196
or eax, 0xffffffff
jmp 0x4031a0
push 0xfffffffffffffffe
jmp 0x403193
push 0xfffffffffffffffd
pop eax
jmp 0x4031a0
push 1
call fcn.00402bc5
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x4052a3
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x4224a0], 0x44
push eax
xor eax, eax
push 0x4224a0
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x4052de
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x405368
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call fcn.00405617
test byte [ebp + 0xc], 8
mov dword [ebp - 8], eax
je 0x40539c
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x423f28], eax
jmp 0x405530
push ebx
mov ebx, dword [ebp + 0xc]
and ebx, 1
mov dword [ebp - 4], ebx
je 0x4053ba
test eax, eax
je 0x4054db
test byte [ebp + 0xc], 2
je 0x4054db
mov esi, 0x4214a0
push edi
push esi
call fcn.00405a43
test ebx, ebx
je 0x4053d7
push str..
push esi
call sub.KERNEL32.dll_lstrcatA
jmp 0x4053dd
push edi
call fcn.0040557d
cmp byte [edi], 0
jne 0x4053eb
cmp byte [0x4214a0], 0x5c
jne 0x4053f6
push 0x40900c
push edi
call sub.KERNEL32.dll_lstrcatA
push edi
call sub.KERNEL32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x148]
push eax
push esi
add ebx, edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x4054d1
lea eax, [ebp - 0x11c]
push 0x3f
push eax
lea esi, [ebp - 0x11c]
call fcn.00405561
cmp byte [eax], 0
je 0x40543c
cmp byte [ebp - 0x18], 0
je 0x40543c
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x405452
mov al, byte [esi + 1]
test al, al
je 0x4054b0
cmp al, 0x2e
jne 0x405452
cmp byte [esi + 2], 0
je 0x4054b0
push esi
push ebx
call fcn.00405a43
test byte [ebp - 0x148], 0x10
je 0x405477
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x4054b0
push dword [ebp + 0xc]
push edi
call fcn.00405368
jmp 0x4054b0
push edi
call fcn.004056fb
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4054a8
test byte [ebp + 0xc], 4
je 0x4054a0
push edi
push 0xfffffffffffffff1
call fcn.00404de1
push 0
push edi
call fcn.00405791
jmp 0x4054b0
inc dword [0x423f28]
jmp 0x4054b0
push edi
push 0xfffffffffffffff2
call fcn.00404de1
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x40541a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 4], 0
je 0x4054db
and byte [ebx - 1], 0
xor esi, esi
pop ebx
cmp dword [ebp - 4], esi
je 0x405530
cmp dword [ebp - 8], esi
jne 0x4054f0
inc dword [0x423f28]
jmp 0x405530
push edi
call fcn.00405d3a
test eax, eax
je 0x405530
push edi
call fcn.00405536
push edi
call fcn.004056fb
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x405528
test byte [ebp + 0xc], 4
je 0x4054e8
push edi
push 0xfffffffffffffff1
call fcn.00404de1
push esi
push edi
call fcn.00405791
jmp 0x405530
push edi
push 0xffffffffffffffe5
call fcn.00404de1
pop edi
pop esi
leave
ret 8
Function at 0x405617
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x4218a0
push esi
call fcn.00405a43
push esi
call fcn.004055ca
mov edi, eax
test edi, edi
jne 0x405638
xor eax, eax
jmp 0x40568a
push edi
call fcn.00405ca1
test byte [0x423eb8], 0x80
je 0x405651
mov al, byte [edi]
test al, al
je 0x405634
cmp al, 0x5c
je 0x405634
sub edi, esi
jmp 0x405669
call fcn.00405d3a
test eax, eax
je 0x405663
test byte [eax], 0x10
je 0x405634
push esi
call fcn.0040557d
push esi
call sub.KERNEL32.dll_lstrlenA
cmp eax, edi
push esi
jg 0x405655
call fcn.00405536
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x4056fb
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x405717
and al, 0xfe
push eax
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret 4

Function at 0x40571a
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
ret 0xc

Function at 0x405749
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
dec edi
mov dword [ebp + 8], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp + 8]
push 0
push eax
push dword [ebp + 0xc]
add byte [ebp + 0xa], dl
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x40578d
test edi, edi
jne 0x405754
and byte [esi], 0
pop edi
pop esi
pop ebp
ret 8
mov eax, esi
jmp 0x405787
Function at 0x405791
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.00405d61
test eax, eax
mov esi, dword [esp + 0x18]
je 0x4057b5
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x4058ee
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x422628], 0x4c554e
test esi, esi
mov edi, 0x400
mov ebp, 0x422628
je 0x4057f9
push 1
push 0
push esi
call fcn.0040571a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x4058f4
cmp eax, edi
jg 0x4058f4
mov esi, 0x4220a0
push edi
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x4058f4
cmp eax, edi
jg 0x4058f4
push esi
push ebp
push str._s_s_r_n
push 0x421ca0
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x423eb0]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405a65
push 4
push 0xc0000000
push esi
call fcn.0040571a
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x14], ebp
je 0x4058ee
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4058e7
lea eax, [esp + 0x18]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4058e7
cmp edi, dword [esp + 0x18]
jne 0x4058e7
push str._Rename__r_n
push esi
call fcn.0040568f
test eax, eax
jne 0x4058fb
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call fcn.00405a43
add edi, 0xa
mov eax, edi
push ebx
add eax, esi
push 0x421ca0
push eax
call fcn.004056db
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x18]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x423f30]
pop edi
pop esi
pop ebp
pop ebx
ret 8
add eax, 0xa
push 0x409348
push eax
call fcn.0040568f
test eax, eax
je 0x4058b2
inc eax
lea ecx, [esi + edi]
cmp eax, ecx
mov ebp, eax
jae 0x405922
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x405917
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x4058b4
Function at 0x40592a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp + 0x18]
push esi
push eax
mov eax, dword [ebp + 0x18]
xor ebx, ebx
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov byte [esi], bl
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40599b
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x400
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40598a
cmp dword [ebp + 0x14], 1
je 0x40598c
cmp dword [ebp + 0x14], 2
je 0x40598c
mov byte [esi], bl
push dword [ebp + 0x18]
mov byte [esi + 0x3ff], bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x405dcd
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x422a2c], 0
push esi
jne 0x405e04
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dde
mov dword [ecx*4 + 0x422a28], eax
inc ecx
cmp ecx, 0x100
jl 0x405dd9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e35
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422a28]
xor eax, esi
inc ecx
dec edx
jne 0x405e17
pop edi
not eax
pop esi
ret 0xc
Function at 0x4327e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x432805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x432878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x43283a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x43286d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x43286b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x432831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x4327fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x45af3d1d
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x4a242567
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x10002e90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100769d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1008d0a0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x1008d0a0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x40080]
call fcn.10013f50
push eax
mov eax, dword [esi + 0x40080]
push eax
xor ecx, ecx
lea esi, [esp + 0x10]
call fcn.10013f90
add esp, 8
mov dword [esp + 0x30], 0
cmp dword [esp + 0x20], 0x10
mov eax, dword [esp + 0xc]
jae 0x10002ef9
lea eax, [esp + 0xc]
push eax
call fcn.10049979
add esp, 4
mov esi, eax
mov dword [esp + 0x30], 0xffffffff
cmp dword [esp + 0x20], 0x10
jb 0x10002f20
mov ecx, dword [esp + 0xc]
push ecx
call fcn.10049347
add esp, 4
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.10049338
add esp, 0x2c
ret
Function at 0x100031a0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x148
mov eax, dword [0x1008d0a0]
xor eax, esp
mov dword [esp + 0x144], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
cmp eax, 1
push edi
jne 0x100031ed
mov eax, dword [ebx + 0x14]
push 0x20
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, 0x20
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.10049338
mov esp, ebp
pop ebp
ret
cmp eax, 0x10001
jne 0x1000321b
mov ecx, dword [ebx + 0x14]
push 0x20
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, 0x20
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.10049338
mov esp, ebp
pop ebp
ret
cmp eax, 0x30001
jne 0x10003369
mov edx, dword [esi + 0x24]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x38]
push 0
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push 0x1005
lea ecx, [esp + 0x4c]
push eax
mov dword [esp + 0x28], 0xd
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 0x104
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 8]
push edx
push eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esi]
push 0x1038
push ecx
mov dword [esp + 0x18], 0
call edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esi]
push 2
push edx
push 0x102c
push eax
call edi
test eax, eax
je 0x100032d7
push 0xc8ffff
push 0xc8ffff
lea ecx, [esp + 0x10]
push ecx
jmp 0x100032e6
push 0xffffff
push 0xffffff
lea edx, [esp + 0x10]
push edx
mov ecx, dword [esi + 0x10]
call fcn.10017f00
mov edx, dword [esp + 0x18]
add esp, 0xc
cmp dword [esi + 0x38], 1
mov esi, dword [esi + 0x10]
je 0x10003325
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0xc]
sar ecx, 0x18
push ecx
push str._d_s
push 0
push edx
add eax, 5
push eax
call fcn.10017d20
add esp, 0x18
jmp 0x10003342
mov eax, dword [esp + 8]
lea ecx, [esp + 0x40]
push ecx
push 0x1007e4a8
push 0
push edx
add eax, 5
push eax
call fcn.10017d20
add esp, 0x14
mov ecx, dword [ebx + 0x14]
push 4
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, 4
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.10049338
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x14]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.10049338
mov esp, ebp
pop ebp
ret
Function at 0x10006b10
Capabilities:
Capture webcam image
Hide graphical window

Disassembly:
push ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push ebx
push edi
push 0x417
mov ecx, esi
call edx
mov dword [esi + 0x4007c], eax
push eax
mov al, 5
mov ecx, esi
call fcn.10008890
mov eax, dword [esi + 0x4007c]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 0x418
mov ecx, esi
call eax
mov ebx, eax
push ebx
mov al, 5
mov ecx, esi
call fcn.10008890
push 5
push ebx
call edi
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 0x41a
mov ecx, esi
call eax
mov ebx, eax
push ebx
mov al, 5
mov ecx, esi
call fcn.10008890
push 5
push ebx
call edi
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 0x419
mov ecx, esi
call eax
mov ebx, eax
push ebx
mov al, 5
mov ecx, esi
call fcn.10008890
push 5
push ebx
call edi
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 0x41b
mov ecx, esi
call eax
mov ebx, eax
push ebx
mov al, 5
mov ecx, esi
call fcn.10008890
push 5
push ebx
call edi
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 0x41f
mov ecx, esi
call eax
mov ebx, eax
push ebx
mov al, 5
mov ecx, esi
call fcn.10008890
push 5
push ebx
call edi
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push 0x41e
mov ecx, esi
call eax
mov dword [esi + 0x40078], eax
push eax
mov al, 0xf
mov ecx, esi
call fcn.10008890
mov ecx, dword [esi + 0x40078]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x21
push 0
push 0x1036
push ecx
call ebx
mov edx, dword [esi + 0x40078]
push 5
push edx
call edi
mov eax, dword [esi + 0x40078]
push 0
push 0
push 0x1009
push eax
call ebx
mov ecx, dword [esi + 0x40078]
push 0x46
push ecx
mov edx, str.Log_Idx
xor ecx, ecx
call fcn.10013ee0
mov edx, dword [esi + 0x40078]
push 0x82
push edx
mov edx, str.Server_Type
mov ecx, 1
call fcn.10013ee0
mov eax, dword [esi + 0x40078]
push 0x64
push eax
mov edx, str.ServerBodyID
mov ecx, 2
call fcn.10013ee0
mov ecx, dword [esi + 0x40078]
push 0x12c
push ecx
mov edx, str.Schedule_Define_Name
mov ecx, 3
call fcn.10013ee0
mov edx, dword [esi + 0x40078]
push 0x64
push edx
mov edx, str.Schedule_Idx
mov ecx, 4
call fcn.10013ee0
mov eax, dword [esi + 0x40078]
push 0x78
push eax
mov edx, str.Occurrence_Type
mov ecx, 5
call fcn.10013ee0
mov ecx, dword [esi + 0x40078]
push 0x96
push ecx
mov edx, str.Occurrence_Time
mov ecx, 6
call fcn.10013ee0
add esp, 0x38
push esi
mov ecx, 0x10006d80
mov eax, 5
call fcn.10008720
push esi
mov ecx, 0x10006d90
mov eax, 0x4e
call fcn.10008720
push esi
mov edx, 0x10007020
xor eax, eax
mov ecx, 0x41f
call fcn.100087d0
push esi
mov edx, 0x10007420
xor eax, eax
mov ecx, 0x420
call fcn.100087d0
push esi
mov dword [esi + 0x200fc], 0x10007450
call fcn.10006fb0
pop edi
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x10006dc0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x148
mov eax, dword [0x1008d0a0]
xor eax, esp
mov dword [esp + 0x144], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
cmp eax, 1
push edi
jne 0x10006e0d
mov eax, dword [ebx + 0x14]
push 0x20
push 0
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, 0x20
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.10049338
mov esp, ebp
pop ebp
ret
cmp eax, 0x10001
jne 0x10006e3b
mov ecx, dword [ebx + 0x14]
push 0x20
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, 0x20
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.10049338
mov esp, ebp
pop ebp
ret
cmp eax, 0x30001
jne 0x10006f89
mov edx, dword [esi + 0x24]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x38]
push 0
mov dword [esp + 0x28], eax
mov eax, dword [esi]
push 0x1005
lea ecx, [esp + 0x4c]
push eax
mov dword [esp + 0x28], 0xd
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], 0x104
call edi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
lea edx, [esp + 8]
push edx
push eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esi]
push 0x1038
push ecx
mov dword [esp + 0x18], 0
call edi
mov edx, dword [esp + 0x1c]
mov eax, dword [esi]
push 2
push edx
push 0x102c
push eax
call edi
test eax, eax
je 0x10006ef7
push 0xc8ffff
push 0xc8ffff
lea ecx, [esp + 0x10]
push ecx
jmp 0x10006f06
push 0xffffff
push 0xffffff
lea edx, [esp + 0x10]
push edx
mov ecx, dword [esi + 0x10]
call fcn.10017f00
mov edx, dword [esp + 0x18]
add esp, 0xc
cmp dword [esi + 0x38], 1
mov esi, dword [esi + 0x10]
je 0x10006f45
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x40]
push eax
mov eax, dword [esp + 0xc]
sar ecx, 0x18
push ecx
push str._d_s
push 0
push edx
add eax, 5
push eax
call fcn.10017d20
add esp, 0x18
jmp 0x10006f62
mov eax, dword [esp + 8]
lea ecx, [esp + 0x40]
push ecx
push 0x1007e4a8
push 0
push edx
add eax, 5
push eax
call fcn.10017d20
add esp, 0x14
mov ecx, dword [ebx + 0x14]
push 4
push 0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, 4
pop edi
pop esi
mov ecx, dword [esp + 0x144]
xor ecx, esp
call fcn.10049338
mov esp, ebp
pop ebp
ret
mov edx, dword [ebx + 0x14]
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.10049338
mov esp, ebp
pop ebp
ret