joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a1a0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5f8518
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6d15dc]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x6d15dc]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x4c]
push 0x400
xor edi, edi
push edi
push eax
call fcn.0057d280
push edi
call fcn.00578e9a
mov ecx, dword [esi + 0x4c]
mov dword [ecx], 0x1f700
mov dword [esp + 0x24], edx
mov edx, dword [esi + 0x4c]
mov dword [edx + 4], 0x3ec08
mov ebx, eax
mov eax, dword [esi + 0x4c]
mov dword [eax + 8], 0x3233
mov ecx, dword [esi + 0x4c]
mov dword [ecx + 0xc], 0x3dc31
mov edx, dword [esi + 0x4c]
mov dword [edx + 0x10], 0x1f6f5
mov eax, dword [esi + 0x4c]
mov dword [eax + 0x14], edi
mov edx, dword [esi + 0x4c]
mov ecx, 2
mov dword [edx + 0x18], ecx
mov eax, dword [esi + 0x4c]
mov dword [eax + 0x1c], ecx
mov edx, dword [esi + 0x4c]
mov eax, 0x8000
mov dword [edx + 0x20], eax
mov edx, dword [esi + 0x4c]
mov dword [edx + 0x24], eax
mov eax, dword [esi + 0x4c]
mov dword [eax + 0x28], 0x3ee0
mov edx, dword [esi + 0x4c]
mov dword [edx + 0x2c], edi
mov eax, dword [esi + 0x4c]
mov dword [eax + 0x30], ebx
mov edx, dword [esi + 0x4c]
mov word [edx + 0x34], di
mov eax, dword [esi + 0x4c]
mov word [eax + 0x36], 0x19
mov edx, dword [esi + 0x4c]
mov word [edx + 0x38], 0xef53
mov edx, dword [esi + 0x4c]
mov eax, 1
mov word [edx + 0x3a], ax
mov edx, dword [esi + 0x4c]
mov word [edx + 0x3c], ax
mov edx, dword [esi + 0x4c]
mov word [edx + 0x3e], di
mov edx, dword [esi + 0x4c]
mov dword [edx + 0x40], ebx
mov edx, dword [esi + 0x4c]
mov dword [edx + 0x44], 0xed4e00
mov edx, dword [esi + 0x4c]
mov dword [edx + 0x48], edi
mov edx, dword [esi + 0x4c]
mov dword [edx + 0x4c], eax
mov edx, dword [esi + 0x4c]
mov word [edx + 0x50], di
mov edx, dword [esi + 0x4c]
mov word [edx + 0x52], di
mov edx, dword [esi + 0x4c]
mov dword [edx + 0x54], 0xb
mov edx, dword [esi + 0x4c]
mov word [edx + 0x58], 0x80
mov edx, dword [esi + 0x4c]
mov word [edx + 0x5a], di
mov edx, dword [esi + 0x4c]
mov dword [edx + 0x5c], edi
mov edx, dword [esi + 0x4c]
mov dword [edx + 0x60], ecx
mov ecx, dword [esi + 0x4c]
lea edx, [esp + 0x28]
push edx
mov dword [ecx + 0x64], eax
call fcn.0045ca30
add esp, 0x14
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], edi
call fcn.0045c870
mov ecx, dword [esi + 0x4c]
mov edx, dword [eax]
mov dword [ecx + 0x68], edx
mov edx, dword [eax + 4]
add ecx, 0x68
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x4c]
mov dword [ecx + 0x108], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call fcn.0045c630
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0057937b
add esp, 0x28
ret 4
Function at 0x44a9c7
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
mov bh, 0x41
adc al, 0xf
mov bh, 0x71
push es
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x44aa02
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x44a9e9
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x44a9fa
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x44aa04
inc edi
add eax, 0x28
cmp edi, esi
jb 0x44a9df
xor eax, eax
pop edi
pop esi
ret

Function at 0x44abc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push es
cmp ax, bx
jbe 0x44abe1
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x44abdb
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x44abcc
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0044a987
out dx, al
fsubr dword [edx + edx*8]
lea eax, [ebp - 0x58]
push eax
call fcn.0044a997
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0044a94c
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x44ac75
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0044a987
sal dword [ecx], cl
repne outsd dx, dword [esi]
lea eax, [ebp - 0x40]
push eax
call fcn.0044a997
push eax
push esi
push dword [ebp + 8]
call fcn.0044a94c
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.0044a987
or byte [edi + 0x458d05ba], 0xe8
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.0044a997
push eax
push esi
push dword [ebp + 8]
call fcn.0044a94c
mov dword [ebp - 8], eax
clc
Function at 0x44b230
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 0x14]
call fcn.0044a94c
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0044a997
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0044a94c
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
invalid
Function at 0x45c490
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
mov eax, dword [esp + 4]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x20
mov edi, ecx
shl edi, 4
sub edi, 0xc38e911
mov ebx, ecx
shr ebx, 5
add ebx, 0x7d4b450c
xor edi, ebx
sub eax, 0x61c88647
lea ebx, [eax + ecx]
xor edi, ebx
add edx, edi
mov edi, edx
shl edi, 4
mov ebx, edx
shr ebx, 5
sub edi, 0x4d140630
add ebx, 0x73db6268
xor edi, ebx
lea ebx, [eax + edx]
xor edi, ebx
sub esi, 1
add ecx, edi
test esi, esi
ja 0x45c4a3
xor esi, esi
pop edi
or edx, esi
xor eax, eax
pop esi
or eax, ecx
pop ebx
ret
Function at 0x46fa30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5fa5ab
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6d15dc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov ebp, dword [esp + 0x28]
mov dword [esi], ebp
mov eax, dword [ebp + 0x5c]
push 1
push eax
lea ecx, [esi + 4]
call fcn.004593a0
lea edi, [esi + 0x14]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x20], ebx
call fcn.0046bcd0
mov dword [edi + 4], eax
mov byte [eax + 0x25], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x20], ebp
mov ebp, dword [ebp + 0x5c]
mov dword [esi + 0x24], ebp
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov byte [esi + 0x38], bl
mov dword [esi + 0x3c], ebx
mov byte [esi + 0xc0], bl
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd0], ebx
lea edi, [esi + 0xd8]
mov byte [esi + 0xd4], 1
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], ebx
mov dword [esi + 0xf0], ebx
mov dword [esi + 0xf4], ebx
mov byte [esi + 0xf8], bl
mov dword [esi + 0x100], ebx
mov dword [esi + 0x104], ebx
lea ebp, [esi + 0x108]
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [esi + 0x128], 0xf
mov dword [esi + 0x124], ebx
mov byte [esi + 0x114], bl
push 0x80
lea eax, [esi + 0x40]
push ebx
push eax
mov byte [esp + 0x2c], 5
call fcn.0057d280
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, ebx
je 0x46fb53
push eax
mov ecx, edi
call fcn.00442900
mov eax, dword [esp + 0x30]
cmp eax, ebx
jne 0x46fb63
mov byte [esi + 0xd4], bl
jmp 0x46fba2
test byte [eax + 0x18], 0x80
jne 0x46fb6f
mov byte [esi + 0xd4], bl
test word [eax + 0x1c], 0x4000
je 0x46fba2
mov byte [esi + 0xf8], 1
mov ecx, dword [eax + 8]
mov dword [esi + 0x100], ecx
mov edx, dword [eax + 0xc]
add eax, 0x10
cmp eax, ebp
mov dword [esi + 0x104], edx
je 0x46fba2
mov ecx, dword [eax]
mov dword [ebp], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 4], edx
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc

Function at 0x474d10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5faa16
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6d15dc]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov dword [esp + 0x14], eax
mov byte [esi + 0x1c], al
mov eax, dword [esp + 0x1c]
push eax
mov byte [esp + 0x18], 1
call fcn.00474810
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x4751a0
Capabilities:
Execute anti-debugging instructions
Get cpu information
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x5faa88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6d15dc]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea ecx, [esp + 0x24]
call fcn.00475700
xor esi, esi
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], esi
call fcn.004755a0
test eax, eax
jne 0x475245
lea eax, [esp + 0x18]
push eax
push 0x20019
push esi
push str.HardwareDescriptionSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x475234
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push esi
push str.Mhz
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
mov edx, 0xf4240
mul edx
mov esi, eax
mov edi, edx
jmp 0x475286
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call esi
cpuid
rdtsc
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
push 0x3e8
call esi
cpuid
rdtsc
sub eax, dword [esp + 0x14]
sbb edx, dword [esp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
xor esi, esi
xor ecx, ecx
or esi, eax
or edi, ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], 0xffffffff
call fcn.00475590
mov edx, edi
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x47af79
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0x12c
mov eax, 0x5fb4ff
call fcn.005793f3
mov esi, dword [ebp + 8]
push esi
mov edi, ecx
call fcn.0047ac23
test al, al
jne 0x47b17c
push esi
lea ecx, [edi + 0x78]
call fcn.004360dc
cmp dword [esi + 0x18], 0x10
jb 0x47afaf
mov eax, dword [esi + 4]
jmp 0x47afb2
lea eax, [esi + 4]
push eax
lea ecx, [ebp - 0x138]
call fcn.0041466e
push 1
push 1
lea eax, [ebp - 0x138]
xor ebx, ebx
push eax
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], ebx
call fcn.0047aec5
push ebx
push 1
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 2
call fcn.00414e93
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 4]
mov eax, dword [ebp + eax - 0x110]
test al, 6
je 0x47b014
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [edi + 0x3c]
call fcn.00414d7e
mov byte [edi + 0x1c], 1
jmp 0x47b16d
cmp eax, ebx
jne 0x47b162
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
call fcn.00415967
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x118]
push eax
mov byte [ebp - 4], 3
call fcn.0047af56
and dword [ebp - 0x11c], 0
or esi, 0xffffffff
cmp dword [ebp - 0x18], 0
pop ecx
pop ecx
mov ebx, esi
jbe 0x47b13b
push dword [ebp - 0x11c]
lea ecx, [ebp - 0x2c]
call fcn.004295ed
movzx eax, byte [eax]
push eax
call fcn.0058052f
test eax, eax
pop ecx
jne 0x47b086
cmp ebx, 0xffffffff
jne 0x47b080
mov ebx, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x11c]
inc dword [ebp - 0x11c]
mov eax, dword [ebp - 0x11c]
cmp eax, dword [ebp - 0x18]
jb 0x47b059
cmp ebx, 0xffffffff
je 0x47b13b
cmp esi, ebx
jb 0x47b13b
je 0x47b0b9
push esi
lea ecx, [ebp - 0x2c]
call fcn.004295ed
cmp byte [eax], 0x22
jne 0x47b0b9
dec esi
push ebx
lea ecx, [ebp - 0x2c]
call fcn.004295ed
cmp byte [eax], 0x22
jne 0x47b0c8
inc ebx
sub esi, ebx
inc esi
push esi
push ebx
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042c8fb
lea eax, [ebp - 0x48]
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.0047a744
test al, al
je 0x47b123
cmp dword [ebp - 0x30], 0x10
mov ecx, dword [ebp - 0x44]
jae 0x47b0f8
lea ecx, [ebp - 0x44]
mov eax, dword [edi + 0x14]
add ecx, eax
push ecx
lea ecx, [ebp - 0x64]
call fcn.0041466e
lea eax, [ebp - 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.0047af79
push 0
push 1
lea ecx, [ebp - 0x64]
call fcn.00414e93
jmp 0x47b12f
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0x58]
call fcn.004360dc
push 0
push 1
lea ecx, [ebp - 0x48]
call fcn.00414e93
push 0
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00414e93
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x110], 0
je 0x47b01c
lea ecx, [ebp - 0x110]
call fcn.0047acba
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.0047ac06
call fcn.00579476
ret 4
Function at 0x482dd8
Capabilities:
Get disk information

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
shr eax, 2
mov cl, 0x43
je 0x482df9
test al, 1
je 0x482df1
shr eax, 1
inc cl
test eax, eax
jne 0x482de5
cmp cl, 0x5a
jle 0x482df9
xor al, al
ret
mov al, cl
ret

Function at 0x484f15
Capabilities:
Get disk information

Disassembly:
push 0x24
mov eax, 0x5fc693
call fcn.0057938a
mov edi, ecx
push dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.00484962
mov ecx, dword [ebp - 0x1c]
xor ebx, ebx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x485008
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
mov byte [ebp - 4], 1
call dword [eax + 0x30]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00483846
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0041b5f1
cmp dword [ebp - 0x14], ebx
je 0x484ffd
cmp byte [ebp + 0xc], bl
jne 0x484f99
mov ecx, dword [ebp - 0x14]
call fcn.00524950
test al, al
jne 0x484fbf
mov ecx, edi
call fcn.00482dd8
cmp al, bl
mov byte [ebp + 0xc], al
je 0x484ffd
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00482dfc
test al, al
jne 0x484fe5
mov dword [ebp - 0x2c], 0x2b
mov edi, dword [edi + 0x18]
mov dword [ebp - 0x30], ebx
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp + 0xf], bl
jmp 0x484fc3
mov byte [ebp + 0xf], 1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004834fa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.0041f254
mov al, byte [ebp + 0xf]
call fcn.00579462
ret 8
push dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
call fcn.005253c3
test al, al
jne 0x484fbf
mov dword [ebp - 0x2c], 0x2c
jmp 0x484fae
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.004834fa
mov edi, dword [edi + 0x18]
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 0x2d
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp + 0xf], bl
jmp 0x484fce

Function at 0x485dbb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ebp + 0x1c], 0
mov dword [ebp - 4], ecx
jne 0x485e28
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
jne 0x485e28
cmp dword [ecx + 0x144], eax
jbe 0x485e28
push ebx
push edi
push 0
xor bl, bl
call fcn.00484e24
mov edi, eax
test edi, edi
je 0x485e26
push esi
push edi
mov esi, 0x200
push esi
push 1
push dword [ebp + 0x18]
call fcn.00582529
add esp, 0x10
cmp eax, esi
jne 0x485e04
inc bl
push edi
call fcn.0057e505
test bl, bl
pop ecx
je 0x485e25
and dword [ebp + 0xc], 0
add dword [ebp + 0x10], 0xffffffff
mov dword [ebp + 8], 1
adc dword [ebp + 0x14], 0xffffffff
add dword [ebp + 0x18], esi
pop esi
pop edi
pop ebx
xor eax, eax
cmp dword [ebp + 0x14], eax
jl 0x485e57
jg 0x485e36
cmp dword [ebp + 0x10], eax
jbe 0x485e57
push eax
push dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax + 0x108]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00527314
leave
ret 0x18
Function at 0x485e5b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
xor ebx, ebx
cmp byte [ebp + 0x1c], bl
mov dword [ebp - 8], ecx
jne 0x485ecc
mov eax, dword [ebp + 8]
or eax, dword [ebp + 0xc]
jne 0x485ecc
cmp dword [ecx + 0x144], ebx
jbe 0x485ecc
push edi
push 1
mov byte [ebp - 1], bl
call fcn.00484e24
mov edi, eax
cmp edi, ebx
je 0x485ecb
push esi
push edi
mov esi, 0x200
push esi
push 1
push dword [ebp + 0x18]
call fcn.0057e258
add esp, 0x10
cmp eax, esi
jne 0x485ea9
mov byte [ebp - 1], 1
push edi
call fcn.0057e505
cmp byte [ebp - 1], bl
pop ecx
je 0x485eca
add dword [ebp + 0x10], 0xffffffff
mov dword [ebp + 8], 1
mov dword [ebp + 0xc], ebx
adc dword [ebp + 0x14], 0xffffffff
add dword [ebp + 0x18], esi
pop esi
pop edi
cmp dword [ebp + 0x14], ebx
jl 0x485efb
jg 0x485ed8
cmp dword [ebp + 0x10], ebx
jbe 0x485efb
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x108]
push ebx
push ebx
push ebx
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00527169
pop ebx
leave
ret 0x18
Function at 0x48630b
Capabilities:
Get disk information

Disassembly:
push 0x58
mov eax, 0x5fc8f2
call fcn.005793f3
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov al, byte [ebp + 8]
add al, 0x41
push 0x6a7148
mov dword [ebp - 4], ebx
mov byte [ebp - 0x38], al
mov byte [0x6a7148], al
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x48635b
cmp eax, 2
je 0x48635b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0041b5f1
xor al, al
call fcn.00579476
ret
call fcn.0056bdf9
test al, al
je 0x486378
push dword [ebp - 0x38]
call fcn.005289be
pop ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00484580
jmp 0x4863d5
mov al, byte [ebp - 0x38]
push str..x:
lea ecx, [ebp - 0x64]
mov byte [0x6a7144], al
call fcn.0041466e
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 1
call fcn.00483d38
mov ecx, eax
call fcn.00484dc2
push ebx
push 1
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call fcn.00414e93
lea eax, [ebp - 0x2c]
push eax
call fcn.00526fcf
pop ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00484580
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.00418ad9
mov ecx, dword [ebp - 0x34]
cmp ecx, ebx
je 0x486347
lea eax, [ebp - 0x48]
push eax
call fcn.0052028f
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.00483125
test eax, eax
lea ecx, [ebp - 0x48]
jne 0x486406
call fcn.00485fb9
jmp 0x486347
push ebx
call fcn.0048313b
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x38]
test al, al
jne 0x486432
lea ecx, [ebp - 0x48]
call fcn.00485fb9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.0041b5f1
mov al, bl
jmp 0x486355
push ebx
lea ecx, [ebp - 0x48]
mov byte [esi + 1], 0x10
mov byte [esi + 2], bl
call fcn.0048313b
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x3c]
push ebx
lea ecx, [ebp - 0x48]
mov byte [esi + 3], al
mov dword [esi + 4], ebx
call fcn.0048313b
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
mov bl, 1
jmp 0x486417
Function at 0x52436b
Capabilities:
Get disk information

Disassembly:
push 0x14
mov eax, 0x60f7a7
call fcn.0057938a
mov esi, ecx
push str.doUnlock
push dword [0x6cd8f0]
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], ebx
call fcn.00567f08
cmp dword [esi + 0x90], 2
mov dword [ebp - 4], ebx
jne 0x5243ae
cmp dword [ebp + 8], 2
jge 0x5243ae
xor edi, edi
inc edi
mov dword [esi + 0x90], edi
jmp 0x5243b1
xor edi, edi
inc edi
cmp dword [esi + 0x90], edi
jne 0x524479
cmp dword [ebp + 8], edi
jge 0x524479
cmp byte [esi + 0xac], bl
jne 0x52441b
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90020
lea eax, [ebp - 0x20]
push eax
call fcn.0057349e
lea ecx, [ebp - 0x20]
call fcn.005227db
cmp byte [esi + 0xac], bl
jne 0x52441b
mov ecx, dword [esi + 0x40]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x9001c
lea eax, [ebp - 0x20]
push eax
call fcn.0057349e
cmp dword [eax], ebx
mov dword [ebp - 0x10], edi
mov byte [ebp + 0xb], 1
jne 0x52441e
mov byte [ebp + 0xb], bl
test byte [ebp - 0x10], 1
je 0x52442c
lea ecx, [ebp - 0x20]
call fcn.005227db
cmp byte [ebp + 0xb], bl
je 0x524443
lea ecx, [ebp - 0x18]
call fcn.00566b7e
mov al, bl
call fcn.00579462
ret 4
lea edi, [esi + 0x40]
mov ecx, edi
mov dword [esi + 0x90], ebx
mov byte [esi + 0xac], bl
call fcn.00522e57
mov dword [edi], ebx
mov dword [edi + 4], ebx
push 0x14
mov byte [esi + 0x48], bl
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
push 1
push ebx
mov ecx, esi
call fcn.00523e1f
mov bl, 1
jmp 0x524431