joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485ff0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x495b32
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x10]
xor ebp, ebp
mov dword [esi], 0x4a5178
mov dword [esi + 4], 0x4a5138
mov dword [esi + 8], 0x4a5120
mov dword [esp + 0x10], esi
mov dword [edi], ebp
lea ebx, [esi + 0x14]
mov dword [esp + 0x1c], ebp
mov dword [ebx], ebp
mov eax, dword [0x4b7204]
mov ecx, 0x4b7204
mov byte [esp + 0x1c], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov edx, dword [0x4b7204]
mov ecx, 0x4b7204
mov byte [esp + 0x1c], 2
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [0x4b7204]
mov ecx, 0x4b7204
mov byte [esp + 0x1c], 3
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov edx, dword [0x4b7204]
mov ecx, 0x4b7204
mov byte [esp + 0x1c], 4
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
cmp edi, ebp
mov byte [esp + 0x1c], 5
mov dword [esi + 0xc], ebp
je 0x4860b0
mov eax, dword [edi]
cmp eax, ebp
je 0x4860ae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebp
cmp ebx, ebp
je 0x4860c2
mov eax, dword [ebx]
cmp eax, ebp
je 0x4860c0
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [ebx], ebp
mov edi, dword [esp + 0x24]
cmp edi, ebp
jne 0x4860ce
xor eax, eax
jmp 0x4860d8
push edi
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
push eax
push edi
lea ecx, [esi + 0x1c]
call fcn.004072a0
mov ecx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], ebp
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x487300
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x495c38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
push 2
call fcn.0048c325
mov dword [esp + 0x14], eax
mov word [eax], 0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
mov dword [esp + 0x34], 0
call fcn.00486da0
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x28]
mov edi, dword [sym.imp.MSVCR71.dll_wcstol]
xor edx, edx
mov eax, esi
mov dword [eax], edx
mov dword [eax + 4], edx
push 0xa
lea ecx, [esp + 0x28]
push ecx
mov dword [eax + 8], edx
push ebx
mov dword [eax + 0xc], edx
call edi
push 0xa
lea edx, [esp + 0x34]
mov word [esi], ax
mov eax, dword [esp + 0x34]
push edx
push eax
call edi
mov ecx, dword [esp + 0x3c]
push 0xa
push 0
push ecx
mov word [esi + 2], ax
call edi
add esp, 0x3c
test ebx, ebx
mov word [esi + 6], ax
je 0x4873ac
push ebx
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
add esp, 4
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4873c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x495cbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
push edi
mov esi, ecx
push 2
mov dword [esp + 0x10], esi
call fcn.0048c325
mov dword [esi], eax
mov word [eax], 0
push 2
mov dword [esp + 0x20], 0
lea ebp, [esi + 4]
call fcn.0048c325
mov dword [ebp], eax
mov word [eax], 0
push 2
mov byte [esp + 0x24], 1
call fcn.0048c325
mov dword [esi + 8], eax
mov word [eax], 0
push 2
mov byte [esp + 0x28], 2
call fcn.0048c325
mov dword [esi + 0xc], eax
mov word [eax], 0
push 2
mov byte [esp + 0x2c], 3
call fcn.0048c325
mov dword [esi + 0x10], eax
mov word [eax], 0
push 2
mov byte [esp + 0x30], 4
call fcn.0048c325
mov dword [esi + 0x14], eax
mov word [eax], 0
push 2
mov byte [esp + 0x34], 5
call fcn.0048c325
mov dword [esi + 0x18], eax
mov word [eax], 0
push 2
mov byte [esp + 0x38], 6
call fcn.0048c325
mov dword [esi + 0x1c], eax
mov word [eax], 0
push 2
mov byte [esp + 0x3c], 7
call fcn.0048c325
mov dword [esi + 0x20], eax
mov word [eax], 0
push 2
mov byte [esp + 0x40], 8
call fcn.0048c325
mov dword [esi + 0x24], eax
add esp, 0x28
mov word [eax], 0
mov edi, dword [esp + 0x20]
test edi, edi
mov byte [esp + 0x18], 9
je 0x487596
push ebx
mov ebx, dword [esp + 0x28]
push esi
push 0x3e9
push ebx
push 0x3e8
push edi
call fcn.00486da0
push ebp
push 0x3ea
push ebx
push 0x3e8
push edi
call fcn.00486da0
lea eax, [esi + 8]
push eax
push 0x3eb
push ebx
push 0x3e8
push edi
call fcn.00486da0
lea eax, [esi + 0xc]
push eax
push 0x3ec
push ebx
push 0x3e8
push edi
call fcn.00486da0
add esp, 0x50
lea eax, [esi + 0x10]
push eax
push 0x3ed
push ebx
push 0x3e8
push edi
call fcn.00486da0
lea eax, [esi + 0x14]
push eax
push 0x3ee
push ebx
push 0x3e8
push edi
call fcn.00486da0
lea eax, [esi + 0x18]
push eax
push 0x3ef
push ebx
push 0x3e8
push edi
call fcn.00486da0
lea eax, [esi + 0x1c]
push eax
push 0x3f0
push ebx
push 0x3e8
push edi
call fcn.00486da0
add esp, 0x50
lea eax, [esi + 0x20]
push eax
push 0x3f1
push ebx
push 0x3e8
push edi
call fcn.00486da0
lea eax, [esi + 0x24]
push eax
push 0x3f2
push ebx
push 0x3e8
push edi
call fcn.00486da0
add esp, 0x28
pop ebx
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x488760
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x495de7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
lea ebp, [esi + 4]
push edi
xor edi, edi
mov dword [esi], fcn.00486e30
mov dword [esp + 0xc], esi
mov dword [ebp + 4], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
mov dword [esp + 0x18], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov eax, dword [esp + 0x20]
push eax
mov byte [esp + 0x1c], 4
mov dword [esi + 0x54], 0x80004005
call dword [0x4b5458]
cmp eax, edi
mov dword [esi + 0x58], eax
je 0x48889b
push str.CreateUpgradeObj
push eax
call dword [0x4b5440]
cmp eax, edi
je 0x48889b
push ebx
call eax
mov ebx, eax
cmp ebx, edi
je 0x488884
push ebx
mov ecx, esi
call fcn.00486e30
cmp eax, edi
mov dword [esi + 0x54], eax
jl 0x48887d
mov eax, dword [esp + 0x28]
mov edx, dword [ebx]
push 1
push edi
push eax
mov ecx, ebx
call dword [edx + 8]
cmp eax, 0xffffff97
jne 0x488876
push ebp
push edi
push 0x3e8
push ebx
call fcn.00488350
lea eax, [esi + 0x14]
push eax
push edi
push 0x7d0
push ebx
call fcn.00488420
lea eax, [esi + 0x24]
push eax
push edi
push 0xbb8
push ebx
call fcn.004884f0
lea eax, [esi + 0x34]
push eax
push edi
push 0xfa0
push ebx
call fcn.004885c0
add esp, 0x40
lea eax, [esi + 0x44]
push eax
push edi
push 0x1388
push ebx
call fcn.00488690
add esp, 0x10
jmp 0x48887d
mov dword [esi + 0x54], 0x80004005
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x18]
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x48d420
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x80
mov al, 0x6c
push esi
mov byte [esp + 0xe], al
mov byte [esp + 0xf], al
lea eax, [esp + 4]
push edi
mov esi, ecx
push eax
mov byte [esp + 0xc], 0x77
mov byte [esp + 0xd], 0x6e
mov byte [esp + 0xe], 0x61
mov byte [esp + 0xf], 0x73
mov byte [esp + 0x10], 0x70
mov byte [esp + 0x11], 0x69
mov byte [esp + 0x12], 0x33
mov byte [esp + 0x13], 0x32
mov byte [esp + 0x14], 0x2e
mov byte [esp + 0x15], 0x64
mov byte [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x18], eax
jne 0x48d494
mov ecx, esi
mov edi, 0x80900003
call fcn.0048d5b0
mov eax, edi
pop edi
pop esi
add esp, 0x80
ret
mov edi, dword [0x4b5440]
mov cl, 0x74
mov byte [esp + 0xa], cl
mov byte [esp + 0x17], cl
lea ecx, [esp + 8]
push ebx
mov bl, 0x53
push ecx
push eax
mov byte [esp + 0x14], 0x47
mov byte [esp + 0x15], 0x65
mov byte [esp + 0x17], 0x41
mov byte [esp + 0x18], bl
mov byte [esp + 0x19], 0x50
mov byte [esp + 0x1a], 0x49
mov byte [esp + 0x1b], 0x33
mov byte [esp + 0x1c], 0x32
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], 0x75
mov byte [esp + 0x1f], 0x70
mov byte [esp + 0x20], 0x70
mov byte [esp + 0x21], 0x6f
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x24], 0x49
mov byte [esp + 0x25], 0x6e
mov byte [esp + 0x26], 0x66
mov byte [esp + 0x27], 0x6f
mov byte [esp + 0x28], 0
call edi
mov dword [esi + 0x1c], eax
mov al, 0x6d
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
mov eax, dword [esi + 0x18]
lea edx, [esp + 0xc]
push edx
push eax
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], 0x65
mov byte [esp + 0x16], 0x6e
mov byte [esp + 0x17], 0x64
mov byte [esp + 0x18], 0x41
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x50
mov byte [esp + 0x1b], 0x49
mov byte [esp + 0x1c], 0x33
mov byte [esp + 0x1d], 0x32
mov byte [esp + 0x1e], 0x43
mov byte [esp + 0x1f], 0x6f
mov byte [esp + 0x22], 0x61
mov byte [esp + 0x23], 0x6e
mov byte [esp + 0x24], 0x64
mov byte [esp + 0x25], 0
call edi
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x20], eax
test ecx, ecx
pop ebx
je 0x48d58c
test eax, eax
je 0x48d58c
pop edi
xor eax, eax
pop esi
add esp, 0x80
ret
mov ecx, esi
mov edi, 0x80900014
call fcn.0048d5b0
mov eax, edi
pop edi
pop esi
add esp, 0x80
ret
Function at 0x48dcd0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x495f7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x14], ebp
lea ecx, [ebp + 0x34]
mov dword [ebp], 0x4a6254
call fcn.0048fff0
lea eax, [ebp + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x114], ebx
mov dword [ebp], 0x4a6250
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [esp + 0x118]
mov edi, 0x41
mov dword [ebp + 0x30], ecx
lea esi, [esp + 0x38]
mov dword [esp + 0x10], 0x1a
push edi
lea edx, [esp + 0x1c]
push str._c:_
mov dword [esi], ebx
push edx
mov dword [esi + 4], ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x48dd68
mov dword [esi], 1
mov eax, dword [esp + 0x10]
inc edi
add esi, 8
dec eax
mov dword [esp + 0x10], eax
jne 0x48dd39
mov ecx, ebp
call fcn.0048caa0
mov ecx, dword [esp + 0x118]
mov byte [esp + 0x10], bl
lea esi, [ecx + 8]
mov edi, dword [esp + 0x10]
push edi
call fcn.0048f190
add esp, 4
test eax, eax
je 0x48ddd1
push ebx
push edi
call fcn.0048ef90
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x48ddd1
lea edx, [esi - 8]
mov ecx, ebp
push edx
push edi
call fcn.0048de10
mov byte [esi - 4], 5
mov dword [esi], 0xffffffff
mov byte [esi - 7], bl
push edi
mov byte [esi - 6], bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [esp + 0x10]
add esi, 0x30
inc al
cmp al, 0x1a
mov byte [esp + 0x10], al
jb 0x48dd8c
mov eax, dword [esp + 0x11c]
mov ecx, dword [esp + 0x108]
pop edi
pop esi
mov dword [eax], ebx
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x104
ret 8
Function at 0x48de10
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x810
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], eax
push ebx
mov dword [esp + 0x14], eax
push ecx
mov ecx, dword [esp + 0x828]
lea edx, [esp + 0x24]
mov dword [esp + 0x1c], eax
push 0x800
push edx
lea eax, [esp + 0x1c]
push 0xc
push eax
push 0x2d1400
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x48df08
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x824]
cmp eax, ebx
push ebp
jbe 0x48deaf
lea edi, [esp + eax + 0x20]
or ecx, 0xffffffff
xor eax, eax
lea ebp, [edx + 0xc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x30]
cmp eax, ebx
jbe 0x48dedb
lea edi, [esp + eax + 0x20]
or ecx, 0xffffffff
xor eax, eax
lea ebp, [edx + 0x15]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x34]
pop ebp
cmp eax, ebx
jbe 0x48df08
lea edi, [esp + eax + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add edx, 0x26
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x810
ret 8
Function at 0x48e790
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x80
mov al, 0x6c
push esi
mov byte [esp + 0xe], al
mov byte [esp + 0xf], al
lea eax, [esp + 4]
push edi
mov esi, ecx
push eax
mov byte [esp + 0xc], 0x77
mov byte [esp + 0xd], 0x6e
mov byte [esp + 0xe], 0x61
mov byte [esp + 0xf], 0x73
mov byte [esp + 0x10], 0x70
mov byte [esp + 0x11], 0x69
mov byte [esp + 0x12], 0x33
mov byte [esp + 0x13], 0x32
mov byte [esp + 0x14], 0x2e
mov byte [esp + 0x15], 0x64
mov byte [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x34], eax
jne 0x48e804
mov ecx, esi
mov edi, 0x80900003
call fcn.0048e920
mov eax, edi
pop edi
pop esi
add esp, 0x80
ret
mov edi, dword [0x4b5440]
mov cl, 0x74
mov byte [esp + 0xa], cl
mov byte [esp + 0x17], cl
lea ecx, [esp + 8]
push ebx
mov bl, 0x53
push ecx
push eax
mov byte [esp + 0x14], 0x47
mov byte [esp + 0x15], 0x65
mov byte [esp + 0x17], 0x41
mov byte [esp + 0x18], bl
mov byte [esp + 0x19], 0x50
mov byte [esp + 0x1a], 0x49
mov byte [esp + 0x1b], 0x33
mov byte [esp + 0x1c], 0x32
mov byte [esp + 0x1d], bl
mov byte [esp + 0x1e], 0x75
mov byte [esp + 0x1f], 0x70
mov byte [esp + 0x20], 0x70
mov byte [esp + 0x21], 0x6f
mov byte [esp + 0x22], 0x72
mov byte [esp + 0x24], 0x49
mov byte [esp + 0x25], 0x6e
mov byte [esp + 0x26], 0x66
mov byte [esp + 0x27], 0x6f
mov byte [esp + 0x28], 0
call edi
mov dword [esi + 0x38], eax
mov al, 0x6d
mov byte [esp + 0x18], al
mov byte [esp + 0x19], al
mov eax, dword [esi + 0x34]
lea edx, [esp + 0xc]
push edx
push eax
mov byte [esp + 0x14], bl
mov byte [esp + 0x15], 0x65
mov byte [esp + 0x16], 0x6e
mov byte [esp + 0x17], 0x64
mov byte [esp + 0x18], 0x41
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x50
mov byte [esp + 0x1b], 0x49
mov byte [esp + 0x1c], 0x33
mov byte [esp + 0x1d], 0x32
mov byte [esp + 0x1e], 0x43
mov byte [esp + 0x1f], 0x6f
mov byte [esp + 0x22], 0x61
mov byte [esp + 0x23], 0x6e
mov byte [esp + 0x24], 0x64
mov byte [esp + 0x25], 0
call edi
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x3c], eax
test ecx, ecx
pop ebx
je 0x48e8fc
test eax, eax
je 0x48e8fc
pop edi
xor eax, eax
pop esi
add esp, 0x80
ret
mov ecx, esi
mov edi, 0x80900014
call fcn.0048e920
mov eax, edi
pop edi
pop esi
add esp, 0x80
ret
Function at 0x48ef90
Capabilities:
Get disk information

Disassembly:
sub esp, 0x1d8
push ebx
push ebp
push esi
push edi
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xe5]
mov byte [esp + 0xe4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x24
xor eax, eax
lea edi, [esp + 0x54]
mov dword [esp + 0x50], 0
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x1ec]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
and eax, 0xff
lea ecx, [esp + 0x30]
lea ebx, [eax + 0x41]
push ebx
push 0x4b535c
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0xe4]
lea eax, [esp + 0x30]
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x48f06c
mov esi, dword [sym.imp.MSVCR71.dll_strtok]
lea ecx, [esp + 0xe4]
push 0x4b5358
push ecx
call esi
add esp, 8
push 0x4b5358
push 0
mov edi, eax
call esi
add esp, 8
test eax, eax
jne 0x48f04d
push edi
lea edx, [esp + 0x14]
push str.._s
push edx
jmp 0x48f077
push ebx
lea eax, [esp + 0x14]
push str.._c:
push eax
call ebp
add esp, 0xc
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], 0x94
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x48f147
mov dword [esp + 0x54], 5
mov esi, 1
mov ebp, 0xc0000000
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
push 0
push 0
push 3
push 0
push 3
lea edx, [esp + 0x24]
push ebp
push edx
call edi
cmp eax, 0xffffffff
jne 0x48f12f
push 0
push 0
push 3
push 0
push 3
lea eax, [esp + 0x24]
push SysReAllocString
push eax
call edi
xor esi, esi
cmp eax, 0xffffffff
jne 0x48f12f
push ebx
lea ecx, [esp + 0x14]
push str.._c:
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 0x10]
push esi
push 0x80
push 3
push esi
push 3
push ebp
push edx
call edi
cmp eax, 0xffffffff
mov esi, 1
jne 0x48f12f
push 0
push 0x80
push 3
push 0
push 3
lea eax, [esp + 0x24]
push SysReAllocString
push eax
call edi
xor esi, esi
mov ecx, dword [esp + 0x1f0]
test ecx, ecx
je 0x48f13c
mov dword [ecx], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d8
ret
cmp dword [esp + 0x54], 4
ja 0x48f09f
xor esi, esi
mov ebp, SysReAllocString
jmp 0x48f0a9

Function at 0x48f160
Capabilities:
Get disk information

Disassembly:
mov eax, dword [esp + 4]
lea ecx, [esp + 4]
and eax, 0xff
add eax, 0x41
push eax
push str._c:_
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea edx, [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
ret
Function at 0x48f720
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry key

Disassembly:
sub esp, 0x190
push ebx
push ebp
mov ebp, ecx
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x29], eax
mov dword [esp + 0xd], ecx
mov dword [esp + 0x2d], eax
mov dword [esp + 0x11], ecx
mov dword [esp + 0x31], eax
mov dword [esp + 0x15], ecx
mov dword [esp + 0x35], eax
mov dword [esp + 0x19], ecx
push edi
mov dword [esp + 0x21], ecx
xor ebx, ebx
mov word [esp + 0x25], cx
mov word [esp + 0x3d], ax
mov byte [esp + 0x27], cl
mov ecx, 0xc
lea edi, [esp + 0x69]
mov byte [esp + 0x3f], al
mov byte [esp + 0x68], bl
mov byte [esp + 0x9c], bl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x9d]
mov byte [esp + 0x48], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x49]
mov dl, 0x67
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov byte [esp + 0x15], dl
mov byte [esp + 0x1b], dl
mov al, 0x6e
lea edx, [esp + 0x28]
mov byte [esp + 0x12], al
mov byte [esp + 0x19], al
mov byte [esp + 0x20], al
push edx
push 0x20019
lea eax, [esp + 0x18]
push ebx
mov cl, 0x61
push eax
push reloc.OLEAUT32.dll_SysStringLen
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x40], bl
mov byte [esp + 0x24], 0x43
mov byte [esp + 0x25], 0x6f
mov byte [esp + 0x27], 0x66
mov byte [esp + 0x28], 0x69
mov byte [esp + 0x2a], 0x20
mov byte [esp + 0x2b], 0x4d
mov byte [esp + 0x2c], cl
mov byte [esp + 0x2e], cl
mov byte [esp + 0x30], 0x65
mov byte [esp + 0x31], 0x72
mov byte [esp + 0x32], 0x5c
mov byte [esp + 0x33], 0x45
mov byte [esp + 0x35], 0x75
mov byte [esp + 0x36], 0x6d
mov byte [esp + 0x37], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48f90b
lea ecx, [esp + 0x40]
push esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push ecx
mov ecx, dword [esp + 0x30]
push ebx
push ebx
lea edx, [esp + 0x1c]
push ebx
lea eax, [esp + 0x40]
push edx
push eax
push ebx
push ecx
xor esi, esi
mov dword [esp + 0x30], 0x13
call edi
test eax, eax
jne 0x48f8f1
lea edx, [esp + 0x30]
lea eax, [esp + 0x14]
push edx
push eax
lea ecx, [esp + 0x74]
push str._s_s
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea edx, [esp + 0x4c]
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x6c]
push edx
push 0x100
push eax
push ecx
mov ecx, ebp
call fcn.0048f920
test eax, eax
jl 0x48f8c6
mov eax, dword [esp + 0x1a4]
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0xa4]
push eax
push ecx
mov ecx, ebp
call fcn.0048f9c0
lea edx, [esp + 0x44]
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 0x30]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x40]
inc esi
push eax
push ecx
push esi
push edx
mov dword [esp + 0x30], 0x13
call edi
test eax, eax
je 0x48f86b
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebp
pop edi
pop ebp
pop ebx
add esp, 0x190
ret 4
mov eax, ebp
pop edi
pop ebp
pop ebx
add esp, 0x190
ret 4
Function at 0x48fe50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x108
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x15]
mov byte [esp + 0x14], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x120]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x120]
push edx
push ebx
push eax
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], 0x100
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x48fec1
jl 0x48ff30
and eax, 0xffff
pop edi
pop esi
or eax, 0x80070000
pop ebx
add esp, 0x108
ret 0x14
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x120]
cmp eax, ecx
jne 0x48ff2b
cmp eax, 1
je 0x48fedf
cmp eax, 2
jbe 0x48ff2b
cmp eax, 4
ja 0x48ff2b
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x124]
mov ecx, eax
lea esi, [esp + 0x14]
mov ebx, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x128], eax
jb 0x48ff2b
mov ecx, eax
mov edi, edx
mov edx, ecx
lea esi, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
add esp, 0x108
ret 0x14
mov eax, 0x8007000d
pop edi
pop esi
pop ebx
add esp, 0x108
ret 0x14

Function at 0x490850
Capabilities:
Check os version

Disassembly:
sub esp, 0x9c
xor eax, eax
push edi
mov word [esp + 5], ax
mov ecx, 0x24
lea edi, [esp + 0x10]
mov dword [esp + 8], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
mov byte [esp + 4], 0
push ecx
mov byte [esp + 0xb], al
mov dword [esp + 0x10], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
jne 0x4908a0
mov eax, 0x80900006
add esp, 0x9c
ret 8
cmp dword [esp + 0x18], 2
jne 0x4908b5
cmp dword [esp + 0xc], 5
ja 0x4908b5
cmp dword [esp + 0x10], 1
jb 0x49091f
mov eax, dword [esp + 0xa4]
mov dword [esp], 0
mov cl, byte [esp]
push 0
mov dl, byte [eax + 0x32]
xor dl, cl
and dl, 0xf
xor dl, cl
mov cl, byte [eax + 0x36]
and dl, 0x7f
mov byte [esp + 5], cl
mov ecx, dword [eax + 0xc]
mov byte [esp + 4], dl
lea edx, [esp + 8]
push edx
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [esp + 0xac]
push edx
lea eax, [esp + 0x10]
push 4
push eax
push 0x24054
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, 1
jne 0x490919
xor eax, eax
add esp, 0x9c
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x80900018
add esp, 0x9c
ret 8