joyce8/EMBER2024-capa huggingface dataset:
Function at 0x418180
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x488f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0047f70e
mov ecx, dword [eax + 8]
push 0x5a
push ecx
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x48
push eax
push 0x48
call dword [sym.imp.KERNEL32.dll_MulDiv]
xor ebx, ebx
mov dword [ebp + 0x3d8], eax
mov dword [ebp + 0x3dc], ebx
mov dword [ebp + 0x3e0], ebx
mov dword [ebp + 0x3e4], ebx
mov dword [ebp + 0x3e8], 0x2bc
mov byte [ebp + 0x3ec], bl
mov byte [ebp + 0x3ed], bl
mov byte [ebp + 0x3ee], bl
mov byte [ebp + 0x3ef], 1
mov byte [ebp + 0x3f0], 2
mov byte [ebp + 0x3f1], 1
mov byte [ebp + 0x3f2], bl
mov byte [ebp + 0x3f3], bl
mov edx, dword [0x4b20c8]
mov dword [esp + 0x10], edx
push 0x4b61a0
lea eax, [esp + 0x14]
push 1
push eax
mov dword [esp + 0x38], ebx
call fcn.00480d27
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x3f4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + 0x3d8]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0x414]
call fcn.00481893
push ebx
lea ecx, [esp + 0x18]
push ebp
lea esi, [ebp + 0x5c]
push ecx
mov edi, 0x1e
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], 0xa
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0x107
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push ebx
lea edx, [esp + 0x18]
push ebp
lea esi, [ebp + 0x114]
push edx
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], 0xa
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0x1cf
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push 0xd7
push 0x1d2
push 0x1d1
push 0xd7
lea ecx, [ebp + 0x1cc]
call fcn.00459400
push 0x4b61a0
lea eax, [esp + 0x14]
push 0xd
push eax
call fcn.00480d27
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
push 0x3c
lea esi, [ebp + 0x340]
push ebx
push ecx
push ebx
mov ecx, esi
call fcn.00476b05
push 0x4b61a0
lea edx, [esp + 0x14]
push 8
push edx
call fcn.00480d27
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push 0x96
push ebx
push eax
push 1
mov ecx, esi
call fcn.00476b05
push 0x4b61a0
lea ecx, [esp + 0x14]
push 0xe
push ecx
call fcn.00480d27
mov edx, dword [esp + 0x10]
push 0xffffffffffffffff
push 0xf9
push ebx
push edx
push 2
mov ecx, esi
call fcn.00476b05
mov eax, dword [ebp + 0x35c]
push 0x24
push ebx
push 0x1036
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp + 0x380], 1
push ebx
mov ecx, esi
add ebp, 0x388
call fcn.004772fd
push eax
mov ecx, ebp
call fcn.00401060
push ebx
push ebx
mov ecx, ebp
call fcn.00401120
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x41a9e0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x160
mov ecx, 0x58
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x168]
push 0x800
lea eax, [esp + 8]
push 0x160
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
mov eax, dword [esp + 0xc]
pop edi
and eax, 0x20000000
add esp, 0x160
ret 4
Function at 0x41c740
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4899cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x228
push esi
push edi
mov edi, ecx
call fcn.004834fa
mov esi, dword [eax + 4]
push str.AdPath.ini
lea ecx, [esp + 0xc]
lea eax, [esi + 0xd0]
push eax
push ecx
call fcn.0047c388
lea ecx, [esp + 0x14]
mov dword [esp + 0x238], 0
call fcn.00401650
add edi, 0x268
lea ecx, [esp + 0x14]
push edi
mov byte [esp + 0x23c], 1
call fcn.00401710
add esi, 0xcc
push 0x4b61a0
mov ecx, esi
call fcn.0047c27c
lea ecx, [esp + 0x14]
call fcn.00401c40
test eax, eax
je 0x41c803
lea ecx, [esp + 0x14]
xor edi, edi
call fcn.00401c40
test eax, eax
jbe 0x41c803
push edi
lea ecx, [esp + 0x18]
call fcn.004016f0
push eax
mov ecx, esi
call fcn.0047c4cf
push 0x4ae968
mov ecx, esi
call fcn.0047c4cf
lea ecx, [esp + 0x14]
inc edi
call fcn.00401c40
cmp edi, eax
jb 0x41c7d7
mov eax, dword [esi]
push 0x4b61a0
push eax
call fcn.00463ffe
add esp, 8
test eax, eax
jne 0x41c8a5
lea edx, [esp + 0x28]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
lea eax, [esp + 0x130]
push 0
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call fcn.004640ad
add esp, 0x14
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
call fcn.0047c161
lea ecx, [esp + 0xc]
push 0x4ad124
lea edx, [esp + 0x28]
push ecx
push edx
mov byte [esp + 0x244], 2
call fcn.0047c388
push eax
mov ecx, esi
mov byte [esp + 0x23c], 3
call fcn.0047c22c
lea ecx, [esp + 0x24]
mov byte [esp + 0x238], 2
call fcn.0047c0f3
lea ecx, [esp + 0xc]
mov byte [esp + 0x238], 1
call fcn.0047c0f3
mov eax, dword [esp + 8]
lea ecx, [esp + 8]
mov eax, dword [eax - 8]
push eax
call fcn.0047c523
push eax
lea ecx, [esp + 0x18]
call fcn.00401770
lea ecx, [esp + 0x14]
call fcn.00401690
lea ecx, [esp + 0x14]
mov byte [esp + 0x238], 0
call fcn.004016e0
lea ecx, [esp + 8]
mov dword [esp + 0x238], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x230]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x234
ret
Function at 0x41f2f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x489ec2
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push esi
push edi
mov esi, ecx
call fcn.004834fa
mov edi, dword [eax + 4]
mov ebx, 1
cmp dword [edi + 0x104], ebx
jne 0x41f32c
push 0x4af518
jmp 0x41f331
push 0x4af50c
push 0x476
mov ecx, esi
call fcn.0047b5e7
cmp dword [edi + 0xfc], ebx
jne 0x41f34c
push 0x4af504
jmp 0x41f351
push 0x4af4f8
push 0x478
mov ecx, esi
call fcn.0047b5e7
mov eax, dword [edi + 0x118]
mov ecx, esi
push eax
push 0x47f
call fcn.0047b5e7
mov eax, dword [0x4b20c8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x134], 0
mov dword [esp + 0x14], eax
mov edi, dword [edi + 0xd4]
lea eax, [esp + 0x18]
push eax
push edi
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x140], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x41f502
lea ecx, [esp + 0x24]
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x2c]
push edx
push eax
push 0
push str.Adware_Scan_Day
push ecx
mov dword [esp + 0x3c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41f4e4
lea edx, [esp + 0x2c]
push ebp
push edx
lea eax, [esp + 0x14]
push 0x4ad12c
push eax
call fcn.0047617b
add esp, 0xc
lea ecx, [esp + 0x14]
push 0xa
push ecx
lea ecx, [esp + 0x18]
call fcn.00475d5b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 2
call fcn.0047c22c
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], bl
call fcn.0047c0f3
lea edx, [esp + 0x24]
push 2
push edx
lea ecx, [esp + 0x18]
call fcn.00475cdf
mov edi, eax
push 2
lea eax, [esp + 0x24]
push 5
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 3
call fcn.00475c49
mov ebp, eax
lea ecx, [esp + 0x14]
push 4
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 4
call fcn.00475d5b
mov edx, dword [edi]
mov ecx, dword [ebp]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x24]
push 0x4af4e8
push eax
mov byte [esp + 0x14c], 5
call fcn.0047617b
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 4
call fcn.0047c0f3
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 3
call fcn.0047c0f3
lea ecx, [esp + 0x24]
mov byte [esp + 0x138], bl
call fcn.0047c0f3
mov ecx, dword [esp + 0x18]
push ecx
push 0x479
mov ecx, esi
call fcn.0047b5e7
mov edx, dword [esp + 0x1c]
pop ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41f513
push 0x4af4d8
push 0x479
mov ecx, esi
call fcn.0047b5e7
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41f513
push 0x4af4d8
push 0x479
mov ecx, esi
call fcn.0047b5e7
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 0
call fcn.0047c0f3
lea ecx, [esp + 0xc]
mov dword [esp + 0x134], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x4212c0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x48a340
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push 0x4ad99c
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 1
call fcn.0047c4cf
mov eax, dword [esp + 0x18]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42133e
lea ecx, [esp + 0x18]
mov byte [esp + 0x10], 0
call fcn.0047c0f3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x10], esi
call fcn.0047c0f3
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
push edi
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esp + 0x20]
mov edi, eax
push 0
mov eax, dword [ecx - 8]
add eax, edi
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LockFile]
mov edx, dword [esp + 0x20]
lea ecx, [esp + 8]
push 0
push ecx
mov eax, dword [edx - 8]
lea ecx, [esp + 0x28]
push eax
push 0
call fcn.0047c523
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0x20]
push 0
mov eax, dword [edx - 8]
add eax, edi
push eax
push 0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], 0
call fcn.0047c0f3
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x423d60
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48a762
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebp
mov ebp, ecx
call fcn.004834fa
mov ecx, dword [0x4b20c8]
mov eax, dword [eax + 4]
mov dword [esp + 4], ecx
mov dword [esp + 0x12c], 0
mov dword [esp + 0xc], ecx
mov eax, dword [eax + 0xd4]
lea ecx, [esp + 0x10]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x138], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x423f1d
lea edx, [esp + 0x1c]
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push str.Hard_Scan_Day
push edx
mov dword [esp + 0x34], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x423eff
push esi
lea eax, [esp + 0x28]
push edi
push eax
lea ecx, [esp + 0x10]
push 0x4ad12c
push ecx
call fcn.0047617b
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push 0xa
push edx
call fcn.00475d5b
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 2
call fcn.0047c22c
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 1
call fcn.0047c0f3
lea eax, [esp + 0x20]
push 2
push eax
lea ecx, [esp + 0x14]
call fcn.00475cdf
mov esi, eax
push 2
lea ecx, [esp + 0x20]
push 5
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 3
call fcn.00475c49
mov edi, eax
lea edx, [esp + 0x10]
push 4
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 4
call fcn.00475d5b
mov ecx, dword [esi]
mov edx, dword [edi]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push 0x4af4e8
push ecx
mov byte [esp + 0x148], 5
call fcn.0047617b
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 4
call fcn.0047c0f3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 3
call fcn.0047c0f3
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], 1
call fcn.0047c0f3
mov edx, dword [esp + 0x14]
mov ecx, ebp
push edx
push 0x435
call fcn.0047b5e7
mov eax, dword [esp + 0x18]
pop edi
pop esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x423f2e
push 0x4af4d8
push 0x435
mov ecx, ebp
call fcn.0047b5e7
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x423f2e
push 0x4af4d8
push 0x435
mov ecx, ebp
call fcn.0047b5e7
lea ecx, [esp + 0xc]
mov byte [esp + 0x12c], 0
call fcn.0047c0f3
lea ecx, [esp + 4]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x124]
pop ebp
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x425780
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48a9b2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebp
mov ebp, ecx
call fcn.004834fa
mov ecx, dword [0x4b20c8]
mov eax, dword [eax + 4]
mov dword [esp + 4], ecx
mov dword [esp + 0x12c], 0
mov dword [esp + 0xc], ecx
mov eax, dword [eax + 0xd4]
lea ecx, [esp + 0x10]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x138], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x42593d
lea edx, [esp + 0x1c]
lea eax, [esp + 0x24]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
push 0
push str.History_Scan_Day
push edx
mov dword [esp + 0x34], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42591f
push esi
lea eax, [esp + 0x28]
push edi
push eax
lea ecx, [esp + 0x10]
push 0x4ad12c
push ecx
call fcn.0047617b
add esp, 0xc
lea edx, [esp + 0x10]
lea ecx, [esp + 0xc]
push 0xa
push edx
call fcn.00475d5b
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x138], 2
call fcn.0047c22c
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 1
call fcn.0047c0f3
lea eax, [esp + 0x20]
push 2
push eax
lea ecx, [esp + 0x14]
call fcn.00475cdf
mov esi, eax
push 2
lea ecx, [esp + 0x20]
push 5
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 3
call fcn.00475c49
mov edi, eax
lea edx, [esp + 0x10]
push 4
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 4
call fcn.00475d5b
mov ecx, dword [esi]
mov edx, dword [edi]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push 0x4af4e8
push ecx
mov byte [esp + 0x148], 5
call fcn.0047617b
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x134], 4
call fcn.0047c0f3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x134], 3
call fcn.0047c0f3
lea ecx, [esp + 0x20]
mov byte [esp + 0x134], 1
call fcn.0047c0f3
mov edx, dword [esp + 0x14]
mov ecx, ebp
push edx
push 0x44a
call fcn.0047b5e7
mov eax, dword [esp + 0x18]
pop edi
pop esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42594e
push 0x4af4d8
push 0x44a
mov ecx, ebp
call fcn.0047b5e7
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42594e
push 0x4af4d8
push 0x44a
mov ecx, ebp
call fcn.0047b5e7
lea ecx, [esp + 0xc]
mov byte [esp + 0x12c], 0
call fcn.0047c0f3
lea ecx, [esp + 4]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x124]
pop ebp
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x429af0
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48b132
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebx
push ebp
push esi
mov ebp, ecx
call fcn.004834fa
mov esi, dword [eax + 4]
mov ebx, 1
cmp dword [esi + 0x104], ebx
jne 0x429b2c
push 0x4af518
jmp 0x429b31
push 0x4af50c
push 0x4c2
mov ecx, ebp
call fcn.0047b5e7
cmp dword [esi + 0xfc], ebx
jne 0x429b4c
push 0x4af504
jmp 0x429b51
push 0x4af4f8
push 0x4c3
mov ecx, ebp
call fcn.0047b5e7
mov eax, dword [0x4b20c8]
mov dword [esp + 0xc], eax
mov dword [esp + 0x134], 0
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xd4]
lea ecx, [esp + 0x18]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x140], bl
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x429cee
lea edx, [esp + 0x24]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
push ecx
push 0
push str.Adware_Scan_Day
push edx
mov dword [esp + 0x3c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x429cd0
lea eax, [esp + 0x2c]
push edi
push eax
lea ecx, [esp + 0x14]
push 0x4ad12c
push ecx
call fcn.0047617b
add esp, 0xc
lea edx, [esp + 0x14]
lea ecx, [esp + 0x10]
push 0xa
push edx
call fcn.00475d5b
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 2
call fcn.0047c22c
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], bl
call fcn.0047c0f3
lea eax, [esp + 0x24]
push 2
push eax
lea ecx, [esp + 0x18]
call fcn.00475cdf
mov esi, eax
push 2
lea ecx, [esp + 0x24]
push 5
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x144], 3
call fcn.00475c49
mov edi, eax
lea edx, [esp + 0x14]
push 4
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x140], 4
call fcn.00475d5b
mov ecx, dword [esi]
mov edx, dword [edi]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
push 0x4af4e8
push ecx
mov byte [esp + 0x14c], 5
call fcn.0047617b
add esp, 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 4
call fcn.0047c0f3
lea ecx, [esp + 0x20]
mov byte [esp + 0x138], 3
call fcn.0047c0f3
lea ecx, [esp + 0x24]
mov byte [esp + 0x138], bl
call fcn.0047c0f3
mov edx, dword [esp + 0x18]
mov ecx, ebp
push edx
push 0x4c5
call fcn.0047b5e7
mov eax, dword [esp + 0x1c]
pop edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x429cff
push 0x4af4d8
push 0x4c5
mov ecx, ebp
call fcn.0047b5e7
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x429cff
push 0x4af4d8
push 0x4c5
mov ecx, ebp
call fcn.0047b5e7
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 0
call fcn.0047c0f3
lea ecx, [esp + 0xc]
mov dword [esp + 0x134], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x12c]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x12c
ret
Function at 0x429d50
Capabilities:
Get cpu information
Get system information on windows
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x48b14b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
mov eax, dword [0x4b20c8]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x44]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14c], 0
push ecx
push 1
push eax
push str.HardwareDescriptionSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], 0x100
call esi
mov ecx, dword [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [esp + 0x18]
lea eax, [esp + 0x44]
push edx
push eax
push 0
push 0
push str.ProcessorNameString
push ecx
call ebx
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edx
call ebp
lea eax, [esp + 0x44]
lea ecx, [esp + 0x10]
push eax
call fcn.0047c27c
lea ecx, [esp + 0x10]
call fcn.0047621c
mov ecx, dword [esp + 0x10]
push 0x4b61a0
push ecx
call fcn.00463ffe
add esp, 8
test eax, eax
jne 0x429e6f
lea edx, [esp + 0x14]
mov ecx, 0x40
push edx
push 1
lea edi, [esp + 0x4c]
push eax
push str.HardwareDescriptionSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
rep stosd dword es:[edi], eax
mov dword [esp + 0x2c], 0x100
call esi
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x44]
push eax
push ecx
push 0
push 0
push str.Identifier
push edx
call ebx
mov eax, dword [esp + 0x14]
push eax
call ebp
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x14]
call fcn.0047c27c
lea ecx, [esp + 0x10]
call fcn.0047621c
mov edx, dword [esp + 0x10]
push 0x4b61a0
push edx
call fcn.00463ffe
add esp, 8
test eax, eax
pop edi
pop esi
pop ebp
pop ebx
jne 0x429ef2
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [esp + 0x10], 0
jne 0x429ef2
mov ecx, dword [esp + 0x30]
and ecx, 0xffff
lea eax, [ecx - 3]
cmp eax, 3
ja case.default.0x429eae
jmp dword [eax*4 + 0x429f30]
push str.Intel_R__80386_Processor
jmp 0x429ee9
push str.Intel_R__80486_Processor
jmp 0x429ee9
push 3
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x429ed6
push str.Intel_R__Pentium_R__MMX_Processor
jmp 0x429ee9
push str.Intel_R__Pentium_R_
jmp 0x429ee9
push str.Intel_R__Pentium_R__II_Processor
jmp 0x429ee9
push 0x4afd48
lea ecx, [esp + 4]
call fcn.0047c27c
mov edx, dword [esp]
mov ecx, dword [esp + 0xc]
push edx
push 0x4c7
call fcn.0047b5e7
lea ecx, [esp]
mov dword [esp + 0x13c], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
add esp, 0x140
ret
Function at 0x42b180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48b348
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0x20]
push edi
mov ecx, dword [ebp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.0047f70e
mov eax, dword [eax + 8]
push 0x5a
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x48
push eax
push 0x48
call dword [sym.imp.KERNEL32.dll_MulDiv]
xor ebx, ebx
mov dword [ebp + 0x440], eax
mov dword [ebp + 0x444], ebx
mov dword [ebp + 0x448], ebx
mov dword [ebp + 0x44c], ebx
mov dword [ebp + 0x450], 0x2bc
mov byte [ebp + 0x454], bl
mov byte [ebp + 0x455], bl
mov byte [ebp + 0x456], bl
mov byte [ebp + 0x457], 1
mov byte [ebp + 0x458], 2
mov byte [ebp + 0x459], 1
mov byte [ebp + 0x45a], bl
mov byte [ebp + 0x45b], bl
mov ecx, dword [0x4b20c8]
mov dword [esp + 0x10], ecx
push 0x4b61a0
lea edx, [esp + 0x14]
push 1
push edx
mov dword [esp + 0x48], ebx
call fcn.00480d27
mov edi, dword [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp + 0x45c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp + 0x440]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp + 0x47c]
call fcn.00481893
push ebx
lea ecx, [esp + 0x18]
push ebp
lea esi, [ebp + 0x380]
push ecx
push 0x50000000
push ebx
mov ecx, esi
mov dword [esp + 0x28], 0xa
mov dword [esp + 0x2c], 0x1e
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.00481548
push 0x4ad198
push 0x12a
mov ecx, esi
call fcn.0045a680
mov ecx, esi
call fcn.0045a5b0
push 0xda
push 0x1b9
push 0x1b8
push 0xda
lea ecx, [ebp + 0x20c]
call fcn.00459400
push 0x12b
push 0x1e0
push 0x1e1
push 0x12b
lea ecx, [ebp + 0x98]
call fcn.00459400
push 0x4ad458
lea edx, [esp + 0x14]
push 0x15
push edx
call fcn.00480d27
mov eax, dword [esp + 0x10]
push 0xffffffffffffffff
push 0x190
lea esi, [ebp + 0x5c]
push ebx
push eax
push ebx
mov ecx, esi
call fcn.00476b05
push 0xffffffffffffffff
push ebx
push ebx
push 0x4b61a0
push 1
mov ecx, esi
call fcn.00476b05
push 0xffffffffffffffff
push ebx
push ebx
push 0x4b61a0
push 2
mov ecx, esi
call fcn.00476b05
mov ecx, dword [ebp + 0x78]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0x20
push ebx
push 0x1036
push ecx
call edi
push ebx
push 1
lea esi, [ebp + 0x484]
push 0x21
push 0x10
push 0x10
mov ecx, esi
call fcn.00477255
call fcn.004834fa
call fcn.004834fa
mov eax, dword [eax + 0xc]
push 0x15a
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [ebp + 0x488]
push eax
push 0xffffffffffffffff
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
cmp esi, ebx
je 0x42b3b3
mov ebx, dword [esi + 4]
mov eax, dword [ebp + 0x78]
push ebx
push 1
push 0x1003
push eax
call edi
push eax
call fcn.00477222
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret