joyce8/EMBER2024-capa huggingface dataset:
Function at 0xea700
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0xea717
add esp, 0xfffffff0
call fcn.00015444
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00052d5c
mov eax, dword [0x225a24]
cmp byte [eax], 0
jne 0xea744
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x225f3c]
cmp word [eax + 2], 0
jne 0xea75e
mov eax, dword [0x225f3c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.000ec7f8
mov eax, dword [reloc.user32.dll_MessageBeep]
cmp word [eax + 2], 0
jne 0xea778
mov eax, dword [reloc.user32.dll_MessageBeep]
mov dword [eax + 4], ebx
mov dword [eax], fcn.000eca08
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x5d798]
call fcn.00063cd4
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0xecfb8
mov dl, 1
mov eax, dword [0x3c01c]
call fcn.00014ee0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x3c01c]
call fcn.00014ee0
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x61e98]
call fcn.0006d54c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0xea958
mov eax, dword [0x225d2c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.0006d9e0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0xed2a0
mov dl, 1
mov eax, dword [0x3c01c]
call fcn.00014ee0
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x225d2c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0002522c
test eax, eax
je 0xea889
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00025010
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00025210
test eax, eax
je 0xea8a1
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00016e5c
push ebx
push 0xec1c8
call fcn.000e0410
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x225a24]
cmp byte [eax], 0
jne 0xea8f2
mov eax, ebx
call fcn.000eaacc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.000ed4cc
mov eax, ebx
call fcn.000ee100
mov eax, ebx
cmp byte [ebp - 1], 0
je 0xea94f
call fcn.0001549c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xeada0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0xeae42
cmp dword [ebx + 0x94], 0
jne 0xeae3c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0xeacec
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0xeae3c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0xeae02
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0xeae3c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00047080
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0xeae11
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0xeb060
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x22c2c0]
cmp dword [eax + 0x170], 0
je 0xeb1c5
test bl, bl
jne 0xeb113
cmp dword [esi + 0x9c], 0
jne 0xeb108
mov eax, esi
call fcn.000edf50
push eax
push 0xeaf6c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0xeb0d9
mov eax, dword [0x22c2c0]
cmp byte [eax + 0xd3], 0
je 0xeb0d9
mov eax, dword [esi + 0xd8]
call fcn.000186b8
mov edi, eax
cmp edi, 0
jl 0xeb0d9
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0xeb0c2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0xeb108
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00047080
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0xeb0e8
inc dword [esi + 0x9c]
jmp 0xeb1c5
cmp dword [esi + 0x9c], 0
jle 0xeb1c5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0xeb1c5
cmp dword [esi + 0x44], 0
je 0xeb170
mov eax, dword [0x22c2c0]
cmp byte [eax + 0xd3], 0
je 0xeb170
mov eax, dword [esi + 0xd8]
call fcn.000186b8
mov edi, eax
cmp edi, 0
jl 0xeb170
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0xeb159
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0xeb19f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00047080
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0xeb17f
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0xde2e8]
call fcn.00018878
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0xebe14
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0xebe7f
cmp byte [ebx + 0xd3], 0
jne 0xebe7f
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00016d98
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0xebe6c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0xebe8c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00016c5c
jmp 0xebe8c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00016c5c
add esp, 0x204
pop esi
pop ebx
ret

Function at 0xed6b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0xed722
mov eax, esi
call fcn.000c5bc8
test al, al
je 0xed722
mov eax, dword [ebx + 0x84]
call fcn.000c581c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0xed722
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0xed716
push 0
mov eax, dword [ebx + 0x84]
call fcn.000c581c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.000bc7b8
jmp 0xed722
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.000ed4ec
pop esi
pop ebx
ret
Function at 0x11ad98
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x11afb2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0011bd3c
mov eax, dword [ebp - 8]
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x48], 0
mov dword [eax + 0x4c], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x38], 0
mov dl, 1
mov eax, dword [0x1072c4]
call fcn.00107034
mov ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x34], ebx
mov eax, dword [ebp - 8]
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x60], 0x11b368
mov eax, dword [ebp - 8]
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x58], 0x11b508
mov dl, 1
mov eax, dword [0x1195dc]
call fcn.00107034
mov ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x30], ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x34]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x9c]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov eax, dword [ebp - 8]
movzx edx, word [eax + 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax]
call dword [ecx + 0x98]
mov eax, dword [ebp - 8]
movzx edx, word [eax + 0xe]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.00119d30
mov eax, dword [ebp - 8]
movzx edx, word [eax + 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.00119d14
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.00119c80
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
call fcn.00119c98
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.0011bd3c
xor ecx, ecx
push ebp
push 0x11aef2
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
mov edx, dword [eax]
call dword [edx + 0xa0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x11af36
mov edx, 4
mov eax, dword [ebp - 8]
call fcn.0011bd3c
mov edx, 0xf
mov eax, dword [ebp - 8]
call fcn.0011bd3c
lea edx, [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0011b374
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0011b914
cmp eax, 0xc8
je 0x11af84
mov edx, 6
mov eax, dword [ebp - 8]
call fcn.0011bd3c
mov eax, dword [ebp - 8]
call fcn.0011b0ac
jmp 0x11af9c
mov edx, 5
mov eax, dword [ebp - 8]
call fcn.0011bd3c
mov eax, dword [ebp - 8]
mov byte [eax + 0x38], 1
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x11afb9
lea eax, [ebp - 4]
call fcn.00016c4c
ret
Function at 0x1224c0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], 2
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0
je 0x122640
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
test eax, eax
je 0x1224f6
sub eax, 4
mov eax, dword [eax]
cmp eax, 0xc
jne 0x122640
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x12250e
sub eax, 4
mov eax, dword [eax]
cmp eax, 0xc
jne 0x122640
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x122526
sub eax, 4
mov eax, dword [eax]
cmp eax, 0xc
jne 0x122640
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x40
call fcn.0001487c
mov dword [ebp - 0x48], 0x69766f4e
mov dword [ebp - 0x44], 0x70726f63
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 4]
add eax, 0x18
call fcn.0001678c
lea edx, [ebp - 0x3c]
mov ecx, 0xc
call fcn.00014480
mov eax, dword [ebp - 4]
add eax, 0x1c
call fcn.0001678c
lea edx, [ebp - 0x30]
mov ecx, 0xc
call fcn.00014480
mov eax, dword [ebp - 4]
add eax, 0x20
call fcn.0001678c
lea edx, [ebp - 0x24]
mov ecx, 0xc
call fcn.00014480
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x122617
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
push dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.0004a7c8
lea edx, [ebp - 0x48]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov ecx, 0x40
mov ebx, dword [eax]
call dword [ebx + 0x10]
cmp eax, 0x40
je 0x12260d
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], 5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x122640
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x122632
mov eax, dword [ebp - 4]
mov dword [eax + 0x48], 1
mov byte [ebp - 5], 1
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x124cec
Capabilities:
Encode data using xor

Disassembly:
mov cl, 0x5a
mov eax, 0xe
xor cl, byte [edx]
inc edx
dec eax
jne 0x124cf3
mov eax, ecx
ret

Function at 0x129170
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.0001487c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x14625c
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x146332
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x122a20]
call fcn.00123b20
mov dword [ebx], eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00024d34
mov edx, dword [ebp - 4]
mov eax, dword [ebx]
call fcn.00123bb0
lea edx, [ebp - 8]
mov eax, edi
call fcn.00024d70
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
add eax, 0xc
call fcn.00016c5c
mov eax, dword [ebx]
mov dword [eax + 0x2c], 0xc
mov eax, dword [ebx]
mov edx, dword [esi + 0xc]
mov dword [eax + 0x30], edx
mov eax, dword [ebx]
mov dword [eax + 0x3c], esi
mov dword [eax + 0x38], 0x146210
mov eax, dword [ebx]
add eax, 0x10
mov edx, dword [esi + 0x20]
call fcn.00016224
mov eax, dword [ebx]
add eax, 0x14
mov edx, dword [esi + 0x24]
call fcn.00016224
mov eax, dword [ebx]
add eax, 0x18
mov edx, dword [esi + 0x28]
call fcn.00016224
mov eax, dword [ebx]
mov edx, dword [esi + 0x2c]
mov dword [eax + 0x1c], edx
mov eax, dword [ebx]
mov edx, dword [esi + 0x30]
mov dword [eax + 0x20], edx
mov eax, dword [ebx]
mov edx, dword [esi + 0x34]
mov dword [eax + 0x24], edx
mov eax, dword [ebx]
mov edx, dword [esi + 0x38]
mov dword [eax + 0x28], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x146339
lea eax, [ebp - 8]
mov edx, 2
call fcn.00016c54
ret
Function at 0x14b504
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00016c44
xor eax, eax
push ebp
push 0x14b67f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 8]
xor edx, edx
call fcn.00016cb0
cmp byte [ebx + 0xd8], 0
jne 0x14b654
mov eax, dword [ebp - 4]
test eax, eax
je 0x14b56b
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x14b56b
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.000163bc
test eax, eax
je 0x14b574
sub eax, 4
mov eax, dword [eax]
dec eax
jl 0x14b654
mov dword [ebx + 0xe8], 1
mov byte [ebx + 0xd8], 1
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.0014b810
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0xe4]
call fcn.00016c5c
lea eax, [ebp - 0x24]
mov ecx, dword [ebx + 0xe4]
mov edx, dword [ebx + 0xdc]
call fcn.00017130
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0012929c
lea esi, [ebp - 0x20]
lea edi, [ebx + 0xec]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 0xe0]
mov edx, dword [ebx + 0xdc]
call fcn.00016c5c
jmp 0x14b5ee
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00017070
lea eax, [ebp - 8]
call fcn.000163cc
call fcn.00016fcc
mov esi, eax
mov eax, dword [ebx + 0xe0]
call fcn.00016fcc
cmp esi, eax
jl 0x14b5e3
mov eax, dword [ebx + 0xe0]
test eax, eax
je 0x14b61b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jle 0x14b650
mov esi, 1
lea eax, [ebx + 0xe0]
call fcn.00017708
mov edx, dword [ebx + 0xe0]
movzx edx, word [edx + esi*2 - 2]
mov ecx, dword [ebp - 8]
movzx ecx, word [ecx + esi*2 - 2]
xor dx, cx
mov word [eax + esi*2 - 2], dx
inc esi
dec edi
jne 0x14b626
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14b686
lea eax, [ebp - 0x24]
call fcn.00016c4c
lea eax, [ebp - 0x10]
call fcn.00016c4c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00016c54
ret
Function at 0x14b694
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00016c44
xor eax, eax
push ebp
push 0x14b7fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 8]
xor edx, edx
call fcn.00016cb0
cmp byte [ebx + 0xd8], 0
je 0x14b7d9
mov eax, dword [ebp - 4]
test eax, eax
je 0x14b6f8
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x14b6f8
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.000163bc
test eax, eax
je 0x14b701
sub eax, 4
mov eax, dword [eax]
dec eax
jl 0x14b7d9
cmp dword [ebx + 0xe8], 1
jne 0x14b7d9
lea eax, [ebx + 0xdc]
mov edx, dword [ebx + 0xe0]
call fcn.00016c5c
jmp 0x14b733
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00017070
lea eax, [ebp - 8]
call fcn.000163cc
call fcn.00016fcc
mov esi, eax
mov eax, dword [ebx + 0xdc]
call fcn.00016fcc
cmp esi, eax
jl 0x14b728
mov eax, dword [ebx + 0xdc]
test eax, eax
je 0x14b760
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jle 0x14b795
mov esi, 1
lea eax, [ebx + 0xdc]
call fcn.00017708
mov edx, dword [ebx + 0xdc]
movzx edx, word [edx + esi*2 - 2]
mov ecx, dword [ebp - 8]
movzx ecx, word [ecx + esi*2 - 2]
xor dx, cx
mov word [eax + esi*2 - 2], dx
inc esi
dec edi
jne 0x14b76b
lea eax, [ebp - 0x20]
mov ecx, dword [ebx + 0xe4]
mov edx, dword [ebx + 0xdc]
call fcn.00017130
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0012929c
lea edx, [ebp - 0x1c]
lea eax, [ebx + 0xec]
call fcn.00129454
test al, al
jne 0x14b7d5
lea eax, [ebx + 0xdc]
xor edx, edx
call fcn.00016c5c
jmp 0x14b7d9
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14b803
lea eax, [ebp - 0x20]
call fcn.00016c4c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00016c54
ret

Function at 0x14d008
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
xor edx, edx
push ebp
push 0x14d0a6
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x18]
xor ecx, ecx
mov edx, 0xc
call fcn.0001487c
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0xc
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0x2d1080
push esi
call sub.kernel32.dll_DeviceIoControl
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x14d069
call fcn.00015adc
jmp 0x14d0ad
mov eax, dword [ebx]
mov edx, dword [ebp - 0x18]
mov dword [eax + 0x2c], edx
mov eax, dword [ebx]
mov edx, dword [ebp - 0x14]
mov dword [eax + 0x30], edx
mov eax, dword [ebx]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x34], edx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14d0ad
cmp byte [ebp - 5], 0
jne 0x14d0a5
mov edx, 0x13
mov eax, dword [ebp - 4]
call fcn.0014d79c
ret
movzx eax, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x14de10
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
mov byte [ebp - 1], 0
mov ecx, edi
mov edx, ebx
mov eax, esi
call fcn.0014df00
test al, al
je 0x14def5
push ebx
call sub.kernel32.dll_GetDriveTypeW
mov edx, dword [edi]
mov dword [edx + 8], eax
mov ecx, edi
mov edx, ebx
mov eax, esi
call fcn.0014dfa0
test al, al
je 0x14def5
mov ecx, edi
mov edx, ebx
mov eax, esi
call fcn.0014e0c8
test al, al
je 0x14def5
mov ecx, edi
mov edx, ebx
mov eax, esi
call fcn.0014e198
push ebx
call sub.kernel32.dll_lstrlenW_1
dec eax
mov word [ebx + eax*2], 0
push 0
push 0x80
push 3
push 0
push 3
push 0x80000000
push ebx
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x14deae
mov edx, 0xd
mov eax, esi
call fcn.0014e340
jmp 0x14def5
xor eax, eax
push ebp
push 0x14deea
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, edi
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0014e290
test al, al
jne 0x14ded3
call fcn.00015adc
jmp 0x14def5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14def1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x14dfa0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x14e0b6
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x14e099
push dword fs:[edx]
mov dword fs:[edx], esp
push esi
call sub.kernel32.dll_lstrlenW_1
cmp eax, 6
jge 0x14dfee
call fcn.00015adc
jmp 0x14e0a0
lea edx, [ebp - 4]
lea eax, [esi + 8]
call fcn.00017fec
mov eax, dword [ebp - 4]
test eax, eax
je 0x14e016
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x14e016
lea eax, [ebp - 4]
mov edx, dword [ebp - 4]
call fcn.000163bc
test eax, eax
je 0x14e01f
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 4]
mov ecx, 1
xchg edx, eax
call fcn.0001750c
mov eax, 0x20a
call fcn.000142b0
mov dword [ebp - 0x10], eax
push 0x20a
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.00016ce8
push eax
call sub.kernel32.dll_QueryDosDeviceW
cmp eax, 1
jae 0x14e05d
call fcn.00015adc
jmp 0x14e0a0
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x10]
call fcn.0014c198
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14e0a0
mov eax, dword [ebp - 0x10]
push eax
call fcn.00019f24
pop ecx
cmp byte [ebp - 9], 0
jne 0x14e098
mov edx, 0xa
mov eax, dword [ebp - 8]
call fcn.0014e340
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14e0bd
lea eax, [ebp - 4]
call fcn.00016c4c
ret