joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a8d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f6cdd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
mov eax, dword [0x531d28]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
call fcn.00401500
mov ecx, eax
call fcn.00484b20
test eax, eax
jne 0x41ab5c
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
jne 0x41ab5c
lea ecx, [ebp - 0x190]
call fcn.00408720
lea eax, [ebp - 0x190]
push eax
mov dword [ebp - 4], edi
mov byte [ebp - 0x98], 9
call fcn.004079a0
mov ecx, eax
call fcn.0048ef50
test eax, eax
je 0x41ab4a
mov eax, dword [ebp - 0x8c]
cmp eax, edi
je 0x41ab31
jl 0x41ab31
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [ebp - 0x90]
jne 0x41ab31
lea edx, [ebp - 0x194]
push edx
lea ecx, [ebp - 0x190]
call fcn.0040a710
push str.patch.dll
lea eax, [ebp - 0x194]
push eax
lea ecx, [ebp - 0x198]
push ecx
mov byte [ebp - 4], 1
call fcn.00401e30
add esp, 0xc
mov edx, dword [ebp - 0x198]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41aae5
push str.Patch.dll
lea ecx, [ebp - 0x19c]
mov dword [esi + 4], 1
mov byte [ebp - 4], 3
call fcn.00401fd0
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0x194]
push ecx
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0041a410
cmp eax, edi
lea ecx, [ebp - 0x19c]
sete bl
mov byte [ebp - 4], 3
call fcn.004016e0
test bl, bl
je 0x41aafd
push str.FileCRC.ini
lea edx, [ebp - 0x194]
push edx
lea eax, [ebp - 0x19c]
push eax
call fcn.00401e30
add esp, 0xc
lea ecx, [ebp - 0x198]
mov bl, 5
push ecx
mov byte [ebp - 4], bl
call fcn.0047d6d0
add esp, 4
call fcn.00407900
lea edx, [ebp - 0x198]
push edx
lea ecx, [ebp - 0x1a0]
push ecx
mov ecx, eax
call fcn.00488940
push eax
mov byte [ebp - 4], 6
call fcn.0047d6d0
add esp, 4
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], bl
call fcn.004016e0
lea edx, [ebp - 0x19c]
push edx
call fcn.0047d6d0
add esp, 4
call fcn.00407900
lea ecx, [ebp - 0x19c]
push ecx
lea edx, [ebp - 0x1a0]
push edx
mov ecx, eax
call fcn.00488940
push eax
mov byte [ebp - 4], 7
call fcn.0047d6d0
add esp, 4
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], bl
call fcn.004016e0
mov dword [ebp - 0x94], edi
call fcn.004079a0
push 1
lea ecx, [ebp - 0x190]
push ecx
mov ecx, eax
call fcn.00491410
call fcn.004079a0
mov ecx, eax
call fcn.0041a8b0
lea ecx, [ebp - 0x19c]
call fcn.004016e0
lea ecx, [ebp - 0x198]
call fcn.004016e0
lea ecx, [ebp - 0x194]
call fcn.004016e0
jmp 0x41ab4a
mov edx, dword [ebp - 0x198]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
je 0x41aae5
push str.Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x41aae5
mov ecx, dword [ebp - 0x194]
push ecx
call eax
jmp 0x41aae5
mov edx, dword [ebp - 0x190]
push 8
push 0x21
push edx
push 5
call fcn.0041a160
mov ecx, eax
call fcn.00482170
lea ecx, [ebp - 0x190]
mov dword [ebp - 4], 0xffffffff
call fcn.00408a60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004d40be
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b920
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f6e78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
lea esi, [edi + 4]
mov ecx, esi
mov dword [esp + 0xc], esi
call fcn.00401300
mov eax, dword [esp + 0x28]
add edi, 0x2c
push eax
mov ecx, edi
mov dword [esp + 0x24], 0
call fcn.00403fd0
mov eax, dword [edi]
push ecx
sub eax, 0x10
mov dword [esp + 0x2c], esp
mov ebp, esp
push eax
call fcn.004013d0
add eax, 0x10
mov dword [ebp], eax
mov ecx, esp
mov dword [esp + 0x18], esp
push str.ServIP
mov byte [esp + 0x2c], 1
call fcn.00401fd0
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push str.SoftwareiCafe8
mov byte [esp + 0x30], 2
call fcn.00401fd0
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x30], 0
call fcn.0042ab70
mov edx, dword [esi]
add esp, 0x10
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call dword [edx + 0x14]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x18
ret 4
Function at 0x41c3a0
Capabilities:
Get disk size

Disassembly:
sub esp, 8
push esi
push 0
push 0
mov esi, ecx
mov ecx, dword [esi + 0x100]
lea eax, [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov edx, dword [esi + 0xfc]
cmp edx, dword [esp + 8]
ja 0x41c3f0
jb 0x41c3e6
mov eax, dword [esi + 0xf8]
cmp eax, dword [esp + 4]
jae 0x41c3f0
mov eax, 1
pop esi
add esp, 8
ret
xor eax, eax
pop esi
add esp, 8
ret

Function at 0x41c740
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4f7022
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00482900
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esi + 0xf0], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xf4], eax
mov eax, dword [esp + 0x28]
mov dword [esi], 0x505ad0
mov dword [esi + 0xf8], ecx
mov dword [esi + 0xfc], edx
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004013d0
add eax, 0x10
add esp, 4
mov dword [esi + 0x100], eax
lea edi, [esi + 0x104]
push 0xa
mov ecx, edi
mov byte [esp + 0x18], 1
call fcn.004e3f9b
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
sub eax, 0x10
push eax
mov byte [esp + 0x18], 2
call fcn.004013d0
add eax, 0x10
add esp, 4
mov dword [esi + 0x120], eax
mov edx, dword [esp + 0x2c]
push edx
mov ecx, edi
mov byte [esp + 0x18], 3
call fcn.004e4182
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18

Function at 0x41c756
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4f7022
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00482900
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esi + 0xf0], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xf4], eax
mov eax, dword [esp + 0x28]
mov dword [esi], 0x505ad0
mov dword [esi + 0xf8], ecx
mov dword [esi + 0xfc], edx
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004013d0
add eax, 0x10
add esp, 4
mov dword [esi + 0x100], eax
lea edi, [esi + 0x104]
push 0xa
mov ecx, edi
mov byte [esp + 0x18], 1
call fcn.004e3f9b
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
sub eax, 0x10
push eax
mov byte [esp + 0x18], 2
call fcn.004013d0
add eax, 0x10
add esp, 4
mov dword [esi + 0x120], eax
mov edx, dword [esp + 0x2c]
push edx
mov ecx, edi
mov byte [esp + 0x18], 3
call fcn.004e4182
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x423a79
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4f77c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 4]
push edi
mov ecx, ebx
mov dword [esp + 0x10], ebx
call fcn.00401300
push str.Evacuate.ini
lea edi, [esi + 0x28]
lea eax, [esp + 0x18]
push edi
push eax
mov dword [esp + 0x30], 0
call fcn.00401e30
mov eax, dword [eax]
sub eax, 0x10
push eax
mov byte [esp + 0x34], 1
call fcn.004013d0
add esp, 0x10
add eax, 0x10
push 0x80
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423aef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x34]
test ecx, ecx
push ebp
lea ebp, [eax + 0x34]
je 0x423bb0
lea ebx, [eax + 0x3c]
cmp dword [ebx], 0
jbe 0x423b0f
mov eax, dword [ebx + 4]
jmp 0x423b11
xor eax, eax
push eax
lea eax, [esp + 0x20]
push edi
push eax
call fcn.00401e30
mov eax, dword [eax]
push eax
push ebp
mov byte [esp + 0x3c], 4
call fcn.00483650
mov edi, eax
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x14
mov byte [esp + 0x28], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423b53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
je 0x423bac
push ebx
lea ecx, [esi + 0x68]
call fcn.0040fff0
lea edi, [esi + 0x60]
push ebp
mov ecx, edi
call fcn.0040fff0
cmp dword [ebx], 0
jbe 0x423b75
mov ebx, dword [ebx + 4]
jmp 0x423b77
xor ebx, ebx
push ebx
push str.FileName
push 0x502f4c
lea ecx, [esp + 0x1c]
call fcn.0047ef80
mov eax, dword [edi]
mov ecx, eax
test ecx, ecx
mov dword [esi + 0x70], eax
jbe 0x423b9b
mov edi, dword [edi + 4]
jmp 0x423b9d
xor edi, edi
push 0xffffffffffffffff
push eax
push edi
call fcn.0047e040
add esp, 0xc
mov dword [esi + 0x74], eax
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x30]
lea edi, [esi + 0x4c]
add ebp, 0x20
push edi
mov ecx, ebp
call fcn.00422c00
test al, al
jne 0x423bee
push ebp
mov ecx, edi
call fcn.0040fff0
mov eax, dword [ebp + 8]
mov dword [edi + 8], eax
mov ecx, dword [ebp + 0xc]
mov dword [edi + 0xc], ecx
mov edx, dword [ebp + 0x10]
lea eax, [esp + 0x10]
push edi
push eax
mov dword [edi + 0x10], edx
call fcn.0048aa70
add esp, 8
mov edi, dword [esp + 0x30]
add esi, 0x3c
add edi, 0x10
push esi
mov ecx, edi
call fcn.00422cc0
test al, al
pop ebp
jne 0x423c1b
push edi
mov ecx, esi
call fcn.00422c50
lea ecx, [esp + 0xc]
push esi
push ecx
call fcn.0048ac20
add esp, 8
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x423c3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebx]
mov ecx, ebx
mov dword [esp + 0x24], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x424360
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x410
mov eax, dword [0x531d28]
push esi
push edi
mov dword [esp + 0x414], eax
xor eax, eax
mov ecx, 0x100
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x14], 0x400
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov esi, eax
test esi, esi
je 0x4243c7
lea eax, [esp + 0x10]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4243b0
mov ecx, dword [ebp + 8]
sub eax, edx
push eax
lea edx, [esp + 0x14]
push edx
call fcn.00401880
mov ecx, dword [esp + 0x414]
mov eax, esi
call fcn.004d40be
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4243e0
Capabilities:
Get cpu information
Get system information on windows
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f78c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x440
mov eax, dword [0x531d28]
push ebp
push esi
push edi
mov dword [esp + 0x448], eax
mov ebp, 1
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x458], 0
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x460]
mov dl, byte [esp + 0x38]
mov byte [ecx], dl
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.HARDWAREDESCRIPTIONSystemCentralProcessor0
push reloc.OLEAUT32.dll_SysReAllocString
mov byte [esp + 0x468], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x424569
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 4
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.MHz
push ecx
call edi
test eax, eax
jne 0x4244cf
mov edx, dword [esp + 0x45c]
mov ax, word [esp + 0x1c]
mov word [edx], ax
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.ProcessorNameString
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], 0x400
call edi
test eax, eax
jne 0x42458d
lea eax, [esp + 0x48]
lea edx, [eax + 1]
jmp 0x424510
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424510
sub eax, edx
push eax
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x14]
call fcn.00401880
push 0x502a56
push 0x5065f4
lea ecx, [esp + 0x14]
call fcn.00401920
mov esi, dword [esp + 0xc]
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x424558
mov eax, edi
push eax
lea ecx, [esp + 0x10]
call fcn.00401430
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x464]
inc edi
push edi
push esi
call fcn.00406d50
jmp 0x42458d
push 0x52
push str..GetSysInfo.cpp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push str.GetCpuInfo:_Open_key__HARDWAREDESCRIPTIONSystemCentralProcessor0__Error.
push 4
call fcn.0047fc80
add esp, 8
xor ebp, ebp
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov byte [esp + 0x454], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4245ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x454], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4245e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x44c]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x440]
mov eax, ebp
pop ebp
call fcn.004d40be
add esp, 0x44c
ret
Function at 0x424610
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f78e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov eax, dword [0x531d28]
push esi
push edi
push 0x502a56
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], eax
mov dword [esp + 0x10], 0
call fcn.00401fd0
mov dword [esp + 0xbc], 0
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
xor eax, eax
mov ecx, 0x25
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push eax
mov byte [esp + 0xc0], 1
mov dword [esp + 0x14], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x42475f
push 8
push str.Version:
lea ecx, [esp + 0x10]
call fcn.00401880
mov eax, dword [esp + 0x14]
sub eax, 3
je 0x424722
dec eax
je 0x4246e9
dec eax
jne 0x424730
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4246d1
push str._Windows_2000
jmp 0x424727
cmp eax, 1
jne 0x4246dd
push str._Windows_XP
jmp 0x424727
cmp eax, 2
jne 0x424730
push str._Windows_2003_family
jmp 0x424727
mov eax, dword [esp + 0x18]
cmp eax, 0xa
jne 0x4246f9
push str._Windows_98
jmp 0x424727
cmp eax, 0x5a
jne 0x424705
push str._Windows_ME
jmp 0x424727
test eax, eax
jne 0x424730
cmp dword [esp + 0x20], 1
lea ecx, [esp + 8]
jne 0x42471b
push str._Windows_95
jmp 0x42472b
push str._Windows_NT
jmp 0x42472b
push str._Windows_NT_3.51
lea ecx, [esp + 0xc]
call fcn.00401f90
push 1
push 0x502a54
lea ecx, [esp + 0x10]
call fcn.00401bb0
lea eax, [esp + 0x24]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x424747
sub eax, edx
push eax
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401bb0
mov esi, dword [esp + 8]
add esi, 0xfffffff0
push esi
call fcn.004013d0
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0xbc], 0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x424796
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0xbc], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4247bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xb4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xac]
mov eax, edi
call fcn.004d40be
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x425780
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4f7a60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push str.C:UpdateHotFix.ini
lea ecx, [esp + 4]
call fcn.00401fd0
lea eax, [esp]
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x20], 0
call fcn.0041ab80
mov eax, dword [eax]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 1
call fcn.004013d0
add esp, 0xc
add eax, 0x10
push 0x80
push eax
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x18], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425805
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp]
add eax, 0xfffffff0
mov byte [esp + 0x18], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425827
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
push edi
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 8]
test eax, eax
mov ecx, dword [esi + 0x18]
mov byte [esp + 0x20], 5
jbe 0x425854
mov eax, dword [esi + 0xc]
jmp 0x425856
xor eax, eax
push ecx
push eax
lea eax, [esp + 0x14]
push str._s__d
push eax
call fcn.00401c40
mov eax, dword [esi]
add esp, 0x10
test eax, eax
jbe 0x425875
mov esi, dword [esi + 4]
jmp 0x425877
xor esi, esi
mov edi, dword [esp + 0xc]
push edi
push esi
push str.Hotfix
lea ecx, [esp + 0x1c]
call fcn.0047ef80
lea eax, [edi - 0x10]
mov byte [esp + 0x20], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x4258ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4258d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x4264a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f7ba4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 4]
mov dword [esp + 0x18], esi
mov dword [esi], 0x506880
call fcn.00401270
lea edi, [esi + 0x24]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x24], ebx
call fcn.004251b0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x30]
mov ecx, edi
mov byte [esp + 0x24], 1
call fcn.004251b0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov byte [esp + 0x24], 2
lea edi, [esi + 0x3c]
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x28], 3
call fcn.00483220
push str.DataHotfix_
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x34], 4
call fcn.00401e30
push eax
lea edx, [esp + 0x20]
mov bl, 5
push edx
mov byte [esp + 0x3c], bl
call fcn.0041ab80
add esp, 0x18
push eax
mov ecx, edi
mov byte [esp + 0x28], 6
call fcn.00403fd0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov byte [esp + 0x24], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42657a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42659d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x24], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4265c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
push eax
call fcn.00487ee0
add esp, 4
mov ecx, esi
call fcn.00425be0
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x42ab70
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f80c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [0x531d28]
push ebx
push ebp
push esi
mov dword [esp + 0x118], eax
push edi
mov ebx, dword [esp + 0x13c]
xor eax, eax
mov ecx, 0x41
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov esi, dword [ebx - 4]
mov ecx, dword [ebx - 8]
mov eax, 1
sub eax, esi
or ecx, eax
mov dword [esp + 0x128], 2
mov dword [esp + 0x10], 1
jge 0x42abe8
push 0
lea ecx, [esp + 0x140]
call fcn.00401670
mov ebx, dword [esp + 0x13c]
lea edx, [esp + 0x18]
mov eax, ebx
sub edx, ebx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42abf0
mov esi, dword [esp + 0x134]
mov ebp, dword [esp + 0x130]
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
push esi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
mov edi, dword [esp + 0x138]
jne 0x42ac90
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42ac30
sub eax, edx
mov edx, dword [esp + 0x14]
inc eax
push eax
lea ecx, [esp + 0x1c]
push ecx
push 2
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x42ac83
push 0x301
push str..LocalFunc.cpp
mov dword [esp + 0x18], 0
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push edi
push esi
push str.RegOpenKeyEx_error:_s__Value:_s
push 4
call fcn.0047fc80
add esp, 0x10
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebp, dword [esp + 0x10]
jmp 0x42acb8
push 0x308
push str..LocalFunc.cpp
xor ebp, ebp
call fcn.00407270
mov ecx, eax
call fcn.0040a520
push esi
push str.RegOpenKeyEx_error:_s
push 4
call fcn.0047fc80
add esp, 0xc
lea eax, [esi - 0x10]
mov byte [esp + 0x128], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42acda
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov byte [esp + 0x128], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42acfc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov dword [esp + 0x128], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ad21
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x120]
pop edi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x110]
pop ebx
call fcn.004d40be
add esp, 0x11c
ret