joyce8/EMBER2024-capa huggingface dataset:
Function at 0x108f2c0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push 0x10
mov eax, 0x10b99ca
call fcn.010aac2c
mov esi, ecx
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
push 0x10223a0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], ebx
call fcn.010ab83f
mov dword [ebp - 4], ebx
cmp dword [ebp + 8], ebx
jne 0x108f30a
mov esi, 0x80070057
mov dword [ebp - 0x10], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.010ab886
mov eax, esi
call fcn.010aad18
ret 4
lea eax, [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x108f2ec
cmp dword [ebp - 0x10], ebx
jl 0x108f39a
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x108f32e
push eax
call fcn.010a8eab
pop ecx
mov dword [esi + 8], ebx
xor ecx, ecx
push 2
pop edx
mov eax, 0x104
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.010a8e9b
pop ecx
mov dword [esi + 8], eax
cmp eax, ebx
jne 0x108f381
mov eax, dword [section..data]
cmp eax, section..data
je 0x108f378
test byte [eax + 0x1c], 4
je 0x108f378
push 0x104
push 0x1022238
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01079051
mov dword [ebp - 0x10], 0x8007000e
jmp 0x108f39a
push dword [ebp + 8]
lea ecx, [esi + 0xc]
push ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x108f39a
mov dword [ebp - 0x10], 0x80010135
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x108f47d
push dword [esi + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x108f47d
push ebx
push 2
push 2
push ebx
push ebx
push 0x40000000
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x108f43f
push ebx
lea eax, [ebp + 8]
push eax
push 2
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 0x14], 0xfeff
mov dword [ebp + 8], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x108f436
mov eax, dword [section..data]
cmp eax, section..data
je 0x108f436
test byte [eax + 0x1c], 4
je 0x108f436
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x108f41e
and eax, 0xffff
or eax, 0x80070000
push eax
mov eax, dword [section..data]
push 0x1022238
push 0x12
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01079051
push ebx
push esi
call fcn.010acbfe
jmp 0x108f47d
mov eax, dword [section..data]
cmp eax, section..data
je 0x108f47d
test byte [eax + 0x1c], 4
je 0x108f47d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x108f465
and eax, 0xffff
or eax, 0x80070000
push eax
mov eax, dword [section..data]
push 0x1022238
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01079051
mov esi, dword [ebp - 0x10]
jmp 0x108f2f4
Function at 0x108fdb6
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push 0x21c
mov eax, 0x10b5c7d
call fcn.010aac9f
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push eax
xor edi, edi
push 0x10225d4
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], edi
call fcn.010ab83f
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
cmp esi, edi
jne 0x108fe35
mov eax, 0x80004003
mov dword [ebp - 0x21c], eax
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.010ab886
mov eax, esi
call fcn.010aad31
ret 4
push 0x208
push edi
push esi
call sub.msvcrt.dll_memset
add esp, 0xc
push 1
push 0x1c
lea eax, [ebp - 0x218]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, edi
jne 0x108fe9e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jle 0x108fe6e
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x21c], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x108fe9e
test byte [eax + 0x1c], 4
je 0x108fe9e
push dword [ebp - 0x21c]
push 0x1022238
push 0xc
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01079051
cmp dword [ebp - 0x21c], edi
jl 0x108ffa2
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x100224c
call esi
mov edi, 0x1002238
push edi
mov ebx, eax
call esi
add ebx, eax
lea eax, [ebp - 0x218]
push eax
call esi
lea ecx, [eax + ebx + 3]
mov eax, 0x104
cmp ecx, eax
jle 0x108ff11
mov dword [ebp - 0x21c], 0x80010135
mov eax, dword [section..data]
cmp eax, section..data
je 0x108ffa2
test byte [eax + 0x1c], 4
je 0x108ffa2
push 0x1022238
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102fea5
jmp 0x108ff32
push 0x100224c
push edi
lea ecx, [ebp - 0x218]
push ecx
push 0x10225c0
push eax
push dword [ebp - 0x220]
call fcn.0103d988
add esp, 0x18
cmp dword [ebp - 0x21c], 0
jl 0x108ffa2
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x108ffa2
push 0
push dword [ebp - 0x220]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x108ffa2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x108ff72
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x21c], eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x108ffa2
test byte [eax + 0x1c], 4
je 0x108ffa2
push dword [ebp - 0x21c]
push 0x1022238
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01079051
mov esi, dword [ebp - 0x21c]
jmp 0x108fe1c
Function at 0x1090099
Capabilities:
Read .ini file

Disassembly:
push 0x14
mov eax, 0x10ba61c
call fcn.010aac2c
mov edi, ecx
lea eax, [ebp - 0x10]
push eax
xor ebx, ebx
push 0x102265c
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.010ab83f
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov esi, 0x800
cmp dword [ebp + 8], ebx
jne 0x10900ed
mov eax, 0x80004003
mov dword [ebp - 0x10], eax
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.010ab886
mov eax, esi
call fcn.010aad18
ret 4
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [ebp - 0x10], eax
test eax, eax
jl 0x1090209
test ebx, ebx
jne 0x109017a
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.010a8e9b
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x109014e
push dword [edi + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
lea ecx, [esi - 2]
cmp eax, ecx
jne 0x1090143
push dword [ebp - 0x14]
call fcn.010a8eab
and dword [ebp - 0x14], ebx
pop ecx
add esi, esi
jmp 0x1090146
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x10], 0
jge 0x10900ff
jmp 0x109017a
mov eax, dword [section..data]
cmp eax, section..data
je 0x1090173
test byte [eax + 0x1c], 4
je 0x1090173
push esi
push 0x1022238
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01079051
mov dword [ebp - 0x10], 0x8007000e
cmp dword [ebp - 0x10], 0
jl 0x10901fa
mov ecx, dword [ebp - 0x14]
push esi
call fcn.0108fccc
mov dword [ebp - 0x10], eax
test eax, eax
jl 0x10901fa
push 8
call fcn.010a8e6d
pop ecx
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov byte [ebp - 4], 1
test ecx, ecx
je 0x10901ac
call fcn.0108f957
jmp 0x10901ae
xor eax, eax
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 0
mov dword [esi], eax
test eax, eax
jne 0x10901e6
mov eax, dword [section..data]
cmp eax, section..data
je 0x10901df
test byte [eax + 0x1c], 4
je 0x10901df
push 0x1022238
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102fea5
mov dword [ebp - 0x10], 0x8007000e
cmp dword [ebp - 0x10], 0
jl 0x10901fa
push dword [ebp - 0x14]
mov ecx, dword [esi]
call fcn.0108fa73
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x1090209
push dword [ebp - 0x14]
call fcn.010a8eab
pop ecx
mov esi, dword [ebp - 0x10]
jmp 0x10900d7
Function at 0x10912e5
Capabilities:
Delete file

Disassembly:
push 0x850
mov eax, 0x10ba76a
call fcn.010aac9f
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x854]
push eax
xor ebx, ebx
push 0x1022a98
lea ecx, [ebp - 0x85c]
mov dword [ebp - 0x854], ebx
call fcn.010ab83f
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
mov dword [ebp - 4], ebx
call sub.msvcrt.dll_memset
xor eax, eax
push esi
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push ebx
push eax
call sub.msvcrt.dll_memset
xor eax, eax
push esi
mov word [ebp - 0x634], ax
lea eax, [ebp - 0x632]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0x24
lea ecx, [ebp - 0x850]
call fcn.0108f04f
mov byte [ebp - 4], 1
cmp edi, ebx
jne 0x10913ad
mov eax, 0x80070057
mov dword [ebp - 0x854], eax
mov esi, eax
lea ecx, [ebp - 0x850]
mov byte [ebp - 4], bl
call fcn.0108f093
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x85c]
call fcn.010ab886
mov eax, esi
call fcn.010aad31
ret 8
push edi
lea ecx, [ebp - 0x850]
call fcn.0108f142
cmp eax, ebx
mov dword [ebp - 0x854], eax
jl 0x10914ab
mov eax, 0x105
push eax
lea ecx, [ebp - 0x844]
push ecx
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0103d8a8
cmp dword [ebp - 0x854], ebx
jl 0x10914ab
push 0x104
lea eax, [ebp - 0x21c]
push eax
mov edi, 0x10229b4
push edi
lea ecx, [ebp - 0x850]
call fcn.0108f540
mov dword [ebp - 0x854], eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, 0x80030002
test eax, eax
jne 0x109142c
mov dword [ebp - 0x854], esi
cmp dword [ebp - 0x854], ebx
jl 0x10914ab
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test eax, eax
jne 0x1091459
mov dword [ebp - 0x854], esi
cmp dword [ebp - 0x854], ebx
jl 0x10914ab
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, ebx
jne 0x109148c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jle 0x1091486
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x854], eax
cmp dword [ebp - 0x854], ebx
jl 0x10914ab
push 0x10054e0
push edi
lea ecx, [ebp - 0x850]
call fcn.0108f48a
mov dword [ebp - 0x854], eax
mov esi, dword [ebp - 0x854]
jmp 0x1091386
Function at 0x1092c27
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10cd0d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push ebx
push 0x10234cc
lea ecx, [ebp - 0x214]
call fcn.010ab83f
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1092d3b
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x1092c93
sub eax, edx
sar eax, 1
push edi
mov edi, eax
lea eax, [edi + 0xb]
cmp eax, esi
jge 0x1092d3a
mov eax, 0x103
sub eax, edi
push eax
push 0x10021d4
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0103d938
mov eax, 0x102
sub eax, edi
push eax
push 0x1023410
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.0103d938
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
jne 0x1092d3a
mov eax, dword [section..data]
cmp eax, section..data
je 0x1092d3a
test byte [eax + 0x1c], 8
je 0x1092d3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x1092d22
and eax, 0xffff
or eax, 0x80070000
push eax
mov eax, dword [section..data]
push 0x1022de8
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01079051
pop edi
lea ecx, [ebp - 0x214]
call fcn.010ab886
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.010aac17
leave
ret
Function at 0x109bcc8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 8
mov eax, 0x10bbc3a
call fcn.010aac2c
mov ebx, ecx
push 0
push 0x10264cc
lea ecx, [ebp - 0x14]
call fcn.010ab83f
and dword [ebp - 4], 0
call sub.MFC42u.dll_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0
push 0xa
push 0x9c
push eax
call fcn.010ad490
mov edi, eax
test edi, edi
je 0x109bd39
call sub.MFC42u.dll_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0
push edi
push eax
call fcn.010ad402
test eax, eax
je 0x109bd39
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x109bd39
movsx ecx, word [eax]
mov dword [ebx + 0x1d4], ecx
movsx eax, word [eax + 2]
mov dword [ebx + 0x1d8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.010ab886
call fcn.010aad18
ret

Function at 0x109c7f1
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xc
mov eax, 0x10b974a
call fcn.010aac2c
mov edi, ecx
xor esi, esi
push esi
push 0x10265ec
lea ecx, [ebp - 0x18]
call fcn.010ab83f
mov dword [ebp - 4], esi
cmp dword [edi + 0xfc], esi
je 0x109c892
call sub.MFC42u.dll_AfxGetModuleState
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x20]
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x109c892
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [edi + 0xfc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [eax + eax]
lea eax, [esi + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x109c88c
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push dword [edi + 0xfc]
mov dword [ebp - 0x10], eax
push eax
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x10]
add esp, 0xc
xor eax, eax
push ebx
mov word [esi + ecx], ax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.010ab886
call fcn.010aad18
ret
Function at 0x109ed64
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xc
mov eax, 0x10b974a
call fcn.010aac2c
mov esi, ecx
lea eax, [ebp - 0x10]
push eax
push 0x1026d64
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 0x80004207
call fcn.010ab83f
movzx eax, word [ebp + 0xc]
xor ebx, ebx
push ebx
push 5
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.010ad490
cmp eax, ebx
je 0x109ef23
push ebx
push eax
push dword [ebp + 8]
call fcn.010ad402
cmp eax, ebx
je 0x109ef23
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebx
jne 0x109ede4
mov esi, 0x8000ffff
mov dword [ebp - 0x10], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.010ab886
mov eax, esi
call fcn.010aad18
ret 8
mov eax, dword [esi]
cmp eax, ebx
je 0x109edf3
push eax
call fcn.010a8eab
pop ecx
mov dword [esi], ebx
movzx eax, word [edi + 0x10]
cmp eax, ebx
mov dword [esi + 4], eax
jle 0x109edc6
xor ecx, ecx
push 0x18
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.010a8e9b
pop ecx
mov dword [esi], eax
cmp eax, ebx
jne 0x109ee25
mov eax, 0x8007000e
mov dword [ebp - 0x10], eax
mov esi, eax
jmp 0x109edce
movsx eax, word [edi + 0x12]
mov dword [esi + 0xc], eax
movsx eax, word [edi + 0x14]
mov dword [esi + 0x10], eax
movsx ecx, word [edi + 0x12]
movsx eax, word [edi + 0x16]
add eax, ecx
mov dword [esi + 0x14], eax
movsx ecx, word [edi + 0x14]
movsx eax, word [edi + 0x18]
add eax, ecx
mov dword [esi + 0x18], eax
lea eax, [edi + 0x1c]
movzx ecx, word [eax]
cmp cx, bx
je 0x109ee6e
mov edx, 0xffff
cmp dx, cx
jne 0x109ee67
add eax, 4
jmp 0x109ee70
inc eax
inc eax
cmp word [eax], bx
jne 0x109ee67
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, bx
je 0x109ee94
mov edx, 0xffff
cmp dx, cx
jne 0x109ee87
add eax, 2
jmp 0x109ee90
inc eax
inc eax
cmp word [eax], bx
jne 0x109ee87
inc eax
inc eax
xor ebx, ebx
jmp 0x109ee97
add eax, 2
cmp word [eax], bx
je 0x109eea7
inc eax
inc eax
cmp word [eax], bx
jne 0x109ee9c
inc eax
inc eax
jmp 0x109eeaa
add eax, 2
test byte [edi + 0xc], 0x40
je 0x109eebe
add eax, 2
jmp 0x109eeb7
inc eax
inc eax
cmp word [eax], bx
jne 0x109eeb5
inc eax
inc eax
xor edi, edi
cmp dword [esi + 4], edi
jle 0x109ef1f
mov edx, dword [esi]
add eax, 3
and eax, 0xfffffffc
movsx ecx, word [eax + 0xc]
mov dword [edi + edx], ecx
movsx ecx, word [eax + 0xe]
mov edx, dword [esi]
mov dword [edi + edx + 4], ecx
movsx edx, word [eax + 0xc]
movsx ecx, word [eax + 0x10]
add ecx, edx
mov edx, dword [esi]
mov dword [edi + edx + 8], ecx
movsx edx, word [eax + 0xe]
movsx ecx, word [eax + 0x12]
add ecx, edx
mov edx, dword [esi]
mov dword [edi + edx + 0xc], ecx
mov ecx, dword [esi]
mov dx, word [eax + 0x14]
mov word [edi + ecx + 0x10], dx
mov ecx, dword [esi]
add ecx, edi
push ecx
push eax
mov ecx, esi
call fcn.0109ec86
inc ebx
add edi, 0x18
cmp ebx, dword [esi + 4]
jl 0x109eec5
and dword [ebp - 0x10], 0
mov esi, dword [ebp - 0x10]
jmp 0x109edce
Function at 0x10a28f0
Capabilities:
Delete file

Disassembly:
push 0x858
mov eax, 0x10bbb79
call fcn.010aac9f
lea eax, [ebp - 0x85c]
push eax
mov edi, ecx
xor ebx, ebx
push 0x1027950
lea ecx, [ebp - 0x864]
mov dword [ebp - 0x85c], ebx
call fcn.010ab83f
lea ecx, [ebp - 0x858]
mov dword [ebp - 4], ebx
call fcn.0108fac9
xor eax, eax
push 0x208
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call sub.msvcrt.dll_memset
push 0x420
lea eax, [ebp - 0x858]
push ebx
push eax
xor esi, esi
call sub.msvcrt.dll_memset
add esp, 0x18
cmp dword [ebp - 0x85c], ebx
jl 0x10a2a47
jmp 0x10a2970
xor ebx, ebx
cmp esi, ebx
jne 0x10a2a47
lea ecx, [ebp - 0x438]
call fcn.0108f04f
mov dword [ebp - 0x438], 0x100800c
lea eax, [ebp - 0x21c]
push eax
lea ebx, [ebp - 0x438]
mov byte [ebp - 4], 1
call fcn.010a1e52
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 0x85c], eax
jl 0x10a29e4
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x438]
call fcn.010902a4
cmp eax, ebx
mov dword [ebp - 0x85c], eax
jl 0x10a29e4
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x438]
call fcn.0108fb04
lea ecx, [ebp - 0x438]
mov byte [ebp - 4], bl
call fcn.0108f093
cmp dword [ebp - 0x85c], ebx
jl 0x10a2a1d
lea eax, [ebp - 0x858]
push eax
mov ecx, edi
call fcn.010a2644
cmp eax, ebx
mov dword [ebp - 0x85c], eax
jl 0x10a2a17
xor esi, esi
inc esi
jmp 0x10a2a1d
mov dword [ebp - 0x85c], ebx
lea eax, [ebp - 0x64e]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x10a2a3b
lea eax, [ebp - 0x64e]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x85c], ebx
jge 0x10a296e
mov esi, dword [ebp - 0x85c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x864]
call fcn.010ab886
mov eax, esi
call fcn.010aad31
ret
Function at 0x10a2a69
Capabilities:
Delete file

Disassembly:
push 0x758
mov eax, 0x10bbbdd
call fcn.010aac9f
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x660], eax
lea eax, [ebp - 0x654]
push eax
mov dword [ebp - 0x650], ecx
xor ebx, ebx
push 0x1027978
lea ecx, [ebp - 0x668]
mov dword [ebp - 0x654], ebx
call fcn.010ab83f
push ebx
lea ecx, [ebp - 0x764]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x65c], ebx
call fcn.010a3397
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 1
call fcn.0108f04f
mov esi, 0x100800c
mov dword [ebp - 0x22c], esi
push fcn.010a1a44
push edi
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x764]
mov byte [ebp - 4], 2
call fcn.010a3437
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 1
call fcn.0108f093
lea ecx, [ebp - 0x764]
call fcn.010a35f1
lea ecx, [ebp - 0x764]
cmp eax, 1
jbe 0x10a2bb6
call sub.MFC42u.dll_CDialog::DoModal
cmp eax, 6
je 0x10a2bc0
lea ecx, [ebp - 0x22c]
call fcn.0108f04f
mov dword [ebp - 0x22c], esi
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.010a1f70
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 1
call fcn.0108f093
mov ecx, dword [ebp - 0x650]
call fcn.010a1cba
mov ecx, dword [ebp - 0x650]
push ebx
add ecx, 0xe20
call fcn.0104c95a
mov eax, dword [ebp - 0x660]
cmp eax, ebx
je 0x10a2b89
mov ecx, dword [ebp - 0x65c]
mov dword [eax], ecx
mov esi, dword [ebp - 0x654]
lea ecx, [ebp - 0x764]
mov byte [ebp - 4], bl
call fcn.010a1dfe
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x668]
call fcn.010ab886
mov eax, esi
call fcn.010aad31
ret 8
call fcn.010a35f1
cmp eax, 1
jne 0x10a2b5a
cmp edi, ebx
je 0x10a2c67
lea ecx, [ebp - 0x64c]
mov dword [ebp - 0x658], ebx
call fcn.0108fac9
lea ecx, [ebp - 0x22c]
call fcn.0108f04f
mov dword [ebp - 0x22c], esi
lea eax, [ebp - 0x64c]
push eax
push edi
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 4
call fcn.010902a4
cmp eax, ebx
jl 0x10a2c1b
push edi
lea ecx, [ebp - 0x22c]
call fcn.0108fb04
mov dword [ebp - 0x658], 1
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 1
call fcn.0108f093
cmp dword [ebp - 0x658], ebx
je 0x10a2c86
mov ecx, dword [ebp - 0x650]
lea eax, [ebp - 0x64c]
push eax
call fcn.010a2644
cmp eax, ebx
mov dword [ebp - 0x654], eax
jl 0x10a2c58
mov dword [ebp - 0x65c], 1
lea eax, [ebp - 0x442]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x10a2c86
mov ecx, dword [ebp - 0x650]
call fcn.010a28f0
cmp eax, ebx
mov dword [ebp - 0x654], eax
jl 0x10a2c86
mov dword [ebp - 0x65c], 1
cmp dword [ebp - 0x654], 0xc6c8100a
mov ecx, dword [ebp - 0x650]
je 0x10a2cbb
lea eax, [ebp - 0x658]
push eax
mov dword [ebp - 0x658], ebx
call fcn.010a21c3
cmp dword [ebp - 0x658], ebx
jne 0x10a2b65
jmp 0x10a2b5a
mov dword [ebp - 0x654], ebx
jmp 0x10a2b60

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
push esi
push 0x1028528
lea ecx, [ebp - 8]
call fcn.010ab83f
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10a39dc
inc esi
lea ecx, [ebp - 8]
call fcn.010ab886
mov eax, esi
pop esi
leave
ret 4
Function at 0x10a7359
Capabilities:
Get geographical location

Disassembly:
push 0x18
mov eax, 0x10bc128
call fcn.010aac9f
mov esi, ecx
mov dword [ebp - 0x1c], esi
call fcn.010a9116
and dword [ebp - 4], 0
push 0
push 0x1029b24
lea ecx, [ebp - 0x24]
mov dword [esi], 0x1029a64
call fcn.010ab83f
push 4
lea eax, [ebp - 0x18]
push eax
push 0xd
push 0x400
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ecx, 0x1029a58
lea eax, [ebp - 0x18]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10a73c9
test dx, dx
je 0x10a73c5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10a73c9
add eax, 4
add ecx, 4
test dx, dx
jne 0x10a73a3
xor eax, eax
jmp 0x10a73ce
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
lea ecx, [ebp - 0x24]
mov byte [esi + 0x40], al
mov dword [esi + 0x44], 0x60
call fcn.010ab886
mov eax, esi
call fcn.010aad31
ret

Function at 0x10a74ad
Capabilities:
Capture webcam image

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
push 0
push 0x419
push dword [ecx + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebp
ret 4