joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4659e6
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push 0x10
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 8]
push eax
push 0x1f4
push 2
push edi
push edi
push 0x10
push esi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x465a41
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 4]
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x46732f
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx]
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
test al, 0x10
je 0x46736b
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x4673a8
mov dword [esi], edi
mov eax, dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
test dword [ebp + 8], eax
je 0x467391
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
test eax, eax
jne 0x467363
push edi
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4673df
or eax, 0xffffffff
jmp 0x467363
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
test eax, eax
je 0x4673b6
cmp eax, 0xffffffff
je 0x4673b6
push 1
mov edx, esi
mov ecx, eax
call fcn.004671f9
pop ecx
jmp 0x467361
push edi
push 0x80
push 3
lea eax, [ebp - 0xc]
push eax
push 2
push 0x40000000
push 0x4bc488
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x46735f
test eax, eax
je 0x46735f
mov ecx, dword [esi]
lea edx, [ebp + 0x10]
push 1
call fcn.004671f9
pop ecx
mov ecx, esi
call fcn.004671c8
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x467361
Function at 0x4673fd
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx]
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
test al, 0x10
je 0x467438
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x467473
mov dword [esi], edi
mov eax, dword [esi]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
test al, 1
je 0x46745d
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
test eax, eax
jne 0x467430
push edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4674aa
or eax, 0xffffffff
jmp 0x467430
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, dword [ebp + 0x10]
mov dword [esi], eax
test eax, eax
je 0x467481
cmp eax, 0xffffffff
je 0x467481
push 1
mov edx, esi
mov ecx, eax
call fcn.004671f9
pop ecx
jmp 0x46742e
push edi
push 0x80
push 3
lea eax, [ebp - 0xc]
push eax
push 1
push bind
push 0x4bc488
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x46742c
test eax, eax
je 0x46742c
mov ecx, dword [esi]
lea edx, [ebp + 0x10]
push 1
call fcn.004671f9
pop ecx
mov ecx, esi
call fcn.004671c8
mov eax, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x46742e
Function at 0x467659
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov ebx, ecx
push edi
push 0x1f5
lea esi, [ebx + 0x34]
push esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push 0xffff
call fcn.004218c6
mov edi, eax
mov eax, 0xffff
push eax
mov dword [ebp - 8], edi
mov dword [ebx + 0x10], eax
call fcn.004218c6
pop ecx
pop ecx
push 0
mov dword [ebx + 8], eax
lea eax, [ebp - 4]
push eax
push 0xffff
push edi
push dword [ebx + 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x467763
cmp dword [ebp - 4], 0
jbe 0x467760
lea esi, [ebx + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp - 4]
add eax, ecx
cmp dword [ebx + 0x10], eax
jae 0x467725
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 4]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
jns 0x4676ed
fadd qword [0x4bdad8]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fmul qword [0x4b8f20]
call fcn.0043bed6
push eax
mov dword [ebx + 0x10], eax
call fcn.004218c6
push dword [ebx + 0xc]
mov dword [ebx + 8], eax
push edi
push dword [ebx + 8]
call fcn.00421950
push edi
call fcn.0042193c
mov ecx, dword [ebp - 4]
add esp, 0x14
mov edi, dword [ebp - 8]
mov eax, dword [ebx + 0xc]
add eax, dword [ebx + 8]
push ecx
push edi
push eax
call fcn.00421950
mov eax, dword [ebp - 4]
add esp, 0xc
add dword [ebx + 0xc], eax
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
lea eax, [ebp - 4]
push eax
push 0xffff
push edi
push dword [ebx + 0x2c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4676b5
mov esi, dword [ebp - 0xc]
push edi
call fcn.0042193c
pop ecx
mov edi, 0x1f6
push edi
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4677c3
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x30]
cmp dword [edi], 0
je 0x467822
push ebx
lea ebx, [esi + 0x34]
push dword [ebx]
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp eax, 0x1f6
je 0x467821
add esi, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x1f6
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0x3e8
push dword [edi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, edi
call fcn.004671c8
push 0x1f6
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebx
pop edi
pop esi
ret

Function at 0x467825
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x20], 0
jne 0x467849
test byte [esi], 2
je 0x467849
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x467849
call fcn.004670cb
mov ecx, eax
mov dword [esi + 0x20], eax
call fcn.0046779a
cmp dword [esi + 0x24], 0
jne 0x467870
test byte [esi], 4
je 0x467870
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x467870
test byte [esi], 8
jne 0x467870
call fcn.004670cb
mov dword [esi + 0x24], eax
mov ecx, eax
pop esi
jmp fcn.0046779a
pop esi
ret
Function at 0x468ce8
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
dec dword [0x4c6190]
jne 0x468cf5
call fcn.00468dcf
mov eax, dword [0x4c9ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c9ef0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x468d2d
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x4c6190]
jne 0x468d3f
call fcn.00468dcf
mov eax, dword [0x4c9ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c9ef0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x468d82
fadd qword [0x4bdad8]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4bdab0]
mov esp, ebp
pop ebp
ret

Function at 0x468d92
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0x4c9530], ecx
inc esi
mov ecx, 0x4c9530
mov edx, esi
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
imul eax, eax, 0x6c078965
add eax, edx
inc edx
mov dword [ecx + 4], eax
add ecx, 4
cmp ecx, 0x4c9eec
jl 0x468da3
mov dword [0x4c6190], esi
mov dword [0x4c9518], esi
pop esi
ret

Function at 0x468dcf
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4c9518], 0
push esi
push edi
mov esi, 0x4c9530
jne 0x468dee
push 0
call fcn.00425d1a
pop ecx
mov ecx, eax
call fcn.00468d92
mov dword [0x4c6190], 0x270
mov edi, 0xe3
mov dword [0x4c9ef0], esi
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and eax, 0x7ffffffe
and ecx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi], eax
mov esi, edx
dec edi
jne 0x468e03
mov edi, 0x18c
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and eax, 0x7ffffffe
and ecx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, ecx
mov dword [esi], eax
lea esi, [edx]
dec edi
jne 0x468e38
mov ecx, dword [0x4c9530]
mov al, cl
and al, 1
movzx edx, al
mov eax, dword [esi]
neg edx
pop edi
sbb edx, edx
xor eax, ecx
and eax, 0x7ffffffe
and edx, 0x9908b0df
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, edx
mov dword [esi], eax
pop esi
ret
Function at 0x4692d7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x14], 1
jne 0x4692fc
mov eax, dword [esi + 0xc]
add eax, dword [esi + 4]
push 8
push eax
lea eax, [ebp - 8]
push eax
call fcn.00421950
add esp, 0xc
jmp 0x46930f
push dword [esi + 0x1c]
lea eax, [ebp - 8]
push 8
push 1
push eax
call fcn.004260f2
add esp, 0x10
movzx ecx, byte [ebp - 4]
movzx eax, byte [ebp - 3]
add dword [esi + 0xc], 8
shl ecx, 8
or ecx, eax
mov byte [ebp - 4], 0
movzx eax, byte [ebp - 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 1]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp + 8]
push str.EA06
mov dword [eax], ecx
lea eax, [ebp - 8]
push eax
call fcn.004261a0
neg eax
pop ecx
pop ecx
sbb eax, eax
neg eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4693e5
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x10000
mov eax, dword [esi + 0x460]
test eax, eax
je 0x4693fb
cmp eax, ecx
jne 0x469416
push dword [esi + 0x1c]
push ecx
push 1
push dword [esi + 0x458]
call fcn.004260f2
add esp, 0x10
and dword [esi + 0x460], 0
mov ecx, dword [esi + 0x460]
mov eax, dword [esi + 0x458]
mov al, byte [ecx + eax]
inc ecx
mov dword [esi + 0x460], ecx
pop esi
ret

Function at 0x46942e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 0x45c]
mov esi, dword [edi + 0x454]
mov byte [esi + edx], al
mov eax, 0x10000
inc dword [edi + 0x45c]
cmp dword [edi + 0x45c], eax
jne 0x469475
push dword [edi + 0x20]
push eax
push 1
push dword [edi + 0x454]
call fcn.00425373
add esp, 0x10
and dword [edi + 0x45c], 0
pop edi
pop esi
pop ebp
ret 4

Function at 0x46947b
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x45c]
test eax, eax
je 0x4694a3
push dword [esi + 0x20]
push eax
push 1
push dword [esi + 0x454]
call fcn.00425373
add esp, 0x10
and dword [esi + 0x45c], 0
pop esi
ret
Function at 0x46f4db
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x258]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ecx
xor bl, bl
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x46f576
lea eax, [ebp - 0x22c]
push 0x491b80
push eax
call fcn.0042405c
pop ecx
pop ecx
test eax, eax
je 0x46f564
lea eax, [ebp - 0x22c]
push 0x4bc5b0
push eax
call fcn.0042405c
pop ecx
pop ecx
test eax, eax
je 0x46f564
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
mov eax, dword [ebp + 0x10]
or ecx, dword [ebp + 0xc]
not eax
and ecx, eax
lea eax, [ebp - 0x22c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x46f629
mov bl, 1
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46f505
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0x14], 0
je 0x46f61e
lea eax, [ebp - 0x258]
push eax
push 0x4bc5a8
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x46f615
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ebx, dword [ebp - 4]
test byte [ebp - 0x258], 0x10
je 0x46f603
lea eax, [ebp - 0x22c]
push 0x491b80
push eax
call fcn.0042405c
pop ecx
pop ecx
test eax, eax
je 0x46f603
lea eax, [ebp - 0x22c]
push 0x4bc5b0
push eax
call fcn.0042405c
pop ecx
pop ecx
test eax, eax
je 0x46f603
lea eax, [ebp - 0x22c]
push eax
call edi
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046f4db
test al, al
je 0x46f634
push 0x4bc5b0
call edi
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46f5a5
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x46f620
xor ebx, ebx
jmp 0x46f617
Function at 0x46f638
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [ebp - 0x258]
push eax
push dword [ebp + 8]
mov dword [ebp - 4], ecx
xor bl, bl
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x46f6be
lea eax, [ebp - 0x22c]
push 0x491b80
push eax
call fcn.0042405c
pop ecx
pop ecx
test eax, eax
je 0x46f6ac
lea eax, [ebp - 0x22c]
push 0x4bc5b0
push eax
call fcn.0042405c
pop ecx
pop ecx
test eax, eax
je 0x46f6ac
push dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x22c]
call fcn.0046491c
pop ecx
test al, al
je 0x46f771
mov bl, 1
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46f662
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp byte [ebp + 0x14], 0
je 0x46f766
lea eax, [ebp - 0x258]
push eax
push 0x4bc5a8
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x46f75d
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ebx, dword [ebp - 4]
test byte [ebp - 0x258], 0x10
je 0x46f74b
lea eax, [ebp - 0x22c]
push 0x491b80
push eax
call fcn.0042405c
pop ecx
pop ecx
test eax, eax
je 0x46f74b
lea eax, [ebp - 0x22c]
push 0x4bc5b0
push eax
call fcn.0042405c
pop ecx
pop ecx
test eax, eax
je 0x46f74b
lea eax, [ebp - 0x22c]
push eax
call edi
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0046f638
test al, al
je 0x46f77c
push 0x4bc5b0
call edi
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46f6ed
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x46f768
xor ebx, ebx
jmp 0x46f75f
Function at 0x46f939
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
push ebx
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x10]
call fcn.00407da1
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
push 0x4bc5a8
mov dword [ebp - 0x18], eax
inc dword [eax]
call fcn.00407c6b
lea eax, [ebp - 0x278]
mov bl, 1
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp + 8], eax
cmp eax, 0xffffffff
je 0x46fa98
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.00456f64
cmp eax, 1
je 0x46fa93
cmp eax, 0xb
jne 0x46f9be
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x46f99e
lea eax, [ebp - 0x24c]
push 0x491b80
push eax
call fcn.0042405c
pop ecx
pop ecx
test eax, eax
je 0x46fa79
lea eax, [ebp - 0x24c]
push 0x4bc5b0
push eax
call fcn.0042405c
pop ecx
pop ecx
test eax, eax
je 0x46fa79
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.00408007
lea eax, [ebp - 0x24c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00407c6b
test byte [ebp - 0x278], 0x10
je 0x46fa56
cmp byte [ebp + 0x18], 0
je 0x46fa25
add dword [esi], 1
adc dword [esi + 4], 0
cmp byte [ebp + 0x1c], 0
je 0x46fa79
push 0x491ac0
lea ecx, [ebp - 0x10]
call fcn.00407c6b
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x14]
push dword [ebp + 0x18]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp - 0x10]
call fcn.0046f939
mov bl, al
test bl, bl
je 0x46fa95
jmp 0x46fa79
mov edx, dword [ebp + 0xc]
xor eax, eax
or eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 0x25c]
add dword [edx], eax
adc dword [edx + 4], ecx
cmp byte [ebp + 0x18], 0
je 0x46fa79
add dword [edi], 1
adc dword [edi + 4], 0
lea eax, [ebp - 0x278]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x46f99e
jmp 0x46fa95
xor bl, bl
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x24]
call fcn.004058c4
lea ecx, [ebp - 0x10]
call fcn.004058c4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x472be2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp byte [esi + 0xd0], 0
je 0x472c1f
cmp byte [ebp + 8], 0
je 0x472c1f
sub esp, 0x10
lea ecx, [esi + 0xd4]
call fcn.00471c80
push esi
push 0
push 0x472cb2
call fcn.004267dc
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x18], eax
sete al
jmp 0x472c27
push dword [ebp + 8]
call fcn.00471e54
pop esi
pop ebp
ret 4

Function at 0x4777e2
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
or edx, 0xffffffff
push ebx
push esi
mov esi, dword [ebp + 8]
add eax, esi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x10]
mov ebx, eax
imul ebx, dword [ebp + 0x14]
push edi
mov edi, esi
lea eax, [esi + eax*4]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
shl ebx, 2
shl eax, 2
mov dword [ebp + 0xc], eax
movzx eax, byte [esi + 2]
movzx ecx, dl
xor ecx, eax
shr edx, 8
movzx eax, byte [esi + 1]
xor edx, dword [ecx*4 + 0x4b90c0]
movzx ecx, dl
xor ecx, eax
shr edx, 8
movzx eax, byte [esi]
add esi, ebx
xor edx, dword [ecx*4 + 0x4b90c0]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x4b90c0]
cmp esi, dword [ebp + 8]
jb 0x477859
add edi, dword [ebp + 0xc]
mov esi, edi
cmp edi, dword [ebp + 0x10]
jb 0x477815
not edx
mov dword [ebp + 8], edx
fild dword [ebp + 8]
test edx, edx
jns 0x477870
fadd qword [0x4bdad8]
pop edi
fstp qword [ebp - 8]
fld qword [ebp - 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4888bc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 8]
mov ecx, 0x4c87b0
push ebx
push esi
push edi
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00402382
test al, al
jne 0x4888e5
xor eax, eax
jmp 0x488abf
mov ecx, dword [ebp - 4]
mov eax, dword [0x4c8810]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [0x4c8824]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp + 0xc]
mov edi, dword [eax]
mov bl, byte [edi + 0x90]
mov esi, dword [edi]
mov dword [ebp - 8], esi
mov byte [ebp + 0xb], bl
call fcn.004031b1
cmp dword [edi + 0x48], 0
jl 0x488926
push dword [edi + 0x48]
call fcn.0048a726
movzx eax, bl
mov ebx, dword [ebp + 0xc]
cmp eax, 0x12
jg 0x488a0a
je 0x4889c7
test eax, eax
je 0x4889b7
jle 0x4888de
cmp eax, 4
jle 0x488a50
cmp eax, 8
je 0x488997
cmp eax, 0x10
je 0x488981
cmp eax, 0x11
jne 0x4888de
mov eax, dword [ebp + 0xc]
test eax, eax
js 0x4888de
push 1
push eax
mov dword [edi + 0x48], eax
call fcn.00402250
push 1
push 0
push dword [edi + 0x34]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x488aa8
cmp dword [ebp + 0xc], 0
jl 0x4888de
push dword [ebp + 0xc]
push 0
push 0x111d
jmp 0x4889ab
cmp dword [ebp + 0xc], 0
jl 0x4888de
push dword [ebp + 0xc]
push 0
push 0x2001
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x488aa8
mov eax, dword [ebp + 0xc]
test eax, eax
jns 0x488a72
jmp 0x4888de
mov eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jl 0x4888de
push 1
push eax
mov dword [edi + 0x48], eax
call fcn.00402250
test byte [edi + 0x92], 0x20
jne 0x488aa8
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi]
call esi
push 5
push dword [edi]
call esi
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x488aa8
cmp eax, 0x13
je 0x488a5d
cmp eax, 0x14
je 0x488959
cmp eax, 0x17
je 0x488a50
cmp eax, 0x18
je 0x488a32
jle 0x4888de
cmp eax, 0x1b
jle 0x488a50
jmp 0x4888de
test ebx, ebx
js 0x4888de
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0xb
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
push ebx
mov dword [edi + 0x48], ebx
call fcn.00402250
jmp 0x488a9d
mov ebx, dword [ebp + 0xc]
cmp ebx, 0xfffffffe
je 0x4888de
mov eax, 0xfe000000
cmp ebx, eax
jne 0x488a7f
push 1
push eax
mov dword [edi + 0x48], eax
call fcn.00402250
jmp 0x488aa8
push ebx
push 0
push 0x1001
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
call esi
push ebx
push 0
push 0x1026
push dword [ebp - 8]
call esi
push 1
push edi
push dword [ebp - 4]
call fcn.0048b587
cmp dword [0x4c82b0], 0
je 0x488abc
cmp byte [ebp + 0xb], 8
jne 0x488abc
or eax, 0xffffffff
jmp 0x488abf
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x48a2cd
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
mov ecx, 0x4c87b0
push eax
push dword [ebp + 8]
call fcn.00402382
test al, al
jne 0x48a2f7
xor eax, eax
jmp 0x48a42a
mov ecx, dword [ebp - 0xc]
mov eax, dword [0x4c8810]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 8]
push edi
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov eax, dword [0x4c8824]
mov eax, dword [eax + ecx*4]
mov ecx, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, dword [eax]
mov ebx, dword [edi]
cmp esi, 0xffffffff
je 0x48a392
movzx eax, byte [edi + 0x90]
dec eax
dec eax
je 0x48a35e
dec eax
je 0x48a361
sub eax, 3
je 0x48a359
dec eax
je 0x48a354
sub eax, 3
je 0x48a34c
sub eax, 0xc
jne 0x48a37f
jmp 0x48a427
or esi, 0x4000000
jmp 0x48a37f
or esi, 3
jmp 0x48a37f
or esi, 0xe
jmp 0x48a37f
or esi, 4
push 0
test esi, 0x800
je 0x48a36f
push 1
jmp 0x48a377
or esi, 0x10000
push 0
push 0xcf
push ebx
call ecx
or esi, 0x50000000
push esi
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x10]
cmp esi, 0xffffffff
je 0x48a3cf
push esi
push 0xffffffffffffffec
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [0x4c8824]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax]
cmp byte [eax + 0x90], 0x13
jne 0x48a3cf
push esi
push 0
push 0x1036
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], eax
mov al, byte [edi + 0x93]
mov ecx, dword [ebp + 8]
cmp al, 0xff
je 0x48a3f2
movzx eax, al
cmp eax, dword [ecx + 0x190]
je 0x48a3f2
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x48a3fb
push 1
push edi
push ecx
call fcn.0048b587
mov al, byte [edi + 0x90]
cmp al, 2
je 0x48a40e
cmp al, 3
je 0x48a40e
cmp esi, 0xffffffff
je 0x48a41f
push 0x27
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowPos]
xor eax, eax
cmp dword [ebp - 4], eax
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc