joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411e29
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x411e37
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 8
push esi
push edi
not eax
mov ecx, 0xff
jb 0x411f18
mov edi, dword [ebp + 0x10]
push ebx
shr edi, 3
movzx ebx, byte [edx]
mov esi, eax
sub dword [ebp + 0x10], 8
and esi, ecx
xor esi, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [esi*4 + 0x435d10]
xor eax, ebx
inc edx
mov esi, eax
movzx ebx, byte [edx]
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x435d10]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x435d10]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x435d10]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x435d10]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
movzx ebx, byte [edx + 1]
mov esi, dword [esi*4 + 0x435d10]
shr eax, 8
xor esi, eax
inc edx
mov eax, esi
and eax, ecx
xor eax, ebx
movzx ebx, byte [edx + 1]
mov eax, dword [eax*4 + 0x435d10]
shr esi, 8
xor eax, esi
inc edx
mov esi, eax
and esi, ecx
xor esi, ebx
shr eax, 8
mov esi, dword [esi*4 + 0x435d10]
xor eax, esi
inc edx
dec edi
jne 0x411e54
pop ebx
cmp dword [ebp + 0x10], 0
je 0x411f39
movzx edi, byte [edx]
mov esi, eax
and esi, ecx
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x435d10]
xor eax, esi
inc edx
dec dword [ebp + 0x10]
jne 0x411f1e
pop edi
pop esi
not eax
pop ebp
ret

Function at 0x41275f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x412793
lea eax, [ebp + 8]
push 0
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41278e
mov byte [esi + 8], 1
mov eax, dword [ebp + 8]
jmp 0x4127bb
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x4127a4
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
pop edi
div dword [ebp + 0xc]
pop esi
pop ebp
ret
Function at 0x4136ca
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x413747
cmp dword [esi + 4], 0xffffffff
jne 0x413747
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x43f51c
push edi
call dword [sym.imp.MSVCRT.dll_wcscat]
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x413719
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x413719
mov eax, 0x2000000
jmp 0x41374c
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00412540
add esp, 0x10
test eax, eax
jne 0x413737
mov eax, dword [ebp - 4]
jmp 0x41374c
push eax
call fcn.00412a3a
mov dword [esi], eax
mov eax, dword [0x46a778]
pop ecx
jmp 0x41374c
mov eax, 0x1000000
pop esi
leave
ret 0xc

Function at 0x413b37
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x413bda
mov cx, word [edi]
test cx, cx
je 0x413bda
mov eax, edi
mov edx, edi
cmp cx, 0x2f
je 0x413b68
cmp cx, 0x5c
jne 0x413b6a
mov eax, edx
inc edx
inc edx
mov cx, word [edx]
test cx, cx
jne 0x413b5c
cmp eax, edi
je 0x413baa
sub eax, edi
push esi
mov esi, eax
lea eax, [ebp - 0x208]
sar esi, 1
push esi
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
and word [ebp + esi*2 - 0x208], 0
lea eax, [ebp - 0x208]
push eax
push dword [ebp + 8]
call fcn.00413b37
add esp, 0x14
pop esi
push dword [ebp + 8]
lea eax, [ebp - 0x410]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea eax, [ebp - 0x410]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 0x10
lea eax, [ebp - 0x410]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
leave
ret
Function at 0x414a64
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.0041cb9c
inc dword [eax + 0x14d0]
mov ecx, esi
call fcn.0041697a
xor ebx, ebx
xor ecx, ecx
cmp dword [esi + 0x464], ebx
lea eax, [esi + 0xf64]
mov ebp, dword [sym.imp.USER32.dll_EnableWindow]
sete cl
xor edx, edx
cmp dword [eax], ebx
mov dword [esi + 0x464], ecx
sete dl
cmp ecx, ebx
mov dword [eax], edx
je 0x414ad1
mov ecx, esi
mov dword [esi + 0xf50], ebx
call fcn.00416501
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x407
push dword [esi + 4]
call edi
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
jmp 0x414b41
mov dword [esi + 0xf50], 1
call fcn.0041cb9c
push dword [eax + 0x4c]
mov ecx, esi
call fcn.00414ba1
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
jne 0x414b33
push 0x3e8
push dword [esi + 4]
call edi
push 0
push eax
call ebp
push 0x3e9
push dword [esi + 4]
call edi
push 1
push eax
call ebp
push 0x407
push dword [esi + 4]
call edi
push 5
push eax
call ebx
mov dword [esi + 0xf54], 1
jmp 0x414b3a
and dword [esi + 0xf54], 0
mov ecx, esi
call fcn.00417673
push 0x414
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push 0x3fe
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push 0
mov ecx, esi
call fcn.004161c1
cmp dword [esi + 0x464], 0
jne 0x414b98
cmp dword [esi + 0xf54], 0
je 0x414b98
push 0x3e8
push dword [esi + 4]
call edi
push 0
push eax
call ebp
push 0x407
push dword [esi + 4]
call edi
push 5
push eax
call ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x414ba1
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
push ebx
push esi
push dword [ebp + 8]
mov esi, ecx
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], 1
call fcn.00404707
xor ebx, ebx
lea ecx, [ebp - 4]
push ebx
push 0x43fca4
call fcn.00404a42
cmp eax, ebx
jle 0x414d2a
add eax, 2
push edi
push eax
lea eax, [ebp - 8]
push ebx
push eax
lea ecx, [ebp - 4]
call fcn.004182e4
xor eax, eax
lea edi, [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x2c], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x28]
mov dword [ebp - 0x14], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x414d21
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0x14
pop ecx
call fcn.004327e0
mov edx, eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x232]
mov word [ebp - 0x234], bx
cmp edx, 0x400
rep stosd dword es:[edi], eax
mov dword [ebp + 8], edx
stosw word es:[edi], ax
jb 0x414c81
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ebx
fild qword [ebp - 0x24]
push ecx
push ecx
lea eax, [ebp - 0x234]
fmul dword [0x436118]
fstp qword [esp]
push str._.2f_GB
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
jmp 0x414c9c
push edx
push str._d_MB
lea eax, [ebp - 0x234]
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 0x43fc80
call dword [sym.imp.MSVCRT.dll__wtoi]
cmp eax, dword [ebp + 8]
pop ecx
jbe 0x414d21
mov dword [esi + 0xa40], 0x4545c8
mov eax, dword [0x43c4ec]
mov dword [ebp + 8], eax
lea eax, [ebp - 8]
push eax
lea ecx, [ebp + 8]
mov dword [ebp - 0xc], ebx
call fcn.00404768
mov edi, str.iRYOzz
mov eax, edi
test eax, eax
je 0x414ce0
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push eax
lea ecx, [ebp + 8]
call fcn.00404d06
push dword [ebp + 8]
mov edi, 0x407
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp + 8]
mov dword [esi + 0xf54], 1
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
pop edi
lea ecx, [ebp - 4]
call fcn.00404beb
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
leave
ret 4
Function at 0x415542
Capabilities:
Check if file exists
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa20
push ebx
push esi
push edi
call fcn.0041cb9c
add eax, 0x4c
lea ecx, [ebp - 8]
push eax
call fcn.004046c1
lea eax, [ebp - 8]
push str.pluginbar.dll
push eax
lea eax, [ebp - 4]
push eax
call fcn.00418344
push dword [ebp - 4]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.MSVCRT.dll__snwprintf]
test eax, eax
je 0x4155e5
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4155e5
push str.InitPluginbar
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
mov dword [0x46a784], eax
je 0x4155e5
and word [ebp - 0x220], 0
push dword [ebp - 8]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x21e]
push 0x43caa8
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x220]
push 0x103
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x220]
push eax
call dword [0x46a784]
and word [ebp - 0xa20], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xa1e]
rep stosd dword es:[edi], eax
and dword [ebp - 0x10], 0
push 4
pop ebx
mov dword [ebp - 0xc], 1
stosw word es:[edi], ax
push str.Software360360se5
push str._sdefaultFAV
lea eax, [ebp - 0xa20]
push 0x3ff
push eax
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
call esi
add esp, 0x10
lea eax, [ebp - 0x18]
mov edi, str.isinit
mov esi, SysReAllocString
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xa20]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x41565c
cmp dword [ebp - 0x10], 1
je 0x415671
lea eax, [ebp - 0xc]
push ebx
push eax
push ebx
lea eax, [ebp - 0xa20]
push edi
push eax
push esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, 0x469ee8
pop edi
mov ecx, eax
pop esi
test ecx, ecx
pop ebx
je 0x415696
cmp word [0x469ee8], 0
je 0x415696
push 0xbb8
push eax
call fcn.00427976
pop ecx
pop ecx
call fcn.0041cb9c
mov ecx, eax
call fcn.00422a15
lea ecx, [ebp - 4]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
leave
ret

Function at 0x4156b4
Capabilities:
Hide graphical window

Disassembly:
add ecx, 0xbfc
jmp 0x418a34
mov eax, dword [ecx + 4]
test eax, eax
je 0x418a44
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x4156bf
Capabilities:
Check if file exists
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, 0xbb8
cmp dword [esi + 0x6c8], edi
je 0x4156e9
push ebx
push str.360sess.exe
call fcn.004277e9
pop ecx
pop ecx
cmp dword [esi + 0x6c4], edi
je 0x41575e
mov word [ebp - 0x218], di
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, 0x43fc4c
push edi
call fcn.0041cb9c
push dword [eax + 0x4c]
lea eax, [ebp - 0x218]
push 0x43d538
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
push ebx
push edi
call fcn.004277e9
add esp, 0x1c
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
push 4
push eax
push 4
push str.InstallKillProcess
push str.Software360360se5
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor edi, edi
cmp dword [esi + 0x38], edi
je 0x415874
cmp word [esi + 0x3c], di
lea ebx, [esi + 0x3c]
je 0x415874
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x415874
mov eax, dword [esi + 0x38]
cmp eax, 1
jne 0x415797
push ebx
call fcn.00424430
pop ecx
jmp 0x415874
cmp eax, 2
jne 0x415874
call fcn.0041cb9c
add eax, 0x4c
lea ecx, [ebp - 4]
push eax
call fcn.004046c1
push ebx
lea ecx, [ebp - 8]
call fcn.00404707
mov eax, dword [0x43c4ec]
push edi
push dword [ebp - 8]
lea ecx, [ebp - 4]
mov dword [ebp - 0xc], eax
call fcn.00404a42
cmp eax, 0xffffffff
je 0x41585c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, dword [eax - 8]
sub eax, dword [ecx - 8]
lea ecx, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404803
push eax
lea ecx, [ebp - 0xc]
call fcn.00404768
lea ecx, [ebp - 0x10]
call fcn.00404beb
push 1
push 0x43f51c
lea ecx, [ebp - 0xc]
call fcn.00404a42
cmp eax, 0xffffffff
je 0x41583a
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0xc]
call fcn.004047b8
mov eax, dword [eax]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00404d06
lea ecx, [ebp - 0x10]
call fcn.00404beb
jmp 0x415849
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
push eax
push dword [eax - 8]
call fcn.00404d06
push dword [ebp - 8]
mov eax, 0x467104
push eax
push eax
push ebx
call fcn.00424786
add esp, 0x10
lea ecx, [ebp - 0xc]
call fcn.00404beb
lea ecx, [ebp - 8]
call fcn.00404beb
lea ecx, [ebp - 4]
call fcn.00404beb
call fcn.0041cb9c
mov ecx, eax
call fcn.004236dd
mov ecx, esi
call fcn.00416839
push 0xc8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push edi
push dword [esi + 0x628]
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x624]
call fcn.0041c369
push 3
pop eax
push eax
mov dword [esi + 0x460], eax
call fcn.0040770e
pop ecx
push eax
push 0x3e8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415db6
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push esi
mov esi, ecx
xor eax, eax
cmp dword [esi + 0xf6c], eax
je 0x415e74
cmp dword [esi + 0x460], 3
jg 0x415e74
cmp dword [esi + 0x34], eax
jne 0x415e74
cmp dword [esi + 0x38], eax
jne 0x415e74
push edi
mov ecx, 0x81
lea edi, [ebp - 0x20a]
mov word [ebp - 0x20c], ax
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0041cb9c
push dword [eax + 0x4c]
lea eax, [ebp - 0x20c]
push 0x43caa8
push 0x103
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
call fcn.0041cb9c
add eax, 0x44
lea ecx, [ebp - 4]
push eax
call fcn.004046c1
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x415e59
lea eax, [ebp - 0x20c]
push eax
call fcn.00424430
pop ecx
push dword [ebp - 4]
call edi
test eax, eax
pop edi
je 0x415e6c
push dword [ebp - 4]
call fcn.00424430
pop ecx
lea ecx, [ebp - 4]
call fcn.00404beb
mov ecx, esi
call fcn.00415ecc
call fcn.0040764c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_DestroyWindow]
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_PostQuitMessage]
pop esi
leave
ret

Function at 0x415ecc
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.00432650
lea eax, [ebp - 4]
push esi
push eax
xor esi, esi
push str.SoftwareIEStub
push SysReAllocString
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x415fe7
push edi
mov ecx, 0x411
lea edi, [ebp - 0x1056]
mov word [ebp - 0x1058], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
mov edi, 0x823
push eax
lea eax, [ebp - 0x1058]
push eax
push esi
push dword [ebp - 4]
mov esi, dword [sym.imp.SHLWAPI.dll_SHEnumKeyExW]
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], 1
call esi
test eax, eax
jne 0x415fc7
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__wcsnicmp]
push 6
lea eax, [ebp - 0x1058]
push str.8CLSID
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x415f8f
push 0x12
lea eax, [ebp - 0x1058]
push str.8Internet_Explorer
push eax
call ebx
add esp, 0xc
test eax, eax
je 0x415f8f
push 0x12
lea eax, [ebp - 0x1058]
push str.8Internet_Settings
push eax
call ebx
add esp, 0xc
test eax, eax
jne 0x415f92
inc dword [ebp - 0xc]
push 0
lea eax, [ebp - 0x1058]
push 0x1048
push eax
mov dword [ebp - 8], edi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 0x10]
add esp, 0xc
lea ecx, [ebp - 8]
inc dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x1058]
push ecx
push eax
push dword [ebp - 4]
call esi
test eax, eax
je 0x415f4a
pop ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 3
pop edi
jne 0x415fe7
push str.SoftwareIEStub
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
pop esi
leave
ret
Function at 0x415ff0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x34]
test eax, eax
je 0x416016
cmp eax, 1
je 0x416012
jle 0x416012
cmp eax, 3
jg 0x416012
push 0x12
jmp 0x416018
push 0x11
jmp 0x416018
push 3
call fcn.0040770e
pop ecx
mov edi, 0x3e8
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push edi
push dword [esi + 4]
call ebx
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push dword [esi + 4]
call ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call edi
push 0x407
push dword [esi + 4]
call ebx
push 0
push eax
call edi
lea eax, [ebp - 0x10]
push 1
push eax
mov dword [ebp - 0x10], 0xfa
push dword [esi + 4]
mov dword [ebp - 0xc], 0x113
mov dword [ebp - 8], 0x19a
mov dword [ebp - 4], 0x177
call dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [ebp - 0x20]
lea ecx, [esi + 0xa70]
push eax
mov dword [ebp - 0x20], 0x6c
push dword [esi + 4]
mov dword [ebp - 0x1c], 0x154
mov dword [ebp - 0x18], 0x202
mov dword [ebp - 0x14], 0x15d
call fcn.0041ca70
push 5
pop ebx
push ebx
push dword [esi + 0xa74]
call edi
push 0
mov dword [esi + 0x460], ebx
push dword [esi + 4]
push 0x1402
call fcn.0041015f
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41611e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea ecx, [ebp - 8]
xor eax, eax
push ecx
lea ecx, [ebp - 4]
push eax
push ecx
push 0x41610d
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
leave
ret
Function at 0x416401
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
push ebx
push esi
mov esi, ecx
push edi
push 0x43fe1c
lea ecx, [ebp - 4]
call fcn.00404707
and word [ebp - 0x230], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x22e]
rep stosd dword es:[edi], eax
and word [ebp - 0x43c], 0
mov ebx, 0x3f7
stosw word es:[edi], ax
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x43a]
push ebx
push dword [esi + 4]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
lea ecx, [ebp - 0x43c]
push 0x104
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0x20
lea eax, [ebp - 0x28]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 4]
add esp, 0xc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x18], 0x1041
mov dword [ebp - 0x14], 0x41637c
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
test eax, eax
mov dword [ebp - 8], eax
je 0x4164df
lea ecx, [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push ebx
push dword [esi + 4]
call edi
lea ecx, [ebp - 0x230]
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 4]
call fcn.00404beb
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10
Function at 0x417604
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 4
call fcn.004074e2
push 6
call fcn.0040770e
pop ecx
mov ebp, 0x3e8
pop ecx
push eax
push ebp
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x409
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x407
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push ebp
push dword [esi + 4]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, esi
call fcn.004158d1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10
Function at 0x417f19
Capabilities:
Capture webcam image
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
push 0x417
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
cmp dword [esi + 0xf50], 0
mov ebp, 0x3e8
je 0x418001
push 0x407
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push 0x3ef
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push 0x419
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push 0x3fc
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push 0x418
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push 0
push 0
push 0xf0
push dword [esi + 0xe88]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebp
push dword [esi + 4]
test eax, eax
je 0x417fcd
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3e9
push dword [esi + 4]
call edi
push 5
jmp 0x417fe4
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3e9
push dword [esi + 4]
call edi
push 0
push eax
call ebx
cmp dword [esi + 0xf54], 0
je 0x418028
push ebp
push dword [esi + 4]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x418028
push 1
mov ecx, esi
call fcn.004161c1
push 0x416
push dword [esi + 4]
call edi
push 0
push eax
call ebx
push 0x3e9
push dword [esi + 4]
call edi
push 5
push eax
call ebx
push ebp
push dword [esi + 4]
call edi
push 5
push eax
call ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x41803e
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x464], ebx
jne 0x4180d6
push ebx
push ebx
push 0xf0
push dword [esi + 0xe88]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x4180ac
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, 0x3e8
push ebp
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push eax
call ebx
push 0x3e9
push dword [esi + 4]
call edi
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0xf54], 0
je 0x4180d6
push ebp
push dword [esi + 4]
call edi
push 0
push eax
call ebx
jmp 0x4180d6
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3e8
push dword [esi + 4]
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x3e9
push dword [esi + 4]
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x418a1b
Capabilities:
Hide graphical window

Disassembly:
push esi
push 0
mov esi, ecx
push 0
call fcn.00418a45
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret