joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
cmp byte [esi + 4], 0
je 0x100022b5
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x100022b5
xor edx, edx
div dword [esi + 0x3cc]
test edx, edx
jne 0x100022b5
mov ecx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], edx
mov dword [ebp + 8], ecx
test eax, eax
je 0x100022b4
push ebx
lea ebx, [esi + 0x3f4]
mov edx, dword [ebp + 8]
push edx
mov ecx, edi
call fcn.10001a90
cmp byte [esi + 4], 0
mov eax, dword [ebp + 8]
je 0x10002281
xor ecx, ecx
cmp dword [esi + 0x3cc], ecx
jle 0x10002281
mov dl, byte [ebx + ecx]
xor byte [eax], dl
inc ecx
inc eax
cmp ecx, dword [esi + 0x3cc]
jl 0x10002272
mov eax, dword [esi + 0x3cc]
push eax
push edi
push ebx
call fcn.10034aea
mov eax, dword [esi + 0x3cc]
add dword [ebp + 8], eax
add edi, eax
mov eax, dword [ebp + 0x10]
xor edx, edx
div dword [esi + 0x3cc]
mov ecx, dword [ebp - 4]
inc ecx
add esp, 0xc
mov dword [ebp - 4], ecx
cmp ecx, eax
jb 0x10002254
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10002920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003651b
mov eax, dword fs:[0]
push eax
sub esp, 0x484
mov eax, dword [0x1004b034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x490], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x488], eax
mov eax, dword [eax + 0x10]
mov esi, eax
shr esi, 4
lea ebx, [esi + 1]
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x48c], eax
shl ebx, 4
lea eax, [ebx + 1]
push eax
call fcn.1003433c
mov edi, eax
lea eax, [ebx + 1]
push eax
push 0
push edi
call fcn.10034af0
mov eax, dword [ebp - 0x488]
add esp, 0x10
cmp dword [eax + 0x14], 0x10
jb 0x100029a6
mov eax, dword [eax]
mov edx, edi
sub edx, eax
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x100029b0
mov ecx, dword [ebp - 0x48c]
and ecx, 0xf
mov eax, 0x10
sub eax, ecx
test eax, eax
jle 0x100029e0
shl esi, 4
push eax
add esi, ecx
push eax
add esi, edi
push esi
call fcn.10034af0
add esp, 0xc
xor ecx, ecx
mov byte [ebx + edi], 0
mov word [ebp - 0x488], 0x3416
mov byte [ebp - 0x486], 0x96
test ebx, ebx
jle 0x10002a24
lea ebx, [ebx]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov eax, ecx
sub eax, edx
mov dl, byte [ebp + eax - 0x488]
xor byte [ecx + edi], dl
inc ecx
cmp ecx, ebx
jl 0x10002a00
lea esi, [ebx + 1]
push esi
call fcn.1003433c
push esi
xor esi, esi
push esi
push eax
mov dword [ebp - 0x48c], eax
call fcn.10034af0
add esp, 0x10
mov dword [ebp - method.AES.virtual_0], vtable.AES.0
mov byte [ebp - 0x480], 0
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xb4], esi
mov dword [ebp - 4], esi
push str.__is2ssy_uperecure2J__.123__
lea esi, [ebp - 0x484]
call fcn.10001d40
mov esi, dword [ebp - 0x48c]
push ebx
push esi
push edi
lea eax, [ebp - 0x484]
call fcn.10002150
push ebx
mov ebx, dword [ebp - 0x490]
push esi
push ebx
call fcn.10008b00
push edi
mov edi, dword [0x1003b3b8]
call edi
push esi
call edi
add esp, 0x14
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10034620
mov esp, ebp
pop ebp
ret
Function at 0x10009110
Capabilities:
Hash data using crc32b

Disassembly:
push ebx
xor edx, edx
push edi
xor eax, eax
test dl, 1
je 0x10009120
mov eax, pe_nt_image_headers32
mov ecx, edx
shr ecx, 1
test cl, 1
je 0x1000912c
or eax, 0x40
shr ecx, 1
test cl, 1
je 0x10009136
or eax, 0x20
shr ecx, 1
test cl, 1
je 0x10009140
or eax, 0x10
shr ecx, 1
test cl, 1
je 0x1000914a
or eax, 8
shr ecx, 1
test cl, 1
je 0x10009154
or eax, 4
shr ecx, 1
test cl, 1
je 0x1000915e
or eax, 2
test cl, 2
je 0x10009166
or eax, 1
shl eax, 0x18
mov ecx, eax
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
xor edi, edi
mov dword [esi + edx*4], ecx
mov eax, ecx
lea ecx, [edi + 0x1f]
jmp 0x10009220
test al, 1
je 0x1000922d
mov ebx, 1
shl ebx, cl
or edi, ebx
dec ecx
shr eax, 1
cmp ecx, 0xffffffff
jg 0x10009220
mov dword [esi + edx*4], edi
inc edx
cmp edx, 0xff
jle 0x10009114
pop edi
pop ebx
ret

Function at 0x10009250
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x10040aac
push eax
lea ecx, [ebp - 4]
push ecx
mov dword [esi], 0xffffffff
mov dword [ebp - 4], 0
call dword [0x1003b350]
add esp, 0xc
test eax, eax
je 0x10009282
xor al, al
mov esp, ebp
pop ebp
ret 4
push edi
push 0x400
call dword [0x1003b34c]
mov edi, eax
add esp, 4
mov dword [ebp - 8], edi
test edi, edi
jne 0x100092b0
mov edx, dword [ebp - 4]
push edx
call dword [0x1003b368]
add esp, 4
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
push eax
push 0x400
push 1
push edi
call dword [0x1003b354]
add esp, 0x10
test eax, eax
je 0x10009313
push ebx
lea ebx, [ebx]
mov ecx, eax
mov edx, edi
test eax, eax
je 0x100092f9
mov eax, dword [esi]
movzx ebx, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, ebx
mov ebx, dword [ebp + 8]
shr eax, 8
xor eax, dword [ebx + edi*4]
inc edx
dec ecx
mov dword [esi], eax
jne 0x100092d8
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push ecx
push 0x400
push 1
push edi
call dword [0x1003b354]
add esp, 0x10
test eax, eax
jne 0x100092d0
pop ebx
push edi
call dword [0x1003b348]
mov edx, dword [ebp - 4]
push edx
call dword [0x1003b368]
mov eax, dword [esi]
not eax
add esp, 8
mov dword [esi], eax
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x1000a170
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
call fcn.100099b0
test al, al
jne 0x1000a17e
pop esi
ret
push edi
mov edi, dword [esi + 8]
cmp edi, 8
jae 0x1000a18c
pop edi
xor al, al
pop esi
ret
mov edx, dword [esi + 4]
mov eax, 0x1003c8c8
mov ecx, 8
sub edx, eax
push ebx
lea esp, [esp]
mov ebx, dword [edx + eax]
cmp ebx, dword [eax]
jne 0x1000a212
sub ecx, 4
add eax, 4
cmp ecx, 4
jae 0x1000a1a0
add edi, 0xfffffff8
xor ecx, ecx
test edi, edi
jle 0x1000a208
jmp 0x1000a1c0
mov eax, dword [esi + 4]
lea edi, [eax + ecx + 8]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
lea edx, [edx + edx*2]
mov eax, ecx
sub eax, edx
movsx edx, byte [eax + 0x10040b44]
and edx, 0xf
mov al, byte [edx + 0x1003c8d0]
sub byte [edi], al
mov edx, dword [esi + 4]
lea eax, [edx + ecx + 8]
mov edx, ecx
and edx, 0xf
mov dl, byte [edx + 0x1003c8d0]
xor byte [eax], dl
mov eax, dword [esi + 8]
inc ecx
sub eax, 8
cmp ecx, eax
jl 0x1000a1c0
push esi
call fcn.1000a220
pop ebx
pop edi
pop esi
ret
pop ebx
pop edi
xor al, al
pop esi
ret
Function at 0x1000ae30
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100443b8
push 0x10034af6
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x1004b034]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14c], eax
push ecx
push str..PhysicalDrive_d
lea edx, [ebp - 0x12c]
push edx
call dword [0x1003b4dc]
add esp, 0xc
xor esi, esi
push esi
push esi
push 3
push esi
push 3
push esi
lea eax, [ebp - 0x12c]
push eax
call dword [0x1003b170]
mov edi, eax
mov dword [ebp - 0x148], edi
cmp edi, 0xffffffff
je 0x1000afe2
xor eax, eax
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], esi
push esi
lea ecx, [ebp - 0x150]
push ecx
push 8
lea edx, [ebp - 0x140]
push edx
push 0xc
lea eax, [ebp - 0x138]
push eax
push 0x2d1400
push edi
mov ebx, dword [0x1003b118]
call ebx
test eax, eax
jne 0x1000af14
push edi
call dword [0x1003b168]
jmp 0x1000afe2
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.1003433c
mov esi, eax
mov dword [ebp - 0x144], esi
mov edx, dword [ebp - 0x13c]
push edx
push 0
push esi
call fcn.10034af0
add esp, 0x10
push 0
lea eax, [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
push esi
push 0xc
lea edx, [ebp - 0x138]
push edx
push 0x2d1400
push edi
call ebx
test eax, eax
jne 0x1000af73
push edi
call dword [0x1003b168]
push esi
call dword [0x1003b3b8]
add esp, 4
jmp 0x1000afe2
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1000af60
mov dword [ebp - 4], 0
add eax, esi
push eax
push 0x100
mov eax, dword [ebp - 0x14c]
push eax
call dword [0x1003b338]
add esp, 0xc
push edi
call dword [0x1003b168]
push esi
call dword [0x1003b3b8]
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1000afe4
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.10034620
mov esp, ebp
pop ebp
ret
Function at 0x10014e90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x1004b034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea esi, [ebp - 0x408]
call fcn.10009110
lea eax, [ebp - 0x408]
push eax
lea esi, [ebx + 0x51b0]
mov eax, str..Xor_PlusSettings_tga.ozn
call fcn.10009250
test al, al
je 0x10014f03
push 0
push 0x20
push 3
push 0
push 1
push connect
push str..Xor_PlusSettings_tga.ozn
call dword [0x1003b170]
mov edi, eax
cmp edi, 0xffffffff
je 0x10014f03
push 0
push edi
call dword [0x1003b134]
cmp eax, 0x5104
je 0x10014f15
push edi
call dword [0x1003b168]
xor al, al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10034620
mov esp, ebp
pop ebp
ret
push 0
lea ecx, [ebp - 0x40c]
push ecx
push 0x5104
lea esi, [ebx + 4]
push esi
push edi
mov dword [ebp - 0x40c], 0
call dword [0x1003b164]
test eax, eax
je 0x10014efc
mov eax, esi
mov ecx, 0x5104
mov dl, byte [eax]
sub dl, 0xb
xor dl, 0x7d
mov byte [eax], dl
inc eax
dec ecx
jne 0x10014f43
call fcn.1000db00
lea eax, [ebx + 0x70]
call fcn.1000db80
lea eax, [ebx + 0x1a38]
call fcn.1000dbe0
lea eax, [ebx + 0x3400]
call fcn.1000dc40
push edi
call dword [0x1003b168]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10034620
mov esp, ebp
pop ebp
ret
Function at 0x10027f00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0x100
push 0
push 0x10160cb0
call fcn.10034af0
mov ecx, dword [ebp + 8]
add esp, 0xc
xor eax, eax
sub ecx, 0x10160cb0
mov dl, byte [ecx + eax + 0x10160cb0]
sub dl, 0x1b
xor dl, 0xc
mov byte [eax + 0x10160cb0], dl
inc eax
cmp eax, 0x100
jl 0x10027f22
mov eax, 0x10160cb0
pop ebp
ret
Function at 0x10027f80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push edi
mov edi, dword [ebp + 8]
xor eax, eax
cmp edi, eax
je 0x10028175
cmp dword [ebp + 0xc], eax
je 0x10028175
push ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
push esi
lea eax, [ebp - 0x54]
push eax
call dword [0x1003b0c4]
mov esi, dword [ebp - 0x4c]
push 0x1c
lea ecx, [ebp - 0x30]
push ecx
push esi
push edi
call dword [0x1003b0c8]
cmp eax, 0x1c
jne 0x10028156
cmp esi, dword [ebp - 0x48]
ja 0x10028156
mov eax, dword [ebp - 0x1c]
test al, 0xee
je 0x10028133
test eax, 0x101
jne 0x10028133
mov edi, dword [ebp - 0x24]
push edi
call dword [0x1003b34c]
add esp, 4
lea edx, [ebp - 4]
push edx
mov ebx, eax
mov eax, dword [ebp + 8]
push edi
push ebx
push esi
push eax
mov dword [ebp - 0x14], ebx
call dword [0x1003b0b8]
cmp eax, 1
jne 0x10028126
mov ecx, dword [ebp - 0x24]
cmp dword [ebp - 4], ecx
jne 0x10028126
xor eax, eax
test ecx, ecx
je 0x1002805f
xor byte [eax + ebx], 0x12
mov ecx, dword [ebp - 0x24]
inc eax
cmp eax, ecx
jb 0x10028053
xor eax, eax
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x10028126
lea esp, [esp]
xor edi, edi
cmp dword [ebp + 0x10], edi
jbe 0x1002811a
mov edx, dword [ebp + 0xc]
add eax, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx + edi*4]
mov esi, dword [ebp - 0x10]
cmp ecx, 4
jb 0x100280a8
mov eax, dword [esi]
cmp eax, dword [edx]
jne 0x100280b0
sub ecx, 4
add edx, 4
add esi, 4
cmp ecx, 4
jae 0x10028094
test ecx, ecx
je 0x10028166
movzx eax, byte [esi]
movzx ebx, byte [edx]
sub eax, ebx
jne 0x100280f3
cmp ecx, 1
jbe 0x10028166
movzx eax, byte [esi + 1]
movzx ebx, byte [edx + 1]
sub eax, ebx
jne 0x100280f3
cmp ecx, 2
jbe 0x10028166
movzx eax, byte [esi + 2]
movzx ebx, byte [edx + 2]
sub eax, ebx
jne 0x100280f3
cmp ecx, 3
jbe 0x10028166
movzx eax, byte [esi + 3]
movzx ecx, byte [edx + 3]
sub eax, ecx
sar eax, 0x1f
or eax, 1
je 0x10028166
mov edx, dword [ebp - 8]
inc edi
add edx, 0xc8
mov dword [ebp - 8], edx
cmp edi, dword [ebp + 0x10]
jb 0x10028086
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, ecx
jb 0x10028070
push ebx
call dword [0x1003b348]
mov edi, dword [ebp + 8]
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x10028156
mov esi, dword [ebp - 0x30]
add esi, eax
push 0x1c
lea eax, [ebp - 0x30]
push eax
push esi
push edi
call dword [0x1003b0c8]
cmp eax, 0x1c
je 0x10027ff6
push edi
call dword [0x1003b168]
pop esi
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
pop esi
pop ebx
mov dword [0x101609b4], edi
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x10011c0b
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10011c3c
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
push 1
push dword [ebp - 8]
push 0xfe9
push dword [ebp - 0xc]
call fcn.10011cb3
add esp, 0x10
jmp 0x10011caf
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10011c64
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
jmp 0x10011caf
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10011c92
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], 1
jge 0x10011caf
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x24]
call fcn.1000e49e
mov dword [eax], 0xfffffff8
jmp 0x10011c87
mov esp, ebp
pop ebp
ret
Function at 0x1001dd0f
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1001dd64
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1001dd55
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x1001dd53
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x1001dd62
push 0
push 0x1ca4
call dword [sym.imp.USER32.dll_GetWindowPlacement]
jmp 0x1001dd8a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x14]
push 0x77b4
push 0x6248
push dword [ebp - 0x18]
push 0
call fcn.1001eb2f
add esp, 0x14
mov esp, ebp
pop ebp
ret

Function at 0x1001debe
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
movzx eax, byte [ebp + 8]
test eax, eax
je 0x1001df32
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x1001def8
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x1001df30
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push dword [eax]
mov ecx, dword [ebp - 0x24]
call fcn.1000e49e
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ecx], eax
jmp 0x1001df58
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], eax
push 0x7eb6
push 0x2f45
push 0
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.10011087
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x100210b8
Capabilities:
Accept command line arguments
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x10021126
lea eax, [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10021104
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
test eax, eax
je 0x10021102
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
jmp 0x10021124
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x10021124
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x1002113a
push 1
push 0x294f
push 0x65d2
call fcn.100111d7
add esp, 0xc
mov esp, ebp
pop ebp
ret
Function at 0x10022e0a
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10022e3b
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 1
push dword [ebp - 8]
push 0x5b8
call fcn.10022e66
add esp, 0x10
jmp 0x10022e62
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10022e5a
push 0
push 0x163f
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x10022e62
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov esp, ebp
pop ebp
ret

Function at 0x10023262
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100232b3
lea eax, [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x10023293
push 0xd9d
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x100232b1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
jmp 0x100232cf
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0
push dword [ebp - 0xc]
call fcn.1001dc86
add esp, 0xc
mov esp, ebp
pop ebp
ret

Function at 0x100232eb
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1002337e
lea eax, [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10023366
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10023347
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], 2
jge 0x10023364
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.1000e49e
mov dword [eax], 0xd064616e
jmp 0x1002333c
jmp 0x1002337c
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1002337c
push 0
push 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x10023386
push 0
call fcn.1001dc63
pop ecx
mov esp, ebp
pop ebp
ret