joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49e500
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56f3b1
push eax
mov dword fs:[0], esp
sub esp, 0x154
push esi
mov esi, dword [esp + 0x168]
test esi, esi
push edi
je 0x49e5e4
cmp byte [esi], 0
je 0x49e5e4
push esi
call fcn.0049e220
add esp, 4
test eax, eax
je 0x49e5e4
push esi
lea ecx, [esp + 0xc]
call fcn.00530bfd
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
mov dword [esp + 0x16c], 0
call fcn.005280b2
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
test eax, eax
je 0x49e57a
cmp byte [eax + ecx - 1], 0x5c
je 0x49e588
push 0x5c4800
lea ecx, [esp + 0xc]
call fcn.00530f6b
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
call fcn.00530904
push 0x5c47c0
lea ecx, [esp + 0xc]
mov byte [esp + 0x168], 1
call fcn.00530f6b
mov edx, dword [esp + 8]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x49e5fd
lea ecx, [esp + 0xc]
mov byte [esp + 0x164], 0
call fcn.00530b8f
lea ecx, [esp + 8]
mov dword [esp + 0x164], edi
call fcn.00530b8f
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
add esp, 0x160
ret
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea eax, [esp + 0x50]
push 0x5c5a04
push eax
call fcn.004ef380
add esp, 0xc
test eax, eax
je 0x49e6d1
push 2
lea ecx, [esp + 0x50]
push 0x5c5a00
push ecx
call fcn.004ef380
add esp, 0xc
test eax, eax
je 0x49e6d1
mov edx, dword [esp + 0x20]
and edx, 1
cmp dl, 1
jne 0x49e678
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00530e24
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
and ecx, 0xfffffffe
push ecx
push eax
call esi
lea ecx, [esp + 0x14]
call fcn.00530b8f
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x4c]
and edx, 0x10
lea ecx, [esp + 0x10]
push eax
cmp dl, 0x10
push ecx
jne 0x49e6b9
lea edx, [esp + 0x24]
push edx
call fcn.00530e24
mov eax, dword [eax]
mov byte [esp + 0x168], 2
push eax
call fcn.0049e4c0
add esp, 4
mov byte [esp + 0x168], 1
lea ecx, [esp + 0x1c]
jmp 0x49e6cc
lea edx, [esp + 0x20]
push edx
call fcn.00530e24
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x18]
call fcn.00530b8f
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x49e60a
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 0
call fcn.00530b8f
lea ecx, [esp + 0xc]
mov dword [esp + 0x168], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x160]
pop ebp
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x160
ret
Function at 0x49e7a0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x49e7cd
cmp byte [esi], 0
je 0x49e7cd
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x49e7cd
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x49eac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56f44b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [ebp + 8]
push esi
push edi
push eax
lea ecx, [esp + 0x10]
call fcn.00530bfd
push 0x5c
push 0x2f
lea ecx, [esp + 0x14]
mov dword [esp + 0x164], 0
call fcn.005280b2
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x49eb47
lea ecx, [esp + 0xc]
mov dword [esp + 0x15c], eax
call fcn.00530b8f
or eax, 0xffffffff
or edx, 0xffffffff
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x2c]
push 1
push 0
push 0
push eax
call fcn.00515790
mov ecx, dword [esp + 0x30]
mov esi, eax
mov edi, edx
xor edx, edx
add esi, ecx
lea ecx, [esp + 0xc]
adc edi, edx
mov dword [esp + 0x15c], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x154]
mov edx, edi
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49ed40
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x56f4f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [0x5d2d10]
push esi
push edi
mov dword [esp + 0xc], eax
mov cl, byte [0x5d7b88]
xor eax, eax
mov byte [esp + 0x1c], cl
mov ecx, 0x40
lea edi, [esp + 0x1d]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
mov dword [esp + 0x12c], 1
stosb byte es:[edi], al
mov dword [esp + 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
je 0x49edc2
mov esi, dword [esp + 0x130]
push 0x5d7b88
mov ecx, esi
call fcn.00530bfd
mov dword [esp + 0x18], 1
jmp 0x49ee2a
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push 5
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x49edf7
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea edx, [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call fcn.00530d18
mov esi, dword [esp + 0x130]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00530904
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x128], bl
call fcn.00530b8f
mov ecx, dword [esp + 0x120]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x120
ret
Function at 0x49ef20
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x56f57b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [0x5d2d10]
push esi
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x130], 1
mov dword [esp + 0xc], eax
mov al, byte [0x5d7b88]
mov ecx, 0x40
mov byte [esp + 0x24], al
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x130], 2
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
push ecx
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
je 0x49efb0
mov esi, dword [esp + 0x138]
push 0x5d7b88
mov ecx, esi
call fcn.00530bfd
mov dword [esp + 0x1c], 1
jmp 0x49f0ac
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push edx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x49efe5
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esp + 0x24]
lea ecx, [esp + 0xc]
push eax
call fcn.00530d18
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 8], ebx
je 0x49f046
push 0x5c
push 0x2f
lea ecx, [esp + 0x14]
call fcn.005280b2
push 0x5c
lea ecx, [esp + 0x10]
call fcn.005288d2
mov edx, dword [esp + 0xc]
push 0x5cc1f4
push str.CuteFTP_Pro
push str.GlobalSCAPE
push edx
lea eax, [esp + 0x20]
push str._s_s_s_s
push eax
call fcn.00528823
add esp, 0x18
jmp 0x49f076
lea ecx, [esp + 0x20]
push ecx
call fcn.0049ec70
add esp, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 3
call fcn.00530cc8
lea ecx, [esp + 0x20]
mov byte [esp + 0x130], 2
call fcn.00530b8f
push str.Cache
lea ecx, [esp + 0x14]
call fcn.00530f6b
mov edx, dword [esp + 0x10]
push edx
call fcn.0049e320
mov esi, dword [esp + 0x13c]
add esp, 4
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00530904
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], 1
call fcn.00530b8f
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], bl
call fcn.00530b8f
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret

Function at 0x49f4e0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
lea eax, [esp + 4]
push esi
push eax
push 0x104
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [esp + 0x110]
test eax, eax
jne 0x49f520
push 0x5d7b88
mov ecx, esi
call fcn.00530bfd
mov eax, esi
pop esi
add esp, 0x108
ret
lea ecx, [esp + 8]
push ecx
push esi
call fcn.0049f240
add esp, 8
mov eax, esi
pop esi
add esp, 0x108
ret
Function at 0x49f540
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x56f6c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push esi
lea eax, [esp + 0x10]
push edi
xor ebx, ebx
push eax
push 0x104
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x49f58d
mov esi, dword [esp + 0x22c]
push 0x5d7b88
mov ecx, esi
call fcn.00530bfd
jmp 0x49f608
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
push edx
call fcn.0049f240
add esp, 8
mov eax, dword [esp + 0xc]
mov edi, 1
mov dword [esp + 0x224], edi
cmp dword [eax - 8], ebx
jne 0x49f5bb
push 0x5d7b88
jmp 0x49f5e6
mov edx, dword [esp + 0x230]
lea ecx, [esp + 0x118]
push ecx
push ebx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x49f5de
push 0x5d7b88
jmp 0x49f5e6
lea eax, [esp + 0x118]
push eax
mov esi, dword [esp + 0x230]
mov ecx, esi
call fcn.00530bfd
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], edi
mov byte [esp + 0x224], bl
call fcn.00530b8f
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x49fa30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x56f7b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
xor ebx, ebx
lea eax, [esp + 0xc]
push esi
mov dword [esp + 0x14], ebx
push eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
je 0x49fa7e
mov esi, dword [esp + 0x150]
push 0x5d7b88
mov ecx, esi
call fcn.00530bfd
jmp 0x49fbd4
mov ecx, dword [0x5d2d10]
mov dword [esp + 8], ecx
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea edx, [esp + 0xc]
push edx
push 0x1a
push ebx
mov dword [esp + 0x154], 1
mov dword [esp + 0x18], ebx
call esi
test eax, eax
jne 0x49fad4
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [esp + 0x1c]
push edx
jmp 0x49fb5f
lea eax, [esp + 0xc]
push eax
push 0x10
push ebx
call esi
test eax, eax
jne 0x49fb68
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [esp + 0x1c]
lea ecx, [esp + 8]
push eax
call fcn.00530d18
push ebx
push str.Desktop
lea ecx, [esp + 0x10]
call fcn.005284ab
cmp eax, ebx
jl 0x49fb5a
lea ecx, [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x10]
call fcn.005283d8
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x14c], 2
call fcn.00530cc8
lea ecx, [esp + 0x18]
mov byte [esp + 0x148], 1
call fcn.00530b8f
jmp 0x49fb68
push 0x5d7b88
lea ecx, [esp + 0xc]
call fcn.00530d18
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 8]
cmp dword [eax - 8], ebx
jne 0x49fb90
mov esi, dword [esp + 0x150]
push 0x5d7b88
mov ecx, esi
call fcn.00530bfd
jmp 0x49fbbc
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
call fcn.005280b2
push 0x5c
lea ecx, [esp + 0xc]
call fcn.005288d2
mov esi, dword [esp + 0x150]
lea ecx, [esp + 8]
push 0x5c
push ecx
push esi
call fcn.00527e5d
lea ecx, [esp + 8]
mov byte [esp + 0x148], bl
mov dword [esp + 0x14], 1
call fcn.00530b8f
mov ecx, dword [esp + 0x140]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x144
ret
Function at 0x49fbf0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x56f7d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
mov dword [esp + 0x10], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
je 0x49fc39
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
add esp, 0x140
ret
mov ecx, dword [0x5d2d10]
push esi
mov dword [esp + 8], ecx
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea edx, [esp + 0xc]
push edx
push 0x1a
push ebx
mov dword [esp + 0x150], ebx
mov dword [esp + 0x18], ebx
call esi
test eax, eax
jne 0x49fc8c
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [esp + 0x18]
push edx
jmp 0x49fd16
lea eax, [esp + 0xc]
push eax
push 0x10
push ebx
call esi
test eax, eax
jne 0x49fd1f
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
push eax
call fcn.00530d18
push ebx
push str.Desktop
lea ecx, [esp + 0x10]
call fcn.005284ab
cmp eax, ebx
jl 0x49fd11
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x10]
call fcn.005283d8
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x148], 1
call fcn.00530cc8
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], bl
call fcn.00530b8f
jmp 0x49fd1f
push 0x5d7b88
lea ecx, [esp + 0xc]
call fcn.00530d18
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 8]
pop esi
mov ecx, dword [eax - 8]
cmp ecx, ebx
lea ecx, [esp + 4]
jne 0x49fd61
mov dword [esp + 0x140], 0xffffffff
call fcn.00530b8f
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
add esp, 0x140
ret
push 0x5c
push 0x2f
call fcn.005280b2
push 0x5c
lea ecx, [esp + 8]
call fcn.005288d2
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x148]
push 0x5cc1f4
push str.CuteFTP_Pro
push str.GlobalSCAPE
push ecx
push str._s_s_s_s
push edx
call fcn.00528823
add esp, 0x18
lea ecx, [esp + 4]
mov dword [esp + 0x140], 0xffffffff
call fcn.00530b8f
mov ecx, dword [esp + 0x138]
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x140
ret

Function at 0x4a00c0
Capabilities:
Get file system object information

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x160
test eax, eax
je 0x4a0104
push 0x4c08
lea ecx, [esp + 4]
push 0x160
push ecx
push 0
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 8]
test eax, 0x10000
je 0x4a0104
test eax, 0x20000000
je 0x4a0104
mov eax, 1
add esp, 0x160
ret
xor eax, eax
add esp, 0x160
ret
Function at 0x4a07d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x56f98f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [esp + 4], 0
mov eax, dword [0x5d2d10]
push ebp
push esi
push edi
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [esp + 0x1c], 1
mov esi, 1
push esi
lea ecx, [esp + 0x10]
push edi
push ecx
call fcn.00528823
mov edx, dword [esp + 0x18]
add esp, 0xc
push edx
call ebp
cmp eax, 0xffffffff
je 0x4a0871
inc esi
cmp esi, 0x1000
jl 0x4a0813
mov esi, dword [esp + 0x24]
push 0x5d7b88
mov ecx, esi
call fcn.00530bfd
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 0
call fcn.00530b8f
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
mov esi, dword [esp + 0x24]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00530904
mov dword [esp + 0x10], 1
jmp 0x4a084f

Function at 0x4a0890
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x56f9c7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov dword [esp + 8], 0
mov esi, dword [esp + 0x24]
push esi
call fcn.0049e250
add esp, 4
test eax, eax
je 0x4a08e0
push esi
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.00530bfd
mov eax, esi
pop esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x24]
push eax
call fcn.00530bfd
push esi
lea ecx, [esp + 8]
mov dword [esp + 0x18], 1
call fcn.00530bfd
push 0x5c
push 0x2f
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 2
call fcn.005280b2
push 0x5c
lea ecx, [esp + 0x28]
call fcn.005288d2
push 0x5c
push 0x2f
lea ecx, [esp + 0xc]
call fcn.005280b2
push 0x5c
lea ecx, [esp + 8]
call fcn.005288d2
push 0x5c
lea ecx, [esp + 8]
call fcn.005289c8
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4a0970
push 0x10e
lea ecx, [esp + 0x28]
call fcn.00530fbf
push eax
push 0x10e
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0x28]
call fcn.0053100e
mov edx, dword [esp + 4]
mov eax, dword [edx - 8]
test eax, eax
je 0x4a0994
push 0x5c
lea ecx, [esp + 0x28]
call fcn.00530f92
lea eax, [esp + 4]
lea ecx, [esp + 0x24]
push eax
call fcn.00530fa7
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.00530904
lea ecx, [esp + 4]
mov dword [esp + 8], 1
mov byte [esp + 0x14], 1
call fcn.00530b8f
lea ecx, [esp + 0x24]
mov byte [esp + 0x14], 0
call fcn.00530b8f
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4a0a70
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
push esi
mov esi, ecx
call fcn.005332c3
mov eax, dword [0x5d2d10]
lea ecx, [esp + 4]
mov dword [esi + 0x30], eax
push ecx
mov dword [esi], method.CFile.virtual_0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x20]
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], edx
mov dword [esi + 0x10], 0xffffffff
mov eax, esi
pop esi
add esp, 0x24
ret

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x56fa68
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x4c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
cmp dword [edx], ecx
ja 0x4a0e64
lea ebx, [edi + 0x30]
lea esi, [edi + 0xc]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x10]
mov eax, dword [eax]
push eax
push ecx
mov dword [edi + 0x34], eax
call fcn.004a0c70
add esp, 8
push eax
mov ecx, ebx
mov dword [esp + 0x28], 0
call fcn.00530cc8
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00530b8f
mov ebp, dword [ebx]
lea edx, [esp + 0x18]
push edx
call fcn.004a0bf0
mov eax, dword [eax]
push ebp
push eax
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x34], 1
call fcn.004a0890
add esp, 0x10
push eax
mov ecx, esi
mov byte [esp + 0x28], 2
call fcn.00530cc8
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 1
call fcn.00530b8f
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0xffffffff
call fcn.00530b8f
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4a0e2c
mov ecx, dword [esi]
and al, 0xfe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esi]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [edi + 0x10], eax
jne 0x4a0e64
mov eax, dword [esp + 0x2c]
mov edx, dword [eax]
inc edx
mov dword [eax], edx
mov edx, dword [esp + 0x30]
cmp dword [eax], edx
jbe 0x4a0d89
mov esi, dword [edi + 0x10]
cmp esi, 0xffffffff
jne 0x4a0e70
xor eax, eax
jmp 0x4a0eb5
mov eax, dword [edi + 0x28]
mov edx, dword [esp + 0x34]
cmp eax, edx
mov dword [edi + 0x18], eax
jae 0x4a0e89
mov ecx, eax
add ecx, eax
cmp ecx, edx
jb 0x4a0e80
mov dword [edi + 0x18], ecx
mov eax, dword [edi + 0x30]
push eax
mov eax, dword [edi + 0x18]
push eax
push 0
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [edi + 0x14], eax
jne 0x4a0eb0
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x4c]
xor eax, eax
jmp 0x4a0eb5
mov eax, 1
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x4a5907
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, 0x66d5b0
jmp 0x4a58f0
push 0xffffffffffffffff
push 0x5703e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004f35a0
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, 0x11
mov eax, 0xa
mov dword [ebx], method.CSyncObject.virtual_20
mov dword [esp + 0x18], edi
mov dword [esi + 0x30], 0x58bf78
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], 0x58bf6c
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], ecx
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], 0x58bf60
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], eax
lea ecx, [esi + 0x84]
mov byte [esp + 0x18], 3
call fcn.0049d090
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi], 0x58bf40
mov dword [esi + 0xc], 0x58bec8
mov dword [esi + 0x10], ebx
mov eax, esi
pop edi
mov dword [ebx], 0x58bea0
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4a8440
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4a845f
cmp esi, 0xffffffff
je 0x4a845f
cmp esi, 0xfffffffe
je 0x4a845f
cmp esi, 0xfffffffc
jne 0x4a84a8
push 0x1c
call fcn.00531c00
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add esp, 4
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
push 0
push 4
push 0
push 0xfffffffffffffffe
push eax
push 0x4a84b0
mov dword [eax], esi
mov dword [eax + 4], ecx
mov dword [eax + 0x10], edx
call fcn.00531e34
test eax, eax
je 0x4a84a8
mov eax, dword [eax + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
ret
Function at 0x4b2d00
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x3c
push ebx
push esi
push edi
push 0xe800
add ecx, 0x6b8
call fcn.004f8ae0
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov dword [esp + 0xc], 0x805b
mov dword [esp + 0x10], 0xbc6
mov dword [esp + 0x14], 0x8021
mov dword [esp + 0x18], 0x8197
mov dword [esp + 0x1c], 0x8198
mov dword [esp + 0x20], 0x8196
mov dword [esp + 0x24], 0x8098
mov dword [esp + 0x28], 0x8096
mov dword [esp + 0x2c], 0x81af
mov dword [esp + 0x30], 0x81b5
mov dword [esp + 0x34], 0xe123
mov dword [esp + 0x38], 0xe122
mov dword [esp + 0x3c], 0xe125
mov dword [esp + 0x40], 0x80c4
mov dword [esp + 0x44], 0x802d
xor esi, esi
mov eax, dword [esp + esi*4 + 0xc]
mov ecx, dword [edi + 0x1c]
push 0
push eax
push 0x419
push ecx
call ebx
mov edx, dword [edi + 0x1c]
push 0
push eax
push 0x416
push edx
call ebx
inc esi
cmp esi, 0xf
jl 0x4b2d98
mov eax, dword [edi + 0x1c]
push 0
push 0x80fd
push 0x419
push eax
call ebx
mov ecx, dword [edi + 0x1c]
push 3
push eax
push 0x452
push ecx
call ebx
pop edi
pop esi
pop ebx
add esp, 0x3c
ret