joyce8/EMBER2024-capa huggingface dataset:
Function at 0x524720
Capabilities:
Encode data using xor

Disassembly:
cmp dword [esp + 0x18], 0
je 0x524734
mov dword [esp + 0x18], fcn.00522f00
jmp fcn.0051eca0
mov dword [esp + 0x18], fcn.005221a0
jmp fcn.0051e9e0
Function at 0x52af60
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x52af72
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.004ca0c0
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x52b035
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x52afc6
test esi, esi
jle 0x52b014
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
nop word [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x52afb0
jmp 0x52b014
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x52afea
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.00555650
add esp, 0xc
test esi, esi
jle 0x52b014
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x52b000
push esi
push ebp
push ebp
push edi
call fcn.004ca4e0
add esp, 0x10
pop ebx
test eax, eax
jne 0x52b035
push esi
push ebp
call fcn.004bcdc0
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret

Function at 0x52b8c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 8
call fcn.00552fe0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push 0x1048
push 0x5c7ae0
push esi
call fcn.005557b0
mov ecx, dword [esp + 0x2c]
mov eax, 0x48
mov edi, dword [esp + 0x30]
add esp, 0xc
cmp ecx, eax
cmovg ecx, eax
mov eax, edi
xor ebp, ebp
lea ebx, [ecx + edi]
nop
movzx edx, byte [eax]
inc eax
cmp eax, ebx
cmovae eax, edi
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, ebx
cmovae eax, edi
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, ebx
cmovae eax, edi
shl edx, 8
movzx ecx, byte [eax]
inc eax
or edx, ecx
cmp eax, ebx
cmovae eax, edi
xor dword [esi + ebp*4], edx
inc ebp
cmp ebp, 0x12
jl 0x52b900
mov dword [esp + 0x10], 0
xor edi, edi
mov dword [esp + 0x14], 0
nop
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0052c320
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [esi + edi*4], eax
mov eax, dword [esp + 0x14]
mov dword [esi + edi*4 + 4], eax
add edi, 2
cmp edi, 0x12
jl 0x52b950
xor edi, edi
lea eax, [esp + 0x10]
push esi
push eax
call fcn.0052c320
mov eax, dword [esp + 0x18]
add esp, 8
mov dword [esi + edi*4 + 0x48], eax
mov eax, dword [esp + 0x14]
mov dword [esi + edi*4 + 0x4c], eax
add edi, 2
cmp edi, 0x400
jl 0x52b977
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x52c910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x28
call fcn.00552fe0
mov eax, dword [0x6069b0]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
push ebx
push ebp
movzx ebx, byte [eax]
lea ebp, [eax + 1]
mov edx, ebp
shl ebx, 0x18
push esi
push edi
mov edi, dword [esp + 0x50]
movzx eax, byte [edx]
movzx ecx, byte [edx + 3]
shl eax, 0x10
or ebx, eax
shl ecx, 0x18
movzx eax, byte [edx + 1]
shl eax, 8
or ebx, eax
mov esi, dword [edi]
movzx eax, byte [edx + 2]
or ebx, eax
mov dword [esp + 0x14], edi
movzx eax, byte [edx + 4]
shl eax, 0x10
or ecx, eax
mov dword [esp + 0x24], ebp
movzx eax, byte [edx + 6]
mov dword [esp + 0x2c], ecx
movzx ecx, byte [edx + 5]
mov edx, dword [esp + 0x2c]
shl ecx, 8
or ecx, eax
mov dword [esp + 0x18], ebx
mov eax, ebx
mov byte [esp + 0x2f], bl
shr eax, 0x18
or edx, ecx
mov byte [esp + 0x2c], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
mov byte [esp + 0x32], al
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], edx
mov byte [esp + 0x33], dl
test eax, eax
je 0x52cad5
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0x3c]
sub ecx, edi
mov dword [esp + 0x10], ecx
xor ebp, ebp
nop dword [eax]
dec eax
mov dword [esp + 0x44], eax
test esi, esi
jne 0x52ca65
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
call fcn.0052c320
mov ebx, dword [esp + 0x20]
add esp, 8
mov edx, dword [esp + 0x1c]
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x2c], al
mov eax, ebx
mov ecx, dword [esp + 0x10]
shr eax, 0x10
mov byte [esp + 0x2d], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x2e], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x30], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x31], al
mov eax, edx
shr eax, 8
inc ebp
mov byte [esp + 0x2f], bl
mov byte [esp + 0x32], al
mov byte [esp + 0x33], dl
mov al, byte [esp + esi + 0x2c]
inc esi
xor al, byte [edi]
and esi, 7
mov byte [ecx + edi], al
inc edi
mov eax, dword [esp + 0x44]
test eax, eax
jne 0x52ca00
test ebp, ebp
mov ebp, dword [esp + 0x24]
je 0x52cabc
mov ecx, dword [esp + 0x28]
mov eax, ebx
shr eax, 0x18
mov byte [ecx], al
mov eax, ebx
shr eax, 0x10
mov byte [ebp], al
mov eax, ebx
shr eax, 8
mov byte [ebp + 1], al
mov eax, edx
shr eax, 0x18
mov byte [ebp + 2], bl
mov byte [ebp + 3], al
mov eax, edx
shr eax, 0x10
mov byte [ebp + 4], al
mov eax, edx
shr eax, 8
mov byte [ebp + 5], al
mov byte [ebp + 6], dl
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.00551ee1
add esp, 0x28
ret
mov ecx, dword [esp + 0x34]
mov dword [edi], esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00551ee1
add esp, 0x28
ret
Function at 0x534820
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x5348e9
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x534841
cmp al, 0x6b
jne 0x5348e9
inc ecx
cmp al, 0x6b
jne 0x5348ab
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x534862
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x534862
cmp dl, 0xbb
jne 0x53488b
inc eax
cmp eax, esi
jl 0x534850
sub esi, eax
test eax, eax
jne 0x5348ae
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.004b7960
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.004b7960
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x5348d7
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.004b7960
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.005557b0
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.004b7960
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x53bd10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.00552fe0
mov eax, dword [0x6069b0]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x88], 0x40000000
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0
ja 0x53bee7
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x53bee7
cmp dword [esp + 0x88], 0x40000000
ja 0x53bee7
push ebx
push edi
push eax
call fcn.004ca540
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.004c11a0
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x34]
mov ebx, 1
push eax
call fcn.004c0d80
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], 0x1000000
push dword [esp + 0x30]
push eax
call fcn.004c0f30
add esp, 0x20
test eax, eax
je 0x53bec3
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004c0f30
add esp, 0xc
test eax, eax
je 0x53bec3
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.004c0f30
add esp, 0xc
test eax, eax
je 0x53bec3
push 0
cmp esi, edi
jb 0x53be8b
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.004c0cb0
add esp, 0xc
test eax, eax
je 0x53bec3
sub esi, edi
je 0x53bebb
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x2c]
add ebp, edi
push eax
inc ebx
call fcn.004c0d80
push dword [esp + 0x9c]
mov eax, ebx
mov byte [esp + 0x23], bl
push dword [esp + 0x28]
shr eax, 8
mov byte [esp + 0x26], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x25], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x24], al
lea eax, [esp + 0x38]
push eax
call fcn.004c0f30
add esp, 0x18
test eax, eax
jne 0x53bdd7
jmp 0x53bec3
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.004c0cb0
add esp, 0xc
test eax, eax
je 0x53bec3
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.005557b0
lea eax, [esp + 0x48]
push edi
push eax
call fcn.004bcdc0
add esp, 0x14
mov dword [esp + 0x1c], 1
lea eax, [esp + 0x24]
push eax
call fcn.004c0f40
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.00551ee1
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
xor eax, eax
pop esi
pop ebp
xor ecx, esp
call fcn.00551ee1
add esp, 0x70
ret
Function at 0x53de70
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
mov eax, dword [ebp + 4]
cmp eax, dword [ecx + 4]
jge 0x53de87
mov edi, ecx
jmp 0x53de8b
mov edi, ebp
mov ebp, ecx
mov ebx, dword [esp + 0x10]
mov eax, dword [edi + 4]
cmp eax, dword [ebx + 8]
jg 0x53de9b
mov eax, ebx
jmp 0x53dea5
push eax
push ebx
call fcn.004a0ce0
add esp, 8
test eax, eax
jne 0x53dead
pop edi
pop ebp
pop ebx
ret
push esi
xor esi, esi
cmp dword [ebp + 4], esi
jle 0x53decb
mov eax, dword [edi]
mov ecx, dword [ebp]
mov edx, dword [eax + esi*4]
mov eax, dword [ebx]
xor edx, dword [ecx + esi*4]
mov dword [eax + esi*4], edx
inc esi
cmp esi, dword [ebp + 4]
jl 0x53deb5
cmp esi, dword [edi + 4]
jge 0x53dee0
mov eax, dword [edi]
mov ecx, dword [ebx]
mov eax, dword [eax + esi*4]
mov dword [ecx + esi*4], eax
inc esi
cmp esi, dword [edi + 4]
jl 0x53ded0
mov ecx, dword [edi + 4]
mov dword [ebx + 4], ecx
pop esi
test ecx, ecx
jle 0x53df04
mov edx, dword [ebx]
add edx, 0xfffffffc
lea edx, [edx + ecx*4]
mov eax, dword [edx]
lea edx, [edx - 4]
test eax, eax
jne 0x53df01
dec ecx
test ecx, ecx
jg 0x53def3
mov dword [ebx + 4], ecx
pop edi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x574f9d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00574e1c

Function at 0x579b84
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00579844
Function at 0x401d50
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cd820
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0x55c]
mov eax, 0x51eb851f
imul edi
mov eax, dword [esp + 0x28]
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea edx, [edi + eax]
mov edi, dword [esi + 0x570]
add edi, eax
cmp dword [esi + 0x45c], 2
mov dword [esi + 0x55c], edx
mov dword [esi + 0x570], edi
je 0x401dcf
mov eax, 0x51eb851f
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, ecx
jle 0x401dcf
push 1
mov ecx, esi
call fcn.00401c50
mov dword [esi + 0x55c], 0
push 0x4d6528
lea ecx, [esp + 0x14]
call fcn.00431b00
push str.Stars
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0
call fcn.00431b00
mov ecx, dword [esi + 0x55c]
push 1
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, esi
mov byte [esp + 0x30], 1
call fcn.0045f300
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.00431a00
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call fcn.00431a00
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 4

Function at 0x4026e0
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x674]
test eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x402746
mov eax, dword [esi + 0x678]
push eax
mov byte [esi + 0x670], 1
mov dword [esi + 0x66c], 0
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [esi + 0x674]
push 0x3e8
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esi + 0x674]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x674]
push eax
call edi
mov dword [esi + 0x674], 0
mov eax, dword [esi + 0x678]
test eax, eax
je 0x40275d
push eax
call edi
mov dword [esi + 0x678], 0
pop edi
pop esi
ret
Function at 0x4115a1
Capabilities:
Create thread

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x674]
xor ebx, ebx
cmp eax, ebx
jne 0x411628
push edi
or edi, 0xffffffff
push 0x4d6ee6
lea ecx, [esi + 0x704]
mov byte [esi + 0x670], bl
mov dword [esi + 0x66c], ebx
mov byte [esi + 0x70c], bl
mov byte [esi + 0x808], bl
mov dword [esi + 0x6fc], edi
mov dword [esi + 0x700], edi
call fcn.00431bf0
push ebx
push 1
push ebx
push ebx
mov dword [esi + 0x7f0], edi
mov dword [esi + 0x7f4], edi
mov dword [esi + 0x7f8], edi
mov dword [esi + 0x7fc], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push esi
push 0x40f7f0
push ebx
push ebx
mov dword [esi + 0x678], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x674], eax
pop edi
pop esi
pop ebx
ret
Function at 0x41bc00
Capabilities:
Get number of processors

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4cfc30
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x3f0]
test eax, eax
push edi
je 0x41bc39
mov ecx, dword [esi + 8]
push eax
call fcn.004582f0
mov dword [esi + 0x3f0], 0
mov edi, dword [esp + 0x28]
cmp edi, 9
je 0x41bcc1
cmp edi, 0xa
je 0x41bcc1
cmp edi, 0xc
je 0x41bcc1
mov cl, byte [esi + 0x38c]
mov eax, dword [esi + 0x140]
neg cl
sbb ecx, ecx
and ecx, 0xffffffce
add ecx, 0x64
cmp eax, ecx
jne 0x41bc97
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push edi
mov ecx, esi
call fcn.0041ba30
mov edx, dword [esp + 0x2c]
push edx
mov ecx, esi
call fcn.0041b890
pop edi
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x3e0], edi
pop edi
mov byte [esi + 0x3e4], 0
mov dword [esi + 0x3e8], eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
mov al, byte [esi + 0x38c]
mov ecx, dword [esi + 0x140]
mov dl, al
neg dl
sbb edx, edx
and edx, 0xffffffce
add edx, 0x61
cmp ecx, edx
jne 0x41bd3c
cmp edi, 9
jne 0x41bd3c
mov al, byte [esp + 0x34]
test al, al
jne 0x41bd1d
push str.PistolNewSound
lea ecx, [esp + 0xc]
call fcn.00431b00
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x24], 0
call fcn.00455be0
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call fcn.00431a00
mov ecx, dword [esp + 0x2c]
push ecx
mov ecx, esi
call fcn.0041b890
pop edi
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
mov dl, al
neg dl
sbb edx, edx
and edx, 0xffffffce
add edx, 0x5e
cmp ecx, edx
jne 0x41bd81
cmp edi, 0xa
jne 0x41bd81
mov al, byte [esp + 0x34]
test al, al
jne 0x41bd1d
push str.CannonNew
lea ecx, [esp + 0x14]
call fcn.00431b00
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x24], 1
call fcn.00455be0
lea ecx, [esp + 0x10]
jmp 0x41bd10
mov dl, al
neg dl
sbb edx, edx
and edx, 0xffffffce
add edx, 0x4e
cmp ecx, edx
jne 0x41bd9a
cmp edi, 0xc
je 0x41be1e
mov dl, byte [esp + 0x30]
push ebx
mov bl, byte [esi + 0x145]
test bl, bl
mov dword [esi + 0x3e0], edi
mov byte [esi + 0x3e4], dl
je 0x41be13
mov dl, al
neg dl
sbb edx, edx
and edx, 0xffffffce
add edx, 0x62
cmp ecx, edx
jne 0x41bde3
pop ebx
pop edi
mov dword [esi + 0x3e8], 9
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
test bl, bl
je 0x41be13
neg al
sbb eax, eax
and eax, 0xffffffce
add eax, 0x5f
cmp ecx, eax
jne 0x41be13
pop ebx
pop edi
mov dword [esi + 0x3e8], 0xa
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
mov eax, dword [esp + 0x30]
mov dword [esi + 0x3e8], eax
pop ebx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x41e1c0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4cfe68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x30]
push ebx
mov ebx, dword [0x51aa30]
push esi
mov esi, ecx
mov ecx, eax
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0xc1a00000
mov dword [esp + 0x3c], ebx
mov eax, dword [ebx]
cmp eax, 1
mov edx, dword [esi + 0xe4]
mov dword [esp + 0x34], 0
mov dword [esp + 0x10], edx
je 0x41e263
cmp eax, 0xffffffff
je 0x41e23a
dec eax
mov dword [ebx], eax
push 0x44
mov esi, ebx
call fcn.004354d0
mov ebx, eax
add esp, 4
add esi, 4
lea edi, [ebx + 4]
mov ecx, 0x10
mov dword [ebx], 1
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0xc]
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x10]
push ebp
push eax
lea ebp, [ebx + 4]
push ebp
call fcn.0042251b
mov eax, dword [ebx]
cmp eax, 1
je 0x41e2ac
cmp eax, 0xffffffff
je 0x41e281
dec eax
mov dword [ebx], eax
push 0x44
mov esi, ebx
call fcn.004354d0
mov ebx, eax
lea ebp, [ebx + 4]
add esp, 4
add esi, 4
mov ecx, 0x10
mov edi, ebp
mov dword [ebx], 1
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x40], ebx
push ebp
lea ecx, [esp + 0x28]
push ecx
mov edx, ecx
push edx
call fcn.004214a5
mov eax, dword [ebx]
cmp eax, 1
je 0x41e2f4
cmp eax, 0xffffffff
je 0x41e2c9
dec eax
mov dword [ebx], eax
push 0x44
mov esi, ebx
call fcn.004354d0
mov ebx, eax
lea ebp, [ebx + 4]
add esp, 4
add esi, 4
mov ecx, 0x10
mov edi, ebp
mov dword [ebx], 1
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x40], ebx
push ebp
lea eax, [esp + 0x1c]
push eax
mov ecx, eax
push ecx
call fcn.004214a5
fld dword [esp + 0x24]
fadd dword [esi + 0xc4]
mov edx, dword [esp + 0x44]
push edx
lea eax, [esp + 0x1c]
fstp dword [esp + 0x28]
push eax
fld dword [esp + 0x30]
lea edx, [esp + 0x2c]
fadd dword [esi + 0xc8]
push edx
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fadd dword [esi + 0xcc]
fstp dword [esp + 0x38]
fld dword [esp + 0x24]
fadd dword [esi + 0xc4]
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fadd dword [esi + 0xc8]
fstp dword [esp + 0x28]
fld dword [esp + 0x2c]
fadd dword [esi + 0xcc]
mov esi, dword [esi + 8]
fstp dword [esp + 0x2c]
mov ecx, dword [esi + 0x30]
call fcn.0040e9b0
mov eax, dword [ebx]
cmp eax, 0xffffffff
mov dword [esp + 0x38], 0xffffffff
pop ebp
je 0x41e394
mov ecx, eax
dec ecx
mov eax, ecx
test eax, eax
mov dword [ebx], ecx
jg 0x41e394
push ebx
call fcn.004352c0
add esp, 4
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x424679
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4246d1
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4246d1
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x4246d1
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x4246fa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x424768
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push str.DisableMMX
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42475f
cmp dword [ebp - 0xc], 4
jne 0x42475f
cmp dword [ebp - 0x10], edi
je 0x42475f
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x50320c], edi
xor eax, eax
jmp 0x424790
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x50320c], edi
jge 0x42478b
mov dword [0x50320c], edi
call fcn.004246d5
test eax, eax
je 0x42478b
emms
mov dword [0x50320c], 1
mov eax, dword [0x50320c]
pop edi
leave
ret

Function at 0x424870
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
push ebx
push edi
push 0x25
pop ecx
xor eax, eax
lea edi, [ebp - 0x24]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
xor bl, bl
and byte [ebp + 0x73], bl
push eax
mov dword [ebp - 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x4248a7
inc bl
mov byte [ebp + 0x73], 1
cmp dword [ebp - 0x14], 1
jne 0x4248c9
cmp dword [ebp - 0x20], 4
ja 0x4248d3
jne 0x4248c3
cmp dword [ebp - 0x1c], 0xa
jb 0x4248c3
cmp word [ebp - 0x18], 0x55d
jae 0x4248d3
mov byte [ebp + 0x73], 1
jmp 0x4248d3
cmp dword [ebp - 0x14], 2
jne 0x4248e9
test bl, bl
je 0x424904
mov eax, dword [ebp + 0x7c]
sub eax, 6
je 0x4248f4
dec eax
je 0x4248ed
sub eax, 3
jne 0x4248e9
cmp byte [ebp + 0x73], 0
je 0x424915
xor eax, eax
jmp 0x42491d
call fcn.00424793
jmp 0x42491d
cmp byte [ebp + 0x73], 0
jne 0x4248e9
call fcn.004247cb
and eax, 4
jmp 0x42491d
cmp dword [ebp + 0x7c], 0xa
je 0x424915
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
jmp 0x42491d
call fcn.004247cb
and eax, 8
pop edi
pop ebx
add ebp, 0x74
leave
ret