joyce8/EMBER2024-capa huggingface dataset:
Function at 0xce2260
Capabilities:
Hash data using djb2

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0xce229a
mov edx, dword [esp + 0x10]
mov edi, 0x1505
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edx + esi]
test ebx, ebx
je 0xce22a1
mov eax, edi
shl eax, 5
add eax, edi
add eax, ebx
inc esi
mov edi, eax
cmp ecx, esi
jne 0xce2280
jmp 0xce22a3
mov eax, 0x1505
jmp 0xce22a3
mov eax, edi
pop esi
pop edi
pop ebx
ret

Function at 0xce8cb0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push edi
push esi
mov eax, dword [ecx]
cmp eax, 0x270
jne 0xce8d15
mov esi, dword [ecx + 4]
mov eax, 0xfffff640
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax + 0x9c8]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax + 0xff8]
shr edx, 1
xor edi, edx
mov dword [ecx + eax + 0x1384], edi
add eax, 4
jne 0xce8cd0
mov eax, 0x270
jmp 0xce8def
cmp eax, 0x4e0
jb 0xce8def
mov esi, dword [ecx + 0x9c4]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 + 0x9c8]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 + 0xff8]
xor edi, edx
mov dword [ecx + eax*4 + 4], edi
inc eax
cmp eax, 0xe3
jne 0xce8d30
mov esi, dword [ecx + 0xd50]
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 + 0xd54]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4 + 4]
xor edi, edx
mov dword [ecx + eax*4 + 0x390], edi
inc eax
cmp eax, 0x18c
jne 0xce8d80
mov esi, 0x80000000
and esi, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov edx, eax
and edx, 0x7ffffffe
or edx, esi
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, dword [ecx + 0x634]
shr edx, 1
xor eax, edx
mov dword [ecx + 0x9c0], eax
xor eax, eax
lea edx, [eax + 1]
mov dword [ecx], edx
mov eax, dword [ecx + eax*4 + 4]
mov edx, eax
shr edx, 0xb
and edx, dword [ecx + 0x1384]
xor edx, eax
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
xor eax, edx
mov ecx, eax
shl ecx, 0xf
mov edx, ecx
xor edx, 0x1039ffff
or ecx, 0xefc60000
and ecx, edx
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
pop edi
ret
Function at 0xce9e70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
push eax
sub esp, 0x18c
mov esi, esp
push eax
mov dword [ebp - 0x18], esp
sub esp, 0x18
mov dword [ebp - 0x14], esp
sub esp, 0x80
mov dword [ebp - 0x10], esp
sub esp, 0x100
mov ebx, esp
mov dword [ebp - 0x20], ebx
push eax
mov edi, esp
push eax
mov dword [ebp - 0x38], esp
sub esp, 0x6c
mov dword [ebp - 0x34], esp
sub esp, 0x24
mov dword [ebp - 0x24], esp
sub esp, 8
mov dword [ebp - 0x2c], esp
sub esp, 0x40
mov dword [ebp - 0x28], esp
sub esp, 0x80
mov dword [ebp - 0x30], esp
mov eax, dword [0xd248b4]
mov dword [ebp - 0x4e], 0x5ba959af
mov dword [ebp - 0x4a], 0x5f815d6e
mov dword [ebp - 0x46], 0x63506153
mov dword [ebp - 0x42], 0x6782654a
mov dword [ebp - 0x3e], 0x6b866984
mov word [ebp - 0x3a], 0x6d6c
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, ecx
add dl, 0x98
xor dl, byte [ebp + ecx - 0x4e]
add dl, 0x40
mov byte [ebp + ecx - 0x4e], dl
inc ecx
cmp ecx, 0x16
jne 0xce9f00
lea ecx, [ebp - 0x4e]
push 0x800
push 0
push ecx
call eax
mov ecx, 0xd248b8
push eax
call 0xd17500
movzx eax, al
mov eax, dword [eax*4 + 0xd1e6d8]
mov ecx, 0xe39cb76e
xor ecx, dword [0xd1e6e0]
add ecx, eax
inc ecx
xor eax, eax
jmp ecx
Function at 0xcf90f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x190
mov dword [esp + 0x10], 0x157e133d
mov dword [esp + 0x14], 0x19771785
mov dword [esp + 0x18], 0x1d1c1b74
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
movzx esi, byte [esp + ecx + 0x10]
mov edi, eax
and edi, 4
mov edx, ecx
xor edx, 0x380dc102
add edx, edi
lea ebx, [esi + esi]
not ebx
add ebx, esi
mov edi, esi
not edi
or edi, ebx
mov ebx, edx
not ebx
or ebx, esi
and edi, edx
sub edx, esi
add edx, ebx
not edx
or edx, edi
add dl, 0xf0
mov byte [esp + ecx + 0x10], dl
inc ecx
add eax, 2
cmp ecx, 0xc
jne 0xcf9120
mov dword [esp + 0x34], 0xb447b249
mov dword [esp + 0x38], 0x4847b641
mov dword [esp + 0x3c], 0x4c744a83
mov dword [esp + 0x40], 0x40b34e72
mov dword [esp + 0x44], 0x44a042be
mov dword [esp + 0x48], 0x58bb46a4
mov dword [esp + 0x4c], 0x5ca45aa1
mov dword [esp + 0x50], 0x50ab5eae
mov dword [esp + 0x54], 0x5453529b
mov eax, 0x79
mov ecx, 0x86
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + eax - 0x45]
mov edx, ecx
xor edx, eax
and edx, esi
xor edx, eax
add dl, 0x38
mov byte [esp + eax - 0x45], dl
inc eax
dec ecx
cmp eax, 0x9d
jne 0xcf91c0
movzx ecx, word [esp + 0x34]
lea eax, [esp + 0x14c]
test cx, cx
je 0xcf9213
lea edx, [esp + 0x36]
mov esi, dword [ebp + 0x10]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0xcf9200
jmp 0xcf9216
mov esi, dword [ebp + 0x10]
mov word [eax], 0
movzx ecx, word [esi]
test cx, cx
mov edx, esi
mov esi, dword [ebp + 0xc]
je 0xcf9241
add edx, 2
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0xcf9230
mov word [eax], 0
movzx ecx, word [esp + 0x10]
test cx, cx
je 0xcf9271
lea edx, [esp + 0x12]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0xcf9260
mov word [eax], 0
mov edi, dword [esi]
mov dword [esp + 0x34], 0x64696bd7
mov byte [esp + 0x38], 0xc1
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, eax
and edx, 3
xor edx, 0x1b
mov ecx, eax
and ecx, 4
sub ecx, edx
xor cl, byte [esp + eax + 0x34]
add cl, 0xd8
mov byte [esp + eax + 0x34], cl
mov ecx, eax
xor ecx, 1
and eax, 1
lea eax, [ecx + eax*2]
cmp eax, 5
jb 0xcf9290
movzx eax, byte [esp + 0x34]
test al, al
je 0xcf92db
lea ecx, [esp + 0x35]
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0xcf92d0
mov esi, edi
mov byte [edi], 0
lea eax, [esp + 0x13c]
lea ecx, [esp + 0x140]
lea edx, [esp + 0x20]
lea edi, [esp + 0x14c]
push eax
push ecx
push edx
push edi
call fcn.00ceb0b0
add esp, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0xd1fbcc]
mov ecx, 0x3073106a
xor ecx, dword [0xd1fbd4]
add eax, ecx
inc eax
jmp eax
Function at 0x10011cff
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10011d1a
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
jmp 0x10011e42
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, 0x7530
test eax, eax
je 0x10011db2
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x2c9
je 0x10011d7f
mov dword [ebp - 0x10], 1
jmp 0x10011d83
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x10]
jne 0x10011d96
mov dword [ebp - 0x14], 1
jmp 0x10011d9a
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
sub edx, dword [ecx]
cmp dword [eax], edx
jg 0x10011db2
mov dword [ebp - 0x18], 1
jmp 0x10011db6
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jle 0x10011dc9
mov dword [ebp - 8], 1
jmp 0x10011dcd
and dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
cmp dword [ebp - 8], 0
jne 0x10011de9
mov eax, dword [ebp - 0x20]
cmp dword [eax], 0
jne 0x10011de9
and dword [ebp - 0x1c], 0
jmp 0x10011df0
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x1c]
je 0x10011e03
mov dword [ebp - 0x24], 1
jmp 0x10011e07
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
add eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x50]
cmp eax, dword [ecx]
jge 0x10011e1f
mov dword [ebp - 0x28], 1
jmp 0x10011e23
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jle 0x10011e36
mov dword [ebp - 0x30], 1
jmp 0x10011e3a
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1001577d
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100157a6
push 0x79d
push 0xbb5
push 0
push 0x105
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x100157e8
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [eax], 1
jmp 0x100157d4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 0x13
je 0x100157e8
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x100157e6
jmp 0x100157e8
jmp 0x100157c9
mov esp, ebp
pop ebp
ret

Function at 0x10015900
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10015923
push 0xe6a
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x1001592b
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop ebp
ret
Function at 0x1001d6f6
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001d746
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1001d726
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 1
jg 0x1001d744
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001d742
push 0
call dword [sym.imp.KERNEL32.dll_RtlCaptureContext]
jmp 0x1001d71b
jmp 0x1001d74e
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esp, ebp
pop ebp
ret
Function at 0x1002de2a
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002df90
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
sub eax, dword [ecx]
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x1002deb4
mov eax, 0x2129
test eax, eax
je 0x1002deb4
mov dword [ebp - 0x4c], 1
jmp 0x1002deb8
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
ja 0x1002ded1
mov dword [ebp - 0x10], 1
jmp 0x1002ded5
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x10], eax
jge 0x1002dee8
mov dword [ebp - 0x14], 1
jmp 0x1002deec
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
sub eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx]
inc ecx
cmp ecx, dword [eax]
jge 0x1002df0f
mov dword [ebp - 0x18], 1
jmp 0x1002df13
and dword [ebp - 0x18], 0
imul eax, dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x50]
sub eax, dword [ecx]
mov ecx, dword [ebp - 8]
cmp eax, dword [ecx]
jle 0x1002df2c
mov dword [ebp - 0x20], 1
jmp 0x1002df30
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
imul eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
cmp eax, dword [ecx]
je 0x1002df51
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x1002df51
mov dword [ebp - 0x28], 1
jmp 0x1002df55
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jl 0x1002df68
mov dword [ebp - 0x54], 1
jmp 0x1002df6c
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x1002df98
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esp, ebp
pop ebp
ret
Function at 0x1002dfe5
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1002e009
push 0xcb6
push 0xb40
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetClassLongA]
jmp 0x1002e022
push 0x79d
push 0xbb5
push 0
push 0x105
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
pop ebp
ret

Function at 0x100312d7
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1003140b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
push 0x14
push 0
push 0x11038
push 0xf450
call fcn.10026c46
pop ecx
pop ecx
call eax
push eax
push 0x11038
push 0x11732
call fcn.10026c46
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax + 4], ecx
lea eax, [ebp - 4]
push eax
push 0x24e0
push 1
call fcn.100311aa
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and dword [eax + 8], 0
push 1
lea eax, [ebp - 4]
push eax
push 0x3e8a
call fcn.100311f9
add esp, 0xc
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x50]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x11038
push 0x10244
call fcn.10026c46
pop ecx
pop ecx
call eax
push 4
push 0x1000
mov eax, dword [ebp - 0xc]
push dword [eax + 0x54]
mov eax, dword [ebp - 8]
push dword [eax]
push 0x11038
push 0x10244
call fcn.10026c46
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 0xc]
add eax, dword [ecx + 0x54]
push eax
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
push dword [eax]
call fcn.10026cb0
add esp, 0xc
push 0x4456
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 1
call fcn.1003124c
add esp, 0x14
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [eax + 0x34], ecx
jmp 0x1003141b
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov esp, ebp
pop ebp
ret
Function at 0x100317a7
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100317cb
xor eax, eax
jmp 0x10031918
push 0x37d3
lea eax, [ebp - 0x10]
push eax
push 0x1ebd
push 0x4d44
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push 0x1b87
call fcn.1003141f
add esp, 0x20
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x10031807
xor eax, eax
jmp 0x10031918
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10031614
add esp, 0xc
cmp dword [ebp - 0xc], 0
jne 0x10031826
xor eax, eax
jmp 0x10031918
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
push 1
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.100312d7
add esp, 0x18
push dword [ebp - 4]
push dword [ebp + 8]
push 0
push dword [ebp - 8]
call fcn.100290f8
add esp, 0x10
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0xc]
push eax
push 0x5800
call fcn.10031673
add esp, 0x14
cmp dword [ebp - 0x14], 0
je 0x10031888
push 1
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.100316d2
add esp, 0xc
push dword [ebp - 4]
call fcn.1002ff98
pop ecx
test eax, eax
jne 0x10031899
xor eax, eax
jmp 0x10031918
push 0
push 0x2912
push 0x1186
push dword [ebp - 4]
call fcn.10030098
add esp, 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10031900
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x100318cf
xor eax, eax
jmp 0x10031918
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100318e8
xor eax, eax
jmp 0x10031918
push 0x75f6
push 0x52a4
push 1
lea eax, [ebp - 4]
push eax
call fcn.10031750
add esp, 0x10
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10031911
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10031915
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x1004358f
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100435af
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
jmp 0x100435e6
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
and dword [ecx + eax], 0
mov esp, ebp
pop ebp
ret

Function at 0x100435ea
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10043628
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x10043626
push 0x79d
push 0xbb5
push 0
push 0x105
push 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x1004363e
push 0
push 0
push 0x12c9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov esp, ebp
pop ebp
ret
Function at 0x10052cf0
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 5]
and ecx, 0xf
movzx edx, byte [0x10ca6d18]
or ecx, edx
mov byte [ebp - 1], cl
movzx ax, byte [ebp - 1]
movzx ecx, ax
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 4]
push ecx
push 0x10ca6ee8
call fcn.100510d0
add esp, 8
mov esp, ebp
pop ebp
ret 4

Function at 0x10053370
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1006f330]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20], ax
xor ecx, ecx
mov word [ebp - 0x1e], cx
cmp dword [ebp + 8], 0xffffffff
jne 0x10053394
jmp 0x10053403
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x100533a8
jmp 0x10053403
movsx ecx, word [ebp - 0x1c]
movsx edx, word [ebp - 0x1a]
imul ecx, edx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
test eax, eax
jne 0x100533d4
jmp 0x10053403
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
test eax, eax
jne 0x100533f5
jmp 0x10053403
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10057f0b
mov esp, ebp
pop ebp
ret