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

Disassembly:
push 0xffffffffffffffff
push 0x4efeb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov ecx, 0x52cd04
push edi
mov dword [esp + 0xc], ecx
call fcn.00401300
lea eax, [esp + 8]
push eax
mov dword [esp + 0x2c], 0
call fcn.004078a0
mov ecx, eax
call fcn.0040e610
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004e4494
mov dword [esp + 0x10], 0x4fccc8
mov esi, dword [esp + 0x30]
test esi, esi
mov byte [esp + 0x28], 2
jne 0x40ecb8
xor eax, eax
jmp 0x40ecc9
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ecc0
sub eax, edx
push eax
push esi
mov ecx, 0x52ccfc
call fcn.00401880
mov ecx, dword [0x52ccfc]
push ecx
call fcn.004079e0
mov ecx, eax
call fcn.00486f70
mov edi, dword [esp + 8]
push 0
push 0x1002
push edi
lea ecx, [esp + 0x1c]
call fcn.00485560
test eax, eax
je 0x40ed8d
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ed10
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00485710
lea ecx, [esp + 0x10]
call fcn.004e4432
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
mov dword [esp + 0x10], 0x4fccc8
call fcn.004e44d3
lea eax, [edi - 0x10]
mov byte [esp + 0x28], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40ed62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x52cd04]
mov ecx, 0x52cd04
mov dword [esp + 0x28], 0xffffffff
call dword [eax + 0x14]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
mov dword [esp + 0x10], 0x4fccc8
call fcn.004e44d3
lea eax, [edi - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40edc2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x52cd04]
mov ecx, 0x52cd04
mov dword [esp + 0x28], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x20]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x40edf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4efeb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov ecx, 0x52cd04
push edi
mov dword [esp + 0xc], ecx
call fcn.00401300
lea eax, [esp + 8]
push eax
mov dword [esp + 0x2c], 0
call fcn.004078a0
mov ecx, eax
call fcn.0040e640
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.004e4494
mov dword [esp + 0x10], 0x4fccc8
mov esi, dword [esp + 0x30]
test esi, esi
mov byte [esp + 0x28], 2
jne 0x40ee58
xor eax, eax
jmp 0x40ee69
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ee60
sub eax, edx
push eax
push esi
mov ecx, 0x52cd00
call fcn.00401880
mov edi, dword [esp + 8]
push 0
push 0x1002
push edi
lea ecx, [esp + 0x1c]
call fcn.00485560
test eax, eax
je 0x40ef14
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40ee97
sub eax, edx
push eax
push esi
lea ecx, [esp + 0x18]
call fcn.00485710
lea ecx, [esp + 0x10]
call fcn.004e4432
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
mov dword [esp + 0x10], 0x4fccc8
call fcn.004e44d3
lea eax, [edi - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40eee9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x52cd04]
mov ecx, 0x52cd04
mov dword [esp + 0x28], 0xffffffff
call dword [eax + 0x14]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
mov dword [esp + 0x10], 0x4fccc8
call fcn.004e44d3
lea eax, [edi - 0x10]
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40ef49
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x52cd04]
mov ecx, 0x52cd04
mov dword [esp + 0x28], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x20]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4f0048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004630c0
xor edi, edi
lea ecx, [esi + 0x10]
mov dword [esp + 0x18], edi
call fcn.004e6af3
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], vtable.CFont.0
push 0x11
mov dword [esi + 0xc], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 8], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x30], edi
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esi + 0x34], eax
xor eax, eax
lea ebx, [esi + 0x20]
mov dword [ebx], eax
xor ecx, ecx
mov dword [ebx + 4], ecx
mov ecx, dword [esp + 0x10]
xor edx, edx
mov dword [ebx + 8], edx
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [ebx + 0xc], edi
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x419320
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0b8d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
mov eax, dword [0x52bd18]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
call fcn.004014a0
mov ecx, eax
call fcn.00482ca0
test eax, eax
jne 0x4195af
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
jne 0x4195af
lea ecx, [ebp - 0x190]
call fcn.004087e0
lea eax, [ebp - 0x190]
push eax
mov dword [ebp - 4], edi
mov byte [ebp - 0x98], 9
call fcn.00407a80
mov ecx, eax
call fcn.0048c8e0
test eax, eax
je 0x41959d
mov eax, dword [ebp - 0x8c]
cmp eax, edi
je 0x419584
cmp eax, 0xffffffff
je 0x419584
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [ebp - 0x90]
jne 0x419584
lea edx, [ebp - 0x194]
push edx
lea ecx, [ebp - 0x190]
call fcn.0040a870
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 0x419538
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.00418e60
cmp eax, edi
lea ecx, [ebp - 0x19c]
sete bl
mov byte [ebp - 4], 3
call fcn.00401580
test bl, bl
je 0x419550
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.0047b990
add esp, 4
call fcn.004079e0
lea edx, [ebp - 0x198]
push edx
lea ecx, [ebp - 0x1a0]
push ecx
mov ecx, eax
call fcn.00486a00
push eax
mov byte [ebp - 4], 6
call fcn.0047b990
add esp, 4
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], bl
call fcn.00401580
lea edx, [ebp - 0x19c]
push edx
call fcn.0047b990
add esp, 4
call fcn.004079e0
lea ecx, [ebp - 0x19c]
push ecx
lea edx, [ebp - 0x1a0]
push edx
mov ecx, eax
call fcn.00486a00
push eax
mov byte [ebp - 4], 7
call fcn.0047b990
add esp, 4
lea ecx, [ebp - 0x1a0]
mov byte [ebp - 4], bl
call fcn.00401580
mov dword [ebp - 0x94], edi
call fcn.00407a80
push 1
lea ecx, [ebp - 0x190]
push ecx
mov ecx, eax
call fcn.0048ef40
call fcn.00407a80
mov ecx, eax
call fcn.00419300
lea ecx, [ebp - 0x19c]
call fcn.00401580
lea ecx, [ebp - 0x198]
call fcn.00401580
lea ecx, [ebp - 0x194]
call fcn.00401580
jmp 0x41959d
mov edx, dword [ebp - 0x198]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, edi
je 0x419538
push str.Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x419538
mov ecx, dword [ebp - 0x194]
push ecx
call eax
jmp 0x419538
mov edx, dword [ebp - 0x190]
push 8
push 0x21
push edx
push 5
call fcn.00418bb0
mov ecx, eax
call fcn.004802e0
lea ecx, [ebp - 0x190]
mov dword [ebp - 4], 0xffffffff
call fcn.00408b40
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.004ce183
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41a370
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f0d28
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.004040e0
mov eax, dword [edi]
push ecx
sub eax, 0x10
mov dword [esp + 0x2c], esp
mov ebp, esp
push eax
call fcn.00401660
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.00429950
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 0x41af10
Capabilities:
Get disk size

Disassembly:
sub esp, 8
push esi
push 0
push 0
mov esi, ecx
mov ecx, dword [esi + 0x310]
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 + 0x30c]
cmp edx, dword [esp + 8]
ja 0x41af60
jb 0x41af56
mov eax, dword [esi + 0x308]
cmp eax, dword [esp + 4]
jae 0x41af60
mov eax, 1
pop esi
add esp, 8
ret
xor eax, eax
pop esi
add esp, 8
ret

Function at 0x41b6e0
Capabilities:
Get disk size

Disassembly:
sub esp, 0x10
push esi
push 0
push 0
mov esi, ecx
mov ecx, dword [esi + 0x310]
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 eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov ecx, eax
and eax, 0x7fffffff
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
fild qword [esp + 0xc]
and ecx, 0x80000000
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], 0
fild qword [esp + 0xc]
sub esp, 8
lea eax, [esi + 0x388]
fchs
faddp st(1)
fmul dword [0x4ffbe4]
fstp qword [esp]
push 0x4ffbcc
push eax
call fcn.00401c40
add esp, 0x10
push 0
mov ecx, esi
call fcn.004e0dd5
pop esi
add esp, 0x10
ret
Function at 0x4228e9
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4f16f0
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.00401660
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 0x42295f
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 0x422a20
lea ebx, [eax + 0x3c]
cmp dword [ebx], 0
jbe 0x42297f
mov eax, dword [ebx + 4]
jmp 0x422981
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.004817c0
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 0x4229c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test edi, edi
je 0x422a1c
push ebx
lea ecx, [esi + 0x68]
call fcn.00410210
lea edi, [esi + 0x60]
push ebp
mov ecx, edi
call fcn.00410210
cmp dword [ebx], 0
jbe 0x4229e5
mov ebx, dword [ebx + 4]
jmp 0x4229e7
xor ebx, ebx
push ebx
push str.FileName
push 0x4fcf54
lea ecx, [esp + 0x1c]
call fcn.0047d1a0
mov eax, dword [edi]
mov ecx, eax
test ecx, ecx
mov dword [esi + 0x70], eax
jbe 0x422a0b
mov edi, dword [edi + 4]
jmp 0x422a0d
xor edi, edi
push 0xffffffffffffffff
push eax
push edi
call fcn.0047c260
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.00421a80
test al, al
jne 0x422a5e
push ebp
mov ecx, edi
call fcn.00410210
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.00488bb0
add esp, 8
mov edi, dword [esp + 0x30]
add esi, 0x3c
add edi, 0x10
push esi
mov ecx, edi
call fcn.00421b50
test al, al
pop ebp
jne 0x422a8b
push edi
mov ecx, esi
call fcn.00421ae0
lea ecx, [esp + 0xc]
push esi
push ecx
call fcn.00488d60
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 0x422aae
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 0x423200
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x410
mov eax, dword [0x52bd18]
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 0x423267
lea eax, [esp + 0x10]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x423250
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.004ce183
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423280
Capabilities:
Get cpu information
Get system information on windows
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4f17f6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x440
mov eax, dword [0x52bd18]
push ebp
push esi
push edi
mov dword [esp + 0x448], eax
mov ebp, 1
call fcn.004df219
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.004df219
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 0x423409
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 0x42336f
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 0x42342d
lea eax, [esp + 0x48]
lea edx, [eax + 1]
jmp 0x4233b0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4233b0
sub eax, edx
push eax
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x14]
call fcn.00401880
push 0x4fca4e
push 0x5006ec
lea ecx, [esp + 0x14]
call fcn.00401920
mov esi, dword [esp + 0xc]
cmp dword [esi - 4], 1
mov edi, dword [esi - 0xc]
jle 0x4233f8
mov eax, edi
push eax
lea ecx, [esp + 0x10]
call fcn.004013d0
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x464]
inc edi
push edi
push esi
call fcn.00406e20
jmp 0x42342d
push 0x52
push str..GetSysInfo.cpp
call fcn.00407350
mov ecx, eax
call fcn.0040a680
push str.GetCpuInfo:_Open_key__HARDWAREDESCRIPTIONSystemCentralProcessor0__Error.
push 4
call fcn.0047dea0
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 0x42345a
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 0x423483
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.004ce183
add esp, 0x44c
ret
Function at 0x4234b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f1816
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
mov eax, dword [0x52bd18]
push esi
push edi
push 0x4fca4e
lea ecx, [esp + 0x10]
mov dword [esp + 0xb0], eax
mov dword [esp + 0x10], 0
call fcn.00401fd0
mov dword [esp + 0xbc], 0
call fcn.004df219
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 0x4235ff
push 8
push str.Version:
lea ecx, [esp + 0x10]
call fcn.00401880
mov eax, dword [esp + 0x14]
sub eax, 3
je 0x4235c2
dec eax
je 0x423589
dec eax
jne 0x4235d0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x423571
push str._Windows_2000
jmp 0x4235c7
cmp eax, 1
jne 0x42357d
push str._Windows_XP
jmp 0x4235c7
cmp eax, 2
jne 0x4235d0
push str._Windows_2003_family
jmp 0x4235c7
mov eax, dword [esp + 0x18]
cmp eax, 0xa
jne 0x423599
push str._Windows_98
jmp 0x4235c7
cmp eax, 0x5a
jne 0x4235a5
push str._Windows_ME
jmp 0x4235c7
test eax, eax
jne 0x4235d0
cmp dword [esp + 0x20], 1
lea ecx, [esp + 8]
jne 0x4235bb
push str._Windows_95
jmp 0x4235cb
push str._Windows_NT
jmp 0x4235cb
push str._Windows_NT_3.51
lea ecx, [esp + 0xc]
call fcn.00401f90
push 1
push 0x4fca4c
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 0x4235e7
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.00401660
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 0x423636
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 0x42365f
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.004ce183
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x424600
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4f1990
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.004195d0
mov eax, dword [eax]
sub eax, 0x10
push eax
mov byte [esp + 0x24], 1
call fcn.00401660
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 0x424685
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 0x4246a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push esi
push edi
call fcn.004df219
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 0x4246d4
mov eax, dword [esi + 0xc]
jmp 0x4246d6
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 0x4246f5
mov esi, dword [esi + 4]
jmp 0x4246f7
xor esi, esi
mov edi, dword [esp + 0xc]
push edi
push esi
push str.Hotfix
lea ecx, [esp + 0x1c]
call fcn.0047d1a0
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 0x42472c
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 0x424752
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 0x425320
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f1ad4
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], 0x500978
call fcn.00401270
lea edi, [esi + 0x24]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x24], ebx
call fcn.00407e90
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
lea edi, [esi + 0x30]
mov ecx, edi
mov byte [esp + 0x24], 1
call fcn.00407e90
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov byte [esp + 0x24], 2
lea edi, [esi + 0x3c]
call fcn.004df219
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.00481390
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.004195d0
add esp, 0x18
push eax
mov ecx, edi
mov byte [esp + 0x28], 6
call fcn.004040e0
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 0x4253fa
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 0x42541d
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 0x425440
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [edi]
push eax
call fcn.00485ff0
add esp, 4
mov ecx, esi
call fcn.00424a60
mov ecx, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret