joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
mov ebx, 0xfffffffe
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x443bf0
sar ebx, 1
mov ecx, ebx
and ecx, 2
mov ebp, ebx
or ebx, 2
imul ebx, ecx
xor ecx, 2
and ebp, 0xfffd
imul ebp, ecx
lea ecx, [ebx + ebp]
mov word [esp + 8], cx
lea ecx, [ebx + ebp]
add ecx, 2
mov word [esp + 0xa], cx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0x40
lea eax, [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp], 0x34353637
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor eax, eax
nop
nop
lea edi, [eax + eax]
mov ecx, edi
and ecx, 8
mov ebx, eax
xor ebx, 0xc
add ebx, ecx
xor bl, byte [esp + eax]
add bl, 0xc4
mov byte [esp + eax], bl
and edi, 2
xor eax, 1
add eax, edi
cmp eax, 7
jb 0x443c70
mov eax, dword [esp]
mov edi, dword [0x44f9d8]
test edi, edi
je 0x443ce5
xor ebx, ebx
mov ebp, dword [0x44f9dc]
nop
nop
nop
nop
nop
nop
cmp dword [ebp + ebx*8], 0x9ecf05eb
je 0x443cc1
inc ebx
cmp edi, ebx
jne 0x443cb0
jmp 0x443ce5
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x443ce5
lea eax, [esp + 0x10]
push esi
push eax
push edx
push dword [esp + 0x4c]
push 4
push dword [0x44f9e0]
push edi
call fcn.00440440
add esp, 0x1c
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x405b23
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405dee
test bl, 8
mov dword [ebp - 8], eax
je 0x405b62
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x434fa8], eax
jmp 0x405cdf
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x405b7c
test eax, eax
je 0x405c8d
test bl, 2
je 0x405c8d
mov esi, str.C:UsersADMINI1AppDataLocalTemp_nsy9D65.tmpdownload.exe
push edi
push esi
call fcn.00406411
cmp dword [ebp + 8], 0
je 0x405b9b
push str..
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x405ba1
push edi
call fcn.00405d32
cmp word [edi], 0
jne 0x405bb1
cmp word [str.C:UsersADMINI1AppDataLocalTemp_nsy9D65.tmpdownload.exe], 0x5c
jne 0x405bbc
push 0x40a014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405c82
cmp word [ebp - 0x22c], 0x2e
jne 0x405c06
cmp word [ebp - 0x22a], 0
je 0x405c65
cmp word [ebp - 0x22a], 0x2e
jne 0x405c06
cmp word [ebp - 0x228], 0
je 0x405c65
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.00406411
test byte [ebp - 0x258], 0x10
je 0x405c31
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405c65
push dword [ebp + 0xc]
push edi
call fcn.00405b23
jmp 0x405c65
push dword [ebp - 4]
push edi
call fcn.00405adb
test eax, eax
jne 0x405c5d
cmp dword [ebp - 4], eax
je 0x405c55
push edi
push 0xfffffffffffffff1
call fcn.00405479
push 0
push edi
call fcn.004061d7
jmp 0x405c65
inc dword [0x434fa8]
jmp 0x405c65
push edi
push 0xfffffffffffffff2
call fcn.00405479
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x405bde
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405c8d
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405cdf
cmp dword [ebp - 8], esi
jne 0x405ca1
inc dword [0x434fa8]
jmp 0x405cdf
push edi
call fcn.0040676f
test eax, eax
je 0x405cdf
push edi
call fcn.00405ce6
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.00405adb
test eax, eax
jne 0x405cd7
cmp dword [ebp - 4], esi
je 0x405c99
push edi
push 0xfffffffffffffff1
call fcn.00405479
push esi
push edi
call fcn.004061d7
jmp 0x405cdf
push edi
push 0xffffffffffffffe5
call fcn.00405479
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4406e4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
je 0x44070a
or al, 0x8d
mov gs, word [eax + 0x1c]
dec ecx
add al, ch
and byte [ebx + eax - 0x7372b000], bh
and al, 0x94
add byte [ebp + 8], bl
call fcn.00409eb7
lea ecx, [esp + 0x51ec8b90]
call fcn.0045655e
test al, al
jne 0x440733
add byte [eax + eax*8 + 0x458b2475], al
or al, 0x8b
or byte [ebx + 0x408b0845], cl
add al, 0x8b
add al, 0x88
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov ecx, esi
movsx eax, word [eax + 0xa]
push eax
push 0x51ec8ba7
call fcn.0046a0d0
jmp 0x440df1
mov esi, dword [ebp + 0xc]
lea eax, [esp + 0x4700d8]
pop ebp
jge 0x440748
mov ecx, dword [esp + 0xc]
push eax
lea eax, [esp + 0x470094]
xchg esp, eax
add byte [edi], al
mov dword [esp + 0x51ec8bdc], 0x470000
push eax
push esi
push edi
mov dword [esp + 0x51ec8bf0], 0x470000
mov dword [esp + 0x4700f4], 0x51ec8b01
call fcn.0047ca0e
test dword [eax], eax
add byte [eax + 0x650], cl
cmp byte [esp + 0x17], 0
mov dword [esp + 0x10], 0x51ec8b55
jne 0x440795
lea ecx, [esp + 0x20]
call fcn.0041fb32
lea eax, [esp + 0x4700d8]
push eax
lea ecx, [esp + 0x24]
call fcn.0041fb9f
lea ecx, [esp + 0x4700d8]
lea ecx, [esp + 0x51ec8b90]
call fcn.00409a3b
jmp 0x440d89

Function at 0x4537b1
Capabilities:
Encode data using base64
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
cld
movzx eax, word [esi]
cmp ax, di
jne 0x4537c1
push 0x3e
pop eax
mov ebx, eax
jmp 0x4537d5
push 0x27
xor ebx, ebx
pop ecx
cmp ax, cx
push 0x7d
setne bl
dec ebx
and ebx, 0xffffffaa
pop eax
add ebx, eax
push 0x30
pop ecx
push 2
pop eax
add esi, eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], esi
fmul qword [ecx - 0x48f0378b]
push es
Function at 0x468a8c
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x4c4190]
jne 0x468a9e
call fcn.00468b2e
mov eax, dword [0x4c7ef0]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c7ef0], 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 0x468ae1
fadd qword [0x4bbac8]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4bbaa0]
mov esp, ebp
pop ebp
ret

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

Disassembly:
push esi
xor esi, esi
mov dword [0x4c7530], ecx
inc esi
mov ecx, 0x4c7530
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, 0x4c7eec
jl 0x468b02
mov dword [0x4c4190], esi
mov dword [0x4c7518], esi
pop esi
ret

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

Disassembly:
cmp dword [0x4c7518], 0
push esi
push edi
mov esi, 0x4c7530
jne 0x468b4d
push 0
call fcn.00425455
pop ecx
mov ecx, eax
call fcn.00468af1
mov dword [0x4c4190], 0x5a510270
mov edi, 0x5a51e3
mov dword [0x4c7ef0], 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 - 0x74fff9cc]
xor eax, ecx
mov dword [esi], eax
mov esi, edx
dec edi
jne 0x468b62
mov edi, 0x47018c
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 0x468b97
mov ecx, dword [0x4c7530]
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 0x17c9f477
Capabilities:
Terminate process

Disassembly:
cmp dword [0x17d2b0f8], 0
je 0x17c9f4b3
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17c9f4a4
test byte [eax + 0x1c], 1
je 0x17c9f4a4
push 0x17c9148c
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17c9f43a
push 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
ret 8

Function at 0x17c9f804
Capabilities:
Modify service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
push eax
xor edi, edi
push 0x17c914e4
push 0x17c914e0
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call fcn.17ca2299
mov ebx, eax
cmp ebx, edi
jge 0x17c9f868
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17c9f978
test byte [eax + 0x1c], 1
je 0x17c9f978
push ebx
push 0x17c9148c
push 0x1f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
jmp 0x17c9f978
push 1
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x10], eax
cmp eax, edi
jne 0x17c9f8a4
call fcn.17ce51cd
mov ebx, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17c9f978
test byte [eax + 0x1c], 1
je 0x17c9f978
push ebx
push 0x17c9148c
push 0x20
jmp 0x17c9f858
push 3
push dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp eax, edi
jne 0x17c9f8e5
call fcn.17ce51cd
mov ebx, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17c9f978
test byte [eax + 0x1c], 1
je 0x17c9f978
push ebx
push 0x17c9148c
push 0x21
jmp 0x17c9f858
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x17c9f924
push eax
lea eax, [ebp - 8]
push eax
call fcn.17c9f759
mov ebx, eax
cmp ebx, edi
jge 0x17c9f918
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17c9f96b
test byte [eax + 0x1c], 1
je 0x17c9f96b
push ebx
push 0x17c9148c
push 0x22
jmp 0x17c9f960
mov eax, dword [ebp - 8]
cmp dword [eax + 4], esi
je 0x17c9f924
xor ebx, ebx
jmp 0x17c9f96b
push edi
push edi
push edi
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x17c9f96b
call fcn.17ce51cd
mov ebx, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17c9f96b
test byte [eax + 0x1c], 1
je 0x17c9f96b
push ebx
push 0x17c9148c
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
cmp dword [ebp - 8], edi
je 0x17c9f978
push dword [ebp - 8]
call fcn.17d06bf2
cmp dword [ebp - 0xc], edi
je 0x17c9f985
push dword [ebp - 0xc]
call fcn.17d06bf2
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp dword [ebp - 4], edi
je 0x17c9f995
push dword [ebp - 4]
call esi
cmp dword [ebp - 0x10], edi
je 0x17c9f99f
push dword [ebp - 0x10]
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 8
Function at 0x17ca3c74
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x17d29168]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x226
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
xor esi, esi
and dword [ebp - 0x230], esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push 0x17c91a90
push 0x17c91a6c
call fcn.17ca2299
test eax, eax
jge 0x17ca3cfb
mov ecx, dword [0x17d26008]
cmp ecx, 0x17d26008
je 0x17ca3d77
test byte [ecx + 0x1c], 1
je 0x17ca3d77
push eax
push 0x17c919fc
push 0x5c
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.17ca2c24
jmp 0x17ca3d77
push dword [ebp - 0x230]
lea eax, [ebp - 0x22c]
push eax
call fcn.17d08339
test eax, eax
jge 0x17ca3d2f
mov ecx, dword [0x17d26008]
cmp ecx, 0x17d26008
je 0x17ca3d77
test byte [ecx + 0x1c], 1
je 0x17ca3d77
push eax
push 0x17c919fc
push 0x5d
jmp 0x17ca3cee
push dword [0x17d260dc]
lea eax, [ebp - 0x22c]
push eax
call fcn.17d083d6
test eax, eax
jge 0x17ca3d63
mov ecx, dword [0x17d26008]
cmp ecx, 0x17d26008
je 0x17ca3d77
test byte [ecx + 0x1c], 1
je 0x17ca3d77
push eax
push 0x17c919fc
push 0x5e
jmp 0x17ca3cee
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x17ca3d77
xor esi, esi
inc esi
lea eax, [ebp - 0x22c]
push eax
call fcn.17d08313
cmp dword [ebp - 0x230], 0
je 0x17ca3d97
push dword [ebp - 0x230]
call fcn.17d06bf2
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.17ce4923
leave
ret
Function at 0x17ca4195
Capabilities:
Create directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x17d29168]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
push 0x226
push eax
mov word [ebp - 0x22c], ax
lea eax, [ebp - 0x22a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0
lea eax, [ebp - 0x22c]
push eax
call fcn.17ca4044
mov edi, eax
test edi, edi
jge 0x17ca41fd
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca4267
test byte [eax + 0x1c], 1
je 0x17ca4267
push edi
push 0x17c919fc
push 0x7c
jmp 0x17ca425c
push esi
push 0
push dword [ebp - 0x228]
call fcn.17d07729
mov edi, eax
test edi, edi
jge 0x17ca422d
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca4267
test byte [eax + 0x1c], 1
je 0x17ca4267
push edi
push 0x17c919fc
push 0x7d
jmp 0x17ca425c
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x17ca4267
call fcn.17ce51cd
mov edi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca4267
test byte [eax + 0x1c], 1
je 0x17ca4267
push edi
push 0x17c919fc
push 0x7e
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
lea eax, [ebp - 0x22c]
push eax
call fcn.17d08313
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.17ce4923
leave
ret 4
Function at 0x17ca5bd2
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov eax, 0x17d2b268
push 0x80000000
push 0x17d2b24c
mov dword [0x17d2b26c], eax
mov dword [0x17d2b268], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
xor edi, edi
test eax, eax
jne 0x17ca5c35
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca5cf2
test byte [eax + 0x1c], 1
je 0x17ca5cf2
push esi
push 0x17c919fc
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
jmp 0x17ca5cf2
push edi
xor ebx, ebx
push edi
inc ebx
push ebx
push edi
mov dword [0x17d2b248], ebx
mov dword [0x17d2b270], edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x17d2b274], eax
cmp eax, edi
jne 0x17ca5c7d
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca5cf2
test byte [eax + 0x1c], bl
je 0x17ca5cf2
push esi
push 0x17c919fc
push 0xb
jmp 0x17ca5c25
push 0x17d2b27c
push edi
push edi
push 0x17cb3418
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x17d2b278], eax
cmp eax, edi
jne 0x17ca5cbf
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca5cf2
test byte [eax + 0x1c], bl
je 0x17ca5cf2
push esi
push 0x17c919fc
push 0xc
jmp 0x17ca5c25
push 2
call fcn.17cdac6b
mov esi, eax
cmp esi, edi
jge 0x17ca5cfb
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca5cf0
test byte [eax + 0x1c], bl
je 0x17ca5cf0
push esi
push 0x17c919fc
push 0xd
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
xor esi, esi
cmp esi, edi
jge 0x17ca5cfb
call fcn.17ca51d8
pop edi
mov eax, esi
pop esi
pop ebx
ret
Function at 0x17ca5fe6
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push edi
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call sub.MpClient.dll_MpClientUtilExportFunctions
lea ecx, [ebp - 8]
push ecx
push edi
push 0x17c91e08
call dword [eax + 0x50]
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x17ca61a3
push ebx
push esi
mov ebx, 0x17d26008
mov esi, 0x17c919fc
cmp dword [ebp - 8], edi
jne 0x17ca60b9
push 1
push edi
call fcn.17cb2ece
cmp eax, 0x80070002
je 0x17ca603f
cmp eax, 0x8050a003
jne 0x17ca6041
xor eax, eax
cmp eax, edi
jge 0x17ca6064
mov ecx, dword [0x17d26008]
cmp ecx, ebx
je 0x17ca6064
test byte [ecx + 0x1c], 1
je 0x17ca6064
push eax
push esi
push 0xe
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.17ca2c24
xor edi, edi
inc edi
call fcn.17ca4b88
test eax, eax
jne 0x17ca60b7
lea eax, [ebp - 0xc]
push eax
push 0
push edi
call fcn.17ca53e6
test eax, eax
jge 0x17ca60a2
mov ecx, dword [0x17d26008]
cmp ecx, ebx
je 0x17ca60a7
test byte [ecx + 0x1c], 1
je 0x17ca60a7
push eax
push edi
push esi
push 0xf
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.17ca61ae
jmp 0x17ca60a7
cmp eax, 1
jne 0x17ca60af
inc edi
cmp edi, 2
jle 0x17ca6067
jmp 0x17ca60b7
push dword [ebp - 0xc]
call fcn.17ca5d06
xor edi, edi
call fcn.17ca4b88
test eax, eax
jne 0x17ca6172
call fcn.17ca454a
cmp eax, edi
mov dword [ebp - 4], eax
jge 0x17ca60f5
mov eax, dword [0x17d26008]
cmp eax, ebx
je 0x17ca60f2
test byte [eax + 0x1c], 1
je 0x17ca60f2
push dword [ebp - 4]
push esi
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 4], edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x17d2b280], eax
cmp eax, edi
jne 0x17ca612b
mov eax, dword [0x17d26008]
cmp eax, ebx
je 0x17ca61a1
test byte [eax + 0x1c], 1
je 0x17ca61a1
call fcn.17ce51cd
push eax
push esi
push 0x11
jmp 0x17ca6160
push 0x17d2b288
push edi
push edi
push 0x17cb1f34
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x17d2b284], eax
cmp eax, edi
jne 0x17ca61a1
mov eax, dword [0x17d26008]
cmp eax, ebx
je 0x17ca61a1
test byte [eax + 0x1c], 1
je 0x17ca61a1
call fcn.17ce51cd
push eax
push esi
push 0x12
mov eax, dword [0x17d26008]
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
jmp 0x17ca61a1
call fcn.17ca4bb6
cmp eax, edi
mov dword [ebp - 4], eax
jge 0x17ca61a1
mov eax, dword [0x17d26008]
cmp eax, ebx
je 0x17ca619e
test byte [eax + 0x1c], 1
je 0x17ca619e
push dword [ebp - 4]
push esi
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
mov dword [ebp - 4], edi
pop esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
leave
ret
Function at 0x17ca7e63
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push 1
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, dword [ebp + 8]
mov dword [esi + 8], eax
cmp eax, edi
jne 0x17ca7ea7
call fcn.17ce51cd
mov ebx, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca7eec
test byte [eax + 0x1c], 1
je 0x17ca7eec
push ebx
push 0x17c9203c
push 0xe
jmp 0x17ca7ee1
lea eax, [esi + 4]
push eax
push edi
push edi
push 0x17ca7a02
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
cmp eax, edi
jne 0x17ca7ef6
call fcn.17ce51cd
mov ebx, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17ca7eec
test byte [eax + 0x1c], 1
je 0x17ca7eec
push ebx
push 0x17c9203c
push 0xf
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
cmp ebx, edi
jge 0x17ca7ef6
push esi
call fcn.17ca7664
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 4
Function at 0x17caa135
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x17d2b310], eax
cmp eax, ebx
jne 0x17caa188
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17caa2a5
test byte [eax + 0x1c], 1
je 0x17caa2a5
push esi
push 0x17c9248c
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
jmp 0x17caa2a5
push edi
mov edi, 0x17d2b320
push 0
push 0x17ca9c63
push 0x17ca9c06
push 0x400
push edi
call fcn.17d09269
mov esi, eax
test esi, esi
jl 0x17caa21c
add ebx, 0x2c
add edi, 0x2c
cmp ebx, 0x1b8
jb 0x17caa18e
xor esi, esi
mov eax, dword [esi + 0x17c9249c]
push 0
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov dword [esi + 0x17d2b4d8], eax
test eax, eax
je 0x17caa238
add esi, 4
cmp esi, 0x28
jb 0x17caa1bb
push 5
push 0x80
push 0x17d2b31c
call fcn.17ce5315
mov esi, eax
xor edi, edi
cmp esi, edi
jge 0x17caa25b
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17caa2a4
test byte [eax + 0x1c], 1
je 0x17caa2a4
push esi
push 0x17c9248c
push 0xd
jmp 0x17caa299
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17caa2a4
test byte [eax + 0x1c], 1
je 0x17caa2a4
push esi
push 0x17c9248c
push 0xb
jmp 0x17caa299
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17caa2a4
test byte [eax + 0x1c], 1
je 0x17caa2a4
push esi
push 0x17c9248c
push 0xc
jmp 0x17caa299
push 0x17d2b318
push edi
push edi
push 0x17ca9d49
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x17d2b314], eax
cmp eax, edi
jne 0x17caa2a4
call fcn.17ce51cd
mov esi, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17caa2a4
test byte [eax + 0x1c], 1
je 0x17caa2a4
push esi
push 0x17c9248c
push 0xe
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
pop edi
test esi, esi
jge 0x17caa2ae
call fcn.17ca98ff
mov eax, esi
pop esi
pop ebx
ret
Function at 0x17caba47
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebx
push esi
push edi
push 0x17caaea3
push 0x17cb893a
push fcn.17cab8b7
mov esi, eax
push 0x400
push esi
call fcn.17d09269
mov ebx, eax
xor edi, edi
cmp ebx, edi
jge 0x17caba9e
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cabb19
test byte [eax + 0x1c], 1
je 0x17cabb19
push 0x17c925e8
push 0x20
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17c9f43a
jmp 0x17cabb19
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x34], eax
cmp eax, edi
jne 0x17cabad3
call fcn.17ce51cd
mov ebx, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cabb19
test byte [eax + 0x1c], 1
je 0x17cabb19
push ebx
push 0x17c925e8
push 0x21
jmp 0x17cabb0e
lea eax, [esi + 0x30]
push eax
push edi
push edi
push 0x17cab0b7
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x2c], eax
cmp eax, edi
jne 0x17cabb19
call fcn.17ce51cd
mov ebx, eax
mov eax, dword [0x17d26008]
cmp eax, 0x17d26008
je 0x17cabb19
test byte [eax + 0x1c], 1
je 0x17cabb19
push ebx
push 0x17c925e8
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.17ca2c24
cmp ebx, edi
jge 0x17cabb22
call fcn.17caaf74
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x17cb3bd5
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x17d29168]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x64
lea eax, [ebp - 0xcc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameW]
test eax, eax
jne 0x17cb3c33
call fcn.17ce51cd
mov ecx, dword [0x17d26008]
cmp ecx, 0x17d26008
je 0x17cb3c2f
test byte [ecx + 0x1c], 1
je 0x17cb3c2f
push eax
push esi
push 0x17c92b24
push 0x1a
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.17ca2bb0
xor eax, eax
jmp 0x17cb3c4d
lea eax, [ebp - 0xcc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x17cb3c4a
cmp eax, 5
jne 0x17cb3c2f
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.17ce4923
leave
ret 4