joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408470
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x5c6b7
mov dword [ebp - 4], 0xf8c9
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4084e8
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x41
jl 0x4084c1
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x5a
jg 0x4084c1
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
lea eax, [eax + edx + 0x20]
mov dword [ebp - 0xc], eax
jmp 0x4084d3
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x40848b
mov eax, dword [ebp - 0xc]
and eax, 0x7fffffff
mov esp, ebp
pop ebp
ret

Function at 0x408500
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 1
jmp 0x408536
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x408594
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
push edx
call fcn.00408470
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x408592
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
mov cx, word [edx + eax*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
movzx ecx, word [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
mov eax, edx
jmp 0x408596
jmp 0x40852d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4085a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esp, ebp
pop ebp
ret
Function at 0x408d20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
push 0x214c6981
call fcn.004085f0
add esp, 4
mov dword [ebp - 0x1c], eax
push 0x104
lea eax, [ebp - 0x2b8]
push eax
call dword [ebp - 0x1c]
push 0x1c368da0
call fcn.004085f0
add esp, 4
mov dword [ebp - 0x14], eax
call dword [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x158]
push ecx
call fcn.00408400
add esp, 0xc
mov byte [ebp - 0x18], 0x5c
mov byte [ebp - 0x17], 0
mov byte [ebp - 0x144], 0x2e
mov byte [ebp - 0x143], 0x64
mov byte [ebp - 0x142], 0x6c
mov byte [ebp - 0x141], 0x6c
mov byte [ebp - 0x140], 0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x2b8]
push eax
call fcn.00409160
add esp, 8
lea ecx, [ebp - 0x158]
push ecx
lea edx, [ebp - 0x2b8]
push edx
call fcn.00409160
add esp, 8
lea eax, [ebp - 0x144]
push eax
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.00409160
add esp, 8
push 0x4e1e0843
call fcn.004085f0
add esp, 4
mov dword [ebp - 0x1a4], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x10000000
lea edx, [ebp - 0x2b8]
push edx
call dword [ebp - 0x1a4]
mov dword [ebp - 0x13c], eax
cmp dword [ebp - 0x13c], 0xffffffff
je 0x408e75
mov dword [ebp - 0x2bc], 0
push 0x7463a627
call fcn.004085f0
add esp, 4
mov dword [ebp - 0x2c4], eax
push 0
lea eax, [ebp - 0x2bc]
push eax
push 0xd600
push section..data
mov ecx, dword [ebp - 0x13c]
push ecx
call dword [ebp - 0x2c4]
push 0x70ebfb28
call fcn.004085f0
add esp, 4
mov dword [ebp - 0x2c0], eax
mov edx, dword [ebp - 0x13c]
push edx
call dword [ebp - 0x2c0]
mov byte [ebp - 0x1b0], 0x60
mov byte [ebp - 0x1af], 0x47
mov byte [ebp - 0x1ae], 0x5c
mov byte [ebp - 0x1ad], 0x56
mov byte [ebp - 0x1ac], 0x5e
mov byte [ebp - 0x1ab], 0x5e
mov byte [ebp - 0x1aa], 1
mov byte [ebp - 0x1a9], 0
mov byte [ebp - 0x1a8], 0x12
mov byte [ebp - 0x1a7], 0x32
push 0x32
push 0xa
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.00408640
add esp, 0x10
mov byte [ebp - 0x10], 0x20
mov byte [ebp - 0xf], 0x45
mov byte [ebp - 0xe], 0x78
mov byte [ebp - 0xd], 0x75
mov byte [ebp - 0xc], 0x63
mov byte [ebp - 0xb], 0x75
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0
push 0x44
push 0
lea edx, [ebp - 0x1a0]
push edx
call fcn.00408620
add esp, 0xc
mov dword [ebp - 0x1a0], 0x44
push 0x10
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.00408620
add esp, 0xc
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x2b8]
push edx
call fcn.00409160
add esp, 8
lea eax, [ebp - 0x1b0]
push eax
lea ecx, [ebp - 0x128]
push ecx
call fcn.00409150
add esp, 8
lea edx, [ebp - 0x2b8]
push edx
lea eax, [ebp - 0x128]
push eax
call fcn.00409160
add esp, 8
lea ecx, [ebp - 0x2b8]
push ecx
call fcn.004090c0
add esp, 4
push 0xe621d6
call fcn.004085f0
add esp, 4
mov dword [ebp - 4], eax
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x1a0]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x128]
push ecx
push 0
call dword [ebp - 4]
push 0xea60
mov edx, dword [ebp - 0x134]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esp, ebp
pop ebp
ret
Function at 0x409f20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push 0x289fbd13
call fcn.0040b050
add esp, 4
mov dword [ebp - 0x84], eax
mov byte [ebp - 0x90], 0x73
mov byte [ebp - 0x8f], 0x63
mov byte [ebp - 0x8e], 0x20
mov byte [ebp - 0x8d], 0x73
mov byte [ebp - 0x8c], 0x74
mov byte [ebp - 0x8b], 0x6f
mov byte [ebp - 0x8a], 0x70
mov byte [ebp - 0x89], 0x20
mov byte [ebp - 0x88], 0
mov byte [ebp - 0x9c], 0x73
mov byte [ebp - 0x9b], 0x63
mov byte [ebp - 0x9a], 0x20
mov byte [ebp - 0x99], 0x64
mov byte [ebp - 0x98], 0x65
mov byte [ebp - 0x97], 0x6c
mov byte [ebp - 0x96], 0x65
mov byte [ebp - 0x95], 0x74
mov byte [ebp - 0x94], 0x65
mov byte [ebp - 0x93], 0x20
mov byte [ebp - 0x92], 0
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x80]
push ecx
call dword [0x10008050]
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x80]
push eax
call dword [0x10008080]
push 0
lea ecx, [ebp - 0x80]
push ecx
call dword [ebp - 0x84]
lea edx, [ebp - 0x9c]
push edx
lea eax, [ebp - 0x80]
push eax
call dword [0x10008050]
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x80]
push edx
call dword [0x10008080]
push 0
lea eax, [ebp - 0x80]
push eax
call dword [ebp - 0x84]
mov esp, ebp
pop ebp
ret
Function at 0x40aed0
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x5c6b7
mov dword [ebp - 4], 0xf8c9
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x40af48
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x41
jl 0x40af21
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x5a
jg 0x40af21
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
lea eax, [eax + edx + 0x20]
mov dword [ebp - 0xc], eax
jmp 0x40af33
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x40aeeb
mov eax, dword [ebp - 0xc]
and eax, 0x7fffffff
mov esp, ebp
pop ebp
ret

Function at 0x40af60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 1
jmp 0x40af96
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x40aff4
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
push edx
call fcn.0040aed0
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x40aff2
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
mov cx, word [edx + eax*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
movzx ecx, word [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
mov eax, edx
jmp 0x40aff6
jmp 0x40af8d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40b000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call dword [0x1000803c]
mov esp, ebp
pop ebp
ret
Function at 0x417070
Capabilities:
Hash data using rshash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x5c6b7
mov dword [ebp - 4], 0xf8c9
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x4170e8
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
cmp eax, 0x41
jl 0x4170c1
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x5a
jg 0x4170c1
mov eax, dword [ebp - 0xc]
imul eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
lea eax, [eax + edx + 0x20]
mov dword [ebp - 0xc], eax
jmp 0x4170d3
mov ecx, dword [ebp - 0xc]
imul ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
add ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 4]
imul ecx, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x41708b
mov eax, dword [ebp - 0xc]
and eax, 0x7fffffff
mov esp, ebp
pop ebp
ret

Function at 0x417100
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], 1
jmp 0x417136
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [eax + 0x14]
jae 0x417194
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x20]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
push edx
call fcn.00417070
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0xc]
jne 0x417192
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x10]
mov cx, word [edx + eax*2]
mov word [ebp - 0x18], cx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
movzx ecx, word [ebp - 0x18]
mov edx, dword [ebp + 8]
add edx, dword [eax + ecx*4]
mov eax, edx
jmp 0x417196
jmp 0x41712d
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4171a0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0x2e
mov byte [ebp - 7], 0x64
mov byte [ebp - 6], 0x6c
mov byte [ebp - 5], 0x6c
mov byte [ebp - 4], 0
push ebx
push ecx
mov ebx, dword fs:[0x30]
mov ecx, dword [ebx + 0xc]
mov ecx, dword [ecx + 0x1c]
mov ecx, dword [ecx]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
pop ecx
pop ebx
push 0x3777cccb
mov eax, dword [ebp - 0x14]
push eax
call fcn.00417100
add esp, 8
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x10]
push ecx
call dword [ebp - 0x18]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417940
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push 0x74e3bb2e
call fcn.00417220
add esp, 4
mov dword [ebp - 0x14c], eax
push 0x3749ca10
call fcn.00417220
add esp, 4
mov dword [ebp - 4], eax
push 0x49f43cb7
call fcn.00417220
add esp, 4
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x18], 0x23ec5044
mov dword [ebp - 0x14], 0x33af2093
push 0
push 2
call dword [ebp - 0x14c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x148], 0x128
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [ebp - 4]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x140]
push eax
call fcn.00417810
add esp, 8
test eax, eax
je 0x417a34
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x140]
push edx
call fcn.00417810
add esp, 8
test eax, eax
je 0x417a34
lea eax, [ebp - 0x124]
push eax
push 0x100040bc
call dword [0x1000401c]
test eax, eax
je 0x417a34
mov dword [0x10006110], 0
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x154], ecx
lea edx, [ebp - 0x154]
push edx
push 0x10001900
call dword [0x10004088]
cmp dword [0x10006110], 0xa
jbe 0x417a30
mov eax, 1
jmp 0x417a96
xor eax, eax
jmp 0x417a96
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [ebp - 0x150]
test eax, eax
jne 0x4179b2
mov byte [ebp - 0x10], 0x4d
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 9], 0x66
mov byte [ebp - 8], 0x66
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x72
mov byte [ebp - 5], 0
lea edx, [ebp - 0x10]
push edx
push 0
call dword [0x10004080]
test eax, eax
je 0x417a94
mov eax, 1
jmp 0x417a96
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x418b70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x698
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [0x10004060]
push 0x1000409c
lea edx, [ebp - 0x110]
push edx
call dword [0x10004014]
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [0x1000403c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x418bbe
jmp 0x418e0e
cmp dword [ebp - 0x250], 0x10
jne 0x418c29
movsx edx, byte [ebp - 0x224]
cmp edx, 0x2e
je 0x418c29
mov byte [ebp - 0x254], 0x5c
mov byte [ebp - 0x253], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x360]
push ecx
call dword [0x10004060]
lea edx, [ebp - 0x254]
push edx
lea eax, [ebp - 0x360]
push eax
call dword [0x10004014]
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x360]
push edx
call dword [0x10004014]
lea eax, [ebp - 0x360]
push eax
call fcn.00418b70
add esp, 4
push 0x100040a4
lea ecx, [ebp - 0x224]
push ecx
call fcn.00418300
add esp, 8
test eax, eax
je 0x418caf
lea edx, [ebp - 0x224]
push edx
call dword [0x10004004]
movsx eax, byte [ebp + eax - 0x225]
cmp eax, 0x74
jne 0x418caf
mov byte [ebp - 0x46c], 0x5c
mov byte [ebp - 0x46b], 0
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x468]
push edx
call dword [0x10004060]
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x468]
push ecx
call dword [0x10004014]
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x468]
push eax
call dword [0x10004014]
lea ecx, [ebp - 0x468]
push ecx
call dword [0x10004074]
push 0x100040ac
lea edx, [ebp - 0x224]
push edx
call fcn.00418300
add esp, 8
test eax, eax
je 0x418deb
lea eax, [ebp - 0x224]
push eax
call dword [0x10004004]
movsx ecx, byte [ebp + eax - 0x225]
cmp ecx, 0x65
jne 0x418deb
mov byte [ebp - 0x57c], 0x5c
mov byte [ebp - 0x57b], 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x578]
push eax
call dword [0x10004060]
lea ecx, [ebp - 0x57c]
push ecx
lea edx, [ebp - 0x578]
push edx
call dword [0x10004014]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x578]
push ecx
call dword [0x10004014]
push 0
lea edx, [ebp - 0x578]
push edx
call fcn.00418360
add esp, 8
movzx eax, al
test eax, eax
je 0x418deb
push 0x104
lea ecx, [ebp - 0x698]
push ecx
call dword [0x10004010]
mov byte [ebp - 0x58c], 0x5c
mov byte [ebp - 0x58b], 0x5c
mov byte [ebp - 0x58a], 0x73
mov byte [ebp - 0x589], 0x79
mov byte [ebp - 0x588], 0x73
mov byte [ebp - 0x587], 0x74
mov byte [ebp - 0x586], 0x65
mov byte [ebp - 0x585], 0x6d
mov byte [ebp - 0x584], 0x2e
mov byte [ebp - 0x583], 0x65
mov byte [ebp - 0x582], 0x78
mov byte [ebp - 0x581], 0x65
mov byte [ebp - 0x580], 0
lea edx, [ebp - 0x58c]
push edx
lea eax, [ebp - 0x698]
push eax
call dword [0x10004014]
lea ecx, [ebp - 0x698]
push ecx
lea edx, [ebp - 0x578]
push edx
call fcn.00418360
add esp, 8
push 0x64
call dword [0x10004034]
lea eax, [ebp - 0x250]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [0x10004054]
test eax, eax
jne 0x418bbe
mov edx, dword [ebp - 4]
push edx
call dword [0x1000404c]
mov esp, ebp
pop ebp
ret
Function at 0x404a03
Capabilities:
Shutdown system

Disassembly:
call fcn.00428a60
push 2
mov eax, str.SeShutdownPrivilege
push eax
call fcn.00408947
movsx eax, byte [esp + 4]
push eax
push 0
push 1
mov eax, str.Exit
push eax
push 0
call sub.ADVAPI32.dll_InitiateSystemShutdownW
xor eax, eax
ret 4
Function at 0x405439
Capabilities:
Get disk information

Disassembly:
push ebx
push edi
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00428a60
push dword [esp + 0x20]
call fcn.004153f0
mov dword [esp], 0
mov dword [esp + 4], 1
mov edx, 0x42c02e
lea ecx, [esp + 8]
call fcn.00415068
mov edx, 0x42c02e
lea ecx, [esp + 0xc]
call fcn.00415068
call sub.KERNEL32.dll_GetLogicalDrives
mov dword [esp + 0x10], eax
mov dword [esp], 0
jmp 0x40548d
mov eax, 0x19
cmp eax, dword [esp]
jl 0x4054e9
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 4]
mov ecx, dword [esp]
shl edi, cl
and ebx, edi
and ebx, ebx
je 0x4054e4
mov edx, dword [esp + 8]
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428950
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
mov ebx, dword [esp + 0xc]
add ebx, 0x41
push ebx
call fcn.004271c0
pop eax
lea eax, [esp + 0xc]
push eax
call fcn.004288c0
inc dword [esp]
jno 0x40548d
mov eax, 0x42cd66
push eax
call fcn.004271e0
mov dword [esp], eax
jmp 0x4054f9
mov eax, 0x42cdd6
push eax
call fcn.004271e0
cmp eax, dword [esp]
jl 0x4055d9
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
push dword [esp + 0xc]
call fcn.004271c0
call fcn.00428b20
push dword [esp + 0x10]
call fcn.004153d2
add dword [esp + 4], edx
call fcn.00426820
call fcn.004153f0
and eax, eax
je 0x405552
xor eax, eax
jmp 0x405557
mov eax, 1
and eax, eax
je 0x4055d0
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
push dword [esp + 0xc]
call fcn.004271c0
mov edx, 0x42c1d6
push edx
call fcn.00428950
call fcn.004153d2
add dword [esp], edx
call sub.KERNEL32.dll_GetDriveTypeW
call fcn.004153f0
mov ebx, eax
cmp ebx, 1
jne 0x4055d0
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
push dword [esp + 8]
call fcn.004271c0
mov edx, 0x42c1d6
push edx
call fcn.00428950
lea eax, [esp + 0x10]
push eax
call fcn.004288c0
jmp 0x4055d9
inc dword [esp]
jno 0x4054f9
mov edx, dword [esp + 0xc]
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428950
pop eax
push eax
call fcn.004153c0
pop edx
add eax, edx
jmp 0x405601
push dword [esp + 0xc]
call fcn.00428af0
push dword [esp + 8]
call fcn.00428af0
add esp, 0x14
pop edi
pop ebx
ret

Function at 0x409695
Capabilities:
Get common file path

Disassembly:
xor eax, eax
push eax
push eax
call fcn.00428a60
push dword [esp + 0x10]
call fcn.004153f0
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
push 0x104
call fcn.00426250
lea eax, [esp + 8]
push eax
call fcn.004288c0
lea eax, [esp]
push eax
push 0
push 0
push dword [esp + 0x18]
push 0
call sub.SHELL32.dll_SHGetFolderLocation
mov eax, dword [esp + 4]
push eax
push dword [esp + 4]
call sub.SHELL32.dll_SHGetPathFromIDListW
mov edx, dword [esp + 4]
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428950
pop eax
push eax
call fcn.004153c0
pop edx
add eax, edx
jmp 0x40971d
push dword [esp + 4]
call fcn.00428af0
add esp, 8
ret 4
Function at 0x40a393
Capabilities:
Get disk information

Disassembly:
push ebp
push ebx
push edi
mov edx, 0xd
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x40a39b
call fcn.00428a60
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
push 0x104
call fcn.00426250
lea eax, [esp + 0x10]
push eax
call fcn.004288c0
lea eax, [esp + 0x10]
mov edx, 0x42c02e
push edx
push 3
push eax
call fcn.004289f0
lea eax, [esp + 0x18]
mov edx, 0x42c02e
push edx
push 7
push eax
call fcn.004289f0
mov dword [esp + 0x28], 0
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0xc]
push eax
push 0x104
call sub.KERNEL32.dll_GetLogicalDriveStringsW
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], 0
jmp 0x40a425
mov ebx, dword [esp + 0x28]
mov eax, ebx
mov ecx, 4
cdq
idiv ecx
mov ebx, eax
dec ebx
cmp ebx, dword [esp + 0x2c]
jl 0x40a528
push 0
push 0xc
lea eax, [esp + 8]
push eax
call fcn.004279e0
push edx
call fcn.00428880
pop edx
push eax
push edx
call fcn.00428880
pop edx
push eax
mov eax, dword [esp + 0x14]
mov ebx, eax
mov edi, dword [esp + 0x34]
shl edi, 2
add edi, edi
add ebx, edi
push ebx
call fcn.00427990
lea eax, [esp + 0x14]
push 3
push eax
call fcn.004289b0
push edx
call fcn.00428880
pop edx
push eax
mov edx, str.._
push edx
call fcn.00428950
lea edx, [esp + 0x14]
push 3
push edx
call fcn.00428b50
lea eax, [esp + 0x1c]
push 7
push eax
call fcn.004289b0
push edx
call fcn.00428880
pop edx
push eax
lea eax, [esp + 4]
push eax
lea edx, [esp + 0x20]
push edx
call fcn.00428880
pop edx
push eax
push 7
push edx
call fcn.00428b50
call fcn.004153d2
add dword [esp], edx
call fcn.0040a760
call fcn.004153f0
and eax, eax
je 0x40a51e
lea ebp, [esp]
mov ebx, dword [ebp + 4]
cmp ebx, dword [esp + 0x44]
jne 0x40a511
mov ebx, dword [ebp + 8]
cmp ebx, dword [esp + 0x48]
jne 0x40a511
mov eax, 1
jmp 0x40a513
xor eax, eax
and eax, eax
je 0x40a51e
mov byte [esp + 0x30], 1
jmp 0x40a528
inc dword [esp + 0x2c]
jno 0x40a425
movsx eax, byte [esp + 0x30]
movsx eax, al
jmp 0x40a534
push dword [esp + 0xc]
call fcn.00428af0
add esp, 0x34
pop edi
pop ebx
pop ebp
ret 8

Function at 0x40a760
Capabilities:
Get disk information via ioctl

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.00428a60
mov edx, dword [esp + 0x18]
lea ecx, [esp]
call fcn.00415060
mov byte [esp + 0xc], 0
push 0
push 3
push 0
push dword [esp + 0xc]
call fcn.00403a0a
mov dword [esp + 8], eax
mov ebx, dword [esp + 8]
cmp ebx, 0xffffffff
je 0x40a7da
push 0
lea eax, [esp + 8]
push eax
push 0xc
push dword [esp + 0x28]
push 0
push 0
push 0x2d1080
push dword [esp + 0x24]
call sub.KERNEL32.dll_DeviceIoControl
mov byte [esp + 0xc], al
push dword [esp + 8]
call sub.KERNEL32.dll_CloseHandle
movsx eax, byte [esp + 0xc]
movsx eax, al
jmp 0x40a7e6
push dword [esp]
call fcn.00428af0
add esp, 0x10
pop ebx
ret 8