joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a175
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x1000a183
push 0xd
pop eax
jmp 0x1000a1b6
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x1000a18a
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1000a646
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
push ecx
push dword [esi]
xor ebx, ebx
or eax, 0x2001f
lea edi, [ebp - 0x214]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], ebx
call fcn.1000a60a
mov edi, eax
cmp edi, ebx
je 0x1000a6af
lea ecx, [ebp - 0x214]
call fcn.1000a75b
mov eax, edi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100bfae1
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1000a6cd
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.1000a646
cmp eax, ebx
jne 0x1000a712
lea eax, [ebp - 0x224]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call edi
test eax, eax
je 0x1000a6b7
lea ecx, [ebp - 0x214]
call fcn.1000a75b
push dword [ebp - 0x21c]
call fcn.1000a77b
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.1000a75b
mov eax, esi
jmp 0x1000a69e

Function at 0x1000a77b
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x10135cc8], 0
jne 0x1000a7ab
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1000a7a4
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10135ccc], eax
mov byte [0x10135cc8], 1
mov eax, dword [0x10135ccc]
test eax, eax
je 0x1000a7c3
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x1000a7cf
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x1000b06a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x430
mov eax, 0x100e8a71
call fcn.100c751b
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov edi, edx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x438], esi
mov dword [ebp - 0x420], esi
push eax
mov byte [ebp - 4], 1
call fcn.10009bd0
mov dword [ebp - 0x424], eax
cmp eax, esi
jne 0x1000b0be
call fcn.10007897
mov esi, eax
jmp 0x1000b1f2
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x1000b0d7
call fcn.10007897
jmp 0x1000b1e4
push edi
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x428], eax
cmp eax, esi
je 0x1000b0cd
push edi
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x430], edi
cmp eax, edi
jae 0x1000b13d
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x1000b123
lea eax, [ebp - 0x420]
call fcn.1000a1ba
mov esi, 0x8007000e
lea ecx, [ebp - 0x42c]
call fcn.100078cb
mov eax, esi
call fcn.100c7577
ret 0xc
push 2
push eax
mov byte [ebp - 4], 2
call fcn.1000a1e3
pop ecx
pop ecx
cmp eax, 0x400
jbe 0x1000b161
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.1000a154
jmp 0x1000b16d
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x420], eax
mov dword [ebp - 4], 1
jmp 0x1000b196
cmp dword [ebp - 0x420], esi
jne 0x1000b1a5
mov esi, 0x8007000e
jmp 0x1000b1e6
push edi
push dword [ebp - 0x420]
push edi
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x1000b0cd
mov edx, dword [ebp - 0x420]
push dword [ebp + 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0x420]
lea edx, [ebp - 0x438]
call fcn.1000af23
mov esi, eax
push dword [ebp - 0x424]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x1000b128
lea eax, [ebp - 0x420]
call fcn.1000a1ba
jmp 0x1000b128
Function at 0x1000d65c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 0x40
push 0x16
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [edi + 0x20]
mov dword [esi + 5], eax
mov eax, 0x1000d6ca
sub eax, esi
push 0x16
sub eax, 0x16
push esi
mov dword [esi], 0xc24448b
mov byte [esi + 4], 0xa3
mov dword [esi + 9], 0xc2444c7
mov dword [esi + 0xd], edi
mov byte [esi + 0x11], 0xe9
mov dword [esi + 0x12], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push ebx
push 0
push esi
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edi + 0x1c], eax
mov dword [edi + 0x24], ebx
pop esi
mov eax, ecx
pop ecx
ret
Function at 0x1000eabe
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
xor esi, esi
push edi
mov edi, ecx
cmp dword [ebp + 0x1c], esi
jne 0x1000eb3b
mov eax, dword [ebp + 0xc]
cmp eax, 0x2b
jne 0x1000eaef
mov esi, dword [ebp + 0x14]
mov ebx, edi
call fcn.1000f576
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x1000eb3d
cmp eax, 5
jne 0x1000eb0c
mov ebx, dword [ebp + 0x14]
shr ebx, 0x10
cmp ebx, 0x1a
jl 0x1000eb08
mov esi, edi
call fcn.1000f60e
jmp 0x1000eae5
xor eax, eax
jmp 0x1000eae5
cmp eax, 0xf
jne 0x1000eb46
mov eax, dword [edi + 0x24]
mov ecx, dword [0x10136090]
cmp ecx, dword [eax + 0x74]
je 0x1000eb36
mov eax, dword [eax + 0x74]
push eax
push esi
push 0x1000f4f4
mov dword [0x10136090], eax
call fcn.100c272a
add esp, 0xc
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x14
jne 0x1000eb72
lea eax, [esp + 0x10]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x10]
push eax
push dword [ebp + 0x10]
mov ecx, edi
call fcn.1000f699
mov ecx, dword [ebp + 0x18]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x1000eb3d
cmp eax, 0x318
jne 0x1000eb92
test byte [ebp + 0x14], 4
je 0x1000eb88
push esi
push dword [ebp + 0x10]
call fcn.1000f699
mov eax, dword [ebp + 0x18]
mov dword [eax], esi
jmp 0x1000eaea
cmp eax, 0x111
jne 0x1000eb3b
mov eax, dword [ebp + 0x10]
mov ecx, 0x3e9
cmp cx, ax
jne 0x1000eb3b
shr eax, 0x10
xor ecx, ecx
cmp cx, ax
jne 0x1000eb3b
mov eax, dword [edi + 0x24]
push esi
push esi
add eax, 0x70
push eax
mov ecx, 0x10102458
call fcn.100274cf
jmp 0x1000eb88
Function at 0x1000fd94
Capabilities:
Print debug messages

Disassembly:
push 0x854
mov eax, 0x100ecdf7
call fcn.100c74e5
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
xor edi, edi
push edi
mov ebx, ecx
push 0x454
push dword [ebx + 0x74]
call esi
push edi
push edi
push 0x423
push dword [ebx + 0x74]
call esi
mov esi, eax
cmp esi, edi
je 0x1000fde2
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 1
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea esi, [ebx + 0x70]
call fcn.10019229
mov eax, dword [ebx + 0x68]
mov ecx, dword [eax]
lea edx, [ebp - 0x83c]
push edx
push eax
call dword [ecx + 0xe4]
cmp eax, 0x80004001
je 0x1000ff67
push edi
push str.D4027C7F_154A_4066_A1AD_4243D8127440_callsetchrome
push edi
lea ecx, [ebp - 0x844]
call fcn.100a3329
push edi
lea eax, [ebp - 0x844]
push eax
lea ecx, [ebp - 0x85c]
mov dword [ebp - 4], edi
call fcn.100a33f1
mov dword [ebp - method.CAutoSingleLock.virtual_0], vtable.CAutoSingleLock.0
push edi
lea ecx, [ebp - 0x85c]
mov byte [ebp - 4], 1
call fcn.100a3386
test eax, eax
je 0x1000ff49
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str._n_Checking_g_Prefs.m_bFirstTimeRun_...
call esi
push 0x400
lea eax, [ebp - 0x81c]
push eax
push str.FirstTimeRun
push str.Prefs
call fcn.100399f9
add esp, 0x10
test eax, eax
je 0x1000fe97
lea eax, [ebp - 0x81c]
push eax
call fcn.100c25e7
pop ecx
cmp eax, 1
jne 0x1000ff3e
push str._nCGenericToolbarBand::InitMainToolbar:_g_Prefs.m_bFirstTimeRun__TRUE__begin_update_registry_and_notify_other_toolbars
call esi
mov dword [0x10136614], edi
push dword [ebx + 0x74]
mov dword [ebp - 0x84c], edi
mov dword [ebp - 0x848], edi
sub esp, 0xc
mov edi, esp
mov dword [ebp - 0x850], 0x74
lea esi, [ebp - 0x850]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0x101365a0
movsd dword es:[edi], dword [esi]
call fcn.10039bc6
call fcn.10010ea3
xor esi, esi
push esi
lea ecx, [ebp - 0x838]
mov dword [ebp - 0x820], 0xf
call fcn.1000d2f6
lea eax, [ebp - 0x838]
push eax
push 0x1010d1cc
mov byte [ebp - 4], 2
call fcn.1004e22b
pop ecx
pop ecx
cmp dword [ebp - 0x824], esi
je 0x1000ff2c
push str._nCGenericToolbarBand::InitMainToolbar:_PostMessage_WM_SETCHROME__...
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push esi
push 0xbfe
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
push 1
lea ecx, [ebp - 0x838]
mov byte [ebp - 4], 1
call fcn.1000d1ca
lea ecx, [ebp - 0x85c]
call fcn.100a33a0
lea ecx, [ebp - 0x860]
mov byte [ebp - 4], 0
call fcn.10007940
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x844]
call fcn.100a3371
lea edi, [ebx + 0x640]
cmp dword [edi], 0
jne 0x1000ff8a
push dword [ebx + 0x5c]
call dword [sym.imp.USER32.dll_GetParent]
lea esi, [ebx + 0x5dc]
mov ebx, eax
call fcn.10002bc8
mov dword [edi], eax
call fcn.100c7568
ret
Function at 0x1000ff90
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x1000ffa5
xor eax, eax
jmp 0x1001009f
and dword [ebp - 4], 0
test eax, eax
jne 0x1000ffc4
push 0x10108570
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 4
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000ff9e
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x1000ff9e
mov ecx, dword [esi + 0x3c]
add ecx, esi
cmp dword [ecx], 0x4550
jne 0x1000ff9e
mov eax, dword [ecx + 0x80]
add eax, esi
cmp eax, ecx
je 0x1000ff9e
add eax, 0xc
cmp dword [eax], 0
je 0x1001009c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x10], eax
mov esi, dword [eax + 4]
add esi, dword [ebp + 8]
jmp 0x10010084
mov eax, dword [esi]
cmp eax, dword [ebp - 8]
jne 0x10010081
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x1001003f
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10010034
mov ecx, dword [esi]
mov dword [eax], ecx
mov dword [esi], ebx
mov dword [ebp - 4], 1
jmp 0x10010081
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push esi
call edi
test eax, eax
je 0x10010081
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10010059
mov ecx, dword [esi]
mov dword [eax], ecx
lea eax, [ebp - 0xc]
push eax
mov dword [esi], ebx
push dword [ebp - 0xc]
mov dword [ebp - 4], 1
push 4
push esi
call edi
push 5
lea eax, [esi - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
add esi, 4
cmp dword [esi], 0
jne 0x10010015
mov eax, dword [ebp - 0x10]
add eax, 0x14
cmp dword [eax], 0
mov dword [ebp - 0x10], eax
jne 0x1001000d
pop edi
mov eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x100108df
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2294
call fcn.100c7ed0
mov eax, dword [0x1012c510]
xor eax, esp
mov dword [esp + 0x2290], eax
or dword [esp], 0xffffffff
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 8], ecx
test esi, esi
je 0x100109c1
push 0x3c
lea eax, [esp + 0x10]
push 0
push eax
call fcn.100c1480
lea eax, [esp + 0x54]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x254]
mov dword [esp + 0x44], eax
add esp, 0xc
lea eax, [esp + 0x1248]
mov dword [esp + 0x40], eax
lea eax, [esp + 0xc]
push eax
push 0
push 0
push esi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x30], 0x100
mov dword [esp + 0x4c], 0x800
mov dword [esp + 0x54], 0x824
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x100109c1
lea eax, [esp + 0x48]
push str.supertoolbar.ask.com
push eax
call fcn.100c25f2
pop ecx
pop ecx
test eax, eax
jne 0x100109c1
lea eax, [esp + 0x248]
push str._customize_command
push eax
call fcn.100c25f2
pop ecx
pop ecx
test eax, eax
jne 0x100109c1
mov ecx, dword [esp + 0x40]
cmp word [ecx], 0x3f
jne 0x100109b1
inc ecx
inc ecx
mov dword [esp + 0x40], ecx
push dword [ebp + 0xc]
push dword [esp + 0xc]
call fcn.1001139c
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x2294]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.100bfae1
mov esp, ebp
pop ebp
ret 8

Function at 0x10010c01
Capabilities:
Parse url

Disassembly:
push ebp
sub esp, 0x200
lea ebp, [esp - 4]
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp + 0x200], eax
push 0x60
mov eax, 0x100e63d3
call fcn.100c747c
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov ebx, edx
mov dword [ebp - 0x14], edi
call fcn.100013d8
push 5
xor esi, esi
push 0x101076e4
mov dword [ebp - 4], edi
inc esi
push ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.SHLWAPI.dll_StrCmpNW]
test eax, eax
jne 0x10010cb0
push 0x3c
lea eax, [ebp - 0x50]
push edi
push eax
call fcn.100c1480
add esp, 0xc
lea eax, [ebp]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x50]
push eax
push 0x10000000
push edi
push ebx
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x3c], 0x100
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x10010cb0
push dword [ebp - 0x3c]
lea eax, [ebp - 0x6c]
push dword [ebp - 0x40]
call fcn.10014be0
push 0xffffffffffffffff
mov dword [ebp - 4], esi
push dword [ebp - 0x10]
xor ebx, ebx
call fcn.1000165f
push edi
push esi
lea esi, [ebp - 0x6c]
call fcn.100016e6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x200]
xor ecx, ebp
call fcn.100bfae1
add ebp, 0x204
leave
ret
Function at 0x1001475f
Capabilities:
Capture webcam image

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x8c
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp + 0x68], eax
mov eax, dword [ebp + 0x7c]
push ebx
mov ebx, dword [ebp + 0x74]
push esi
mov esi, dword [ebp + 0x78]
push edi
mov edi, dword [sym.imp.USER32.dll_SetRectEmpty]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
call edi
push esi
call fcn.100c25e7
mov esi, eax
pop ecx
test esi, esi
je 0x10014818
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ebx, eax
test ebx, ebx
je 0x10014818
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x419
push ebx
call esi
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0x41d
push ebx
call esi
test eax, eax
jne 0x100147d4
lea eax, [ebp - 0x14]
push eax
call edi
jmp 0x10014818
mov eax, dword [ebp - 0x14]
mov esi, dword [sym.imp.USER32.dll_ClientToScreen]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 4]
push eax
push ebx
call esi
lea eax, [ebp - 0x1c]
push eax
push ebx
call esi
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
push dword [ebp - 8]
lea eax, [ebp + 4]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push str._d__d__d__d
push 0x32
push eax
call fcn.100c1893
add esp, 0x1c
lea eax, [ebp + 4]
push eax
lea edi, [ebp]
call fcn.10009885
mov eax, edi
call fcn.100097e6
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
call fcn.10009810
mov ecx, dword [ebp + 0x68]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.100bfae1
add ebp, 0x6c
leave
ret 0xc
Function at 0x10019565
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.1001bd67
mov eax, dword [esi + 0x400]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEvent]
cmp eax, 0xffffffff
je 0x100195c3
push eax
call ebx
push 0x5dc
lea edi, [esi + 0x3fc]
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x100195b0
push 0
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
or dword [edi], 0xffffffff
push dword [esi + 0x400]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi + 0x400], 0xffffffff
lea edi, [esi + 0x404]
mov eax, dword [edi]
cmp eax, 0xffffffff
je 0x100195de
push eax
call ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [edi], 0xffffffff
lea edi, [esi + 0x418]
mov eax, dword [edi]
test eax, eax
je 0x100195f3
push dword [eax + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 4]
and dword [edi], 0
push 0x10136778
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x101367c8]
mov dword [ebp - 0xc], eax
mov eax, dword [0x101367b0]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
lea ebx, [ebp - 0x18]
call fcn.1004b7df
lea edi, [ebp - 0x10]
mov esi, eax
call fcn.10056222
test al, al
jne 0x1001963a
lea eax, [ebp - 8]
push eax
call fcn.1004b777
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x10136778
call ebx
mov edi, dword [ebp + 8]
push dword [edi + 4]
call fcn.10048cde
cmp dword [0x10136610], 0
mov dword [ebp + 8], eax
je 0x10019671
test eax, eax
je 0x10019671
push 0
push dword [edi + 4]
mov ecx, 0x101364f0
call fcn.1004b325
lea esi, [edi + 0x30]
call fcn.10017271
mov eax, esi
call fcn.10035288
mov esi, 0x101363e4
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
dec dword [0x101363e0]
jne 0x100196ab
mov eax, dword [0x101363dc]
test eax, eax
je 0x100196ab
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [0x101363dc], 0
push esi
call ebx
push dword [edi + 0x160]
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
cmp dword [ebp + 8], eax
je 0x100196cf
cmp dword [0x10136628], eax
je 0x100196cf
push eax
call fcn.10024817
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 4
Function at 0x1001a105
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x24
push ebx
push edi
movzx edi, ax
shr eax, 0x10
push eax
push edi
lea ebx, [esi + 0x19c]
push ebx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x1001a1b4
push dword [esi + 4]
mov dword [esi + 0x1ac], 1
call dword [sym.imp.USER32.dll_SetCapture]
push 0
push 0x65
push 0x419
push dword [esi + 4]
mov dword [esi + 0x1b0], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
call edi
cmp eax, 0xffffffff
je 0x1001a17f
lea ecx, [ebp - 0x14]
push ecx
push eax
push 0x41d
push dword [esi + 4]
call edi
test eax, eax
je 0x1001a17f
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [0x101365e4], eax
jmp 0x1001a184
mov eax, dword [0x101365e4]
mov dword [esi + 0x194], eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebx]
sub eax, dword [esi + 0x2e4]
sub eax, dword [esi + 0x2e0]
sub eax, dword [esi + 0x1a4]
add eax, dword [ebp - 0x1c]
mov dword [esi + 0x198], eax
push dword [ebp + 0x10]
mov eax, esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10007381
pop edi
pop ebx
leave
ret 0xc
Function at 0x1001fd3d
Capabilities:
Print debug messages

Disassembly:
push 0x20
mov eax, 0x100e8102
call fcn.100c74e5
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x28], eax
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp dword [ebp + 0x1c], 0
je 0x1001fde1
cmp dword [ebp + 0x38], 0
je 0x1001fde1
sub esp, 0x1c
lea eax, [ebp + 8]
mov esi, esp
mov dword [ebp - 0x2c], esp
push eax
lea ebx, [ebp - 0x24]
call fcn.1000e554
mov ecx, ebx
call fcn.1001fc56
mov esi, eax
add esp, 0x1c
test esi, esi
jl 0x1001fdc1
push dword [ebp - 0x28]
mov eax, ebx
push 0x1010146c
push edi
push 0
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jge 0x1001fdc1
cmp dword [ebp + 0x20], 8
mov eax, dword [ebp + 0xc]
jae 0x1001fdaf
lea eax, [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.___creation_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, esi
push 0
push edi
lea esi, [ebp + 8]
call fcn.100016e6
push 0
push edi
lea esi, [ebp + 0x24]
call fcn.100016e6
mov eax, ebx
call fcn.100c7568
ret
mov ebx, edi
jmp 0x1001fdc3
Function at 0x10021257
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ea027
mov eax, dword fs:[0]
push eax
mov eax, 0x148c
call fcn.100c7ed0
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x145e
mov word [ebp - 0x1474], ax
xor edi, edi
lea eax, [ebp - 0x1472]
push edi
push eax
mov esi, ecx
call fcn.100c1480
add esp, 0xc
push 1
lea eax, [ebp - 0x1474]
push 0x924
push eax
call fcn.1005e866
add esp, 0xc
test eax, eax
je 0x10021406
push esi
lea eax, [ebp - 0x1474]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
lea eax, [ebp - 0x1474]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1478], eax
cmp eax, 0xffffffff
je 0x10021406
push edi
lea eax, [ebp - 0x1488]
lea esi, [ebx + 0x44]
push eax
mov eax, esi
call fcn.1000c32f
push eax
call fcn.1000c309
push eax
push dword [ebp - 0x1478]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x1478]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 8], edi
je 0x100213eb
lea eax, [ebp - 0x1498]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
fldz
lea eax, [ebp - 0x1484]
fstp qword [ebp - 0x1484]
push eax
lea eax, [ebp - 0x1498]
push eax
mov dword [ebp - 0x147c], edi
call fcn.1002cc36
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
lea edi, [ebp - 0x1478]
lea ecx, [ebp - 0x1484]
mov dword [ebp - 0x147c], eax
call fcn.1002caf5
and dword [ebp - 4], 0
mov eax, dword [eax]
push 1
push eax
push str.UploadDate
mov esi, str.Update
push esi
call fcn.10039999
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x1478]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.1000728b
push 1
lea eax, [ebp - 0x1474]
push eax
push str.UpdatePath
push esi
call fcn.10039999
add esp, 0x10
cmp dword [ebx + 0x78], 8
jb 0x100213d7
mov eax, dword [ebx + 0x64]
jmp 0x100213da
lea eax, [ebx + 0x64]
push 1
push eax
push 0x1010986c
push esi
call fcn.10039999
add esp, 0x10
lea eax, [ebp - 0x1474]
push eax
call fcn.100bfd09
pop ecx
lea esi, [ebx + 0x60]
lea ecx, [ebp - 0x1474]
call fcn.1000181a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100bfae1
leave
ret 4
Function at 0x10026979
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
push ebx
xor eax, eax
mov word [ecx], ax
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0xc]
lea eax, [ebp - 4]
push eax
mov eax, dword [edi + 8]
mov esi, dword [eax + 0x580]
lea ecx, [ebx + 0x1bc]
call fcn.1000bd4f
test al, al
je 0x10026a00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push eax
push 0x419
push dword [ebx + 4]
call esi
mov ecx, dword [edi + 0xc]
add ecx, 0x2d0
call fcn.1000bd7c
cmp dword [eax + 8], 0
je 0x10026a00
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x28]
mov eax, dword [edi + 0xc]
push 0
push ecx
add eax, 4
push 0x40c
push dword [eax]
call esi
test eax, eax
je 0x10026a00
mov ecx, dword [ebp + 0xc]
or eax, 0xffffffff
mov word [ecx], ax
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8