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

Disassembly:
push 0xffffffffffffffff
push 0x49eaa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov edi, 0xf
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov dword [esp + 0xc], vtable.Blizzard::File::Manifests::ParameterItem.0
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 2
call fcn.00401420
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401420
lea edx, [esp + 0x58]
push edx
call fcn.00446370
mov ecx, eax
add ecx, 0x28
call fcn.0043c1d0
push 0xffffffffffffffff
mov esi, eax
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 4]
call fcn.00401420
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esi + 0x20]
call fcn.00401420
mov esi, 0x10
cmp dword [esp + 0x44], esi
jb 0x44657b
mov edx, dword [esp + 0x30]
push edx
call fcn.004655fe
add esp, 4
cmp dword [esp + 0x28], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0xc], vtable.Blizzard::File::Manifests::ManifestItem.0
jb 0x4465a2
mov eax, dword [esp + 0x14]
push eax
call fcn.004655fe
add esp, 4
cmp dword [esp + 0x70], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x4465c1
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004655fe
add esp, 4
cmp dword [esp + 0x8c], esi
mov dword [esp + 0x70], edi
pop edi
pop esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
pop ebx
jb 0x4465e6
mov edx, dword [esp + 0x6c]
push edx
call fcn.004655fe
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x446600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49eaa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov edi, 0xf
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
mov dword [esp + 0xc], vtable.Blizzard::File::Manifests::ServerPathItem.0
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 2
call fcn.00401420
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x7c]
push ecx
lea ecx, [esp + 0x38]
call fcn.00401420
lea edx, [esp + 0x58]
push edx
call fcn.00446370
mov ecx, eax
add ecx, 0x1c
call fcn.0043c0a0
push 0xffffffffffffffff
mov esi, eax
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 4]
call fcn.00401420
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esi + 0x20]
call fcn.00401420
mov esi, 0x10
cmp dword [esp + 0x44], esi
jb 0x4466bb
mov edx, dword [esp + 0x30]
push edx
call fcn.004655fe
add esp, 4
cmp dword [esp + 0x28], esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
mov dword [esp + 0xc], vtable.Blizzard::File::Manifests::ManifestItem.0
jb 0x4466e2
mov eax, dword [esp + 0x14]
push eax
call fcn.004655fe
add esp, 4
cmp dword [esp + 0x70], esi
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
jb 0x446701
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004655fe
add esp, 4
cmp dword [esp + 0x8c], esi
mov dword [esp + 0x70], edi
pop edi
pop esi
mov dword [esp + 0x64], ebx
mov byte [esp + 0x54], bl
pop ebx
jb 0x446726
mov edx, dword [esp + 0x6c]
push edx
call fcn.004655fe
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x44f9c0
Capabilities:
Get file version info

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x49f00b
push eax
mov dword fs:[0], esp
xor eax, eax
sub esp, 0x140
mov dword [esi], eax
push edi
mov edi, ecx
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push edi
mov dword [esi + 0xc], eax
call fcn.0041d920
add esp, 4
test al, al
je 0x44fb37
push ebx
push edi
lea ecx, [esp + 0x18]
call fcn.004278f0
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x158], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
ja 0x44fa2b
xor edi, edi
jmp 0x44fa36
push ebx
call fcn.004655f9
add esp, 4
mov edi, eax
mov edx, dword [esp + 0x18]
push edi
push ebx
push 0
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
pop ebx
jne 0x44fa65
test edi, edi
je 0x44fa56
push edi
call fcn.004655fe
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
jmp 0x44fb2c
lea edx, [esp + 8]
push edx
lea eax, [esp + 8]
push eax
push 0x4c8de8
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x44fb15
cmp dword [esp + 8], 0x34
jb 0x44fb15
mov eax, dword [esp + 0x154]
sub eax, 0
je 0x44fabc
sub eax, 1
jne 0x44fadb
mov eax, dword [esp + 4]
movzx ecx, word [eax + 0xa]
mov dword [esi], ecx
movzx edx, word [eax + 8]
mov dword [esi + 4], edx
movzx ecx, word [eax + 0xe]
mov dword [esi + 8], ecx
movzx edx, word [eax + 0xc]
jmp 0x44fad8
mov eax, dword [esp + 4]
movzx ecx, word [eax + 0x12]
mov dword [esi], ecx
movzx edx, word [eax + 0x10]
mov dword [esi + 4], edx
movzx ecx, word [eax + 0x16]
mov dword [esi + 8], ecx
movzx edx, word [eax + 0x14]
mov dword [esi + 0xc], edx
test edi, edi
je 0x44fae8
push edi
call fcn.004655fe
add esp, 4
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x44fafd
push eax
call fcn.004655fe
add esp, 4
mov al, 1
pop edi
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
add esp, 0x14c
ret
test edi, edi
je 0x44fb22
push edi
call fcn.004655fe
add esp, 4
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x44fb37
push eax
call fcn.004655fe
add esp, 4
mov ecx, dword [esp + 0x144]
xor al, al
pop edi
mov dword fs:[0], ecx
add esp, 0x14c
ret
Function at 0x44ffe0
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49f059
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
xor eax, eax
mov dword [esp], eax
push esi
mov esi, dword [esp + 0x28]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], eax
push edi
mov byte [esp + 0xc], 0x30
mov byte [esp + 0xd], 0x31
mov byte [esp + 0xe], 0x32
mov byte [esp + 0xf], 0x33
mov byte [esp + 0x10], 0x34
mov byte [esp + 0x11], 0x35
mov byte [esp + 0x12], 0x36
mov byte [esp + 0x13], 0x37
mov byte [esp + 0x14], 0x38
mov byte [esp + 0x15], 0x39
mov byte [esp + 0x16], 0x41
mov byte [esp + 0x17], 0x42
mov byte [esp + 0x18], 0x43
mov byte [esp + 0x19], 0x44
mov byte [esp + 0x1a], 0x45
mov byte [esp + 0x1b], 0x46
mov byte [esi + 4], al
movzx edi, byte [esp + 0x30]
mov dword [esp + 0x24], eax
mov eax, edi
shr eax, 4
mov cl, byte [esp + eax + 0xc]
mov byte [esp + 0x30], cl
mov edx, dword [esp + 0x30]
push edx
push 1
mov ecx, esi
mov dword [esp + 0x10], 1
call fcn.00407ec0
and edi, 0xf
mov al, byte [esp + edi + 0xc]
mov byte [esp + 0x30], al
mov ecx, dword [esp + 0x30]
push ecx
push 1
mov ecx, esi
call fcn.00407ec0
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret

Function at 0x450c60
Capabilities:
Delete registry key
Delete registry value
Query or enumerate registry key

Disassembly:
sub esp, 0x110
push ebp
mov ebp, dword [esp + 0x118]
lea eax, [esp + 4]
push eax
push 0x2001b
push 0
push ebp
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x450d82
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 4]
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
test esi, esi
jne 0x450d70
push 0x104
lea eax, [esp + 0x18]
push ebp
push eax
call fcn.0041de50
add esp, 0xc
mov eax, dword [esp + 8]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x1c]
push ecx
push esi
push esi
lea edx, [esp + 0x2c]
push edx
push esi
push esi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov esi, eax
test esi, esi
jne 0x450d70
mov ebp, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea esp, [esp]
cmp dword [esp + 0x10], 0
jne 0x450d70
cmp dword [esp + 0xc], 0
jne 0x450d70
lea ecx, [esp + 0x14]
push ecx
push edi
call ebp
mov esi, eax
test esi, esi
jne 0x450d70
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x14]
push 0x5c
push eax
mov dword [esp + 0x10], esi
call fcn.00488610
add esp, 8
test eax, eax
je 0x450d70
lea ecx, [esp + 8]
push ecx
push 0x2001b
push esi
lea edx, [esp + 0x20]
push edx
push edi
mov byte [eax], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x450d81
push eax
mov edx, dword [esp + 0xc]
push eax
push eax
push eax
lea eax, [esp + 0x1c]
push eax
push esi
push esi
lea ecx, [esp + 0x2c]
push ecx
push esi
push esi
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov esi, eax
test esi, esi
je 0x450cf0
mov eax, dword [esp + 8]
test eax, eax
je 0x450d7f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebp
add esp, 0x110
ret
Function at 0x450e80
Capabilities:
Set registry value

Disassembly:
sub esp, 0x240
push ebx
push esi
mov ebx, eax
test bl, 2
push edi
mov byte [esp + 0x14], 0
push 0x104
je 0x450ea6
push str.SoftwareBattle.net_
lea eax, [esp + 0x1c]
push eax
jmp 0x450eb0
push str.SoftwareBlizzard_Entertainment_
lea ecx, [esp + 0x1c]
push ecx
call fcn.0041de50
mov edx, dword [esp + 0x25c]
add esp, 0xc
push 0x104
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.0041dea0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
and bl, 4
lea edx, [esp + 0x10]
push edx
push 0
neg bl
push 0x20006
push 0
push 0
push 0
lea eax, [esp + 0x30]
push eax
sbb ebx, ebx
neg ebx
add ebx, 0x80000001
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x450f91
mov ecx, dword [esp + 0x254]
push ecx
lea ecx, [esp + 0x11c]
call fcn.004278f0
mov edx, dword [esp + 0x260]
mov ecx, dword [esp + 0x25c]
mov eax, dword [eax + 4]
push edx
mov edx, dword [esp + 0x25c]
push ecx
push edx
push esi
push eax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 0x11c]
lea ecx, [esp + 0x120]
cmp eax, ecx
je 0x450f67
push eax
call fcn.004655fe
add esp, 4
test esi, esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x450f8a
mov edx, dword [esp + 0xc]
push edx
call edi
mov esi, eax
test esi, esi
jne 0x450f8a
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x240
ret
mov eax, dword [esp + 0xc]
push eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x240
ret

Function at 0x451080
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x138
push esi
mov esi, eax
lea eax, [esp + 4]
push eax
push 0x20019
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x451101
mov ecx, dword [esp + 0x140]
mov eax, dword [esp + 0x14c]
push ecx
lea ecx, [esp + 0xc]
mov dword [esi], eax
call fcn.004278f0
mov edx, dword [esp + 0x148]
mov ecx, dword [esp + 0x144]
mov eax, dword [eax + 4]
push esi
push edx
mov edx, dword [esp + 0xc]
push ecx
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
cmp eax, ecx
je 0x4510f4
push eax
call fcn.004655fe
add esp, 4
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x138
ret
Function at 0x453f50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x453f5b
xor eax, eax
ret
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
jmp fcn.00451bc0
Function at 0x4618f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
or esi, 8
xor eax, eax
cmp esi, 1
je 0x461926
push edi
mov edx, esi
shr esi, 1
mov edi, dword [ecx + esi*4]
and edx, 1
sub edi, edx
neg edx
xor edi, edx
shr edi, 2
and edi, 0x1ff
add eax, dword [edi*4 + 0x4fe430]
cmp esi, 1
jne 0x461900
pop edi
pop esi
ret 4

Function at 0x461930
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
push esi
xor eax, eax
push edi
mov edi, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
lea esi, [eax + 1]
lea ebx, [eax + 4]
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + esi*4]
mov edx, edi
and edx, 1
sub ecx, edx
mov ebp, edx
neg ebp
xor ecx, ebp
shr ecx, 2
and ecx, 0x1ff
add eax, dword [ecx*4 + 0x4fe430]
add esi, esi
shr edi, 1
or esi, edx
sub ebx, 1
jne 0x461945
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x461980
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
test edi, edi
lea edx, [eax + 1]
je 0x4619c7
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + edx*4]
mov ecx, esi
and ecx, 1
sub ebx, ecx
mov ebp, ecx
neg ebp
xor ebx, ebp
shr ebx, 2
and ebx, 0x1ff
add eax, dword [ebx*4 + 0x4fe430]
add edx, edx
shr esi, 1
or edx, ecx
sub edi, 1
jne 0x461995
pop esi
pop ebp
pop ebx
pop edi
ret

Function at 0x461b90
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
xor ebp, ebp
cmp byte [esp + 0x10], 0
push esi
mov eax, ecx
push edi
mov dword [esp + 0x10], eax
lea edi, [ebp + 1]
lea ebx, [ebp + 8]
je 0x461c0b
movzx ecx, byte [esp + 0x20]
mov dword [esp + 0x18], ecx
movzx esi, byte [esp + 0x1c]
mov edx, dword [esp + 0x18]
sub ebx, 1
movzx ecx, bl
shr esi, cl
shr edx, cl
and esi, 1
mov ecx, esi
shl ecx, 8
add ecx, edi
mov eax, dword [eax + ecx*4 + 0x400]
and edx, 1
sub eax, edx
mov ecx, edx
neg ecx
xor eax, ecx
shr eax, 2
and eax, 0x1ff
add ebp, dword [eax*4 + 0x4fe430]
add edi, edi
or edi, edx
cmp esi, edx
jne 0x461c03
test ebx, ebx
je 0x461c45
mov eax, dword [esp + 0x10]
jmp 0x461bb3
test ebx, ebx
je 0x461c45
mov eax, dword [esp + 0x10]
movzx edx, byte [esp + 0x20]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x18]
sub ebx, 1
mov cl, bl
shr edx, cl
mov ecx, dword [eax + edi*4]
add edi, edi
and edx, 1
sub ecx, edx
mov esi, edx
neg esi
xor ecx, esi
shr ecx, 2
and ecx, 0x1ff
add ebp, dword [ecx*4 + 0x4fe430]
or edi, edx
test ebx, ebx
jne 0x461c14
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x461cd0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov ebx, dword [esp + 0x20]
mov ecx, eax
shr ecx, 2
mov edx, dword [ecx*4 + 0x4fe430]
mov ecx, 0x800
sub ecx, eax
shr ecx, 2
mov eax, dword [ecx*4 + 0x4fe430]
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], edx
mov edx, ecx
shr edx, 2
mov ebp, dword [edx*4 + 0x4fe430]
mov edx, 0x800
sub edx, ecx
shr edx, 2
mov ecx, dword [edx*4 + 0x4fe430]
add ebp, eax
add ecx, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ecx
xor esi, esi
mov edi, edi
cmp esi, dword [esp + 0x24]
jae 0x461e32
mov eax, ebx
shl eax, 5
push esi
lea ecx, [eax + edi + 8]
call fcn.004618f0
add eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [ecx + esi*4], eax
add esi, 1
cmp esi, 8
jb 0x461d30
cmp esi, 0x10
jae 0x461dd0
lea ecx, [esi - 8]
mov dword [esp + 0x20], ecx
jmp 0x461d70
cmp esi, dword [esp + 0x24]
jae 0x461e32
or ecx, 8
xor edx, edx
cmp ecx, 1
je 0x461db4
mov eax, ecx
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebx*8]
mov ebp, dword [edi + ebp*4 + 0x208]
sub ebp, eax
neg eax
xor ebp, eax
shr ebp, 2
and ebp, 0x1ff
add edx, dword [ebp*4 + 0x4fe430]
cmp ecx, 1
jne 0x461d84
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
add edx, ebp
mov dword [eax + esi*4], edx
add esi, 1
add ecx, 1
cmp esi, 0x10
mov dword [esp + 0x20], ecx
jb 0x461d70
cmp esi, dword [esp + 0x24]
jae 0x461e32
lea ebx, [esi - 0x10]
lea esp, [esp]
mov ecx, ebx
or ecx, 0x100
xor edx, edx
cmp ecx, 1
je 0x461e19
nop
mov eax, ecx
shr ecx, 1
mov ebp, dword [edi + ecx*4 + 0x408]
and eax, 1
sub ebp, eax
neg eax
xor ebp, eax
shr ebp, 2
and ebp, 0x1ff
add edx, dword [ebp*4 + 0x4fe430]
cmp ecx, 1
jne 0x461df0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
add edx, ecx
mov dword [eax + esi*4], edx
add esi, 1
add ebx, 1
cmp esi, dword [esp + 0x24]
jb 0x461de0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4632e0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x20c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov esi, 4
cmp esi, 0x2000
jae 0x463302
movzx edx, byte [esi + 0x4fec30]
jmp 0x46332a
cmp esi, 0x2000000
jae 0x46331b
mov eax, esi
shr eax, 0xc
movzx edx, byte [eax + 0x4fec30]
add edx, 0x18
jmp 0x46332a
mov ecx, esi
shr ecx, 0x18
movzx edx, byte [ecx + 0x4fec30]
add edx, 0x30
mov ecx, edx
mov eax, edx
and eax, 1
shr ecx, 1
sub ecx, 1
or eax, 2
shl eax, cl
mov edi, esi
sub edi, eax
push edi
sub eax, edx
push ecx
lea edx, [ebx + eax*4 + 0x28bac]
push edx
call fcn.00461980
mov dword [esp + esi*4 + 0x28], eax
add esi, 1
add esp, 0xc
cmp esi, 0x80
jb 0x4632f1
lea ebp, [esp + 0x1c]
sub ebp, ebx
lea esi, [ebx + 0x3331c]
sub ebp, 0x33314
lea edx, [ebx + 0x32f14]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], 4
jmp 0x463394
mov esi, dword [esp + 0x10]
xor edi, edi
cmp dword [ebx + 0x33b58], edi
jbe 0x4633ef
mov edi, edi
mov ecx, edi
or ecx, 0x40
xor esi, esi
cmp ecx, 1
je 0x4633dd
lea esp, [esp]
mov eax, ecx
shr ecx, 1
mov ebp, dword [edx + ecx*4 - 0xa764]
and eax, 1
sub ebp, eax
neg eax
xor ebp, eax
shr ebp, 2
and ebp, 0x1ff
add esi, dword [ebp*4 + 0x4fe430]
cmp ecx, 1
jne 0x4633b0
mov ebp, dword [esp + 0x14]
mov dword [edx + edi*4], esi
add edi, 1
cmp edi, dword [ebx + 0x33b58]
jb 0x4633a0
mov esi, dword [esp + 0x10]
mov eax, 0xe
cmp dword [ebx + 0x33b58], eax
jbe 0x463418
lea esp, [esp]
mov ecx, eax
shr ecx, 1
sub ecx, 5
shl ecx, 6
add dword [edx + eax*4], ecx
add eax, 1
cmp eax, dword [ebx + 0x33b58]
jb 0x463400
mov eax, dword [edx]
mov dword [esi - 8], eax
mov ecx, dword [edx + 4]
mov dword [esi - 4], ecx
mov eax, dword [edx + 8]
mov dword [esi], eax
mov ecx, dword [edx + 0xc]
mov dword [esi + 4], ecx
mov eax, 4
add esi, 8
cmp eax, 0x2000
jae 0x463446
movzx ecx, byte [eax + 0x4fec30]
jmp 0x46346b
cmp eax, 0x2000000
mov ecx, eax
jae 0x46345e
shr ecx, 0xc
movzx ecx, byte [ecx + 0x4fec30]
add ecx, 0x18
jmp 0x46346b
shr ecx, 0x18
movzx ecx, byte [ecx + 0x4fec30]
add ecx, 0x30
mov ecx, dword [edx + ecx*4]
add ecx, dword [esi + ebp]
add eax, 1
mov dword [esi], ecx
add esi, 4
cmp eax, 0x80
jb 0x463436
add dword [esp + 0x10], 0x200
sub ebp, 0x200
add edx, 0x100
sub dword [esp + 0x18], 1
mov dword [esp + 0x14], ebp
jne 0x463390
pop edi
pop esi
pop ebp
mov dword [ebx + 0x33b70], 0
pop ebx
add esp, 0x20c
ret

Function at 0x4653c0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x104
lea eax, [esp]
push eax
lea ecx, [esp + 8]
mov dword [esp + 4], 0
push ecx
mov dword [esp + 8], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x465408
mov edx, dword [str._unknown_]
mov eax, dword [0x4d5360]
mov cx, word [0x4d5364]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov word [esp + 0xc], cx
push esi
mov esi, dword [esp + 0x10c]
lea eax, [esp + 8]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], 0
mov byte [esi + 4], 0
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x465430
sub eax, edx
push eax
lea edx, [esp + 0xc]
push edx
mov ecx, esi
call fcn.00401500
mov eax, esi
pop esi
add esp, 0x104
ret
Function at 0x465460
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x49f2c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
xor ebx, ebx
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x90], ebx
call fcn.004653c0
add esp, 4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x98], 1
call fcn.00401420
cmp dword [esp + 0x38], 0x10
mov byte [esp + 0x8c], bl
jb 0x4654d2
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004655fe
add esp, 4
lea edx, [esp + 0x60]
push edx
call fcn.0042c2f0
add esp, 4
test al, al
jne 0x46550f
cmp dword [esp + 0x54], 0x10
jb 0x4654f7
mov eax, dword [esp + 0x40]
push eax
call fcn.004655fe
add esp, 4
xor al, al
pop ebx
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
add esp, 0x8c
ret
lea ecx, [esp + 0x58]
push ecx
call fcn.00465370
add esp, 4
call fcn.0041da10
push ebx
mov dword [esp + 0x7c], edx
lea edx, [esp + 8]
push edx
push ebx
push ebx
mov dword [esp + 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
jne 0x465542
xor ecx, ecx
jmp 0x46554a
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x7c], eax
push 0x48
lea eax, [esp + 0x40]
mov dword [esp + 0x84], ecx
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00420450
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [eax], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
add esp, 0xc
cmp dword [esp + 0x54], 0x10
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
jb 0x46559f
mov edx, dword [esp + 0x40]
push edx
call fcn.004655fe
add esp, 4
mov ecx, dword [esp + 0x84]
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret
Function at 0x465d9f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x49f322
call fcn.0048a6eb
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0046d7e4
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x465dea
call fcn.0046d7e4
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x465dfb
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x465e08
or eax, 0xffffffff
jmp 0x465f64
mov ecx, esi
call fcn.004658cf
mov dword [ebp - 0x14], eax
call fcn.00468899
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x465e86
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x465e86
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x465e86
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00404140
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x465e86
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x465e86
mov ecx, ebx
call fcn.0046bf80
test eax, eax
je 0x465e86
push 0
mov ecx, ebx
call fcn.0046bf9b
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0046a42e
push dword [ebp - 0x14]
call fcn.004687f1
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00465ba7
xor edi, edi
cmp eax, edi
je 0x465ee3
test byte [esi + 0x3c], 0x10
je 0x465ecd
push 4
pop edi
mov ecx, esi
call fcn.0046be3d
test ax, 0x100
je 0x465ec3
push 5
pop edi
push edi
mov ecx, esi
call fcn.00468362
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x465ee3
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0046c16a
or dword [ebp - 4], 0xffffffff
jmp 0x465f0e
cmp dword [ebp - 0x28], edi
je 0x465f1c
push 1
mov ecx, ebx
call fcn.0046bf9b
cmp dword [ebp - 0x2c], edi
je 0x465f2c
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x465f45
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x465f45
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00465909
cmp dword [esi + 0x58], edi
je 0x465f61
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0048a790
ret