joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4174dc
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
mov esi, ecx
xor ebx, ebx
push edi
push str.SENSAPI.DLL
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 8], ebx
call ebp
cmp eax, ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi], eax
je 0x417516
push str.IsNetworkAlive
push eax
call edi
mov dword [esi + 8], eax
push str.WININET.DLL
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
call ebp
cmp eax, ebx
mov dword [esi + 4], eax
je 0x417562
push str.InternetGetConnectedStateExA
push eax
call edi
push 0x4995e4
push dword [esi + 4]
mov dword [esi + 0xc], eax
call edi
push 0x4995d0
push dword [esi + 4]
mov dword [esi + 0x10], eax
call edi
push str.InternetGetConnectedStateA
push dword [esi + 4]
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

Function at 0x417569
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareWildTangent
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x417597
push 2
pop eax
leave
ret
push ebx
mov ebx, dword [ebp - 4]
push esi
push 4
pop esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push str.ConnectionStatusOverride
push ebx
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [ebp - 8], esi
jne 0x4175d0
test eax, eax
jne 0x4175d0
mov esi, dword [ebp - 0x10]
cmp esi, 3
jb 0x4175d3
push 2
pop esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x4176e5
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
push ebx
lea eax, [ebp - 0x290]
push eax
push 0x101
xor bl, bl
call sub.WS2_32.dll_WSAStartup
test eax, eax
je 0x41770a
xor al, al
jmp 0x417771
push 0x100
lea eax, [ebp - 0x100]
push eax
call sub.WS2_32.dll_gethostname
test eax, eax
jne 0x41776a
push esi
lea eax, [ebp - 0x100]
push eax
call sub.WS2_32.dll_gethostbyname
mov esi, eax
test esi, esi
je 0x417769
cmp word [esi + 0xa], 4
jne 0x417769
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x417769
push edi
xor edi, edi
push dword [eax]
call sub.WS2_32.dll_ntohl
test eax, eax
je 0x417757
cmp eax, 0x7f000001
jne 0x417766
mov eax, dword [esi + 0xc]
add edi, 4
mov eax, dword [edi + eax]
test eax, eax
jne 0x417745
jmp 0x417768
mov bl, 1
pop edi
pop esi
call sub.WS2_32.dll_WSACleanup
mov al, bl
pop ebx
leave
ret
Function at 0x41789e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 1
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov esi, edx
mov edi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4178fc
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 0x10]
push eax
push ebx
push str.ProgramFilesDir
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4178fc
cmp esi, ebx
je 0x4178f5
mov byte [edi + esi - 1], bl
mov dword [ebp - 8], 1
cmp dword [ebp - 4], ebx
pop edi
pop esi
pop ebx
je 0x41790d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
leave
ret

Function at 0x417b1a
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov eax, 0x479429
call fcn.004504b8
sub esp, 0x124
push esi
push edi
xor esi, esi
mov edi, ecx
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x10], 0xf
call fcn.004010c0
push 1
push 0x26
lea eax, [ebp - 0x130]
push eax
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x417b86
mov edx, 0x104
lea ecx, [ebp - 0x130]
call fcn.0041789e
test eax, eax
lea eax, [ebp - 0x130]
jne 0x417b8c
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x417b8f
lea eax, [ebp - 0x130]
push eax
jmp 0x417b94
push 0x499748
lea ecx, [ebp - 0x28]
call fcn.00402200
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
call fcn.00402150
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.004010e0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x417d2e
Capabilities:
Create directory

Disassembly:
mov eax, 0x479429
call fcn.004504b8
sub esp, 0x1c
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x417d4e
call fcn.00417ccb
test al, al
je 0x417d52
mov al, 1
jmp 0x417da4
push ebx
mov edx, esi
lea ecx, [ebp - 0x28]
call fcn.00401b10
mov eax, dword [ebp - 0x14]
and dword [ebp - 4], 0
cmp eax, dword [esi + 0x14]
jne 0x417d74
cmp dword [esi + 0x18], 0x10
jb 0x417d84
mov esi, dword [esi + 4]
jmp 0x417d87
lea ecx, [ebp - 0x28]
call fcn.00417d2e
test al, al
jne 0x417d69
xor bl, bl
jmp 0x417d95
add esi, 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne bl
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.004010e0
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x419ee4
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x3b0]
mov edi, 0xac
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x419c82
mov eax, dword [esi + 0x3b0]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x419cae
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x3b0]
and dword [esi + 0x3a0], 0
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [esi + 0x3b0]
mov ecx, esi
call fcn.004198c4
pop edi
pop esi
ret
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x3b0]
mov edi, 0xac
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x3b0]
add eax, edi
cmp dword [esi + 0x3a0], 0
push eax
jne 0x419f1e
mov byte [esi + 0x390], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
ret
mov dword [esi + 0x3a8], 4
mov dword [esi + 0x3ac], 2
mov byte [esi + 0x3c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x7d0
mov ecx, esi
call fcn.004182e3
lea eax, [esi + 0x390]
cmp byte [eax], 0
jne 0x419f1b
pop edi
mov ecx, esi
mov byte [eax], 1
pop esi
jmp 0x419c4f
Function at 0x422297
Capabilities:
Check if file exists
Get file attributes

Disassembly:
cmp dword [ecx + 0x18], 0x10
jb 0x4222a2
mov ecx, dword [ecx + 4]
jmp 0x4222a5
add ecx, 4
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4222b8
test al, 0x10
je 0x4222b8
mov al, 1
ret
xor al, al
ret
Function at 0x4279e0
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
push 0xffffffffffffffff
mov esi, ecx
push 0
push ebx
lea ecx, [esi + 0x18]
call fcn.00401500
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push eax
push ecx
lea edi, [esi + 8]
push edi
push ebx
call fcn.00427810
add esp, 0x10
test al, al
mov byte [esi + 4], al
je 0x427a52
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x427a1f
xor eax, eax
jmp 0x427a24
mov eax, dword [edi + 8]
sub eax, ecx
cmp eax, 0x40
mov ecx, dword [esi + 0xc]
jb 0x427a52
cmp word [ecx], 0x5a4d
jne 0x427a52
mov edx, dword [ecx + 0x3c]
lea edi, [edx + 0xf8]
cmp eax, edi
jb 0x427a52
cmp dword [edx + ecx], 0x4550
jne 0x427a52
push ecx
lea ecx, [esi + 0x34]
call fcn.00427730
mov al, byte [esi + 4]
pop edi
pop esi
pop ebx
ret 0xc

Function at 0x427a60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47ac96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [esi], 0x49adfc
mov dword [esp + 4], esi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], eax
mov dword [esp + 0x10], eax
mov byte [esi + 0x1c], al
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x1c], 1
call fcn.004279e0
mov ecx, dword [esp + 8]
mov byte [esi + 4], al
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x429ea0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x47b750
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
mov eax, dword [0x4bc364]
push ebx
push esi
mov dword [esp + 0x78], eax
lea eax, [esp + 0x24]
push edi
push eax
call fcn.00429d70
push 0x497b3c
push eax
lea ecx, [esp + 0x18]
xor ebx, ebx
push ecx
mov dword [esp + 0x98], ebx
call fcn.004022e0
mov edx, dword [esp + 0xa0]
push edx
push eax
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0xa4], 1
call fcn.00402930
add esp, 0x1c
mov eax, dword [esp + 0x24]
mov edi, 0x10
cmp eax, edi
jb 0x429f1f
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00469348
add esp, 4
cmp dword [esp + 0x40], edi
mov esi, 0xf
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
mov byte [esp + 0x10], bl
mov byte [esp + 0x88], 3
jb 0x429f4b
mov edx, dword [esp + 0x2c]
push edx
call fcn.00469348
add esp, 4
cmp dword [esp + 0x78], edi
mov eax, dword [esp + 0x64]
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
jae 0x429f65
lea eax, [esp + 0x64]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x429fe9
lea edx, [esp + 0x60]
lea ecx, [esp + 0x44]
call fcn.00401b10
mov ecx, eax
mov byte [esp + 0x88], 5
call fcn.00417d2e
cmp dword [esp + 0x5c], edi
mov byte [esp + 0x88], 3
jb 0x429fa8
mov eax, dword [esp + 0x48]
push eax
call fcn.00469348
add esp, 4
cmp dword [esp + 0x78], edi
mov ecx, dword [esp + 0x64]
jae 0x429fb6
lea ecx, [esp + 0x64]
push 0x20
push 1
push 3
mov edx, 0xc0000000
call fcn.00417ab4
cmp eax, 0xffffffff
jne 0x429fe2
cmp dword [esp + 0x78], edi
jb 0x429fde
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00469348
add esp, 4
xor al, al
jmp 0x42a059
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x78], edi
mov esi, dword [esp + 0x64]
jae 0x429ff7
lea esi, [esp + 0x64]
mov eax, dword [esp + 0x9c]
cmp dword [eax + 0x18], edi
jb 0x42a008
mov edx, dword [eax + 4]
jmp 0x42a00b
lea edx, [eax + 4]
mov eax, dword [esp + 0x98]
cmp dword [eax + 0x18], edi
jb 0x42a01c
mov ecx, dword [eax + 4]
jmp 0x42a01f
lea ecx, [eax + 4]
mov eax, dword [esp + 0x94]
cmp dword [eax + 0x18], edi
jb 0x42a030
mov eax, dword [eax + 4]
jmp 0x42a033
add eax, 4
push esi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
test eax, eax
mov eax, dword [esp + 0x78]
setne bl
cmp eax, edi
jb 0x42a057
mov edx, dword [esp + 0x64]
push edx
call fcn.00469348
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x80]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x74]
pop ebx
call fcn.0044e944
add esp, 0x80
ret
Function at 0x42a380
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47b7a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [0x4bc364]
push edi
push 0
push 0x497880
lea ecx, [esp + 0xc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
call fcn.004015f0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x5c], 0
call fcn.0042a080
mov eax, dword [esp + 0x30]
mov edi, 0x10
add esp, 0x14
cmp eax, edi
jb 0x42a40a
mov edx, dword [esp + 8]
push edx
call fcn.00469348
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
mov eax, dword [esp + 0x38]
jne 0x42a42d
cmp eax, edi
jb 0x42a427
mov eax, dword [esp + 0x24]
push eax
call fcn.00469348
add esp, 4
mov eax, dword [esp + 0x5c]
jmp 0x42a45d
cmp eax, edi
mov eax, dword [esp + 0x24]
jae 0x42a439
lea eax, [esp + 0x24]
push esi
push eax
call fcn.0044ed2b
mov esi, eax
mov eax, dword [esp + 0x40]
add esp, 4
cmp eax, edi
jb 0x42a45a
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00469348
add esp, 4
mov eax, esi
pop esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3c]
pop edi
call fcn.0044e944
add esp, 0x48
ret

Function at 0x42b270
Capabilities:
Resume thread

Disassembly:
mov dl, byte [ecx + 0x9d9]
xor al, al
test dl, dl
je 0x42b28e
mov dl, byte [ecx + 0x900]
test dl, dl
jne 0x42b28e
push 5
call fcn.00430b30
ret
mov ecx, dword [ecx + 0xa1c]
test ecx, ecx
je 0x42b2a5
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
ret

Function at 0x42b9a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
mov al, byte [ecx + 0x900]
push edi
xor edi, edi
test al, al
jne 0x42b9db
call fcn.0042eef0
cmp dword [eax + 0x18], 0x10
jb 0x42b9be
mov eax, dword [eax + 4]
jmp 0x42b9c1
add eax, 4
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
test edi, edi
setne al
test al, al
je 0x42ba5f
push ebx
push esi
push 0x1af
push 0xf618
push edi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x42ba50
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42ba50
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test ebp, ebp
mov dword [esp + 0x10], eax
je 0x42ba4f
lea ebx, [eax + 1]
push ebx
call fcn.0046934d
push ebx
mov esi, eax
push ebp
push esi
call fcn.00450fd0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
add esp, 0x10
push esi
mov byte [esi + eax], 0
call fcn.00402200
push esi
call fcn.00469348
add esp, 4
mov bl, 1
pop ebp
test edi, edi
je 0x42ba5b
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov al, bl
pop ebx
pop edi
pop ecx
ret 4
Function at 0x42ce00
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x47ba50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [0x4bc364]
push ebx
push esi
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x70], eax
push edi
mov byte [esp + 0xf], bl
mov dword [esp + 0x18], esi
push 0x4a
push str.SoftwareMicrosoftWindows_NTCurrentVersionImage_File_Execution_Options_
lea ecx, [esp + 0x44]
mov dword [esp + 0x88], ebx
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
call fcn.004015f0
push ebx
lea eax, [esp + 0x5c]
push ebx
push eax
mov byte [esp + 0x8c], 1
call fcn.0042cd00
add esp, 0xc
push 1
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x64]
mov byte [esp + 0x8c], 2
mov byte [esp + 0x1c], 0x5c
call fcn.0041cce8
cmp eax, 0xffffffff
mov edi, 0x10
je 0x42cf43
mov edx, dword [esp + 0x6c]
inc eax
sub edx, eax
push edx
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x64]
call fcn.00401720
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], 3
call fcn.00401f50
cmp dword [esp + 0x38], edi
jb 0x42ceda
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00469348
add esp, 4
cmp dword [esp + 0x54], edi
mov eax, dword [esp + 0x40]
jae 0x42cee8
lea eax, [esp + 0x40]
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x42cf43
mov esi, dword [esp + 0x14]
mov eax, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push str.BreakOnDllLoad
push esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [esp + 0x14], ebx
je 0x42cf43
mov byte [esp + 0xf], 1
cmp dword [esp + 0x70], edi
jb 0x42cf56
mov eax, dword [esp + 0x5c]
push eax
call fcn.00469348
add esp, 4
cmp dword [esp + 0x54], edi
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
jb 0x42cf79
mov ecx, dword [esp + 0x40]
push ecx
call fcn.00469348
add esp, 4
cmp esi, ebx
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
je 0x42cf94
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x78]
mov al, byte [esp + 0xf]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x6c]
pop ebx
call fcn.0044e944
add esp, 0x78
ret
Function at 0x42d900
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x47bc30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [0x4bc364]
push ebx
xor ebx, ebx
push ebp
mov dword [esp + 8], ebx
push esi
mov esi, dword [esp + 0x58]
mov dword [esp + 0x40], eax
cmp dword [esi + 0x18], 0x10
push edi
mov dword [esp + 0x14], ebx
lea edi, [esi + 4]
jb 0x42d940
mov eax, dword [edi]
jmp 0x42d942
mov eax, edi
lea ecx, [esp + 0x14]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebp, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], ebx
call fcn.00429500
cmp dword [esi + 0x18], 0x10
jb 0x42d973
mov eax, dword [edi]
jmp 0x42d975
mov eax, edi
mov edi, dword [esp + 0x1c]
push edi
push ebp
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x42d9a9
mov esi, dword [esp + 0x58]
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push 0x497880
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004015f0
jmp 0x42da6e
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x18]
mov ebp, 0x10
cmp ecx, ebp
jb 0x42d9be
mov eax, dword [eax + 4]
jmp 0x42d9c1
add eax, 4
push eax
push 0x4e4
push 0x409
lea edx, [esp + 0x34]
push str.StringFileInfo_04x_04x_s
push edx
call fcn.00417339
add esp, 0x14
cmp dword [esp + 0x40], ebp
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x50], 1
jae 0x42d9f1
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x5c]
push ecx
lea edx, [esp + 0x14]
push edx
push eax
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
mov esi, dword [esp + 0x58]
jne 0x42da3f
push ebx
mov ebp, 0xf
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push 0x497880
mov ecx, esi
mov byte [esi + 4], bl
call fcn.004015f0
cmp dword [esp + 0x40], 0x10
jb 0x42da39
mov eax, dword [esp + 0x2c]
push eax
call fcn.00469348
add esp, 4
mov dword [esp + 0x40], ebp
jmp 0x42da66
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004016e0
cmp dword [esp + 0x40], ebp
jb 0x42da5e
mov edx, dword [esp + 0x2c]
push edx
call fcn.00469348
add esp, 4
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
cmp edi, ebx
je 0x42da7b
push edi
call fcn.00469348
add esp, 4
mov ecx, dword [esp + 0x48]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x38]
pop ebx
call fcn.0044e944
add esp, 0x44
ret
Function at 0x42ea40
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x47bdb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
xor edi, edi
push edi
push str.WTFULLSCREENWND
mov ebx, ecx
xor ebp, ebp
mov dword [esp + 0x18], edi
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
cmp esi, edi
je 0x42eab1
lea eax, [esp + 0x10]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, ebx
call fcn.0042ef90
cmp eax, dword [esp + 0x10]
jne 0x42eab1
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42eab1
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
mov dword [esp + 0x3c], edi
call fcn.0042e4a0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
cmp ecx, eax
mov esi, ecx
je 0x42eb28
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessId]
mov ebp, dword [sym.imp.USER32.dll_EnumWindows]
mov edx, dword [esi - 4]
push edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
call ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 0x42b010
call ebp
mov eax, dword [esp + 0x1c]
cmp eax, edi
mov dword [esp + 0x14], eax
jne 0x42eb1c
mov eax, dword [esp + 0x24]
add esi, 0xfffffffc
cmp esi, eax
jne 0x42eae7
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
cmp eax, ecx
mov esi, eax
je 0x42eb48
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esi]
push ecx
call ebx
mov eax, dword [esp + 0x28]
add esi, 4
cmp esi, eax
jne 0x42eb34
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x42eb55
push eax
call fcn.00469348
add esp, 4
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x430900
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [ecx + 4]
mov edx, 8
cmp esi, edx
lea eax, [ecx + 8]
pop esi
jbe 0x43093b
push ebp
xor dword [eax], 0xf05643b7
xor dword [eax + 4], 0x3759814b
xor dword [eax + 8], 0x93aad9e1
xor dword [eax + 0xc], 0x903622a2
mov ebp, dword [ecx + 4]
add edx, 0x10
cmp edx, ebp
lea eax, [edx + ecx]
jb 0x430912
pop ebp
ret