joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100b8df
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x103b3bc]
mov dword [ebp - 4], eax
mov eax, dword [0x103d498]
push esi
lea eax, [eax + eax*4]
push edi
mov edi, dword [ebp + 8]
shl eax, 4
push dword [eax + 0x103d5a4]
call fcn.0100d6f1
test eax, eax
jne 0x100b91e
call fcn.0102535a
test eax, eax
je 0x100ba7c
cmp dword [0x103d530], 0
mov eax, 0x1001d98
jne 0x100b931
mov eax, 0x1001da0
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, 0x100
push esi
push 0x1001808
lea eax, [ebp - 0x104]
push eax
call fcn.0100e69c
push esi
push edi
lea eax, [ebp - 0x104]
push eax
call fcn.0100e69c
xor edi, edi
push 5
lea eax, [ebp - 0x104]
inc edi
push eax
mov dword [0x103d56c], edi
call dword [sym.imp.KERNEL32.dll_WinExec]
cmp eax, 0x20
jbe 0x100ba78
push 0
push 0x10017fc
call dword [sym.imp.USER32.dll_FindWindowA]
test eax, eax
mov dword [0x103d524], eax
je 0x100ba7c
mov ecx, dword [0x103d4a0]
mov eax, dword [0x103d4a8]
mov esi, dword [0x103d4a4]
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
dec eax
mov dword [ebp - 0x10c], eax
mov eax, dword [0x103d4ac]
sub eax, esi
mov dword [ebp - 0x108], eax
push 0x10
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x124]
push eax
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x110], esi
call dword [sym.imp.msvcrt.dll_memmove]
mov eax, dword [ebp - 0x10c]
mov esi, dword [sym.imp.USER32.dll_MoveWindow]
add esp, 0xc
push edi
push dword [ebp - 0x108]
lea ecx, [eax + 2]
push eax
push dword [ebp - 0x110]
mov eax, dword [0x103d498]
push dword [ebp - 0x114]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103d5a0]
mov dword [ebp - 0x124], ecx
call esi
push edi
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebp - 0x120]
push dword [ebp - 0x124]
push dword [0x103d524]
call esi
mov eax, dword [0x103d498]
lea eax, [eax + eax*4]
shl eax, 4
push dword [eax + 0x103d5a0]
push 0
push 0x429
push dword [0x103d524]
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
call fcn.01019344
mov eax, edi
jmp 0x100ba7e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
call fcn.01037c5a
leave
ret 4

Function at 0x100bf05
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x103b3bc]
push esi
mov esi, dword [ebp + 8]
push 0x64
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
and dword [ebp - 0x6c], 0
cmp word [esi], 0
jle 0x100bf81
push edi
lea edi, [esi + 0xc]
push ebx
mov eax, dword [edi - 4]
mov ecx, dword [esi + 4]
push dword [ecx + eax*4 + 4]
lea ebx, [ebp - 0x68]
call fcn.0100b4d1
test eax, eax
jne 0x100bf62
mov eax, dword [edi]
mov ecx, dword [esi + 4]
push dword [ecx + eax*4 + 4]
call fcn.0102c5db
mov ebx, eax
test ebx, ebx
jne 0x100bf72
movsx eax, word [esi]
inc dword [ebp - 0x6c]
add edi, 0x16
cmp dword [ebp - 0x6c], eax
jl 0x100bf38
jmp 0x100bf7f
push ebx
call fcn.01004fe0
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop ebx
pop edi
mov ecx, dword [ebp - 4]
pop esi
call fcn.01037c5a
leave
ret 8
Function at 0x100ea55
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
mov edi, edi
push ebx
movzx eax, ax
dec eax
push esi
push edi
mov edi, ecx
je 0x100eb70
dec eax
je 0x100eb1c
dec eax
dec eax
je 0x100ea82
mov dword [0x103b974], 6
xor edi, edi
jmp 0x100eb8f
push 1
push 0x1a
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jl 0x100eaa4
mov esi, 0x104
push esi
push edi
jmp 0x100eb39
push 0
push edi
call fcn.0100e9da
mov esi, 0x104
push esi
push edi
call fcn.0100e984
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
call ebx
add eax, edi
push 0x1001d90
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
push esi
jne 0x100eb0a
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
push edi
call fcn.0100e984
push edi
call ebx
mov ebx, eax
push 0x1001d90
add ebx, edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100eb17
push esi
push 0x10019b0
push edi
call fcn.0100e69c
jmp 0x100eb7d
mov byte [ebx], 0
jmp 0x100eb7d
push 1
push 0x1a
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
mov esi, 0x104
push esi
push edi
jl 0x100eb68
call fcn.0100e984
push esi
push 0x1001d90
push edi
call fcn.0100e69c
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100eb5f
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
push edi
call fcn.0100e984
jmp 0x100eb7d
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x100eb5f
push edi
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test edi, edi
je 0x100eb8f
push esi
push edi
call fcn.0100e984
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x100eb9a
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x103b3bc]
and dword [0x103b974], 0
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x108]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100ebde
test al, 0x10
jne 0x100ebf9
push esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
lea eax, [ebp - 0x108]
push eax
call fcn.0100e984
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x1001d28
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x20c]
push eax
call fcn.0100e745
mov esi, eax
test esi, esi
je 0x100ec44
push esi
call fcn.0102c149
test eax, eax
je 0x100ec44
push esi
call fcn.0100325b
mov dword [0x103b974], 1
xor eax, eax
jmp 0x100ec46
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
call fcn.01037c5a
leave
ret
Function at 0x100edf4
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x103b3bc]
and dword [ebp - 0x414], 0
cmp dword [0x103d530], 0
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x410], esi
mov eax, 0x1001d98
jne 0x100ee2c
mov eax, 0x1001da0
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x104
push 0x1001930
lea eax, [ebp - 0x108]
push eax
call fcn.0100e69c
lea eax, [ebp - 0x108]
push eax
push 3
lea eax, [ebp - 0x418]
push eax
mov ebx, 0x1001c98
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edi, 0x1001928
push edi
call esi
cmp eax, 1
jbe 0x100ef8b
lea eax, [ebp - 0x108]
push eax
push 0x304
lea eax, [ebp - 0x40c]
push eax
push ebx
push dword [ebp - 0x410]
push edi
call esi
push dword [ebp - 0x410]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [ebp - 0x40c], 0
mov esi, eax
lea eax, [ebp - 0x40c]
je 0x100eef0
cmp byte [eax], 0x2c
je 0x100eecb
push eax
call dword [sym.imp.USER32.dll_CharNextA]
cmp byte [eax], 0
jne 0x100eeb8
jmp 0x100eef0
mov byte [eax], 0
inc eax
push 0x201
lea esi, [esi + eax + 1]
push eax
push esi
call dword [sym.imp.msvcrt.dll_memmove]
add esp, 0xc
mov dword [ebp - 0x414], esi
mov byte [esi + 0x200], 0
mov esi, 0x304
push esi
lea eax, [ebp - 0x40c]
push eax
call fcn.0100e984
push esi
push dword [ebp - 0x410]
lea eax, [ebp - 0x40c]
push eax
call fcn.0100e69c
lea eax, [ebp - 0x40c]
push 1
push eax
call fcn.0100f57a
cmp dword [ebp + 8], 0
je 0x100ef8d
jmp 0x100ef81
mov ecx, dword [ebp - 0x414]
test ecx, ecx
jne 0x100ef3a
mov ecx, 0x1001747
mov eax, dword [0x103d574]
test eax, eax
jne 0x100ef54
mov eax, dword [0x103d498]
lea eax, [eax + eax*4]
shl eax, 4
mov eax, dword [eax + 0x103d5a0]
mov edx, dword [0x103d504]
or edx, 0x2011
push edx
push dword [0x103d324]
push ecx
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 1
jne 0x100ef87
push eax
lea eax, [ebp - 0x40c]
push eax
call fcn.0100f57a
mov esi, eax
test esi, esi
je 0x100ef2b
mov eax, esi
jmp 0x100ef8d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01037c5a
leave
ret 4
Function at 0x100efa1
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 1
push 0x1c
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov esi, 0x104
jl 0x100f001
push esi
push edi
call fcn.0100e984
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push 0x1001d90
push edi
call fcn.0100e69c
push edi
call ebx
cmp eax, 0xffffffff
jne 0x100effa
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x100effd
xor eax, eax
inc eax
test eax, eax
jne 0x100f04e
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push esi
push edi
call fcn.0100e984
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push 0x1001d90
add eax, edi
push edi
mov dword [ebp + 0xc], eax
call fcn.0100e69c
push edi
call ebx
cmp eax, 0xffffffff
jne 0x100f04e
push 0x10019b4
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
call ebx
cmp eax, 0xffffffff
jne 0x100f04e
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x100f055
push esi
push edi
call fcn.0100e984
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push 0xc
push edi
call esi
mov ecx, 0x103
sub ecx, eax
push ecx
push edi
call esi
add eax, edi
push eax
push dword [ebp + 8]
call fcn.0100ed4a
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x100f1be
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x103b3bc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10c], eax
call fcn.0100e6da
test ax, ax
mov dword [ebp - 0x110], eax
jne 0x100f1f5
xor eax, eax
jmp 0x100f287
push esi
push edi
mov esi, 0x104
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push esi
push ebx
call fcn.0100e984
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebx
call edi
movzx eax, word [ebp - 0x110]
push eax
lea eax, [ebp - 0x108]
push 0x10019c0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push esi
lea eax, [ebp - 0x108]
push eax
push ebx
call fcn.0100e69c
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100f283
push esi
push ebx
call fcn.0100e984
push 0xc
push ebx
call edi
mov ecx, 0x103
sub ecx, eax
push ecx
push ebx
call edi
add eax, ebx
push eax
push dword [ebp - 0x10c]
call fcn.0100ed4a
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
jmp 0x100f285
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
pop ebx
call fcn.01037c5a
leave
ret 8
Function at 0x10190ea
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x380
mov eax, dword [0x103b3bc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [0x103d380]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x37c], esi
mov dword [ebp - 0x380], edi
jne 0x1019123
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 0x378], eax
mov eax, dword [esi + 0xc]
cmp word [eax + 0x3a], 0xf
jne 0x1019160
push edi
push 0xb0
call fcn.01023837
push eax
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
call fcn.01026638
jmp 0x1019272
cmp dword [0x103d8d0], ebx
jne 0x101920c
push 1
push 0x32
call fcn.01023837
push eax
call fcn.0100d1cd
mov edi, eax
cmp edi, ebx
je 0x1019272
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1001c4c
push edi
call esi
push 0x1001c58
push edi
mov dword [0x103d8d0], eax
call esi
push 0x1001c64
push edi
mov dword [0x103d8cc], eax
call esi
push 0x1001c74
push edi
mov dword [0x103d8c8], eax
call esi
push 0x1001c84
push edi
mov dword [0x103d8c4], eax
call esi
cmp dword [0x103d8d0], ebx
mov dword [0x103d8c0], eax
je 0x10191f8
cmp dword [0x103d8cc], ebx
je 0x10191f8
cmp dword [0x103d8c8], ebx
je 0x10191f8
cmp dword [0x103d8c4], ebx
je 0x10191f8
cmp eax, ebx
je 0x10191f8
cmp dword [0x103ba0c], ebx
jne 0x1019200
mov dword [0x103d8d0], ebx
jmp 0x1019272
mov edi, dword [ebp - 0x380]
mov esi, dword [ebp - 0x37c]
cmp dword [0x103d534], ebx
je 0x1019239
push edi
push 0x37
call fcn.01023837
push eax
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
call fcn.010242ce
push dword [0x103d574]
push fcn.01036023
call dword [0x103ba0c]
push dword [ebp + 0x10]
movzx eax, word [0x103aac4]
push dword [ebp - 0x378]
push eax
mov eax, dword [esi + 0xc]
push ebx
push dword [eax + 0x3e]
push edi
call dword [0x103d8d0]
cmp eax, ebx
mov dword [0x103aaac], eax
jg 0x1019279
xor eax, eax
jmp 0x1019330
push esi
call fcn.01018fc4
mov esi, eax
cmp esi, ebx
jne 0x1019313
push edi
lea eax, [ebp - 0x374]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x1001d58
lea eax, [ebp - 0x374]
push eax
call fcn.0102c23a
mov esi, 0x104
push esi
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, dword [sym.imp.msvcrt.dll_strrchr]
lea eax, [ebp - 0x108]
push 0x5c
push eax
call edi
pop ecx
pop ecx
push esi
mov byte [eax + 1], bl
push 0x1001c90
lea eax, [ebp - 0x108]
push eax
call fcn.0100e69c
lea eax, [ebp - 0x374]
push 0x5c
push eax
call edi
pop ecx
pop ecx
push esi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0100e69c
lea eax, [ebp - 0x108]
push eax
push dword [0x103aaac]
call dword [0x103d8cc]
mov esi, eax
push dword [0x103aaac]
call dword [0x103d8c0]
or dword [0x103aaac], 0xffffffff
push ebx
push ebx
call dword [0x103ba0c]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01037c5a
leave
ret 0xc
Function at 0x10266e0
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x103b3bc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp dword [0x103d564], edi
mov dword [ebp - 4], eax
je 0x102670e
mov dword [0x103d564], edi
jmp 0x1026855
cmp dword [0x103d568], edi
jne 0x1026855
cmp dword [0x103b8d4], 5
jge 0x10268b8
inc dword [0x103b8d4]
cmp dword [ebp + 0x10], 2
je 0x1026739
cmp dword [ebp + 0x10], 3
jne 0x1026743
mov dword [0x103d570], 1
cmp ebx, edi
je 0x102675a
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1026778
mov ebx, dword [0x103d574]
jmp 0x1026778
mov eax, dword [0x103d574]
cmp eax, edi
je 0x1026767
mov ebx, eax
jmp 0x1026778
mov eax, dword [0x103d498]
lea eax, [eax + eax*4]
shl eax, 4
mov ebx, dword [eax + 0x103d5a0]
mov esi, dword [ebp + 0xc]
cmp esi, 2
je 0x102679c
cmp esi, 0x2328
jl 0x1026790
cmp esi, 0x238b
jle 0x102679c
push dword [ebp + 0x14]
push esi
call fcn.01023837
push eax
jmp 0x10267a3
push esi
push dword [0x103d360]
lea eax, [ebp - 0x104]
push 0x1002310
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
cmp dword [0x103d580], edi
je 0x10267ca
push edi
push 1
push edi
push edi
call fcn.0101e63f
cmp dword [0x103d560], edi
je 0x10267e0
push 0x63
push dword [0x103d5a0]
call dword [sym.imp.USER32.dll_KillTimer]
cmp esi, 2
mov edi, 0x2010
jne 0x10267ee
mov eax, edi
jmp 0x10267f8
mov eax, dword [0x103d504]
or eax, 0x2040
mov esi, dword [sym.imp.USER32.dll_MessageBoxA]
push eax
push dword [0x103d324]
lea eax, [ebp - 0x104]
push eax
push ebx
call esi
test eax, eax
jne 0x1026837
cmp dword [ebp + 0xc], 2
jne 0x1026837
mov eax, dword [0x103d504]
or eax, edi
push eax
push dword [0x103d324]
push dword [0x103d360]
push ebx
call esi
mov dword [ebp + 0x10], 2
cmp dword [0x103d560], 0
je 0x1026855
push 0
push 0x2710
push 0x63
push dword [0x103d5a0]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebp + 0x10]
dec eax
je 0x10268b2
dec eax
dec eax
je 0x1026866
call fcn.01026685
jmp 0x10268aa
call fcn.0100d6d7
mov esi, eax
push 0x1002300
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esi + 0xc]
push 0x111
push dword [eax + 8]
lea eax, [ebp - 0x218]
push eax
call fcn.0100e69c
call fcn.01026685
push 5
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
push 0xffffffffffffffff
call dword [sym.imp.msvcrt.dll__exit]
dec dword [0x103b8d4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01037c5a
leave
ret 0x10
Function at 0x102cb1b
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x310
mov eax, dword [0x103b3bc]
mov dword [ebp - 4], eax
mov eax, dword [0x103bcbc]
test eax, eax
push esi
mov esi, dword [ebp + 8]
jne 0x102cb5b
push 0x40
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
test eax, eax
pop ecx
je 0x102cb50
mov ecx, eax
call fcn.01033673
jmp 0x102cb52
xor eax, eax
test eax, eax
mov dword [0x103bcbc], eax
je 0x102cb7c
push esi
push eax
call fcn.0103202c
test eax, eax
jne 0x102cbbd
push esi
call fcn.0100cf68
test eax, eax
jne 0x102cbbd
push esi
push dword [0x103bcbc]
call fcn.010336a1
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [ebp - 0x108]
push eax
push esi
push 0x8b
call fcn.01023837
push eax
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x310]
push eax
call fcn.01026638
mov ecx, dword [ebp - 4]
pop esi
call fcn.01037c5a
leave
ret 4
Function at 0x102cddf
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x124
mov eax, dword [0x103b3bc]
push ebx
push esi
mov dword [ebp - 4], eax
mov esi, ecx
mov eax, esi
neg eax
sbb eax, eax
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
and eax, 0xffffffe0
add eax, 0x419
mov ebx, edx
push eax
push ebx
mov dword [ebp - 0x110], ebx
call edi
neg esi
sbb esi, esi
and esi, 0x20
add esi, 0x3f9
push esi
push ebx
mov dword [ebp - 0x114], eax
call edi
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
push ebx
push ebx
push 0x190
push eax
mov dword [ebp - 0x108], eax
call esi
cmp eax, ebx
mov dword [ebp - 0x118], eax
jle 0x102cfe2
push ebx
push ebx
push 0xb
push dword [ebp - 0x114]
call esi
push ebx
push ebx
push 0xb
push dword [ebp - 0x108]
call esi
mov eax, dword [ebp - 0x118]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
push eax
push dword [ebp - 0x118]
mov dword [ebp - 0x11c], eax
push 0x191
push dword [ebp - 0x108]
call esi
cmp dword [ebp - 0x118], ebx
mov dword [ebp - 0x10c], ebx
jle 0x102cf58
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x11c]
lea eax, [eax + ecx*4]
mov dword [ebp - 0x120], eax
mov eax, dword [eax]
lea edx, [ebp - 0x104]
push edx
sub eax, ecx
push eax
push 0x189
push dword [ebp - 0x108]
call esi
mov eax, dword [ebp - 0x120]
mov eax, dword [eax]
sub eax, dword [ebp - 0x10c]
push ebx
push eax
push 0x199
push dword [ebp - 0x108]
call esi
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x104]
push eax
push ebx
push 0x180
push dword [ebp - 0x114]
call esi
push dword [ebp - 0x124]
push eax
push 0x19a
push dword [ebp - 0x114]
call esi
mov eax, dword [ebp - 0x120]
mov eax, dword [eax]
sub eax, dword [ebp - 0x10c]
push ebx
push eax
push 0x182
push dword [ebp - 0x108]
call esi
inc dword [ebp - 0x10c]
mov eax, dword [ebp - 0x10c]
cmp eax, dword [ebp - 0x118]
jl 0x102cea9
push ebx
push 1
push 0xb
push dword [ebp - 0x114]
call esi
push ebx
push 1
push 0xb
push dword [ebp - 0x108]
call esi
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
push ebx
push 0x190
push 0x1389
push dword [ebp - 0x110]
call edi
push eax
call esi
neg eax
sbb eax, eax
neg eax
push eax
push 0x138a
push dword [ebp - 0x110]
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push ebx
push ebx
push 0x190
push 0x138c
push dword [ebp - 0x110]
call edi
push eax
call esi
neg eax
sbb eax, eax
neg eax
push eax
push 0x138b
push dword [ebp - 0x110]
call edi
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01037c5a
leave
ret
Function at 0x102e8d8
Capabilities:
Delete file
Enumerate files on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24c
cmp dword [0x103d304], 0
mov eax, dword [0x103b3bc]
mov dword [ebp - 4], eax
je 0x102e9f6
and dword [ebp - 0x24c], 0
push ebx
push esi
push edi
mov esi, 0x104
cmp dword [ebp - 0x24c], 0
lea eax, [ebp - 0x108]
jne 0x102e920
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x102e935
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
lea eax, [ebp - 0x108]
push eax
call fcn.0100e984
lea eax, [ebp - 0x108]
push eax
call fcn.0102c5db
cmp dword [ebp - 0x24c], 0
mov ebx, eax
mov eax, 0x1001d28
je 0x102e956
mov eax, 0x1002ad8
push esi
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0100e69c
push esi
push 0x1002ad0
lea eax, [ebp - 0x108]
push eax
call fcn.0100e69c
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x102e9d9
push ebx
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0100e69c
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x248]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x102e991
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
inc dword [ebp - 0x24c]
cmp dword [ebp - 0x24c], 2
jl 0x102e907
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.01037c5a
leave
ret