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

Disassembly:
push 0xffffffffffffffff
push 0x490d22
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], 0x49f9f8
mov dword [esi + 4], 0x49f9b8
mov dword [esi + 8], 0x49f9a0
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 [0x4b1dec]
mov ecx, 0x4b1dec
mov byte [esp + 0x1c], 1
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov edx, dword [0x4b1dec]
mov ecx, 0x4b1dec
mov byte [esp + 0x1c], 2
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov eax, dword [0x4b1dec]
mov ecx, 0x4b1dec
mov byte [esp + 0x1c], 3
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov edx, dword [0x4b1dec]
mov ecx, 0x4b1dec
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 0x481500
mov eax, dword [edi]
cmp eax, ebp
je 0x4814fe
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], ebp
cmp ebx, ebp
je 0x481512
mov eax, dword [ebx]
cmp eax, ebp
je 0x481510
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov dword [ebx], ebp
mov edi, dword [esp + 0x24]
cmp edi, ebp
jne 0x48151e
xor eax, eax
jmp 0x481528
push edi
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
push eax
push edi
lea ecx, [esi + 0x1c]
call fcn.00407240
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 0x482770
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x490e28
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.00487721
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.004821f0
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 0x48281c
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 0x482830
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x490eab
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.00487721
mov dword [esi], eax
mov word [eax], 0
push 2
mov dword [esp + 0x20], 0
lea ebp, [esi + 4]
call fcn.00487721
mov dword [ebp], eax
mov word [eax], 0
push 2
mov byte [esp + 0x24], 1
call fcn.00487721
mov dword [esi + 8], eax
mov word [eax], 0
push 2
mov byte [esp + 0x28], 2
call fcn.00487721
mov dword [esi + 0xc], eax
mov word [eax], 0
push 2
mov byte [esp + 0x2c], 3
call fcn.00487721
mov dword [esi + 0x10], eax
mov word [eax], 0
push 2
mov byte [esp + 0x30], 4
call fcn.00487721
mov dword [esi + 0x14], eax
mov word [eax], 0
push 2
mov byte [esp + 0x34], 5
call fcn.00487721
mov dword [esi + 0x18], eax
mov word [eax], 0
push 2
mov byte [esp + 0x38], 6
call fcn.00487721
mov dword [esi + 0x1c], eax
mov word [eax], 0
push 2
mov byte [esp + 0x3c], 7
call fcn.00487721
mov dword [esi + 0x20], eax
mov word [eax], 0
push 2
mov byte [esp + 0x40], 8
call fcn.00487721
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 0x482a06
push ebx
mov ebx, dword [esp + 0x28]
push esi
push 0x3e9
push ebx
push 0x3e8
push edi
call fcn.004821f0
push ebp
push 0x3ea
push ebx
push 0x3e8
push edi
call fcn.004821f0
lea eax, [esi + 8]
push eax
push 0x3eb
push ebx
push 0x3e8
push edi
call fcn.004821f0
lea eax, [esi + 0xc]
push eax
push 0x3ec
push ebx
push 0x3e8
push edi
call fcn.004821f0
add esp, 0x50
lea eax, [esi + 0x10]
push eax
push 0x3ed
push ebx
push 0x3e8
push edi
call fcn.004821f0
lea eax, [esi + 0x14]
push eax
push 0x3ee
push ebx
push 0x3e8
push edi
call fcn.004821f0
lea eax, [esi + 0x18]
push eax
push 0x3ef
push ebx
push 0x3e8
push edi
call fcn.004821f0
lea eax, [esi + 0x1c]
push eax
push 0x3f0
push ebx
push 0x3e8
push edi
call fcn.004821f0
add esp, 0x50
lea eax, [esi + 0x20]
push eax
push 0x3f1
push ebx
push 0x3e8
push edi
call fcn.004821f0
lea eax, [esi + 0x24]
push eax
push 0x3f2
push ebx
push 0x3e8
push edi
call fcn.004821f0
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 0x483b70
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x490fd7
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.00482280
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 [0x4b0044]
cmp eax, edi
mov dword [esi + 0x58], eax
je 0x483cab
push str.CreateUpgradeObj
push eax
call dword [0x4b0030]
cmp eax, edi
je 0x483cab
push ebx
call eax
mov ebx, eax
cmp ebx, edi
je 0x483c94
push ebx
mov ecx, esi
call fcn.00482280
cmp eax, edi
mov dword [esi + 0x54], eax
jl 0x483c8d
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 0x483c86
push ebp
push edi
push 0x3e8
push ebx
call fcn.00483760
lea eax, [esi + 0x14]
push eax
push edi
push 0x7d0
push ebx
call fcn.00483830
lea eax, [esi + 0x24]
push eax
push edi
push 0xbb8
push ebx
call fcn.00483900
lea eax, [esi + 0x34]
push eax
push edi
push 0xfa0
push ebx
call fcn.004839d0
add esp, 0x40
lea eax, [esi + 0x44]
push eax
push edi
push 0x1388
push ebx
call fcn.00483aa0
add esp, 0x10
jmp 0x483c8d
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 0x487b0a
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x4a0a90
call fcn.00487d10
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x487b4a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x487b4a
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x487b62
cmp eax, 0x20b
je 0x487b4f
mov dword [ebp - 0x1c], ebx
jmp 0x487b76
cmp dword [ecx + 0x84], 0xe
jbe 0x487b4a
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x487b70
cmp dword [ecx + 0x74], 0xe
jbe 0x487b4a
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x4b2588], 0xffffffff
or dword [0x4b258c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x4b1e6c]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x4b1e68]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x4b2584], eax
call fcn.00487dec
call fcn.00487e8c
cmp dword [0x4aff20], ebx
jne 0x487bd6
push fcn.00487e8c
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00487e7a
push 0x4ab064
push 0x4ab060
call sub.MSVCR71.dll__initterm
push 0x487e30
call fcn.00487926
mov eax, dword [0x4b1e64]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4b1e60]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x487c2a
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x4ab05c
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x487ca8
cmp al, bl
je 0x487c54
cmp dword [ebp - 0x20], ebx
jne 0x487ca8
mov al, byte [esi]
cmp al, bl
je 0x487c64
cmp al, 0x20
ja 0x487c64
inc esi
mov dword [ebp - 0x24], esi
jmp 0x487c54
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x487c80
movzx eax, word [ebp - 0x54]
jmp 0x487c83
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00408c50
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x487ca0
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x487cfd
cmp al, 0x22
jne 0x487cb7
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x487cca
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x487c42
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00487d4b
ret
Function at 0x488940
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 0x4889b4
mov ecx, esi
mov edi, 0x80900003
call fcn.00488ad0
mov eax, edi
pop edi
pop esi
add esp, 0x80
ret
mov edi, dword [0x4b0030]
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 0x488aac
test eax, eax
je 0x488aac
pop edi
xor eax, eax
pop esi
add esp, 0x80
ret
mov ecx, esi
mov edi, 0x80900014
call fcn.00488ad0
mov eax, edi
pop edi
pop esi
add esp, 0x80
ret
Function at 0x489110
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x49116e
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], 0x4a0ac4
call fcn.0048b510
lea eax, [ebp + 0x18]
xor ebx, ebx
push eax
mov dword [esp + 0x114], ebx
mov dword [ebp], 0x4a0ac0
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 0x4891a8
mov dword [esi], 1
mov eax, dword [esp + 0x10]
inc edi
add esi, 8
dec eax
mov dword [esp + 0x10], eax
jne 0x489179
mov ecx, ebp
call fcn.00487ea0
mov ecx, dword [esp + 0x118]
mov byte [esp + 0x10], bl
lea esi, [ecx + 8]
mov edi, dword [esp + 0x10]
push edi
call fcn.0048a6b0
add esp, 4
test eax, eax
je 0x489211
push ebx
push edi
call fcn.0048a4b0
mov edi, eax
add esp, 8
cmp edi, 0xffffffff
je 0x489211
lea edx, [esi - 8]
mov ecx, ebp
push edx
push edi
call fcn.00489250
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 0x4891cc
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 0x489250
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 0x489348
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x824]
cmp eax, ebx
push ebp
jbe 0x4892ef
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 0x48931b
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 0x489348
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 0x489bd0
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 0x489c44
mov ecx, esi
mov edi, 0x80900003
call fcn.00489d60
mov eax, edi
pop edi
pop esi
add esp, 0x80
ret
mov edi, dword [0x4b0030]
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 0x489d3c
test eax, eax
je 0x489d3c
pop edi
xor eax, eax
pop esi
add esp, 0x80
ret
mov ecx, esi
mov edi, 0x80900014
call fcn.00489d60
mov eax, edi
pop edi
pop esi
add esp, 0x80
ret
Function at 0x48a4b0
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 0x4aff4c
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 0x48a58c
mov esi, dword [sym.imp.MSVCR71.dll_strtok]
lea ecx, [esp + 0xe4]
push 0x4aff48
push ecx
call esi
add esp, 8
push 0x4aff48
push 0
mov edi, eax
call esi
add esp, 8
test eax, eax
jne 0x48a56d
push edi
lea edx, [esp + 0x14]
push str.._s
push edx
jmp 0x48a597
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 0x48a667
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 0x48a64f
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 0x48a64f
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 0x48a64f
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 0x48a65c
mov dword [ecx], esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d8
ret
cmp dword [esp + 0x54], 4
ja 0x48a5bf
xor esi, esi
mov ebp, SysReAllocString
jmp 0x48a5c9

Function at 0x48a680
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 0x48ac40
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 0x48ae2b
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 0x48ae11
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.0048ae40
test eax, eax
jl 0x48ade6
mov eax, dword [esp + 0x1a4]
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0xa4]
push eax
push ecx
mov ecx, ebp
call fcn.0048aee0
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 0x48ad8b
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