joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a930
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1c000]
push edi
or ebp, 0xffffffff
jmp 0x43a952
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43a959
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43a948
mov eax, 1
add ebx, ebx
jne 0x43a96b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43a960
jne 0x43a97c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a960
xor ecx, ecx
sub eax, 3
jb 0x43a990
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43aa02
mov ebp, eax
add ebx, ebx
jne 0x43a99b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43a9a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43a9cc
inc ecx
add ebx, ebx
jne 0x43a9b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43a9ad
jne 0x43a9c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43a9ad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43a9ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43a9dd
jmp 0x43a94e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43a9ec
add edi, ecx
jmp 0x43a94e
pop esi
mov edi, esi
mov ecx, 0xd16
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43aa0a
cmp byte [edi], 0xe
jne 0x43aa0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x43aa0f
lea edi, [esi + 0x37000]
mov eax, dword [edi]
or eax, eax
je 0x43aa7e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3a1e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3a264]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43aa3c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x3a26c]
or eax, eax
je 0x43aa78
mov dword [ebx], eax
add ebx, 4
jmp 0x43aa59
call dword [esi + 0x3a268]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x43aaaf
cmp al, 0xef
ja 0x43aaa2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x43aa84
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x43aa91
mov ebp, dword [esi + 0x3a270]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x43aae3
sub esp, 0xffffff80
jmp 0x405dfc
Function at 0x4036d2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x3fe
push eax
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x402]
push eax
call fcn.0041f1f0
add esp, 0xc
push 0x200
lea eax, [ebp - 0x404]
push eax
push dword [edi + 0x68]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x404]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x403721
sub eax, ecx
push esi
sar eax, 1
lea esi, [edi + 0x8c]
lea ecx, [ebp - 0x404]
call fcn.00401fb5
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.0041d19b
leave
ret

Function at 0x40375d
Capabilities:
Create process on windows

Disassembly:
push 0x85c
mov eax, 0x43d4f6
call fcn.004230f5
mov esi, ecx
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x868], esi
mov dword [ebp - 0x818], 7
mov dword [ebp - 0x81c], ebx
mov word [ebp - 0x82c], ax
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x6c]
mov edi, 0xc4
add eax, edi
cmp dword [eax + 0x14], 8
jb 0x4037a4
mov eax, dword [eax]
push eax
call fcn.0040c3ff
pop ecx
test al, al
je 0x4037c7
mov eax, dword [esi + 0x6c]
push 0xffffffffffffffff
push ebx
add eax, edi
lea ecx, [ebp - 0x82c]
call fcn.00401d38
jmp 0x403897
xor eax, eax
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
call fcn.0041f1f0
push str.KRglXTx2gH3c24R6o3JfvDqdFO9DgW9GgOnUdF
mov ecx, str.okKyEg_Q1SilKZeCLuWuUx5axbsK9FlLX7xNFVUS3VLLg2
lea ebx, [ebp - 0x864]
call fcn.0040dee9
lea ecx, [ebp - 0x848]
push ecx
mov edi, eax
mov byte [ebp - 4], 1
call fcn.0040c317
mov esi, dword [esi + 0x6c]
lea ecx, [esi + 0x8c]
add esp, 0x14
cmp dword [ecx + 0x14], 8
jb 0x40381d
mov ecx, dword [ecx]
lea edx, [esi + 0xc4]
cmp dword [edx + 0x14], 8
jb 0x40382b
mov edx, dword [edx]
cmp dword [eax + 0x14], 8
jb 0x403833
mov eax, dword [eax]
push ecx
push edx
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.0041dddd
add esp, 0x10
push 1
xor edi, edi
lea esi, [ebp - 0x848]
call fcn.00402144
push edi
push 1
lea ecx, [ebp - 0x864]
mov byte [ebp - 4], 0
call fcn.004020f6
lea eax, [ebp - 0x810]
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40386f
sub eax, ecx
sar eax, 1
lea ecx, [ebp - 0x810]
lea esi, [ebp - 0x82c]
call fcn.00401fb5
mov esi, dword [ebp - 0x868]
xor ebx, ebx
cmp dword [ebp - 0x818], 8
mov ecx, dword [ebp - 0x82c]
jae 0x4038ac
lea ecx, [ebp - 0x82c]
push 5
mov eax, 0x443268
push eax
push eax
push ecx
push 0x443294
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 2
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
push 1
xor edi, edi
lea esi, [ebp - 0x82c]
call fcn.00402144
xor eax, eax
inc eax
call fcn.00423178
ret
Function at 0x405c48
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
push edi
or ecx, 0x2001f
push ecx
push eax
push dword [esi]
xor ebx, ebx
lea edi, [ebp - 0x218]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x210], ebx
call fcn.00405c01
mov edi, eax
cmp edi, ebx
je 0x405cb6
cmp dword [ebp - 0x218], ebx
je 0x405caf
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x405d79
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x405cda
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x218]
call fcn.00405c48
mov dword [ebp - 0x224], eax
cmp eax, ebx
jne 0x405d43
lea eax, [ebp - 0x22c]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
push ebx
push dword [ebp - 0x218]
mov dword [ebp - 0x21c], 0x100
call edi
test eax, eax
je 0x405cbe
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x218], ebx
je 0x405d25
push dword [ebp - 0x218]
call edi
mov dword [ebp - 0x218], ebx
mov eax, dword [esi + 8]
push dword [ebp - 0x220]
mov dword [ebp - 0x214], ebx
push dword [esi]
cmp eax, ebx
je 0x405d5f
mov esi, eax
call fcn.00405ddb
jmp 0x405d65
cmp dword [ebp - 0x218], ebx
je 0x405d57
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x224]
jmp 0x405d79
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
cmp dword [ebp - 0x218], ebx
je 0x405d77
push dword [ebp - 0x218]
call edi
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d19b
leave
ret 4
Function at 0x406696
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x43cdc6
call fcn.0042312b
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov edi, edx
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x4066ee
call fcn.00405155
mov esi, eax
jmp 0x4067f8
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x406707
call fcn.00405155
jmp 0x4067ea
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x4066fd
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x406744
mov esi, 0x8007000e
jmp 0x4067ec
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, esi
ja 0x406759
cmp eax, 0xffffffff
jbe 0x406763
push 0x80070216
call fcn.00402cf7
cmp eax, 0x400
jbe 0x406790
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00405132
jmp 0x40679c
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], esi
je 0x40673a
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x4066fd
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x42c]
call fcn.00406536
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x406811
lea eax, [ebp - 0x418]
call fcn.004056c2
mov eax, esi
call fcn.00423187
ret 0xc
Function at 0x408a93
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x10], edi
jne 0x408bce
push ebx
lea eax, [ebp - 0x220]
push eax
push edi
push edi
push 0x1a
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x408bcd
lea eax, [ebp - 0x220]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x408ad9
sub eax, edx
sar eax, 1
lea ecx, [ebp - 0x220]
call fcn.00401fb5
push 8
pop ebx
cmp dword [esi + 0x14], ebx
jb 0x408aff
mov eax, dword [esi]
jmp 0x408b01
mov eax, esi
push eax
call fcn.0041e707
pop ecx
test eax, eax
jne 0x408bcd
push str.DoneEx
push 7
pop edi
mov eax, esi
call fcn.00403a29
cmp dword [esi + 0x14], ebx
jb 0x408b28
mov eax, dword [esi]
jmp 0x408b2a
mov eax, esi
push eax
call fcn.0041e707
pop ecx
test eax, eax
je 0x408b4b
cmp dword [esi + 0x14], ebx
jb 0x408b3e
mov eax, dword [esi]
jmp 0x408b40
mov eax, esi
push eax
call fcn.0041e833
pop ecx
test eax, eax
jne 0x408bc1
push str.XCell_Compiler
push 0xf
pop edi
mov eax, esi
call fcn.00403a29
cmp dword [esi + 0x14], ebx
jb 0x408b63
mov eax, dword [esi]
jmp 0x408b65
mov eax, esi
push eax
call fcn.0041e707
pop ecx
test eax, eax
je 0x408b86
cmp dword [esi + 0x14], ebx
jb 0x408b79
mov eax, dword [esi]
jmp 0x408b7b
mov eax, esi
push eax
call fcn.0041e833
pop ecx
test eax, eax
jne 0x408bc1
push str.AddIns
push 7
pop edi
mov eax, esi
call fcn.00403a29
cmp dword [esi + 0x14], ebx
jb 0x408b9e
mov eax, dword [esi]
jmp 0x408ba0
mov eax, esi
push eax
call fcn.0041e707
pop ecx
test eax, eax
je 0x408bcd
cmp dword [esi + 0x14], ebx
jb 0x408bb4
mov eax, dword [esi]
jmp 0x408bb6
mov eax, esi
push eax
call fcn.0041e833
pop ecx
test eax, eax
je 0x408bcd
xor eax, eax
mov ecx, 0x443268
call fcn.00401fb5
pop ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041d19b
leave
ret

Function at 0x408bde
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [eax + 0x14], 8
jb 0x408be9
mov eax, dword [eax]
push esi
push 0x447530
push eax
call fcn.0041e923
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x408c31
cmp dword [edi + 0x14], 0x10
jb 0x408c07
mov eax, dword [edi]
jmp 0x408c09
mov eax, edi
add eax, dword [ebp + 8]
push esi
push 1
push dword [ebp + 0xc]
push eax
call fcn.0041ea91
add esp, 0x10
push esi
cmp eax, 1
je 0x408c2b
call fcn.0041eb78
pop ecx
xor eax, eax
jmp 0x408c34
call fcn.0041eb78
pop ecx
xor eax, eax
inc eax
pop esi
pop ebp
ret 8

Function at 0x40e105
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
mov byte [ebp - 1], 1
cmp esi, ebx
je 0x40e13b
cmp word [esi], bx
je 0x40e13b
push ebx
push esi
call fcn.0041ec6b
pop ecx
pop ecx
test eax, eax
jne 0x40e13b
cmp word [esi], bx
je 0x40e13e
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40e13e
test al, 0x10
je 0x40e13e
mov byte [ebp - 1], bl
mov al, byte [ebp - 1]
pop ebx
leave
ret
Function at 0x40e144
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x30], 0
push ebx
push esi
push edi
push 9
xor eax, eax
mov ebx, ecx
pop ecx
push dword [ebp + 8]
mov word [ebp - 0x2c], ax
lea edi, [ebp - 0x2a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x2c]
push 0x44790c
push eax
mov esi, edx
call fcn.0041dddd
add esp, 0xc
push ebx
lea eax, [ebp - 0x2c]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
je 0x40e1fc
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
je 0x40e1fc
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x38], eax
cmp eax, ebx
je 0x40e1fc
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x34], eax
cmp eax, ebx
je 0x40e1fc
mov ecx, dword [esi + 0x10]
inc eax
cmp eax, ecx
ja 0x40e1d2
or ecx, 0xffffffff
call fcn.00407f85
jmp 0x40e1de
push ebx
mov ebx, eax
sub ebx, ecx
mov edi, esi
call fcn.0040df60
or ecx, 0xffffffff
xor eax, eax
call fcn.00407f85
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov edx, esi
call fcn.004081d7
mov dword [ebp - 0x30], 1
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x30]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d19b
leave
ret

Function at 0x40e20e
Capabilities:
Get common file path
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x810
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
or eax, 0xffffffff
xor ecx, ecx
mov dword [ebp - 0x808], edi
call fcn.00401cc7
lea eax, [ebp - 0x808]
push eax
push 0x20019
push edi
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor eax, eax
push 0x7fe
mov word [ebp - 0x804], ax
lea eax, [ebp - 0x802]
push edi
push eax
call fcn.0041f1f0
add esp, 0xc
mov dword [ebp - 0x80c], 0x400
cmp dword [ebp - 0x808], edi
je 0x40e328
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x810]
push eax
push edi
push str.TEMP
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40e31c
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40e2bc
sub eax, edx
push ebx
sar eax, 1
lea ecx, [ebp - 0x804]
call fcn.00401fb5
push 0xc
mov edi, str._SystemRoot_
push edi
xor eax, eax
mov ecx, esi
call fcn.00408f64
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40e31b
push 0x400
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x40e31b
lea eax, [ebp - 0x804]
push eax
push edi
call fcn.00420ef2
pop ecx
push eax
push ebx
push esi
call fcn.0040ca4a
pop ebx
push dword [ebp - 0x808]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041d19b
leave
ret
Function at 0x40e336
Capabilities:
Get common file path

Disassembly:
push 0x87c
mov eax, 0x43cb2c
call fcn.004230f5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x884], eax
xor eax, eax
xor ebx, ebx
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
mov dword [ebp - 0x888], ebx
call fcn.0041f1f0
add esp, 0xc
lea eax, [ebp - 0x810]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x810]
push eax
lea esi, [ebp - 0x848]
call fcn.00406a97
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x834], 8
mov eax, dword [ebp - 0x848]
jae 0x40e3ac
mov eax, esi
mov ecx, dword [ebp - 0x838]
lea eax, [eax + ecx*2]
cmp word [eax - 2], 0x5c
je 0x40e3cf
xor edi, edi
push 0x447538
inc edi
lea eax, [ebp - 0x848]
call fcn.00403a29
push 7
pop eax
xor ecx, ecx
mov dword [ebp - 0x850], eax
mov dword [ebp - 0x854], ebx
mov word [ebp - 0x864], cx
mov dword [ebp - 0x818], eax
xor eax, eax
mov dword [ebp - 0x81c], ebx
mov word [ebp - 0x82c], ax
push 8
lea eax, [ebp - 0x864]
pop ebx
mov byte [ebp - 4], 2
call fcn.0040c393
lea ecx, [ebp - 0x848]
push ecx
lea ecx, [ebp - 0x880]
push ecx
mov ebx, eax
call fcn.0040e4ed
pop ecx
pop ecx
mov ebx, eax
lea eax, [ebp - 0x82c]
mov byte [ebp - 4], 3
call fcn.00403ac1
push 1
xor edi, edi
lea esi, [ebp - 0x880]
mov byte [ebp - 4], 2
call fcn.00402144
cmp dword [ebp - 0x818], 8
mov eax, dword [ebp - 0x82c]
jae 0x40e45e
lea eax, [ebp - 0x82c]
push 0
push eax
call fcn.0041ec6b
pop ecx
pop ecx
test eax, eax
jne 0x40e48f
push 1
xor edi, edi
lea esi, [ebp - 0x82c]
call fcn.00402144
push 1
lea esi, [ebp - 0x864]
call fcn.00402144
xor ebx, ebx
jmp 0x40e3cf
cmp dword [ebp - 0x818], 8
mov eax, dword [ebp - 0x82c]
jae 0x40e4a4
lea eax, [ebp - 0x82c]
push eax
call fcn.0041e833
mov esi, dword [ebp - 0x884]
pop ecx
lea ebx, [ebp - 0x82c]
call fcn.00403b14
push 1
xor edi, edi
mov esi, ebx
call fcn.00402144
push 1
lea esi, [ebp - 0x864]
call fcn.00402144
push 1
lea esi, [ebp - 0x848]
call fcn.00402144
mov eax, dword [ebp - 0x884]
call fcn.00423178
ret
Function at 0x40ed6a
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d14
call fcn.0042db50
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
push ebx
lea eax, [ebp - 0x5ec]
push str..PhysicalDrive_d
push eax
mov dword [ebp - 0x2d10], ebx
call fcn.0041dddd
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [ebp - 0x5ec]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2d0c], eax
cmp eax, 0xffffffff
je 0x40efc2
push edi
push 0xc
lea eax, [ebp - 0x2d08]
push ebx
push eax
mov dword [ebp - 0x2d14], ebx
call fcn.0041f1f0
mov edi, 0x2710
push edi
lea eax, [ebp - 0x2cfc]
push ebx
push eax
mov dword [ebp - 0x2d08], ebx
mov dword [ebp - 0x2d04], ebx
call fcn.0041f1f0
add esp, 0x18
push ebx
lea eax, [ebp - 0x2d14]
push eax
push edi
lea eax, [ebp - 0x2cfc]
push eax
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push dword [ebp - 0x2d0c]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x40eef5
push esi
push 0x3e7
lea eax, [ebp - 0x3eb]
push ebx
push eax
mov byte [ebp - 0x3ec], bl
call fcn.0041f1f0
mov eax, dword [ebp - 0x2cf0]
push ebx
mov esi, 0x457388
lea ecx, [ebp - 0x2cfc]
call fcn.0040ec21
mov eax, dword [ebp - 0x2cec]
push ebx
mov esi, 0x457788
lea ecx, [ebp - 0x2cfc]
call fcn.0040ec21
mov eax, dword [ebp - 0x2ce4]
push 1
lea esi, [ebp - 0x3ec]
lea ecx, [ebp - 0x2cfc]
call fcn.0040ec21
push 0x457788
push 0x456f88
call fcn.00420bc0
add esp, 0x20
pop esi
cmp byte [0x456b88], bl
jne 0x40eee1
movzx eax, byte [ebp - 0x3ec]
push eax
call fcn.0042247f
pop ecx
test eax, eax
jne 0x40eecc
movzx eax, byte [ebp - 0x3d9]
push eax
call fcn.0042247f
pop ecx
test eax, eax
je 0x40eee1
lea eax, [ebp - 0x3ec]
push eax
push 0x456b88
call fcn.00420bc0
pop ecx
pop ecx
jmp 0x40eefb
cmp byte [0x456f88], bl
je 0x40eefb
mov dword [ebp - 0x2d10], 1
jmp 0x40eefb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
lea eax, [ebp - 0x2cfc]
push ebx
push eax
call fcn.0041f1f0
add esp, 0xc
push ebx
lea eax, [ebp - 0x2d14]
push eax
push edi
lea eax, [ebp - 0x2cfc]
push eax
push ebx
push ebx
push 0x2d0c10
push dword [ebp - 0x2d0c]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
pop edi
test eax, eax
je 0x40efb0
xor eax, eax
push 0x3e6
mov word [ebp - 0x3ec], ax
lea eax, [ebp - 0x3ea]
push ebx
push eax
call fcn.0041f1f0
lea eax, [ebp - 0x2cec]
push eax
lea eax, [ebp - 0x3ec]
push eax
call fcn.00420bc0
add esp, 0x14
cmp byte [0x456b88], bl
jne 0x40efb6
movsx eax, byte [ebp - 0x3ec]
push eax
call fcn.0042247f
pop ecx
test eax, eax
jne 0x40ef91
movsx eax, byte [ebp - 0x3d9]
push eax
call fcn.0042247f
pop ecx
test eax, eax
je 0x40efb6
lea eax, [ebp - 0x3ec]
push eax
push 0x456b88
call fcn.00420bc0
pop ecx
pop ecx
mov dword [ebp - 0x2d10], 1
jmp 0x40efb6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x2d0c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x2d10]
xor ecx, ebp
pop ebx
call fcn.0041d19b
leave
ret
Function at 0x40fa1c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1018
call fcn.0042db50
mov eax, dword [0x44f214]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.0040f869
mov dword [ebp - 0x1018], eax
xor eax, eax
mov esi, 0x7fe
push esi
mov word [ebp - 0x1008], ax
xor edi, edi
lea eax, [ebp - 0x1006]
push edi
push eax
call fcn.0041f1f0
add esp, 0xc
xor eax, eax
push esi
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push edi
push eax
mov dword [ebp - 0x100c], edi
mov dword [ebp - 0x1010], edi
mov dword [ebp - 0x1014], edi
call fcn.0041f1f0
add esp, 0xc
mov eax, 0x400
push eax
lea ecx, [ebp - 0x808]
push ecx
lea ecx, [ebp - 0x1014]
push ecx
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x100c]
push ecx
push eax
lea eax, [ebp - 0x1008]
push eax
push 0x447b00
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov eax, dword [ebp - 0x1018]
mov ecx, dword [ebp - 0x100c]
mov edx, ebx
call fcn.0040f975
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.0041d19b
leave
ret

Function at 0x40fae5
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push 0x20
mov eax, 0x43b187
call fcn.004230bf
push dword [ebp + 8]
xor esi, esi
push esi
push 0x43a
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp + 8], eax
cmp eax, esi
jne 0x40fb23
mov dword [ebp - 0x1c], esi
push 0x449e24
lea eax, [ebp - 0x1c]
push eax
call fcn.00422559
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 4
push 0x1000
lea edi, [eax + eax + 2]
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
mov dword [ebp - 0x14], ebx
cmp ebx, esi
jne 0x40fb58
mov dword [ebp - 0x20], esi
push 0x449e24
lea eax, [ebp - 0x20]
jmp 0x40fb1d
push esi
push edi
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x40fb78
mov dword [ebp - 0x24], esi
push 0x449e24
lea eax, [ebp - 0x24]
jmp 0x40fb1d
push 0x447b0c
push str.Kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, esi
jne 0x40fba3
mov dword [ebp - 0x28], esi
push 0x449e24
lea eax, [ebp - 0x28]
jmp 0x40fb1d
push esi
push esi
push ebx
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
cmp eax, esi
jne 0x40fbf5
mov dword [ebp - 0x2c], esi
push 0x449e24
lea eax, [ebp - 0x2c]
jmp 0x40fb1d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
call fcn.00423164
ret 8