joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4113d0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e1a3
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x47b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
sub esp, 0x1c
lea ecx, [ebp - 0x18]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
push 0
push 0
push 0
push 0x46e19c
push ebx
call fcn.0040ac30
push 0x258
lea eax, [ebp - 0x270]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00435ae0
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.0040ae10
push 0x250
mov esi, eax
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.00435ae0
add esp, 0xc
lea eax, [ebp - 0x270]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, eax
mov dword [ebp - 0x20], edx
cmp edx, 0xffffffff
je 0x41148b
lea ecx, [ebp - 0x270]
mov dword [ebp - 0x1c], 1
call fcn.004019c0
mov edx, dword [ebp - 0x20]
mov byte [ebp - 4], 1
cmp edx, 0xffffffff
je 0x41154b
mov esi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
test byte [ebp - 0x270], 0x10
je 0x4114ea
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x244]
push eax
push 0x46dcd0
push ebx
lea ecx, [ebp - 0x18]
call fcn.0040adb0
lea ecx, [ebp - 0x18]
call fcn.0040ae10
mov edx, edi
mov ecx, eax
call fcn.004113d0
call fcn.0040c890
mov edx, dword [ebp - 0x20]
jmp 0x411500
mov ecx, dword [ebp - 0x254]
xor eax, eax
add eax, dword [ebp - 0x250]
adc ecx, 0
add dword [edi], eax
adc dword [edi + 4], ecx
cmp edx, 0xffffffff
je 0x41154b
lea eax, [ebp - 0x270]
push eax
push edx
call esi
test eax, eax
je 0x41153b
lea ecx, [ebp - 0x270]
call fcn.004019c0
test al, al
je 0x41152a
mov edx, dword [ebp - 0x20]
jmp 0x4114a0
mov eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x41154b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x41154b
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x20], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0040acf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret
Function at 0x411a60
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, ecx
push esi
mov ebx, edx
call edi
test eax, eax
jne 0x411ae3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x411ae3
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 5
je 0x411a9f
and eax, 0xfffffffa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call edi
test eax, eax
jne 0x411ae3
test bl, 2
je 0x411aba
mov ecx, dword [ebp + 8]
push dword [ecx + 4]
push 4
push ecx
push esi
call fcn.0040d2e0
push esi
call edi
test eax, eax
jne 0x411ae3
test bl, 1
je 0x411ada
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x411ada
mov eax, 2
pop edi
pop esi
pop ebx
pop ebp
ret 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4

Function at 0x411af0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, ecx
push esi
mov ebx, edx
call edi
test eax, eax
jne 0x411b73
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x411b73
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 5
je 0x411b2f
and eax, 0xfffffffa
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call edi
test eax, eax
jne 0x411b73
test bl, 2
je 0x411b4a
mov ecx, dword [ebp + 8]
push dword [ecx + 4]
push 5
push ecx
push esi
call fcn.0040d2e0
push esi
call edi
test eax, eax
jne 0x411b73
test bl, 1
je 0x411b6a
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x411b6a
pop edi
pop esi
mov eax, 2
pop ebx
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 4

Function at 0x411bf0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x47b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x411c3c
test eax, eax
je 0x411c3c
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push ecx
push eax
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x411c3c
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
xor edx, edx
call fcn.00430eab
mov esp, ebp
pop ebp
ret
Function at 0x411c50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x47b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x411c9e
test eax, eax
je 0x411c9e
push 0
lea ecx, [ebp - 0xc]
mov dword [ebp - 8], 0xffff
push ecx
push 2
lea ecx, [ebp - 8]
mov dword [ebp - 0xc], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ax, word [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0xffff
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret

Function at 0x411cc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x47b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
cmp eax, 0xffffffff
je 0x411d0a
test eax, eax
je 0x411d0a
push 0
lea ecx, [ebp - 0xc]
mov byte [ebp - 5], 0xff
push ecx
push 1
lea ecx, [ebp - 5]
mov dword [ebp - 0xc], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, byte [ebp - 5]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or al, 0xff
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret
Function at 0x412010
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x47b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x41205d
test eax, eax
je 0x41205d
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 8

Function at 0x412070
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e258
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x47b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x412197
test eax, eax
je 0x412197
mov ecx, edi
mov dword [ebp - 0x14], 0
call fcn.0040ad00
mov ecx, ebx
call fcn.00411bd0
push 0x4507e8
mov dword [ebp - 0x1c], eax
lea ecx, [eax + 2]
push ecx
call fcn.00431280
mov esi, eax
add esp, 8
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x412184
mov ecx, dword [ebp - 0x1c]
xor edx, edx
mov eax, ecx
shr eax, 1
push edx
mov dword [ebp - 0x1c], eax
mov word [esi + eax*2], dx
lea eax, [ebp - 0x14]
push eax
push ecx
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x412184
mov eax, dword [ebp - 0x14]
mov ecx, edi
mov byte [esi + eax], 0
mov eax, dword [ebp - 0x14]
mov byte [esi + eax + 1], 0
mov eax, dword [ebx + 4]
test al, 0x20
je 0x412141
mov eax, esi
xor esi, esi
push esi
push eax
call fcn.0040ad70
mov ecx, edi
call fcn.0040ad50
mov edi, eax
jmp 0x412186
test al, 0x40
je 0x412159
push dword [ebp - 0x1c]
push esi
call fcn.0040c230
mov ecx, edi
call fcn.0040ad50
mov edi, eax
jmp 0x412186
sub esp, 8
push esi
test eax, 0x180
je 0x412174
call fcn.0040c2b0
mov ecx, edi
call fcn.0040ad50
mov edi, eax
jmp 0x412186
call fcn.0040c1d0
mov ecx, edi
call fcn.0040ad50
mov edi, eax
jmp 0x412186
xor edi, edi
test esi, esi
je 0x412193
push esi
call fcn.00430eef
add esp, 4
mov eax, edi
jmp 0x412199
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 8
Function at 0x4121f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x47b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [edx]
mov dword [ebp - 0xc], edx
push edi
mov edi, dword [ebp + 0xc]
cmp esi, 0xffffffff
je 0x412349
test esi, esi
je 0x412349
cmp edi, 1
jge 0x412237
mov ecx, ebx
call fcn.0040c920
mov edi, eax
test edi, edi
je 0x412349
mov eax, dword [edx + 4]
mov dword [ebp - 8], 0
test al, 0x60
je 0x412271
push 0
lea eax, [ebp - 8]
push eax
lea eax, [edi + edi]
push eax
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
pop edi
sbb eax, eax
and eax, dword [ebp - 8]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 8
test eax, 0x188
je 0x412309
push 0
push 0
push 0
push 0
push edi
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x412349
push 0x4507e8
push eax
call fcn.00431280
add esp, 8
mov esi, eax
push 0
push 0
push dword [ebp - 0x10]
push esi
push edi
push ebx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x4122e5
push 0
lea ecx, [ebp - 8]
push ecx
push eax
mov eax, dword [ebp - 0xc]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4122e5
mov edi, dword [ebp - 8]
jmp 0x4122e7
xor edi, edi
test esi, esi
je 0x4122f4
push esi
call fcn.00430eef
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 8
push 0x4507e8
push edi
call fcn.00431280
add esp, 8
mov esi, eax
push 0
push 0
push edi
push esi
push edi
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
lea ecx, [ebp - 8]
push ecx
push eax
mov eax, dword [ebp - 0xc]
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
neg edi
sbb edi, edi
and edi, dword [ebp - 8]
jmp 0x4122e7
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430eab
mov esp, ebp
pop ebp
ret 8

Function at 0x412360
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x47b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx]
mov edx, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x4123ad
test eax, eax
je 0x4123ad
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0xc]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
neg eax
sbb eax, eax
and eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 8
Function at 0x412cb0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e388
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x47b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
cmp byte [ebp + 8], 0
je 0x412d81
push 0x20019
push str.HKLM64SOFTWAREMicrosoftWindowsCurrentVersion
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
call fcn.0040d5b0
push esi
push str.ProgramFilesDir
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.0040d760
mov ecx, esi
call fcn.0040af50
test al, al
je 0x412d2f
push 1
push str.C:Program_Files
mov ecx, esi
call fcn.0040ad70
push 0
push 0x104
mov ecx, edi
call fcn.0040b080
push eax
push 1
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x412d77
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.__x86_
mov ecx, esi
call fcn.0040ae10
push eax
mov ecx, edi
call fcn.0040adb0
lea ecx, [ebp - 0x14]
call fcn.0040d630
jmp 0x412dad
push 0
push 0x104
call fcn.0040b080
push eax
push 1
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 1
mov ecx, esi
call fcn.0040ae10
push eax
mov ecx, edi
call fcn.0040ad70
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 4
Function at 0x413420
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x47b00c]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push esi
push edi
push ecx
xorps xmm0, xmm0
push ecx
lea ecx, [esp + 0x18]
movq qword [esp + 0x18], xmm0
call fcn.0040ac00
lea ecx, [esp + 0x10]
call fcn.0040ad50
test eax, eax
jne 0x413465
xor edi, edi
jmp 0x4134e9
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
jne 0x41347c
or esi, 0xffffffff
xor edi, edi
jmp 0x4134d9
cmp esi, 0xffffffff
jne 0x413485
xor edi, edi
jmp 0x4134d9
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x22c
push eax
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4134d9
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x14]
call fcn.0040acc0
test al, al
jne 0x4134cd
mov ecx, dword [esp + 0x20]
call fcn.00413230
movzx eax, al
push 0xa
add edi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x18]
push eax
push esi
call ebx
test eax, eax
jne 0x4134a5
cmp esi, 0xffffffff
je 0x4134e9
test esi, esi
je 0x4134e9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
call fcn.0040acf0
mov ecx, dword [esp + 0x24c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00430eab
mov esp, ebp
pop ebp
ret
Function at 0x4146b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44dec8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x47b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x224]
test eax, eax
jne 0x4146ee
xor al, al
jmp 0x41483c
cmp byte [esi + 0x239], 2
jae 0x414700
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xorps xmm0, xmm0
lea ecx, [ebp - 0x18]
movq qword [ebp - 0x18], xmm0
call fcn.0040abc0
push 0x104
push 0
push 0x104
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0040b080
push eax
push dword [esi + 0x224]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
jne 0x414745
push eax
lea ecx, [ebp - 0x18]
call fcn.0040acb0
cmp dword [esi + 0x38], 0
je 0x41475c
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x41475c
push ecx
push eax
push ecx
mov ecx, esi
call fcn.00418290
mov eax, dword [esi + 0x22c]
mov ebx, dword [sym.imp.USER32.dll_DestroyWindow]
test eax, eax
je 0x41476f
push eax
call ebx
mov eax, dword [esi + 0x230]
test eax, eax
je 0x41477c
push eax
call ebx
mov eax, dword [esi + 0x1f4]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x41478f
push eax
call edi
mov eax, dword [esi + 0x1f8]
test eax, eax
je 0x41479c
push eax
call edi
mov eax, dword [esi + 0x1d8]
test eax, eax
je 0x4147a9
push eax
call edi
mov eax, dword [esi + 0x1e0]
test eax, eax
je 0x4147ba
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esi + 0x24c]
test eax, eax
je 0x4147cb
push eax
call dword [sym.imp.USER32.dll_DestroyMenu]
push esi
push 0x4138e0
push dword [esi + 0x224]
call dword [sym.imp.COMCTL32.dll_RemoveWindowSubclass]
cmp byte [esi + 0x239], 2
jae 0x414818
push dword [esi + 0x224]
call ebx
cmp byte [esi + 0x239], 0
jne 0x414818
lea ecx, [ebp - 0x18]
call fcn.0040ad50
test eax, eax
je 0x414818
push dword [esi + 0x114]
lea ecx, [ebp - 0x18]
call fcn.0040ae10
push eax
call dword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, dword [esi + 0x234]
test eax, eax
je 0x414829
push eax
call dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
push 0
mov ecx, esi
call fcn.0041a500
lea ecx, [ebp - 0x18]
call fcn.0040acf0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret
Function at 0x417260
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e5c1
mov eax, dword fs:[0]
push eax
mov eax, 0x11e8
call fcn.0044c880
mov eax, dword [0x47b00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xffffffffffffffff
push str.HKCUSoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
lea ecx, [ebp - 0x224]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
call fcn.0040d5b0
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0
call fcn.0040d620
test eax, eax
jne 0x4172d3
xor bl, bl
jmp 0x41749b
cmp dword [ebp - 0x220], 0
jne 0x417461
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 0x2af9
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
sub esp, 0x1c
lea eax, [ebp - 0x21c]
xorps xmm0, xmm0
lea ecx, [ebp - 0x234]
movq qword [ebp - 0x234], xmm0
push 0
push 0
push 0
push str.Internet_exploreriexplore.exe
push eax
call fcn.0040ac30
push 0xfbc
lea eax, [ebp - 0x11f4]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.00435ae0
add esp, 0xc
lea ecx, [ebp - 0x234]
call fcn.0040ae10
push eax
lea ecx, [ebp - 0x11f4]
call fcn.004105a0
sub esp, 0xc
mov byte [ebp - 4], 2
xorps xmm0, xmm0
lea ecx, [ebp - 0x11f4]
movq qword [ebp - 0x22c], xmm0
call fcn.00410620
push eax
lea ecx, [ebp - 0x22c]
call fcn.0040ac00
push 2
push 1
push 1
push 1
push 0x46e960
lea ecx, [ebp - 0x22c]
call fcn.0040b7a0
test eax, eax
je 0x4173ac
mov dword [ebp - 0x220], 0x22b8
jmp 0x41742a
push 2
push 1
push 1
push 1
push 0x46e968
lea ecx, [ebp - 0x22c]
call fcn.0040b7a0
test eax, eax
je 0x4173d4
mov dword [ebp - 0x220], 0x270f
jmp 0x41742a
push 3
push 1
push 1
push 1
push 0x46e970
lea ecx, [ebp - 0x22c]
call fcn.0040b7a0
test eax, eax
je 0x4173fc
mov dword [ebp - 0x220], 0x2711
jmp 0x41742a
push 3
push 1
push 1
push 1
push 0x46e978
lea ecx, [ebp - 0x22c]
call fcn.0040b7a0
mov ecx, dword [ebp - 0x220]
test eax, eax
mov edx, 0x2ee1
cmovne ecx, edx
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x22c]
call fcn.0040acf0
lea ecx, [ebp - 0x240]
call fcn.0040acf0
lea ecx, [ebp - 0x248]
call fcn.0040acf0
lea ecx, [ebp - 0x250]
call fcn.0040acf0
lea ecx, [ebp - 0x234]
call fcn.0040acf0
push 0x104
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.PSAPI.DLL_GetModuleBaseNameW]
push 0
lea eax, [ebp - 0x220]
push eax
push 4
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040daa0
mov bl, al
lea ecx, [ebp - 0x224]
call fcn.0040d630
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 4
Function at 0x419160
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x47b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x3c], eax
cmp edi, 0xffffffff
jne 0x419186
mov edi, dword [esi + 0x3c]
push edi
call fcn.00419760
test al, al
jne 0x4191a5
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x22c], 0
jne 0x4191b7
call fcn.0041a240
test al, al
je 0x419190
push 0x30
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.00435ae0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [edi + edi*8]
shl ecx, 3
add esp, 0xc
mov dword [ebp - 0x38], ecx
add ecx, dword [esi + 0x38]
mov dword [ebp - 0x34], 0x30
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
cmp dword [ecx], 0x1c
jne 0x419227
push 0
push edi
push 0x419
mov dword [ebp - 0x30], 0x10
push dword [ecx + 4]
call ebx
cmp eax, 0xffffffff
je 0x419190
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x38]
push eax
mov eax, dword [esi + 0x38]
push 0x41d
push dword [ecx + eax + 4]
call ebx
test eax, eax
je 0x419190
mov dword [ebp - 0x28], edi
jmp 0x419234
mov dword [ebp - 0x30], 0x11
mov eax, dword [ecx + 4]
mov dword [ebp - 0x28], eax
push dword [ebp + 0x14]
push 0
push 0x418
push dword [esi + 0x22c]
call ebx
mov eax, dword [esi + 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x432
push dword [esi + 0x22c]
call ebx
mov ecx, dword [ebp - 4]
cmp eax, 1
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4194b0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, 0xffffffff
jne 0x4194c2
mov esi, dword [edi + 0x3c]
push esi
call fcn.00419760
test al, al
jne 0x4194d2
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [edi + 0x38]
push ebx
lea ebx, [esi + esi*8]
cmp dword [eax + ebx*8], 0x1c
jne 0x419516
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x419
push dword [eax + ebx*8 + 4]
call esi
cmp eax, 0xffffffff
je 0x419539
push dword [ebp + 0xc]
push eax
mov eax, dword [edi + 0x38]
push 0x433
push dword [eax + ebx*8 + 4]
call esi
pop ebx
test eax, eax
pop edi
setne al
pop esi
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
push esi
push dword [eax + ebx*8 + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x419539
mov eax, dword [edi + 0x38]
push dword [eax + ebx*8 + 4]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x419542
pop ebx
pop edi
xor al, al
pop esi
pop ebp
ret 8
push 2
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi]
sub dword [esi + 8], eax
mov eax, dword [esi + 4]
sub dword [esi + 0xc], eax
mov al, 1
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x41a8d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x47b00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push 2
push 0
push 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41a924
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push dword [ebp - 8]
push ebx
push edi
call fcn.0041a6a0
test eax, eax
je 0x41a95a
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x41a95a
push 0
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430eab
mov esp, ebp
pop ebp
ret 0x10