joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4649fc
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x5c
xor ecx, ecx
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov eax, dword [0x4f55a8]
cmp eax, ecx
js 0x464a2e
cmp eax, 0x3c
jl 0x464a21
jmp 0x464a2e
mov edx, dword [0x4f55a8]
mov ecx, dword [edx*4 + 0x4f5468]
lea eax, [esp + 0x44]
xor edx, edx
mov dword [esp + 0x34], ecx
push eax
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax + 0x14], dx
push ecx
call sub.KERNEL32.DLL_GetConsoleScreenBufferInfo
test eax, eax
setne cl
mov byte [esp + 0x5a], cl
mov dword [esp + 4], 0x5076d0
mov dword [esp], 0x4f5598
call fcn.004a9fd8
test eax, eax
jg 0x464b46
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
push ebx
mov ecx, fcn.00464c1c
push ecx
lea esi, [esp + 0x2c]
push esi
call fcn.0046d828
cmp dword [esp + 0x24], 0
je 0x464bee
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
test ebx, ebx
je 0x464ac9
mov edi, dword [ebx]
mov eax, dword [edi]
push dword [eax + 0x14]
push dword [eax + 0x10]
lea eax, [esp + 0x24]
call fcn.00464c1c
mov ecx, 0x5076d4
push ecx
call sub.KERNEL32.DLL_LoadLibraryW
mov ebx, eax
test eax, eax
je 0x464b23
mov edx, 0x5076ec
push edx
push ebx
call sub.KERNEL32.DLL_GetProcAddress
test eax, eax
je 0x464b23
cmp dword [esp + 0x24], 0
je 0x464aff
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov word [edi + esi*2], 0
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x1c], 0
je 0x464b18
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov word [esi + edx*2], 0
push 0x10
push dword [esp + 0x20]
push ecx
push 0
call eax
push ebx
call sub.KERNEL32.DLL_FreeLibrary
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call fcn.004a8fd8
mov edi, dword [esp + 0x24]
mov dword [esp], edi
call fcn.004a8fd8
jmp 0x464bee
cmp byte [esp + 0x5a], 0
je 0x464bfe
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
push ebx
mov edi, fcn.00464c1c
push edi
lea eax, [esp + 0x1c]
push eax
call fcn.0046d828
cmp dword [esp + 0x14], 0
je 0x464bee
call sub.KERNEL32.DLL_GetConsoleOutputCP
mov dword [esp + 0x2c], eax
push 0
push 0
push 0
push 0
push dword [esp + 0x28]
push dword [esp + 0x28]
push 0
push eax
call sub.KERNEL32.DLL_WideCharToMultiByte
mov dword [esp + 0x30], eax
mov dword [esp], eax
call fcn.004a9378
mov ebx, eax
test eax, eax
je 0x464be2
push 0
push 0
push dword [esp + 0x38]
push ebx
push dword [esp + 0x28]
push dword [esp + 0x28]
push 0
push dword [esp + 0x48]
call sub.KERNEL32.DLL_WideCharToMultiByte
push 0
push 0
push dword [esp + 0x38]
push ebx
push dword [esp + 0x44]
call sub.KERNEL32.DLL_WriteFile
mov dword [esp], ebx
call fcn.004a8fd8
mov edx, dword [esp + 0x14]
mov dword [esp], edx
call fcn.004a8fd8
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
add esp, 0x5c
ret
push ebx
mov esi, 0x464cc4
push esi
push 0
call fcn.0046d828
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
add esp, 0x5c
ret
Function at 0x466760
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov edx, dword fs:[0]
push 0xffffffffffffffff
xor eax, eax
push 0x4668ef
push edx
mov dword fs:[0], esp
sub esp, 0x34
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x1c], eax
call sub.KERNEL32.DLL_GetEnvironmentStringsW
mov ecx, 0x4668fc
mov edx, 0x4dabf0
push eax
push ecx
push 0
push edx
mov dword [ebp - 0x18], eax
mov eax, 0xdd7
push 0xd
call fcn.00471364
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp - 0x18]
cmp word [esi], 0
je 0x466893
mov ecx, dword [ebp - 0x18]
mov esi, ebx
cmp word [ecx + ebx*2], 0x3d
je 0x4667d6
inc ebx
mov edx, dword [ebp - 0x18]
cmp word [edx + ebx*2], 0x3d
jne 0x4667cb
mov eax, ebx
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + esi*2]
push edx
sub eax, esi
push eax
call fcn.00471344
push edx
push eax
call fcn.00471334
mov ecx, dword [ebp - 0x18]
lea esi, [ebx + 1]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
cmp word [ecx + ebx*2], 0
je 0x46680c
inc ebx
mov edx, dword [ebp - 0x18]
cmp word [edx + ebx*2], 0
jne 0x466801
cmp dword [ebp - 0x34], 0
je 0x466884
mov eax, ebx
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + esi*2]
push edx
sub eax, esi
push eax
call fcn.00471334
lea ecx, [ebp - 0x34]
mov edi, 0x4c1720
push ecx
push edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
push dword [ebp - 0x1c]
call fcn.0044fb58
add esp, 0xc
test eax, eax
jne 0x466884
mov edx, dword [ebp - 0x20]
or edx, dword [ebp - 0x24]
je 0x466852
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x24]
jmp 0x466859
mov edx, 0x4bb220
xor eax, eax
lea ecx, [ebp - 0x34]
push ecx
mov ecx, 0x4e8e50
push 8
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
push ecx
call fcn.0044fb10
mov esi, eax
mov eax, dword [ebp - 0x2c]
mov dword [esi], eax
mov edx, dword [ebp - 0x28]
mov dword [esi + 4], edx
add esp, 0x10
inc ebx
mov esi, dword [ebp - 0x18]
cmp word [esi + ebx*2], 0
jne 0x4667bf
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
push eax
call fcn.004668c5
pop eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x38]
mov esp, ebp
pop ebp
ret
Function at 0x468078
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x64
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp + 0x60], eax
call fcn.00468178
cmp eax, 0xffffffff
mov dword [esp + 0x44], eax
jne 0x46809a
ud2
mov dword [esp + 0x10], 0x4e6d30
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0xc], 0xe
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x60]
xor edx, edx
mov dword [esp + 0x18], ecx
mov eax, 0xa
mov dword [esp + 0x20], 0x4c0c70
mov dword [esp + 0x1c], 1
push edx
push esi
lea edi, [esp + 0x54]
push edi
push 0x14
call fcn.00407ff4
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x24], eax
xor ebx, ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x30], 0x4e6d40
mov dword [esp + 0x2c], 2
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov eax, dword [esp + ebx*8 + 0xc]
mov edx, dword [esp + ebx*8 + 0x10]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edx
push 0
push 0
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esp + 0x54]
call sub.KERNEL32.DLL_WriteFile
lea edi, [ebx + 1]
mov eax, dword [esp + edi*8 + 0xc]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + edi*8 + 0x10]
mov dword [esp + 0x40], edx
push 0
push 0
push dword [esp + 0x44]
push dword [esp + 0x4c]
push dword [esp + 0x54]
call sub.KERNEL32.DLL_WriteFile
add ebx, 2
cmp ebx, 6
jb 0x46810d
call fcn.004ab96c
mov ebx, dword [esp]
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
add esp, 0x64
ret 0x10

Function at 0x468a30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov dword [esp + 4], esi
mov esi, dword [esp + 0x14]
mov dword [esp], ebx
mov dword [esp + 0xc], eax
mov eax, esi
call fcn.00472d2c
mov ebx, eax
mov byte [esp + 8], bl
and bl, byte [esp + 0xc]
mov al, bl
push esi
push dword [esp + 0xc]
call fcn.00472d3c
xor al, 1
jne 0x468a42
mov al, bl
mov ebx, dword [esp]
mov esi, dword [esp + 4]
add esp, 0x10
ret 4

Function at 0x46b4e4
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov dword [esp], esi
mov dword [esp + 4], edi
call fcn.004142a4
lea esi, [esp + 0x30]
lea edi, [esp + 0x18]
mov dword [esp + 8], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x18]
call fcn.004176f4
xor al, 1
je 0x46b53b
lea eax, [esp + 0x18]
call fcn.00417694
push edx
push eax
lea eax, [esp + 0x10]
call fcn.00414634
lea eax, [esp + 0x18]
call fcn.0041770c
lea eax, [esp + 0x18]
call fcn.004176f4
xor al, 1
jne 0x46b511
lea eax, [esp + 8]
call fcn.00414420
mov esi, dword [esp]
mov edi, dword [esp + 4]
add esp, 0x2c
ret 0x14

Function at 0x46c968
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
lea eax, [esp + 8]
call fcn.0047a1e8
xor al, 1
je 0x46c9a3
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00420af0
push eax
mov eax, ebx
call fcn.00409154
lea eax, [esp + 8]
call fcn.00420cc8
lea eax, [esp + 8]
call fcn.0047a1e8
xor al, 1
jne 0x46c978
pop ebx
ret 8
Function at 0x470a00
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov edx, dword fs:[0]
push 0xffffffffffffffff
push 0x470be0
push edx
mov dword fs:[0], esp
sub esp, 0x24
mov dword [ebp - 0x30], ebx
xor ebx, ebx
push 0xffffffffffffffff
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x18], eax
push dword [eax + 8]
call sub.KERNEL32.DLL_WaitForSingleObject
mov eax, dword [ebp - 0x18]
push 0
push 1
mov ecx, dword [ebp - 0x18]
inc dword [eax + 0x30]
push dword [ecx + 8]
call sub.KERNEL32.DLL_ReleaseSemaphore
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
mov esi, dword [eax]
call dword [esi + 0x1c]
mov dword [ebp - 4], 0
push dword [ebp + 8]
mov edx, dword [ebp - 0x18]
push dword [edx + 0xc]
call sub.KERNEL32.DLL_WaitForSingleObject
mov esi, eax
cmp eax, 0x102
sete cl
mov edx, dword [ebp - 0x18]
mov byte [ebp - 0x1c], cl
lea ecx, [edx + 0x14]
push ecx
call sub.KERNEL32.DLL_EnterCriticalSection
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x18]
mov edi, dword [edx + 0x34]
test edi, edi
je 0x470af5
cmp byte [ebp - 0x1c], 0
je 0x470ab4
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x30], 0
je 0x470aad
mov edx, dword [ebp - 0x18]
xor edi, edi
dec dword [edx + 0x30]
jmp 0x470ab4
mov dword [ecx + 0x2c], 1
mov ecx, dword [ebp - 0x18]
dec dword [ecx + 0x34]
mov edx, dword [ecx + 0x34]
test edx, edx
jne 0x470b3c
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x30], 0
je 0x470adf
push 0
push 1
mov edx, dword [ebp - 0x18]
push dword [edx + 8]
call sub.KERNEL32.DLL_ReleaseSemaphore
mov esi, eax
xor edi, edi
jmp 0x470b3c
mov edx, dword [ebp - 0x18]
mov ebx, dword [edx + 0x2c]
test ebx, ebx
je 0x470b3c
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x2c], 0
jmp 0x470b3c
mov ecx, dword [ebp - 0x18]
inc dword [ecx + 0x2c]
mov edx, dword [ecx + 0x2c]
cmp edx, 0x3fffffff
jne 0x470b3c
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
push dword [ecx + 8]
call sub.KERNEL32.DLL_WaitForSingleObject
mov edx, dword [ebp - 0x18]
mov ecx, dword [edx + 0x2c]
push 0
mov edx, dword [ebp - 0x18]
mov esi, eax
sub dword [edx + 0x30], ecx
push 1
mov ecx, dword [ebp - 0x18]
push dword [ecx + 8]
call sub.KERNEL32.DLL_ReleaseSemaphore
mov edx, dword [ebp - 0x18]
mov esi, eax
mov dword [edx + 0x2c], 0
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + 0x14]
push edx
call sub.KERNEL32.DLL_LeaveCriticalSection
cmp edi, 1
jne 0x470b78
test ebx, ebx
jle 0x470b65
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x18]
push dword [ecx + 0xc]
call sub.KERNEL32.DLL_WaitForSingleObject
dec ebx
mov esi, eax
test ebx, ebx
jg 0x470b51
push 0
push 1
mov ebx, dword [ebp - 0x18]
push dword [ebx + 8]
call sub.KERNEL32.DLL_ReleaseSemaphore
mov esi, eax
jmp 0x470b8d
test edi, edi
je 0x470b8d
push 0
push 1
mov eax, dword [ebp - 0x18]
push dword [eax + 0xc]
call sub.KERNEL32.DLL_ReleaseSemaphore
mov esi, eax
mov esi, dword [ebp - 0x18]
mov eax, dword [esi + 0x10]
mov edx, dword [eax]
call dword [edx + 0x14]
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
mov esp, ebp
pop ebp
xor al, 1
ret 4
Function at 0x472d20
Capabilities:
Get file attributes

Disassembly:
push eax
push eax
call sub.KERNEL32.DLL_GetFileAttributesW
pop ecx
ret

Function at 0x474670
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
push eax
mov eax, 1
push 0
call fcn.0047fa04
xor al, 1
je 0x47469a
call fcn.004561d0
mov eax, 1
push ebx
push 0
call fcn.0047fa04
xor al, 1
jne 0x474684
pop ebx
ret

Function at 0x4794b4
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
lea eax, [esp + 8]
call fcn.00408354
xor al, 1
je 0x4794ef
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00408360
push eax
mov eax, ebx
call fcn.00480554
lea eax, [esp + 8]
call fcn.004083e0
lea eax, [esp + 8]
call fcn.00408354
xor al, 1
jne 0x4794c4
pop ebx
ret 8

Function at 0x47a030
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, eax
lea eax, [esp + 8]
call fcn.00420ae4
xor al, 1
je 0x47a06b
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00420af0
push eax
mov eax, ebx
call fcn.00441528
lea eax, [esp + 8]
call fcn.00420cc8
lea eax, [esp + 8]
call fcn.00420ae4
xor al, 1
jne 0x47a040
pop ebx
ret 8

Function at 0x47a8a0
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor ebx, ebx
lea eax, [esp + 8]
call fcn.0046d5e0
xor al, 1
je 0x47a8c7
inc ebx
lea eax, [esp + 8]
call fcn.0046d62c
lea eax, [esp + 8]
call fcn.0046d5e0
xor al, 1
jne 0x47a8b0
mov eax, ebx
pop ebx
ret 0x30

Function at 0x47a8d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
mov ecx, 0xc
mov dword [esp], esi
lea esi, [esp + 0x44]
mov dword [esp + 4], edi
lea edi, [esp + 8]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 8]
call fcn.0046d5e0
xor al, 1
je 0x47a91f
lea ecx, [esp + 0x3c]
push ecx
lea eax, [esp + 0xc]
call fcn.0046d604
call fcn.00480c38
lea eax, [esp + 8]
call fcn.0046d62c
lea eax, [esp + 8]
call fcn.0046d5e0
xor al, 1
jne 0x47a8f6
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
mov esi, dword [esp]
mov edi, dword [esp + 4]
add esp, 0x38
ret 0x38

Function at 0x47d88c
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
call fcn.00449d04
mov dword [esp], eax
push dword [esp + 0x24]
lea eax, [esp + 4]
call fcn.004499b8
push dword [esp + 0x28]
push dword [esp + 0x28]
lea eax, [esp + 0x18]
call fcn.00485c10
lea eax, [esp + 0x10]
call fcn.00485c7c
xor al, 1
je 0x47d8eb
lea eax, [esp + 0x10]
call fcn.00485c98
push eax
lea eax, [esp + 4]
call fcn.0040937c
lea eax, [esp + 0x10]
call fcn.00485db0
lea eax, [esp + 0x10]
call fcn.00485c7c
xor al, 1
jne 0x47d8c2
lea eax, [esp]
call fcn.004499e8
add esp, 0x20
ret 8
Function at 0x481b30
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x828
mov dword [esp + 0x10], ebx
xor ebx, ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov eax, dword [ebx*8 + 0x4eca00]
mov edx, dword [ebx*8 + 0x4eca04]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
push 0x800
lea ecx, [esp + 0x2c]
push ecx
push dword [esp + 0x2c]
call sub.KERNEL32.DLL_GetEnvironmentVariableA
mov esi, eax
test eax, eax
je 0x481bc4
mov dword [esp + 8], esi
lea edx, [esp + 0x28]
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], edx
mov edx, 0x4c1720
mov dword [esp + 4], ecx
mov dword [esp], edx
call fcn.004558c4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], 0x4c0d50
mov dword [esp + 8], 1
mov dword [esp + 4], ecx
mov dword [esp], 0x4c1720
call fcn.004558c4
inc ebx
cmp ebx, 3
jb 0x481b50
mov dword [esp + 0xc], 0x4eca60
lea eax, [esp + 0x18]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0x4c1720
call fcn.004558c4
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add esp, 0x828
ret
Function at 0x482b10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword fs:[0]
push 0xffffffffffffffff
push 0x482d2f
push edx
mov edx, 0x4d7ba0
mov dword fs:[0], esp
sub esp, 8
sub esp, 0x130
mov dword [ebp - 0x13c], ebx
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x18], eax
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ebp - 0x128], 0xffffffff
mov dword [ebp - 0x140], 0x64
mov dword [ebp - 0x144], edx
call fcn.0044c0d0
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x12c], edx
call fcn.0045d3bc
push dword [ebp + 0x10]
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x120]
push dword [ebp + 0xc]
call fcn.0045e5dc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x120]
call fcn.00420314
mov edi, eax
lea eax, [ebp - 0x124]
push eax
mov edx, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
push edx
push ecx
push 0
push edi
push ebx
call sub.ADVAPI32.DLL_RegQueryValueExW
mov esi, eax
cmp eax, 0xea
jne 0x482c30
lea ecx, [ebp - 0x130]
mov edx, 0x4d7ba0
push ecx
push dword [ebp - 0x124]
push edx
call fcn.00454164
lea eax, [ebp - 0x120]
call fcn.00420314
mov edi, eax
lea eax, [ebp - 0x124]
push eax
mov edx, dword [ebp - 0x12c]
lea ecx, [ebp - 0x128]
push edx
push ecx
push 0
push edi
push ebx
call sub.ADVAPI32.DLL_RegQueryValueExW
mov esi, eax
add esp, 0xc
push esi
mov ebx, 0x482d3c
mov edi, 0x4eac90
push ebx
mov eax, 0x2c7
push 0
push edi
push 0x16
call fcn.0048262c
mov ecx, dword [ebp - 0x128]
cmp ecx, dword [ebp - 0x18]
sete dl
mov ebx, 0x482d48
push edx
push ebx
push 0
call fcn.0044c084
mov edi, dword [ebp - 0x128]
cmp edi, 3
je 0x482ca4
mov esi, 0x4eab80
push esi
call fcn.0044a170
add esp, 4
mov ecx, 0x4eccb0
push ecx
mov edx, 0x4eac90
mov ebx, eax
push 0x27
mov eax, ebx
push edx
push 0x16
push 0x2d3
push 0
call fcn.0047b0d0
push eax
call fcn.0044a110
lea eax, [ebp - 0x130]
mov ecx, 0x4d7ba0
push eax
push dword [ebp - 0x124]
push ecx
call fcn.00454164
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x130]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0xc]
push 0xffffffffffffffff
push ecx
push 0x4ecc90
call fcn.004540c0
add esp, 0xc
call fcn.00482cf7
jmp 0x482d0a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ebx, dword [ebp - 0x13c]
mov esi, dword [ebp - 0x138]
mov edi, dword [ebp - 0x134]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x482d78
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword fs:[0]
push 0xffffffffffffffff
push 0x482ec1
push edx
mov dword fs:[0], esp
sub esp, 8
sub esp, 0x128
mov dword [ebp - 0x13c], ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x120]
mov dword [ecx], 0
mov dword [ecx + 4], 0
push dword [ebp + 0x10]
mov dword [ebp - 0x130], 0xffffffff
mov dword [ebp - 0x12c], 8
push dword [ebp + 0xc]
call fcn.0045e5dc
mov dword [ebp - 4], 0
lea edx, [ebp - 0x12c]
push edx
lea ebx, [ebp - 0x130]
lea eax, [ebp - 0x120]
push dword [ebp + 8]
push ebx
push 0
call fcn.00420314
push eax
push dword [ebp + 0x14]
call sub.ADVAPI32.DLL_RegQueryValueExW
mov ecx, 0x482ecc
mov esi, 0x4eac90
push eax
mov eax, 0x2a5
push ecx
push 0
push esi
push 0x16
call fcn.0048262c
mov dword [ebp - 4], 0xffffffff
call fcn.00482e3b
jmp 0x482e47
mov edx, dword [ebp - 0x130]
cmp edx, dword [ebp - 0x18]
sete cl
mov ebx, 0x482ed8
push ecx
push ebx
push 0
call fcn.0044c084
mov esi, dword [ebp - 0x130]
cmp esi, 0xb
je 0x482e9c
mov eax, 0x4ecd60
mov edx, 0x4eac90
mov ecx, 0x4eab80
push eax
push 0x2f
push edx
push 0x16
push 0x2b0
push 0
push ecx
call fcn.0044a170
add esp, 4
call fcn.0047b0d0
push eax
call fcn.0044a110
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ebx, dword [ebp - 0x13c]
mov esi, dword [ebp - 0x138]
mov edi, dword [ebp - 0x134]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x482f08
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword fs:[0]
push 0xffffffffffffffff
push 0x48305c
push edx
mov dword fs:[0], esp
sub esp, 8
sub esp, 0x128
mov dword [ebp - 0x13c], ebx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x120]
mov dword [ecx], 0
push dword [ebp + 0x10]
mov dword [ebp - 0x130], 0xffffffff
mov dword [ebp - 0x12c], 4
push dword [ebp + 0xc]
call fcn.0045e5dc
mov dword [ebp - 4], 0
lea edx, [ebp - 0x12c]
push edx
lea ebx, [ebp - 0x130]
lea eax, [ebp - 0x120]
push dword [ebp + 8]
push ebx
push 0
call fcn.00420314
push eax
push dword [ebp + 0x14]
call sub.ADVAPI32.DLL_RegQueryValueExW
mov ecx, 0x483068
mov esi, 0x4eac90
push eax
mov eax, 0x281
push ecx
push 0
push esi
push 0x16
call fcn.0048262c
mov dword [ebp - 4], 0xffffffff
call fcn.00482fc4
jmp 0x482fd0
mov edx, dword [ebp - 0x130]
cmp edx, dword [ebp - 0x18]
sete cl
mov ebx, 0x483074
push ecx
push ebx
push 0
call fcn.0044c084
mov esi, dword [ebp - 0x130]
cmp esi, 4
je 0x483037
cmp esi, 5
je 0x482ffc
jmp 0x483007
mov edx, dword [ebp + 8]
mov eax, dword [edx]
bswap eax
mov dword [edx], eax
jmp 0x483037
mov edx, 0x4ecdb0
mov ecx, 0x4eac90
mov ebx, 0x4eab80
push edx
push 0x2f
push ecx
push 0x16
push 0x297
push 0
push ebx
call fcn.0044a170
add esp, 4
call fcn.0047b0d0
push eax
call fcn.0044a110
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ebx, dword [ebp - 0x13c]
mov esi, dword [ebp - 0x138]
mov edi, dword [ebp - 0x134]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4833e4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword fs:[0]
push 0xffffffffffffffff
push 0x483673
push edx
mov dword fs:[0], esp
sub esp, 8
sub esp, 0x13c
mov dword [ebp - 0x148], edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x150], ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x14c], esi
lea esi, [ebp - 0x144]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x124]
mov dword [edi], 0
mov dword [edi + 4], 0
push dword [ebp + 0x10]
mov dword [ebp - 0x134], 0xffffffff
mov dword [ebp - 0x144], 0
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x130], 8
push dword [ebp + 0xc]
call fcn.0045e5dc
mov dword [ebp - 4], 0
lea eax, [ebp - 0x124]
call fcn.00420314
lea ecx, [ebp - 0x134]
lea ecx, [ebp - 0x130]
lea edx, [ebp - 0x144]
push ecx
push edx
lea edx, [ebp - 0x134]
push edx
push 0
push eax
push ebx
call sub.ADVAPI32.DLL_RegQueryValueExW
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xea
jne 0x4834eb
push dword [ebp - 0x130]
mov ecx, 0x4d7ad0
push ecx
call fcn.0044c0d0
mov esi, edx
lea eax, [ebp - 0x124]
call fcn.00420314
lea ecx, [ebp - 0x130]
push ecx
lea edx, [ebp - 0x134]
push esi
push edx
push 0
push eax
push ebx
call sub.ADVAPI32.DLL_RegQueryValueExW
mov dword [ebp - 0x1c], eax
add esp, 8
push dword [ebp - 0x1c]
mov edx, 0x483680
mov ecx, 0x4eac90
push edx
mov eax, 0x221
push 0
push ecx
push 0x16
call fcn.0048262c
mov edx, dword [ebp - 0x134]
cmp edx, dword [ebp - 0x18]
sete cl
mov edx, 0x48368c
push ecx
push edx
push 0
call fcn.0044c084
mov ebx, dword [ebp - 0x134]
cmp ebx, 0xb
ja case.0x483531.0
jmp dword [ebx*4 + 0x4ece00]
mov dword [ebp - 0x138], esi
mov ecx, dword [ebp - 0x130]
shr ecx, 1
mov dword [ebp - 0x13c], ecx
cmp dword [ebp - 0x13c], 0
je 0x48358d
mov edx, dword [ebp - 0x13c]
lea ecx, [esi + edx*2]
mov eax, dword [ebp - 0x13c]
cmp word [ecx - 2], 0
jne 0x48358d
lea ebx, [ebp - 0x13c]
mov edx, 0x4f1660
push ebx
mov eax, dword [ebp - 0x13c]
lea esi, [eax - 1]
push esi
push edx
call fcn.0044e730
add esp, 0xc
push dword [ebp - 0x138]
push dword [ebp - 0x13c]
call fcn.0048f620
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x483617
mov eax, dword [ebp - 0x144]
call fcn.00409894
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x483617
mov eax, dword [ebp - 0x144]
bswap eax
call fcn.00409894
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x483617
push dword [ebp - 0x140]
push dword [ebp - 0x144]
call fcn.0048f630
mov dword [edi], eax
mov dword [edi + 4], edx
jmp 0x483617
mov ecx, 0x4eab80
push ecx
call fcn.0044a170
add esp, 4
mov edi, 0x4eccb0
push edi
mov esi, 0x4eac90
mov ebx, eax
push 0x27
mov eax, ebx
push esi
push 0x16
push 0x247
push 0
call fcn.0047b0d0
push eax
call fcn.0044a110
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc]
push 0xffffffffffffffff
push ecx
push 0x4ece30
call fcn.004540c0
add esp, 0xc
call fcn.0048363b
jmp 0x48364e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ebx, dword [ebp - 0x150]
mov esi, dword [ebp - 0x14c]
mov edi, dword [ebp - 0x148]
mov esp, ebp
pop ebp
ret 0x10