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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x34], 8
xor ebx, ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x38], bl
mov eax, dword [edi + 8]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x30]
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x8ce0]
mov dword [edi + 0x8cd4], ebx
push dword [eax + 0x16c]
push dword [ebp + 8]
push dword [edi]
call fcn.0040cb2b
mov eax, dword [edi + 0x8ce0]
cmp byte [eax + 0x198], bl
je 0x40cd55
imul ecx, dword [edi + 0x8cd8], 0x8e00
mov eax, dword [eax + 0x174]
push 0xffffffffffffffff
push dword [ecx + eax + 0x8cf0]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov edx, ebx
cmp dword [edi + 0x8cd4], ebx
jbe 0x40cd87
lea esi, [edi + 0x7cd4]
mov ecx, dword [edi + 0x8ce0]
mov eax, dword [ecx + 0x170]
rol eax, 1
xor eax, dword [esi]
inc edx
mov dword [ecx + 0x170], eax
lea esi, [esi + 4]
cmp edx, dword [edi + 0x8cd4]
jb 0x40cd65
mov al, byte [esp + 0x38]
mov edx, dword [edi + 8]
mov ecx, dword [edi + 0x8ce0]
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x2c], ecx
lea esi, [eax*8 + 8]
sub esi, dword [esp + 0x34]
mov eax, esi
mov dword [esp + 0x28], esi
shr eax, 3
test eax, eax
je 0x40cde9
lea esi, [ecx + 0x138]
mov edi, eax
movzx eax, byte [ebx + edx]
mov ecx, esi
push 8
push eax
call fcn.0040d3fe
mov edx, dword [esp + 0x1c]
inc ebx
cmp ebx, edi
jb 0x40cdc4
mov edi, dword [esp + 0x20]
xor ebx, ebx
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
movzx eax, byte [esp + 0x13]
and esi, 7
push esi
push eax
add ecx, 0x138
call fcn.0040d3fe
mov ecx, dword [edi + 0x8ce0]
cmp byte [ecx + 0x198], 0
je 0x40ce92
mov eax, dword [edi + 0x8cd8]
xor edx, edx
inc eax
cmp eax, dword [ecx + 0x194]
cmove eax, edx
mov edx, dword [ecx + 0x1ac]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
test edx, edx
je 0x40ce73
add ecx, 0x138
call fcn.00408c32
mov esi, eax
push 0xf
pop eax
sub eax, dword [ecx + 0x28]
shr eax, 3
add esi, eax
lea eax, [esp + 0x20]
push eax
adc edx, ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
lea eax, [edi + 0x8cf8]
mov edx, dword [esp + 0x30]
push eax
push edx
mov ecx, dword [edx]
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [edi + 0x8ce0]
imul edx, eax, 0x8e00
mov ecx, dword [ecx + 0x174]
add ecx, 0x8cf0
add ecx, edx
call fcn.0041a5c9
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40d897
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ebp + 0xc]
push ebx
push esi
mov ebx, 0x4ef644
cmp dword [ecx + 4], 0
mov esi, ebx
push edi
cmovne esi, dword [ecx + 4]
xor edx, edx
mov edi, edx
mov eax, edx
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], eax
cmp word [esi], dx
je 0x40d929
mov edi, esi
cmp word [edi], 0x2f
jne 0x40d917
push edx
push ecx
push ecx
mov ecx, esp
xor eax, eax
push dword [ebp + 8]
mov word [edi], ax
call fcn.004b9cf7
mov edx, esi
lea ecx, [ebp - 0x14]
call fcn.004066c4
pop ecx
pop ecx
mov ecx, ebx
cmp dword [eax + 4], 0
cmovne ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], vtable.micro::utils::QString.0
call fcn.004b9e50
push 0x5c
pop eax
mov word [edi], ax
xor edx, edx
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
lea edi, [esi + eax*2]
cmp word [edi], dx
jne 0x40d8c5
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
cmp byte [ebp + 0x10], 0
je 0x40d95e
mov edx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.0040e5bc
pop ecx
push 0
cmp dword [eax + 4], 0
cmovne ebx, dword [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], vtable.micro::utils::QString.0
mov edi, eax
call fcn.004b9e50
xor eax, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41138a
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 8], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x4113ab
xor eax, eax
jmp 0x4114f8
add dword [ebp + 8], 5
lea eax, [edx - 4]
push ebx
or ebx, 0xffffffff
add eax, ecx
mov dword [ebp - 4], eax
lea edx, [edi + ecx]
mov dword [ebp - 0xc], edx
cmp edx, eax
jae 0x4113de
mov ecx, dword [ebp - 4]
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x4113d5
inc edx
cmp edx, ecx
jb 0x4113c8
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov edi, edx
sub edi, ecx
cmp edx, eax
jae 0x4114dc
mov ecx, edi
sub ecx, ebx
cmp ecx, 3
jbe 0x411433
xor esi, esi
mov al, byte [edx + 4]
mov ebx, edi
mov dword [ebp - 0x14], ebx
test al, al
je 0x411405
cmp al, 0xff
jne 0x41145c
movzx ecx, al
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 1]
mov edx, dword [ebp + 8]
shl ecx, 8
or ecx, eax
cmp dword [ebp + 0x10], 0
je 0x411470
lea ebx, [ecx + edi]
add ebx, edx
jmp 0x411476
dec ecx
shl esi, cl
and esi, 7
je 0x4113f5
movzx eax, byte [esi + 0x4d4810]
mov ecx, edx
sub ecx, eax
cmp byte [esi + 0x4d4808], 0
mov al, byte [ecx + 4]
je 0x41145a
test al, al
je 0x41145a
cmp al, 0xff
jne 0x4113f5
mov ebx, edi
and esi, 3
add esi, esi
or esi, 1
inc edi
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
jmp 0x4113bb
mov ebx, ecx
sub ebx, edi
sub ebx, edx
test esi, esi
je 0x4114b0
movzx eax, byte [esi + 0x4d4810]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 0x10], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x411498
cmp al, 0xff
jne 0x4114b0
xor eax, eax
push 0x20
pop ecx
sub ecx, dword [ebp - 0x10]
inc eax
shl eax, cl
mov ecx, eax
mov dword [ebp - 0x10], eax
dec ecx
xor ecx, ebx
jmp 0x411426
mov edx, dword [ebp - 0xc]
mov eax, ebx
shr eax, 0x18
and al, 1
dec al
not al
mov byte [edx + 1], bl
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x14]
shr eax, 8
add edi, 5
mov byte [edx + 2], al
jmp 0x411465
mov edx, edi
xor eax, eax
sub edx, ebx
pop ebx
lea ecx, [edx - 1]
shl esi, cl
and esi, 7
cmp edx, 3
cmova esi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4117dc
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov dword [ecx + 0x2c], 0x20
push esi
push edi
mov dword [ecx + 0x30], edx
lea esi, [ecx + 0x70]
mov dword [ecx + 0x4c], edx
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x54], 1
mov dword [ecx + 0x48], 4
mov dword [ecx + 0x58], edx
push 8
mov ecx, edx
pop edi
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor ecx, eax
dec edi
jne 0x411809
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x411804
pop edi
pop esi
ret
Function at 0x415ebb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, edx
xor edi, edi
mov ebx, ecx
or esi, 0x100
mov ecx, esi
mov eax, esi
shr ecx, 7
add esi, esi
shr eax, 8
and ecx, 1
neg ecx
sar ecx, 4
and ecx, 0x7f
movzx edx, word [ebx + eax*2]
mov eax, dword [ebp + 8]
shr edx, 4
xor edx, ecx
add edi, dword [eax + edx*4]
cmp esi, 0x10000
jb 0x415ecd
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x415f02
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x100
mov dword [ebp - 4], ecx
xor edi, edi
or edx, esi
add ebx, ebx
mov ecx, esi
and ecx, ebx
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add edi, dword [eax + ecx*4]
mov ecx, edx
xor ecx, ebx
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x415f18
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x415fee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
inc eax
mov ecx, edx
shl eax, cl
push edi
or esi, eax
xor edi, edi
cmp esi, 1
je 0x41602e
mov eax, dword [ebp + 0xc]
mov edx, esi
and esi, 1
shr edx, 1
neg esi
sar esi, 4
and esi, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, esi
mov esi, edx
add edi, dword [eax + ecx*4]
cmp esi, 1
jne 0x41600c
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x416035
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor esi, esi
inc edi
test ebx, ebx
je 0x41607a
mov eax, dword [ebp + 8]
mov edx, eax
movzx ecx, word [ecx + edi*2]
and edx, 1
shr eax, 1
add edi, edi
mov dword [ebp + 8], eax
or edi, edx
mov eax, edx
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 4]
dec ebx
jne 0x41604a
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a599
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
push dword [ebp + 8]
mov esi, ecx
push edx
push edi
push edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi], eax
test eax, eax
jne 0x41a5c1
call fcn.0041a567
mov edi, eax
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41b4f1
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c8b90
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov edi, dword [ebp + 0xc]
mov eax, vtable.micro::files::QFile.0
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], 0x41af41
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], 0x41af64
mov byte [esp + 0xd0], 1
mov esi, 0x4ef644
cmp dword [ecx + 0xc], ebx
mov eax, esi
push ebx
cmovne eax, dword [ecx + 0xc]
lea ecx, [esp + 0x24]
push eax
call fcn.004bac83
test al, al
je 0x41b656
cmp dword [edi + 4], ebx
lea ecx, [esp + 0x30]
push 0x1000
cmovne esi, dword [edi + 4]
push esi
call fcn.004bac83
test al, al
je 0x41b656
push 0xd
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x28]
call fcn.004bae44
cmp eax, 0xd
jne 0x41b656
mov eax, ebx
mov edi, ebx
mov dword [esp + 0x14], eax
mov esi, ebx
movzx eax, byte [esp + eax + 0xb5]
mov ecx, esi
cdq
call fcn.00401c00
add edi, eax
mov eax, dword [esp + 0x14]
adc ebx, edx
inc eax
add esi, 8
mov dword [esp + 0x14], eax
cmp esi, 0x40
jl 0x41b5d3
mov dword [esp + 0x10], ebx
lea edx, [esp + 0xb0]
xor ebx, ebx
lea ecx, [esp + 0x3c]
push 0x50f030
push 5
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
call fcn.00415782
pop ecx
pop ecx
test eax, eax
jne 0x41b656
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push eax
push edi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.0041b2f7
mov edx, 0x50f030
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.0041567e
test esi, esi
sete bl
mov esi, vtable.micro::files::QFile.0
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], esi
call fcn.004baeaf
lea ecx, [esp + 0x20]
mov dword [esp + 0x20], esi
call fcn.004baeaf
mov al, bl
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret 8
Function at 0x41be7f
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
dec eax
je 0x41bea3
sub eax, 3
je 0x41be9a
sub eax, 6
jne 0x41beac
add ecx, 0x18
pop ebp
jmp fcn.004bcf0a
add ecx, 0x10
pop ebp
jmp fcn.004bcca9
add ecx, 4
pop ebp
jmp fcn.004bb730
pop ebp
ret 8
Function at 0x429ff6
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov eax, dword [esi + 0xc8]
test eax, eax
jne 0x42a06f
and dword [ebp - 0x11c], eax
push 0x114
push eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x120], 0x11c
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
test eax, eax
setne al
test al, al
je 0x42a090
cmp dword [ebp - 0x11c], 6
jne 0x42a090
cmp dword [ebp - 0x118], 2
je 0x42a06c
cmp dword [ebp - 0x118], 3
jne 0x42a090
push 2
pop eax
cmp eax, 1
je 0x42a090
cmp eax, 2
jne 0x42a07e
lea eax, [esi + 0x28]
jmp 0x42a093
cmp eax, 3
jne 0x42a088
lea eax, [esi + 0x2c]
jmp 0x42a093
cmp eax, 4
lea eax, [esi + 0x30]
je 0x42a093
lea eax, [esi + 0x24]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x1c], eax
xor ecx, ebp
mov dword [0x5165f8], eax
pop esi
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x432092
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cabbd
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [esi + 0x10]
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.USER32.dll_CopyRect]
lea eax, [esp + 0x44]
push eax
push esi
lea ecx, [esp + 0x5c]
call fcn.004334ae
lea eax, [esp + 0x24]
xor esi, esi
push eax
mov ecx, ebx
mov dword [esp + 0x8c], esi
call fcn.004333d1
mov eax, dword [ebx + 0x6c]
lea edi, [esp + 0x34]
mov dword [esp + 0x14], esi
mov ecx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
lea esi, [esp + 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00431be7
mov eax, dword [esp + 0x30]
lea esi, [esp + 0x24]
sub eax, dword [ebx + 0x70]
lea edi, [esp + 0x14]
movsd dword es:[edi], dword [esi]
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00431e7e
lea ecx, [esp + 0x54]
call fcn.004333f6
mov al, 1
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret 4

Function at 0x432ea3
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 0xd
je 0x432ed5
sub eax, 0x19
je 0x432ebc
dec eax
dec eax
jne 0x432eea
push eax
push 0x28
jmp 0x432ec0
push 0
push 0x26
mov eax, dword [ecx + 0x30]
push 0x100
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov al, 1
jmp 0x432eec
mov eax, dword [ecx + 0x30]
push 0
push 0xd
push 0x100
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
xor al, al
pop ebp
ret 0xc
Function at 0x43317a
Capabilities:
Hide graphical window

Disassembly:
push 0x2c
mov eax, 0x4cad44
call fcn.004019a4
mov ebx, ecx
cmp byte [ebp + 8], 0
je 0x433240
cmp byte [ebx + 0x68], 0
jne 0x4332da
lea eax, [ebp - 0x20]
mov byte [ebx + 0x68], 1
push eax
call fcn.004333d1
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
sub edi, dword [ebp - 0x20]
sub esi, dword [ebp - 0x1c]
push 5
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_SetFocus]
movzx ecx, si
xor esi, esi
shl ecx, 0x10
movzx eax, di
or ecx, eax
push ecx
push esi
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, vtable.micro::utils::QString.0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edi
lea ecx, [ebx + 0x38]
mov dword [ebp - 4], esi
mov eax, dword [ecx]
lea edx, [ebp - 0x38]
push edx
call dword [eax + 0x1b0]
test al, al
je 0x43322c
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x43322c
cmp dword [eax - 8], esi
je 0x43322c
mov ecx, dword [ebx + 0x34]
lea eax, [ebp - 0x38]
push eax
add ecx, 4
call fcn.004ba6d4
mov ecx, dword [ebx + 0x34]
push 1
mov eax, dword [ecx]
call dword [eax + 0xa4]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], edi
call fcn.004b9e50
jmp 0x4332da
cmp byte [ebx + 0x68], 1
jne 0x4332da
lea eax, [ebp - 0x30]
mov byte [ebx + 0x68], 0
push eax
call fcn.004333d1
mov edi, dword [ebp - 0x28]
lea ecx, [ebx + 0x38]
mov eax, dword [ecx]
mov esi, dword [ebp - 0x24]
sub edi, dword [ebp - 0x30]
sub esi, dword [ebp - 0x2c]
push 0x4ef644
call dword [eax + 0x1a8]
push 0
push dword [ebx + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
movzx ecx, si
shl ecx, 0x10
movzx eax, di
or ecx, eax
push ecx
push 0
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0xffffffffffffffff
push 0x4ef644
lea ecx, [ebp - 0x38]
call fcn.004b9d49
push dword [ebp + 0xc]
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.0043314e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x38], vtable.micro::utils::QString.0
call fcn.004b9e50
mov eax, dword [ebx + 0x30]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SetFocus]
call fcn.00401a27
ret 8
Function at 0x435f07
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [ebp + 8], 0
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x210], esi
je 0x436014
push 0x401
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
xor edi, edi
push 0x4df90c
push edi
mov esi, eax
push 0x143
push esi
call ebx
push 0x4df91c
push edi
push 0x143
push esi
call ebx
push 0x4df92c
push edi
push 0x143
push esi
call ebx
push edi
push edi
push 0x14e
push esi
call ebx
mov ecx, dword [ebp - 0x210]
mov edi, 0x4ef644
mov eax, edi
cmp dword [ecx + 0x30], 0
cmovne eax, dword [ecx + 0x30]
push eax
push 0x3ff
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call esi
mov eax, dword [ebp - 0x210]
cmp dword [eax + 0x38], 0
cmovne edi, dword [eax + 0x38]
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x41e
push dword [eax + 4]
call edi
push eax
call esi
mov esi, dword [ebp - 0x210]
push 0xffff0000
push 0
push 0x142
push 0x3ff
push dword [esi + 4]
call edi
push eax
call ebx
push 1
push 0x43c
push dword [esi + 4]
call dword [sym.imp.USER32.dll_CheckDlgButton]
cmp byte [esi + 0x41], 0
je 0x43600d
push 0
push 0x441
mov ecx, esi
call fcn.0042caac
mov al, 1
jmp 0x43613d
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [ebp - 0x20c]
push eax
push 0x104
push 0xd
push 0x3ff
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
call ebx
lea ecx, [ebp - 0x20c]
push ecx
lea ecx, [esi + 0x2c]
call fcn.004ba70a
lea eax, [ebp - 0x20c]
push eax
push 0x104
push 0xd
push 0x41e
push dword [esi + 4]
call edi
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [esi + 0x34]
call fcn.004ba70a
push 0x441
push dword [esi + 4]
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
call esi
mov ecx, dword [ebp - 0x210]
dec eax
neg eax
push 0x43c
sbb al, al
push dword [ecx + 4]
inc al
mov byte [ecx + 0x3c], al
call esi
mov ecx, dword [ebp - 0x210]
dec eax
neg eax
push 0x43b
sbb al, al
push dword [ecx + 4]
inc al
mov byte [ecx + 0x3d], al
call esi
mov ecx, dword [ebp - 0x210]
dec eax
neg eax
push 0x43a
sbb al, al
push dword [ecx + 4]
inc al
mov byte [ecx + 0x3e], al
call esi
mov ecx, dword [ebp - 0x210]
dec eax
neg eax
push 0x43d
sbb al, al
push dword [ecx + 4]
inc al
mov byte [ecx + 0x3f], al
call esi
mov esi, dword [ebp - 0x210]
dec eax
neg eax
push 0x401
sbb al, al
push dword [esi + 4]
inc al
mov byte [esi + 0x40], al
call edi
xor ecx, ecx
push ecx
push ecx
push 0x147
push eax
call ebx
push 0x403
push dword [esi + 4]
mov dword [esi + 0x44], eax
call edi
xor edi, edi
push edi
push edi
push 0x147
push eax
call ebx
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x30]
test eax, eax
je 0x436138
mov edi, dword [eax - 8]
test edi, edi
setg al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
mov esp, ebp
pop ebp
ret 4
Function at 0x43731b
Capabilities:
Get disk information

Disassembly:
push 0x23c
mov eax, 0x4cb5ea
call fcn.004019a4
mov esi, ecx
mov edi, vtable.micro::utils::QString.0
xor ebx, ebx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], ebx
lea ecx, [esi + 0x34]
mov dword [ebp - 4], ebx
mov eax, dword [ecx]
lea edx, [ebp - 0x220]
push edx
call dword [eax + 0x1a4]
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x43754b
cmp dword [eax - 8], ebx
je 0x43754b
mov dword [ebp - 0x228], edi
mov dword [ebp - 0x224], ebx
inc ebx
lea ecx, [esi + 0x50]
mov byte [ebp - 4], bl
lea edx, [ebp - 0x228]
mov eax, dword [ecx]
push edx
call dword [eax + 0x1a4]
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x437534
cmp dword [eax - 8], 0
je 0x437534
push 0x104
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
test eax, eax
jne 0x43751d
lea ecx, [esi + 0x90]
call fcn.00437a26
test al, al
je 0x4374e7
call fcn.004bf72a
test al, al
je 0x4374d9
cmp dword [ebp - 0x21c], 0
mov ecx, 0x4ef644
mov eax, ecx
cmovne eax, dword [ebp - 0x21c]
cmp dword [ebp - 0x224], 0
push eax
cmovne ecx, dword [ebp - 0x224]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
mov ecx, esi
call fcn.004377a2
and dword [ebp - 0x238], 0
and dword [ebp - 0x248], 0
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x244], reloc.d2d1.dll_Ordinal_1
mov byte [ebp - 0x240], bl
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 2
call fcn.004c1c12
push ecx
push ecx
mov ecx, esp
push 0xffffffffffffffff
push str.SYSTEMCurrentControlSetControlSession_ManagerDOS_Devices
call fcn.004b9d49
lea ecx, [ebp - 0x248]
call fcn.004c1c3a
push ecx
push ecx
lea eax, [ebp - 0x220]
mov ecx, esp
push eax
call fcn.004b9cf7
mov edx, 0x4e014c
lea ecx, [ebp - 0x234]
call fcn.00420cf3
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 3
mov ecx, esp
push eax
call fcn.004b9cf7
push ecx
push ecx
lea eax, [ebp - 0x228]
mov ecx, esp
push eax
call fcn.004b9cf7
lea ecx, [ebp - 0x248]
call fcn.004c1d2e
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x234], edi
call fcn.004b9e50
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], bl
call fcn.004c1bd1
jmp 0x437536
push 0
push str.Message
push str.Not_enough_privileges._nRun_as_admin.
jmp 0x437529
cmp dword [ebp - 0x21c], 0
mov ecx, 0x4ef644
mov eax, ecx
cmovne eax, dword [ebp - 0x21c]
cmp dword [ebp - 0x224], 0
push eax
cmovne ecx, dword [ebp - 0x224]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
mov ecx, esi
call fcn.004377a2
jmp 0x437536
push 0
push str.Message
push str.Drive_already_defined.
push dword [esi + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x437536
xor bl, bl
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
mov dword [ebp - 0x228], edi
call fcn.004b9e50
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], edi
call fcn.004b9e50
mov al, bl
call fcn.00401a27
ret