joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4547e0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
lea eax, [ebp - 0x808]
push 0x400
push eax
push 0x60f
mov eax, dword [ebx]
call dword [eax + 0x8c]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextW]
push eax
call esi
lea eax, [ebp - 0x808]
push eax
call fcn.0042a830
add esp, 4
lea eax, [ebp - 0x100c]
mov ecx, ebx
push 0x400
push eax
mov eax, dword [ebx]
push 0x60d
call dword [eax + 0x8c]
push eax
call esi
lea eax, [ebp - 0x100c]
push eax
call fcn.0042a830
lea ecx, [ebp - 0x808]
add esp, 4
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454862
sub ecx, edx
sar ecx, 1
je 0x454a4f
lea ecx, [ebp - 0x100c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454880
sub ecx, edx
sar ecx, 1
je 0x454a4f
cmp dword [ebx + 0x2c], 0
lea eax, [ebp - 0x808]
push eax
je 0x45495c
call fcn.00414f30
add esp, 4
test eax, eax
je 0x454a4f
lea eax, [ebp - 0x100c]
push eax
call fcn.00414f30
add esp, 4
test eax, eax
je 0x454a4f
lea eax, [ebp - 0x1054]
push eax
lea eax, [ebx + 0x34]
push eax
push 0x3ea
push 0x40b
push dword [ebx + 0x10]
call fcn.00409f60
add esp, 0x14
test eax, eax
je 0x454a5f
mov eax, dword [ebx]
mov ecx, ebx
push edi
push 0x57a
call dword [eax + 0x8c]
push eax
call fcn.00405b90
mov edx, dword [ebx]
add esp, 4
mov ecx, ebx
mov edi, eax
push 0x580
call dword [edx + 0x8c]
push eax
call fcn.00405b90
mov esi, eax
push esi
call fcn.004c06e0
add esp, 8
mov dword [0x56ef5c], edi
mov dword [0x56ef60], esi
mov ecx, ebx
mov eax, dword [ebx]
push 0x611
call dword [eax + 0x8c]
push eax
call fcn.00406330
add esp, 4
mov dword [0x56ef68], eax
pop edi
jmp 0x45498f
call fcn.00414f30
add esp, 4
test eax, eax
je 0x454a4f
lea eax, [ebp - 0x1054]
push eax
lea eax, [ebx + 0x34]
push eax
push 0x40b
push dword [ebx + 0x10]
call fcn.0040a090
add esp, 0x10
test eax, eax
je 0x454a5f
xor ecx, ecx
movzx eax, word [ebp + ecx - 0x808]
lea ecx, [ecx + 2]
mov word [ecx + 0x56df56], ax
test ax, ax
jne 0x454991
xor ecx, ecx
nop word [eax + eax]
movzx eax, word [ebp + ecx - 0x100c]
lea ecx, [ecx + 2]
mov word [ecx + 0x56e758], ax
test ax, ax
jne 0x4549b0
movups xmm0, xmmword [ebp - 0x1054]
push 0
mov ecx, ebx
movups xmmword [0x56ef6c], xmm0
movups xmm0, xmmword [ebp - 0x1044]
movups xmmword [0x56ef7c], xmm0
movups xmm0, xmmword [ebp - 0x1034]
movups xmmword [0x56ef8c], xmm0
movups xmm0, xmmword [ebp - 0x1024]
movups xmmword [0x56ef9c], xmm0
movq xmm0, qword [ebp - 0x1014]
movq qword [0x56efac], xmm0
mov eax, dword [ebx + 0x10]
mov dword [0x56efb8], eax
mov dword [0x56efb4], 0
mov eax, dword [ebx + 0x2c]
mov dword [0x56ef64], eax
call fcn.00453a40
push 0x56df58
call fcn.00453960
add esp, 4
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push dword [ebx + 0x10]
push str.INVALID_PATH
call fcn.00419a00
add esp, 8
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x455340
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x850
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x808]
push 0x400
push eax
push 0x40a
mov eax, dword [esi]
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x808]
push eax
call fcn.0042a830
push 0
push 1
push dword [esi + 0x870]
lea eax, [ebp - 0x808]
push eax
push dword [esi + 0x10]
call fcn.0040a2e0
add esp, 0x18
test eax, eax
je 0x455486
lea eax, [ebp - 0x850]
push eax
lea eax, [esi + 0x874]
push eax
push 0x40b
push dword [esi + 0x10]
call fcn.0040a090
add esp, 0x10
test eax, eax
je 0x455486
lea eax, [ebp - 0x850]
push eax
lea eax, [ebp - 0x808]
push eax
call fcn.004ce690
add esp, 8
test eax, eax
je 0x455401
push eax
push dword [esi + 0x10]
call fcn.00417830
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [ebp - 0x850]
lea eax, [ebp - 0x808]
lea ecx, [esi + 0x24]
mov edx, eax
movups xmmword [esi + 0x828], xmm0
sub ecx, edx
movups xmm0, xmmword [ebp - 0x840]
movups xmmword [esi + 0x838], xmm0
movups xmm0, xmmword [ebp - 0x830]
movups xmmword [esi + 0x848], xmm0
movups xmm0, xmmword [ebp - 0x820]
movups xmmword [esi + 0x858], xmm0
movq xmm0, qword [ebp - 0x810]
movq qword [esi + 0x868], xmm0
nop word [eax + eax]
movzx edx, word [eax]
lea eax, [eax + 2]
mov word [ecx + eax - 2], dx
test dx, dx
jne 0x455460
mov dword [0x56efc8], 0
mov ecx, esi
mov eax, dword [esi]
push 1
call dword [eax + 0xf4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x456260
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x56f03c], 0
jne 0x4562b5
cmp dword [0x56f040], 0
jne 0x4562b5
cmp dword [0x56f038], 0
jne 0x4562b5
push dword [ebp + 8]
mov dword [0x56f038], 0
push 0
mov dword [0x56f040], 1
push 0x456550
mov dword [0x56f03c], 0
call fcn.004f1e00
add esp, 0xc
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x456c90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
push 0x66d
cmp dword [ebx + 0x24], 0
mov eax, dword [ebx]
je 0x456d80
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
lea ecx, [esi*2 + 2]
push ecx
call fcn.004f1588
add esp, 4
mov dword [0x56efe0], eax
lea ecx, [esi + 1]
push ecx
push eax
mov eax, dword [ebx]
mov ecx, ebx
push 0x66d
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebx + 0x28]
push eax
push 0x3ea
push 0x40b
push dword [ebx + 0x10]
call fcn.00409f60
add esp, 0x14
test eax, eax
jne 0x456d35
push dword [0x56efe0]
call fcn.004ec0b7
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx]
mov ecx, ebx
push 0x57a
call dword [eax + 0x8c]
push eax
call fcn.00405b90
mov edx, dword [ebx]
add esp, 4
mov ecx, ebx
mov edi, eax
push 0x580
call dword [edx + 0x8c]
push eax
call fcn.00405b90
mov esi, eax
push esi
call fcn.004c06e0
add esp, 8
mov dword [0x56efe4], edi
mov dword [0x56efe8], esi
jmp 0x456e17
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
and eax, 0x80000003
jns 0x456d9b
dec eax
or eax, 0xfffffffc
inc eax
je 0x456d9f
sub edi, eax
lea esi, [edi + 1]
push esi
call fcn.004f1588
add esp, 4
mov dword [0x56efdc], eax
mov ecx, ebx
push esi
push eax
mov eax, dword [ebx]
push 0x66d
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push edi
push dword [0x56efdc]
call fcn.00436860
add esp, 8
cmp eax, 0xffffffff
jne 0x456dfb
push dword [0x56efdc]
call fcn.004ec0b7
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebx + 0x28]
push eax
push 0x40b
push dword [ebx + 0x10]
call fcn.0040a090
add esp, 0x10
test eax, eax
je 0x456ddc
movups xmm0, xmmword [ebp - 0x4c]
push 0
mov ecx, ebx
movups xmmword [0x56efec], xmm0
movups xmm0, xmmword [ebp - 0x3c]
movups xmmword [0x56effc], xmm0
movups xmm0, xmmword [ebp - 0x2c]
movups xmmword [0x56f00c], xmm0
movups xmm0, xmmword [ebp - 0x1c]
movups xmmword [0x56f01c], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [0x56f02c], xmm0
mov eax, dword [ebx + 0x10]
mov dword [0x56f034], eax
mov eax, dword [ebx + 0x24]
mov dword [0x56efd8], eax
call fcn.00456440
push 0x56efd8
call fcn.00456260
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x458270
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
lea eax, [ebp - 0x808]
push 0x400
push eax
push 0x40a
mov eax, dword [edi]
call dword [eax + 0x8c]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x808]
push eax
call fcn.0042a830
push 0
push dword [edi + 0x24]
push dword [edi + 0x10]
call fcn.00409c90
add esp, 0x10
test eax, eax
je 0x458343
push dword [edi + 0x24]
lea eax, [ebp - 0x808]
push eax
push dword [edi + 0x10]
call fcn.0040a510
add esp, 0xc
test eax, eax
je 0x458343
mov eax, dword [edi]
mov ecx, edi
push ebx
push esi
push 0x5cd
call dword [eax + 0x8c]
push eax
call fcn.00405b90
lea edx, [ebp - 0x808]
add esp, 4
lea ebx, [edi + 0x28]
mov esi, edx
mov ecx, ebx
sub ecx, esi
nop dword [eax + eax]
movzx esi, word [edx]
lea edx, [edx + 2]
mov word [ecx + edx - 2], si
test si, si
jne 0x458310
mov dword [edi + 0x82c], eax
mov ecx, edi
mov eax, dword [edi + 0x10]
push 0
mov dword [edi + 0x830], eax
call fcn.00457d90
push ebx
call fcn.00458750
add esp, 4
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x458750
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x56f878], 0
jne 0x4587a5
cmp dword [0x56f87c], 0
jne 0x4587a5
cmp dword [0x56f874], 0
jne 0x4587a5
push dword [ebp + 8]
mov dword [0x56f874], 0
push 0
push 0x458560
mov dword [0x56f87c], 1
mov dword [0x56f878], 0
call fcn.004f1e00
add esp, 0xc
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x459700
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fa78
mov eax, dword fs:[0]
push eax
push ecx
push edi
mov eax, dword [0x55e2f4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x56f894], 0
mov dword [ebp - 4], 0
jne 0x459799
cmp dword [0x56f898], 0
jne 0x459799
mov eax, dword [ebp + 0x18]
mov ecx, 0x56f884
mov dword [0x56f890], eax
lea eax, [ebp + 0xc]
push eax
call fcn.00459510
mov dword [0x56f880], 0
mov dword [0x56f894], 0
mov dword [0x56f898], 1
mov dword [0x564274], 0x51d7c4
call fcn.00420eb0
push dword [ebp + 8]
push 0
push 0x4597f0
call fcn.004f1e00
add esp, 0xc
mov edi, 1
jmp 0x45979b
xor edi, edi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4597d8
push dword [ebp - 0x10]
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 0x10]
push eax
call fcn.00442870
mov ecx, dword [ebp + 0x14]
mov eax, 0x66666667
sub ecx, dword [ebp + 0xc]
add esp, 0x10
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.00444ef0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x45a000
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x56f8cc], 0
jne 0x45a06b
cmp dword [0x56f8d0], 0
jne 0x45a06b
mov eax, dword [ebp + 0x10]
mov dword [0x56f8d4], eax
mov eax, dword [ebp + 0xc]
mov dword [0x56f8c8], eax
mov dword [0x56f8c4], 0
mov dword [0x56f8cc], 0
mov dword [0x56f8d0], 1
mov dword [0x564274], 0x51d7c4
call fcn.00420eb0
push dword [ebp + 8]
push 0
push 0x45a070
call fcn.004f1e00
add esp, 0xc
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x45d050
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call sub.SHELL32.dll_IsUserAnAdmin
test eax, eax
je 0x45d088
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
call fcn.0041c240
test eax, eax
jne 0x45d0a5
call sub.SHELL32.dll_IsUserAnAdmin
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push 0x401
lea eax, [ebp - 0x100c]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push esi
lea eax, [ebp - 0x808]
push str.__format__q_UAC__s
push eax
call fcn.004054c0
add esp, 0xc
lea eax, [ebp - 0x808]
push 1
push 0
push eax
lea eax, [ebp - 0x100c]
push eax
push str.runas
push dword [0x5685fc]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0
cmp eax, 0x20
jg 0x45d116
push str.UAC_INIT_ERROR
call fcn.00419a00
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
xor eax, eax
pop esi
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
call fcn.004f7120
int3

Function at 0x45d3b0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea edx, [ebp - 0x810]
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
mov edi, dword [ebp + 0xc]
sub edx, esi
mov dword [ebp - 0x83c], edi
mov dword [ebp - 0xc], 0x3a0000
mov dword [ebp - 8], 0x5c
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x45d3f0
lea eax, [ebp - 0x810]
push eax
call fcn.00427440
cbw
add esp, 4
add ax, 0x41
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x844]
push eax
lea eax, [ebp - 0x84c]
push eax
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDiskFreeSpaceExW]
test eax, eax
jne 0x45d452
pop edi
or eax, 0xffffffff
pop esi
or edx, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
test edi, edi
jne 0x45d46b
test ebx, ebx
jne 0x45d46b
mov esi, dword [ebp - 0x834]
mov edi, dword [ebp - 0x838]
jmp 0x45d4ec
lea eax, [ebp - 0x830]
push eax
push esi
call fcn.00428df0
add esp, 8
test eax, eax
je 0x45d43c
mov esi, dword [ebp - 0x834]
mov edi, dword [ebp - 0x838]
test ebx, ebx
je 0x45d4a4
mov ecx, dword [ebp - 0x828]
mov eax, dword [ebp - 0x824]
sub ecx, edi
mov dword [ebx], ecx
sbb eax, esi
mov dword [ebx + 4], eax
mov ebx, dword [ebp - 0x83c]
test ebx, ebx
je 0x45d4ec
mov edx, esi
mov ecx, edi
call fcn.004e2380
mov edx, dword [ebp - 0x824]
mov ecx, dword [ebp - 0x828]
movsd qword [ebp - 0x838], xmm0
call fcn.004e23c0
movsd xmm1, qword [ebp - 0x838]
divsd xmm1, xmm0
mulsd xmm1, qword [0x5199e8]
cvtpd2ps xmm0, xmm1
movss dword [ebx], xmm0
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
mov edx, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x45d590
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x864
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x808]
push esi
mov esi, dword [ebp + 8]
push 0x802
push 0
push eax
mov dword [ebp - 0x80c], esi
call fcn.004e46b0
lea eax, [ebp - 0x808]
push 0x400
push eax
call fcn.0041edf0
mov ecx, ebx
add esp, 0x14
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45d5e0
sub ecx, edx
sar ecx, 1
je 0x45d651
push edi
lea edi, [ebp - 0x808]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x45d600
mov eax, dword [0x5170a0]
mov esi, ebx
mov dword [edi], eax
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x45d615
lea edi, [ebp - 0x808]
sub ebx, esi
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x45d630
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 0x80c]
pop edi
push 0x44
lea eax, [ebp - 0x864]
push 0
push eax
call fcn.004e46b0
add esp, 0xc
lea eax, [ebp - 0x820]
push eax
lea eax, [ebp - 0x864]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x45d6aa
push esi
call fcn.00417c00
add esp, 4
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x820]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x81c]
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret

Function at 0x45d980
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
push 0x70
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.004e46b0
add esp, 0xc
call fcn.00428b90
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x45d9d4
pop edi
pop esi
mov eax, 0x16
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x18]
push 0
push 0x5216f0
mov dword [ebp - 0x74], eax
call fcn.00405640
push 0
push 0
push 0
push 0
push 1
mov dword [ebp - 0x70], eax
mov eax, dword [0x55932c]
push 0
mov dword [ebp - 0x6c], eax
lea eax, [ebp - 0x74]
push eax
push 1
push dword [ebp - 0x78]
mov dword [ebp - 0x58], 0
push ebx
push dword [esi]
mov dword [ebp - 0x68], 0
push edi
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0
call fcn.004cb090
add esp, 0x38
cmp eax, 1
jge 0x45da4f
pop edi
mov dword [esi], 0xffffffff
mov eax, 0x18
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x45e040
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.004e1f60
mov eax, dword [0x55e2f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x802
lea eax, [ebp - 0x100c]
push 0
push eax
call fcn.004e46b0
push 0x802
lea eax, [ebp - 0x1810]
push 0
push eax
call fcn.004e46b0
push 0x802
lea eax, [ebp - 0x808]
push 0
push eax
call fcn.004e46b0
push 0x802
lea eax, [ebp - 0x2014]
push 0
push eax
call fcn.004e46b0
mov eax, dword [ebp + 0xc]
add eax, 0x41
movzx eax, ax
push eax
lea eax, [ebp - 0x100c]
push str._c:_
push eax
call fcn.004054c0
lea eax, [ebp - 0x2014]
push 0x401
push eax
call fcn.0041ed70
add esp, 0x44
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x808]
push str._sCnCrypt_
push eax
call fcn.004054c0
add esp, 0xc
lea eax, [ebp - 0x808]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
push 0x401
lea eax, [ebp - 0x1810]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x808]
push str._sCnCryptCnCrypt.exe
push eax
call fcn.004054c0
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x1810]
push eax
call fcn.00414dc0
add esp, 0x14
test eax, eax
jne 0x45e149
jmp 0x45e248
mov esi, 0x521978
call fcn.004bb6d0
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x45e173
test cl, cl
je 0x45e16f
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x45e173
add eax, 2
add esi, 2
test cl, cl
jne 0x45e153
xor eax, eax
jmp 0x45e178
sbb eax, eax
or eax, 1
test eax, eax
je 0x45e243
call fcn.004bb6d0
mov esi, eax
test esi, esi
je 0x45e1bc
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e190
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jle 0x45e1a8
xor eax, eax
jmp 0x45e1bc
lea eax, [edi + edi]
call fcn.004e1f90
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00405530
push eax
lea eax, [ebp - 0x2014]
push eax
lea eax, [ebp - 0x1810]
push str._sLanguage._s.xml
push eax
call fcn.004054c0
add esp, 0x10
call fcn.004bb6d0
mov esi, eax
test esi, esi
je 0x45e1fc
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45e1e8
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jle 0x45e200
xor eax, eax
jmp 0x45e214
lea eax, [edi + edi]
call fcn.004e1f90
mov eax, esp
push 3
push edi
push esi
push eax
call fcn.00405530
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0x808]
push str._sCnCryptLanguage._s.xml
push eax
call fcn.004054c0
lea eax, [ebp - 0x808]
push eax
lea eax, [ebp - 0x1810]
push eax
call fcn.00414dc0
add esp, 0x18
mov eax, 1
lea esp, [ebp - 0x201c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e1f40
mov esp, ebp
pop ebp
ret
Function at 0x45ff00
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x56fb48], 0
jne 0x45ff55
cmp dword [0x56fb4c], 0
jne 0x45ff55
cmp dword [0x56fb44], 0
jne 0x45ff55
push dword [ebp + 8]
mov dword [0x56fb44], 0
push 0
mov dword [0x56fb4c], 1
push 0x45ff80
mov dword [0x56fb48], 0
call fcn.004f1e00
add esp, 0xc
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x460320
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x200
mov dword [ebp - 4], 0
xor ebx, ebx
mov dword [ebp - 8], 0
call fcn.004e240a
mov edi, eax
add esp, 4
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x46035b
mov dword [ebp - 4], 1
jmp 0x4604c1
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push 0
push eax
push 0x200
push edi
push 0
push 0
push 0x700a0
push esi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x46034f
mov eax, dword [edi + 0x14]
imul eax, dword [edi + 0x10]
push 0x24c0
mov dword [ebp - 0x10], eax
call fcn.004e240a
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x46034f
push 0x24c0
push 0
push ebx
call fcn.004e46b0
add esp, 0xc
lea eax, [ebp - 8]
push 0
push eax
push 0x24c0
push ebx
push 0
push 0
push 0x70050
push esi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x46034f
xor edx, edx
xor esi, esi
cmp dword [ebx + 4], edx
jbe 0x4604ba
lea eax, [ebx + 0x40]
nop dword [eax + eax]
cmp dword [eax + 8], 0
je 0x46040e
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x46040e
inc edx
cmp edx, 1
jne 0x46040e
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax - 8]
mov dword [edi], ecx
mov ecx, dword [eax - 4]
mov dword [edi + 4], ecx
mov edi, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [edi], ecx
mov ecx, dword [eax + 4]
mov dword [edi + 4], ecx
inc esi
add eax, 0x90
cmp esi, dword [ebx + 4]
jb 0x4603e0
cmp edx, 1
jne 0x4604b7
mov eax, dword [ebp - 0x10]
cdq
mov edi, eax
mov esi, edx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
push esi
push edi
mov ecx, dword [eax]
add ecx, dword [edx]
mov eax, dword [eax + 4]
adc eax, dword [edx + 4]
add ecx, 0xffffffff
adc eax, 0xffffffff
push eax
push ecx
call fcn.004e2b80
add eax, 1
push esi
push edi
adc edx, 0
push edx
push eax
call fcn.004e2b40
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov dword [esi], eax
add eax, 0x49000
mov dword [esi + 4], edx
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
adc eax, 0
cmp edx, eax
jl 0x460498
jg 0x460488
cmp ecx, dword [ebp - 0x10]
jbe 0x460498
sub ecx, dword [ebp - 0x14]
mov eax, dword [ebp + 0x18]
sbb edx, dword [ebp - 0x18]
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp 0x4604c1
mov eax, dword [ebp + 0x18]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [eax], 0
mov dword [eax + 4], 0
jmp 0x4604c1
mov edi, dword [ebp - 0xc]
mov dword [ebp - 4], 0x1e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push ebx
mov esi, eax
call fcn.004e2413
push edi
call fcn.004e2413
add esp, 8
push esi
call dword [sym.imp.KERNEL32.DLL_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret