joyce8/EMBER2024-capa huggingface dataset:
Function at 0x32c660
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x32c6f3
mov dword [eax + 0x48], 0
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 0xc], 0x6a09e667
mov dword [eax + 8], 0xf3bcc908
mov dword [eax + 0x14], 0xbb67ae85
mov dword [eax + 0x10], 0x84caa73b
mov dword [eax + 0x1c], 0x3c6ef372
mov dword [eax + 0x18], 0xfe94f82b
mov dword [eax + 0x24], 0xa54ff53a
mov dword [eax + 0x20], 0x5f1d36f1
mov dword [eax + 0x2c], 0x510e527f
mov dword [eax + 0x28], 0xade682d1
mov dword [eax + 0x34], 0x9b05688c
mov dword [eax + 0x30], 0x2b3e6c1f
mov dword [eax + 0x3c], 0x1f83d9ab
mov dword [eax + 0x38], 0xfb41bd6b
mov dword [eax + 0x44], 0x5be0cd19
mov dword [eax + 0x40], 0x137e2179
xor eax, eax
ret
mov eax, 1
ret

Function at 0x32c7f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x320
mov eax, 0xffffffc0
nop word cs:[eax + eax]
nop
movsd xmm0, qword [ecx + eax + 0x48]
movsd qword [esp + eax + 0x90], xmm0
add eax, 8
jne 0x32c810
mov dword [esp + 0x94], ecx
mov eax, 0xffffff80
mov ecx, dword [edx + eax + 0x80]
mov esi, dword [edx + eax + 0x84]
bswap esi
bswap ecx
mov dword [esp + eax + 0x11c], ecx
mov dword [esp + eax + 0x118], esi
add eax, 8
jne 0x32c830
mov eax, 0xfffffe00
nop word [eax + eax]
mov esi, dword [esp + eax + 0x308]
mov ecx, dword [esp + eax + 0x30c]
mov edi, ecx
shld edi, esi, 0xd
mov edx, esi
shld edx, ecx, 0xd
mov ebx, ecx
shld ebx, esi, 0x1a
xor ebx, edi
mov edi, ecx
shld edi, esi, 3
shld esi, ecx, 3
xor ebx, esi
mov dword [esp + 8], ebx
shr ecx, 6
xor ecx, edx
xor ecx, edi
mov edi, dword [esp + eax + 0x2a0]
mov edx, dword [esp + eax + 0x2a4]
mov esi, edx
shld esi, edi, 0x1f
mov ebx, edx
shld ebx, edi, 0x19
xor ebx, esi
mov esi, edx
shld esi, edi, 0x18
xor ebx, esi
mov esi, edi
shld esi, edx, 0x1f
shld edi, edx, 0x18
shr edx, 7
xor edx, esi
xor edx, edi
mov esi, dword [esp + eax + 0x298]
add esi, dword [esp + eax + 0x2e0]
mov edi, dword [esp + eax + 0x29c]
adc edi, dword [esp + eax + 0x2e4]
add esi, dword [esp + 8]
adc edi, ecx
add esi, ebx
adc edi, edx
mov dword [esp + eax + 0x318], esi
mov dword [esp + eax + 0x31c], edi
add eax, 8
jne 0x32c860
mov eax, dword [esp + 0x8c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x10], eax
mov esi, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x58]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], 0
nop word [eax + eax]
Function at 0x32d690
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebx
push edi
push esi
sub esp, 0xa0
mov esi, dword [esp + 0xb0]
mov edi, dword [esp + 0xb4]
push edi
push 0x20
push dword [esp + 0xc0]
call fcn.0032d460
add esp, 0xc
and byte [edi], 0xf8
mov al, byte [edi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [edi + 0x1f], al
mov ebx, esp
push edi
push ebx
call fcn.00327780
add esp, 8
push ebx
push esi
call fcn.00327710
add esp, 0xa8
pop esi
pop edi
pop ebx
ret
Function at 0x402710
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d182
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x618f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov dword [ebp - 0x224], esi
mov word [esi], ax
push 0x208
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 1
push eax
call fcn.005485c0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4027a5
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00402d60
push str.Foxit_Software
mov ecx, esi
call fcn.004028c0
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4027d9
mov ecx, dword [esi]
call fcn.00408270
test eax, eax
jne 0x4027f1
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4027ec
mov ecx, dword [esi]
call fcn.00408340
push str.Foxit_PDF_Reader_
mov ecx, esi
call fcn.004028c0
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x402807
mov ecx, dword [esi]
call fcn.00408270
test eax, eax
jne 0x40281f
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x40281a
mov ecx, dword [esi]
call fcn.00408340
push str.Foxit_Service_
mov ecx, esi
call fcn.004028c0
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x402835
mov ecx, dword [esi]
call fcn.00408270
test eax, eax
jne 0x40284d
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x402848
mov ecx, dword [esi]
call fcn.00408340
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005424ec
mov esp, ebp
pop ebp
ret
Function at 0x406fb0
Capabilities:
Create service
Persist via windows service
Start service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56d68b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x618f60]
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, edx
mov ebx, ecx
mov dword [ebp - 0x234], ebx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005485c0
add esp, 0xc
mov dword [ebp - 0x220], 0
xor eax, eax
mov dword [ebp - 0x21c], 7
lea ecx, [ebp - 0x230]
mov word [ebp - 0x230], ax
push 1
push 0x5fc474
call fcn.00402d60
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x407065
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetModuleFileName_failed_w_err_0x_08lx_n
call fcn.00406250
add esp, 8
jmp 0x40716f
push 3
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x407090
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5fc3d8
call fcn.00406250
add esp, 8
jmp 0x40716f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004028c0
push 0x5fc474
lea ecx, [ebp - 0x230]
call fcn.004028c0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push 0
push 0x5fbda0
push 0
push 0
push eax
push 1
push 2
push 0x110
push 0xf01ff
push esi
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
jne 0x40710a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.CreateService_failed_w_err_0x_08lx_n
call fcn.00406250
jmp 0x407162
push esi
call ebx
mov esi, dword [ebp - 0x234]
push esi
push str._s_is_installed._n
call fcn.00406250
add esp, 8
push 0x114
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x407142
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x5fc478
jmp 0x40715d
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x407165
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StartService_failed_w_err_0x_08lx_n
call fcn.00404350
add esp, 8
push edi
call ebx
test esi, esi
je 0x40716f
push esi
call ebx
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x4071ab
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4071a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4071c7
push edx
push ecx
call fcn.005424fd
add esp, 8
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.005424ec
mov esp, ebp
pop ebp
ret
call fcn.0054c279
int3
Function at 0x407480
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x244
mov eax, dword [0x618f60]
xor eax, esp
mov dword [esp + 0x240], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0
push 2
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4074e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.TraverseProcessID_CreateToolhelp32Snapshot_GetLastError___d
call fcn.00404350
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.005424ec
mov esp, ebp
pop ebp
ret 8
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x407532
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.TraverseProcessID_Process32First_GetLastError___d
call fcn.00404350
add esp, 8
test esi, esi
je 0x407519
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.005424ec
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [eax + eax]
push dword [esp + 0x14]
lea eax, [esp + 0x40]
push eax
call fcn.0054ca00
add esp, 8
test eax, eax
jne 0x407582
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x407572
cmp dword [esp + 0x10], edi
je 0x4075b8
call ebx
push eax
push str.TraverseProcessID_ProcessIdToSessionId_GetLastError___d
call fcn.00404350
add esp, 8
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x407540
xor ebx, ebx
test esi, esi
je 0x40759f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005424ec
mov esp, ebp
pop ebp
ret 8
mov ebx, dword [esp + 0x20]
jmp 0x407594
Function at 0x408340
Capabilities:
Create directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x41c
mov eax, dword [0x618f60]
xor eax, esp
mov dword [esp + 0x418], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.00408270
test eax, eax
je 0x408382
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.005424ec
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x218]
sub ecx, esi
nop dword [eax + eax]
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x408390
lea ecx, [esp + 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4083b0
sub ecx, edx
mov edx, 0x2f2f
sar ecx, 1
movzx eax, word [esp + ecx*2 + 0x216]
cmp ax, dx
je 0x4083d6
cmp eax, 0x2f
jne 0x4083e3
mov eax, 0x2f30
mov word [esp + ecx*2 + 0x216], ax
lea ebx, [esp + 0x218]
lea ecx, [ebx + 2]
nop dword [eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x4083f0
push 0x100
lea eax, [esp + 0x1c]
sub ebx, ecx
push 0
push eax
sar ebx, 1
call fcn.005485c0
xor esi, esi
add esp, 0xc
mov dword [esp + 0x14], esi
test ebx, ebx
jle 0x4084ff
mov edx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov word [esp + 0x12], ax
nop dword [eax]
nop dword [eax + eax]
movzx eax, word [esp + esi*2 + 0x218]
mov esi, 0x2f2f
cmp ax, si
je 0x408459
mov word [esp + 0x10], ax
jmp 0x40847d
push 0
lea eax, [esp + 0x1c]
push eax
call edx
test eax, eax
je 0x408472
push 0x80
lea eax, [esp + 0x1c]
push eax
call edi
mov edx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [esp + 0x10], si
lea eax, [esp + 0x10]
mov esi, eax
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408483
lea edi, [esp + 0x18]
sub eax, esi
add edi, 0xfffffffe
nop word [eax + eax]
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x4084a0
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebx - 1]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
cmp esi, eax
jne 0x4084e6
push 0
lea eax, [esp + 0x1c]
push eax
call edx
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4084ec
push 0x80
lea eax, [esp + 0x1c]
push eax
call edi
jmp 0x4084ec
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
inc esi
mov dword [esp + 0x14], esi
cmp esi, ebx
jl 0x408440
lea ecx, [esp + 0x18]
call fcn.00408270
mov ecx, dword [esp + 0x424]
neg eax
pop edi
pop esi
sbb eax, eax
pop ebx
xor ecx, esp
neg eax
call fcn.005424ec
mov esp, ebp
pop ebp
ret
Function at 0x409c14
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0xffffffffffffffff
push esi
call fcn.0040d56d
test eax, eax
je 0x409c6b
push esi
mov ebx, 0x811c9dc5
xor edi, edi
call fcn.0054c6a9
xor edx, edx
mov dword [ebp - 4], 0xa
pop ecx
mov ecx, eax
div dword [ebp - 4]
inc eax
test ecx, ecx
je 0x409c60
mov edx, ecx
movzx ecx, word [esi + edi*2]
add edi, eax
imul ebx, ebx, 0x1000193
xor ebx, ecx
cmp edi, edx
jb 0x409c4e
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004096f9
int3

Function at 0x40c328
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x56da46
call fcn.00542dbf
mov esi, ecx
mov dword [ebp - 0x14], esi
lea edi, [esi + 0x1c]
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 8]
test ebx, ebx
jle 0x40c430
cmp ebx, dword [esi + 0xc]
jge 0x40c430
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x40c37f
cmp ebx, dword [edi + 8]
jl 0x40c419
cmp dword [ebp + 0xc], 0
je 0x40c419
xor ebx, ebx
jmp 0x40c3b6
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call fcn.0040bf55
mov edi, eax
test edi, edi
je 0x40c399
mov dword [edi], vtable.CThreadData.0
jmp 0x40c39b
mov edi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x14]
push edi
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.0040c254
mov ecx, dword [esi + 0x14]
mov dword [eax], ecx
mov dword [esi + 0x14], edi
mov eax, dword [ebp - 0x14]
mov esi, dword [edi + 0xc]
push 4
push dword [eax + 0xc]
call fcn.00409bec
pop ecx
pop ecx
test esi, esi
jne 0x40c3d6
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x40c3e2
push 2
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x40c43f
mov esi, dword [ebp - 0x14]
mov ecx, dword [edi + 8]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push ebx
push eax
call fcn.005485c0
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [edi + 8], eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x40c42b
cmp ebx, dword [edi + 8]
jge 0x40c42b
mov eax, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0x18]
jmp 0x40c431
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00542d1d
ret 8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.00409713
mov eax, dword [ebp - 0x14]
add eax, 0x1c
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
push ebx
push ebx
call fcn.0054871a
int3
Function at 0x40e5f0
Capabilities:
Get disk information

Disassembly:
push 0x268
mov eax, 0x56dbd9
call fcn.00542d88
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x264], eax
test eax, eax
je 0x40e7fe
test edi, edi
je 0x40e7fe
lea ecx, [ebp - 0x268]
mov esi, 0x104
push ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x40e67f
push 0xffffffffffffffff
push edi
push esi
push dword [ebp - 0x264]
call fcn.0055079a
add esp, 0x10
test eax, eax
je 0x40e671
cmp eax, 0xc
je 0x40e803
cmp eax, 0x16
je 0x40e7fe
cmp eax, 0x22
je 0x40e7fe
cmp eax, 0x50
jne 0x40e7fe
push edi
push ebx
call fcn.0040e5ae
xor eax, eax
jmp 0x40e7c9
cmp eax, esi
jb 0x40e6a9
test ebx, ebx
je 0x40e678
mov dword [ebx + 8], 3
test edi, edi
jne 0x40e696
xor eax, eax
jmp 0x40e69d
push edi
call fcn.0054c6a9
pop ecx
push eax
push edi
lea ecx, [ebx + 0x10]
call fcn.0040912e
jmp 0x40e678
call fcn.00409e2c
push eax
lea ecx, [ebp - 0x26c]
call fcn.00408795
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x264]
call fcn.0040df09
mov esi, dword [ebp - 0x26c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x40e7be
push eax
push eax
lea ecx, [ebp - 0x270]
push ecx
lea ecx, [ebp - 0x274]
push ecx
push eax
push eax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x40e718
push edi
push ebx
call fcn.0040e5ae
lea ecx, [esi - 0x10]
call fcn.00404310
jmp 0x40e678
mov eax, dword [ebp - 0x270]
test al, 2
jne 0x40e734
push dword [ebp - 0x264]
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [ebp - 0x270]
test al, 4
jne 0x40e7be
lea eax, [ebp - 0x260]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x40e7be
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x40e704
cmp eax, dword [ebp - 0x264]
jbe 0x40e704
lea eax, [ebp - 0x234]
push eax
call fcn.0054c6a9
mov edx, dword [ebp - 0x268]
sub edx, dword [ebp - 0x264]
sar edx, 1
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x40e7d1
lea eax, [ebp - 0x234]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x268]
call fcn.00550669
add esp, 0xc
test eax, eax
je 0x40e7be
cmp eax, 0xc
je 0x40e803
cmp eax, 0x16
je 0x40e7fe
cmp eax, 0x22
je 0x40e7fe
cmp eax, 0x50
jne 0x40e7fe
lea ecx, [esi - 0x10]
call fcn.00404310
xor eax, eax
inc eax
call fcn.00542d32
ret 0xc
test ebx, ebx
je 0x40e70b
mov dword [ebx + 8], 3
test edi, edi
jne 0x40e7e8
xor eax, eax
jmp 0x40e7ef
push edi
call fcn.0054c6a9
pop ecx
push eax
push edi
lea ecx, [ebx + 0x10]
call fcn.0040912e
jmp 0x40e70b
call fcn.004096f9
call fcn.00409713
int3
Function at 0x4126a8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.00412bb3
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.004128e3
cmp esi, 3
je 0x4126e6
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x41273c
push ebx
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, dword [ebp + 0x10]
mov ebx, eax
mov ecx, edi
test ebx, ebx
jle 0x412717
push ebx
call fcn.0040902d
push ebx
mov ecx, edi
mov esi, eax
call fcn.00409103
lea ecx, [ebx + 1]
push ecx
push esi
jmp 0x412727
push 0xff
call fcn.0040902d
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004099f9
pop ebx
jmp 0x412760
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x412760
push dword [esi]
push dword [ebp - 4]
call fcn.00411bd5
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x412829
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov ecx, esi
call fcn.004128e3
cmp dword [esi], 0
mov ebx, eax
mov dword [esi + 0xc], 1
je 0x412880
push edi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, dword [ebp + 0x10]
mov edi, eax
push edi
call fcn.0040902d
mov ecx, dword [ebp + 0x10]
mov esi, eax
push edi
call fcn.00409103
lea edx, [edi + 1]
push edx
push esi
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.004099f9
pop edi
jmp 0x41288b
mov eax, dword [ebp + 0x10]
push dword [eax]
push ebx
call fcn.00411bd5
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x412c69
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x56da69
call fcn.00542d54
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x412c8f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x412d00
call fcn.00409e2c
push eax
lea ecx, [ebp - 0x10]
call fcn.00408795
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call fcn.00542d17
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0055079a
add esp, 0x10
test eax, eax
je 0x412ce6
cmp eax, 0xc
je 0x412d0d
cmp eax, 0x16
je 0x412d08
cmp eax, 0x22
je 0x412d08
cmp eax, 0x50
jne 0x412d08
test esi, esi
je 0x412cf3
push esi
call fcn.0054c6a9
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00404310
mov eax, ebx
call fcn.00542d1d
ret 8
call fcn.004096f9
call fcn.00409713
int3