joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f2b0
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
mov eax, dword [esi]
push ecx
mov ecx, esi
mov dword [esi + 0x208], str.App::Initialize_1_
call dword [eax + 0x94]
mov edx, dword [esp + 8]
mov ecx, dword [esi + 0x54]
lea eax, [esi + 0x58]
push eax
mov dword [esi + 4], edx
mov dword [esi + 0x208], str.App::Initialize_2_
call fcn.004766c0
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x208], str.App::Initialize_3_
call dword [edx + 0xc]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x208], str.App::Initialize_4_
call dword [eax + 0x1c]
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x208], str.App::Initialize_5_
call dword [edx + 0x18]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x208], str.App::Initialize_6_
call dword [eax + 0x30]
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x208], str.App::Initialize_7_
call dword [edx + 0x3c]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x208], str.App::Initialize_8_
call dword [eax + 0x34]
mov edx, dword [esi]
mov ecx, esi
mov dword [esi + 0x208], str.App::Initialize_9_
call dword [edx + 0x38]
mov eax, dword [esi]
mov ecx, esi
mov dword [esi + 0x208], str.App::Initialize_10_
call dword [eax + 0x40]
mov edx, dword [esi + 0x160]
mov eax, dword [esi + 0x15c]
xor ecx, ecx
mov cl, byte [esi + 0x158]
mov dword [esi + 0x208], str.App::Initialize_11_
push ecx
mov ecx, dword [esi + 8]
push edx
push eax
push ecx
mov ecx, dword [esi + 0x174]
call fcn.00458aa0
mov edx, dword [esi + 0x174]
mov al, byte [edx + 0x60]
test al, al
je 0x46f3c9
push 0
push str.DirectX_Initialization_Error
push str.Hamsterball_was_not_able_to_initialize_DirectX___Hamsterball_requires_DirectX8.0_or_better_to_run.__To_download_the_latest_DirectX__visit_http:__www.microsoft.com_directx
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
push 0
call fcn.004bf22b
mov eax, dword [esi + 0x1b4]
test eax, eax
mov dword [esi + 0x208], str.App::Initialize_12_
je 0x46f3f9
push 0x2d
push eax
call fcn.004be400
add esp, 8
test eax, eax
je 0x46f3f9
mov ecx, dword [esi + 0x174]
inc eax
push eax
call fcn.00457720
mov dword [esi + 0x208], str.App::Initialize_Ok_
pop esi
ret 8
Function at 0x472f40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d183f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
lea ecx, [esp + 8]
mov dword [esp + 4], 0
call fcn.0047ff70
mov esi, dword [esp + 0x38]
mov eax, dword [esi]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 1
call fcn.0047ffb0
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0xc]
call fcn.0047ffb0
mov edx, dword [esi + 8]
push edx
lea ecx, [esp + 0xc]
call fcn.0047ffb0
mov eax, dword [esi + 0xc]
push eax
lea ecx, [esp + 0xc]
call fcn.0047ffb0
mov ecx, dword [esi + 0x10]
push ecx
lea ecx, [esp + 0xc]
call fcn.0047ffb0
mov edx, dword [esi + 0x14]
push edx
lea ecx, [esp + 0xc]
call fcn.0047ffb0
mov eax, dword [esi + 0x18]
push eax
lea ecx, [esp + 0xc]
call fcn.0047ffb0
mov ecx, dword [esi + 0x1c]
push ecx
lea ecx, [esp + 0xc]
call fcn.0047ffb0
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x18]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi], 0x4dbfc0
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call fcn.0047ffa0
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x4734d0
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d1858
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov al, byte [esi + 4]
test al, al
jne 0x4736a2
push ebx
push ebp
push edi
mov edi, dword [esp + 0x3c]
push edi
lea eax, [esp + 0x14]
push eax
call fcn.00472f40
mov edx, dword [esi + 0x24]
mov ebp, dword [esi + 0x1c]
cmp edx, ebp
mov dword [esp + 0x34], 0
jge 0x4735a6
mov eax, dword [esi + 0xc]
mov ecx, edx
shl ecx, 5
add ecx, eax
fld dword [edi]
fcomp dword [ecx]
fnstsw ax
test ah, 0x44
jp 0x47358e
fld dword [edi + 4]
fcomp dword [ecx + 4]
fnstsw ax
test ah, 0x44
jp 0x47358e
fld dword [edi + 8]
fcomp dword [ecx + 8]
fnstsw ax
test ah, 0x44
jp 0x47358e
fld dword [edi + 0xc]
fcomp dword [ecx + 0xc]
fnstsw ax
test ah, 0x44
jp 0x47358e
fld dword [edi + 0x10]
fcomp dword [ecx + 0x10]
fnstsw ax
test ah, 0x44
jp 0x47358e
fld dword [edi + 0x14]
fcomp dword [ecx + 0x14]
fnstsw ax
test ah, 0x44
jp 0x47358e
fld dword [edi + 0x18]
fcomp dword [ecx + 0x18]
fnstsw ax
test ah, 0x44
jp 0x47358e
fld dword [edi + 0x1c]
fcomp dword [ecx + 0x1c]
fnstsw ax
test ah, 0x44
jnp 0x47359b
mov eax, dword [esi + 0x1c]
inc edx
add ecx, 0x20
cmp edx, eax
jl 0x473528
jmp 0x4735a6
cmp edx, 0xffffffff
mov ebx, edx
jne 0x473663
mov edx, dword [edi]
mov ecx, dword [esi + 0xc]
shl ebp, 5
mov dword [ecx + ebp], edx
mov eax, dword [esi + 0x1c]
mov edx, dword [edi + 4]
mov ecx, dword [esi + 0xc]
shl eax, 5
mov dword [eax + ecx + 4], edx
mov eax, dword [esi + 0x1c]
mov edx, dword [edi + 8]
mov ecx, dword [esi + 0xc]
shl eax, 5
mov dword [eax + ecx + 8], edx
mov eax, dword [esi + 0x1c]
mov edx, dword [edi + 0xc]
mov ecx, dword [esi + 0xc]
shl eax, 5
mov dword [eax + ecx + 0xc], edx
mov eax, dword [esi + 0x1c]
mov edx, dword [edi + 0x10]
mov ecx, dword [esi + 0xc]
shl eax, 5
mov dword [eax + ecx + 0x10], edx
mov eax, dword [esi + 0x1c]
mov edx, dword [edi + 0x14]
mov ecx, dword [esi + 0xc]
shl eax, 5
mov dword [eax + ecx + 0x14], edx
mov eax, dword [esi + 0x1c]
mov edx, dword [edi + 0x18]
mov ecx, dword [esi + 0xc]
shl eax, 5
mov dword [eax + ecx + 0x18], edx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0xc]
mov edx, dword [edi + 0x1c]
shl eax, 5
mov dword [eax + ecx + 0x1c], edx
mov ebx, dword [esi + 0x1c]
mov edi, dword [esi + 0x14]
mov ecx, ebx
imul ecx, ecx, 0x1c
lea eax, [esp + 0x10]
push eax
add ecx, edi
call fcn.00480020
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
inc edx
mov eax, edx
cmp eax, ecx
mov dword [esi + 0x1c], edx
jl 0x473663
push 0
push str.Oops
push str.Too_many_vertices
push 0
call dword [sym.imp.user32.dll_MessageBoxA]
push 0
call fcn.004bf22b
mov ecx, dword [esi + 0x20]
mov eax, 0x55555556
imul ecx
mov eax, dword [esi + 0x18]
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, dword [esi + 0x28]
mov dword [eax + edx*4], ecx
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x10]
mov word [eax + edx*2], bx
mov eax, dword [esi + 0x20]
inc eax
lea ecx, [esp + 0x10]
mov dword [esi + 0x20], eax
mov dword [esp + 0x34], 0xffffffff
call fcn.0047ffa0
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x476510
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4d1a58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov al, 1
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov byte [esi + 0x14], al
mov byte [esi + 0x15], bl
mov byte [esi + 0x16], al
mov dword [esi + 0x18], ebx
lea edi, [esi + 0x30]
mov ecx, edi
mov dword [esp + 0x18], ebx
mov dword [esi], 0x4dc274
call fcn.0048a690
mov ecx, dword [esp + 0x10]
mov dword [edi], 0x4dc260
mov dword [esi + 0x20], ebx
mov byte [esi + 0x2c], bl
pop edi
mov dword [esi + 0x34], esi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x476740
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [ecx + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 4
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
push 0
push eax
push ecx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
ret 8

Function at 0x476770
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [ecx + 4]
push 4
lea edx, [esp + 0xc]
push edx
push 3
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
push 0
push eax
push ecx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
ret 8

Function at 0x4767a0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push eax
mov eax, dword [esp + 8]
push edx
push 3
push 0
push eax
push ecx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
ret 0xc

Function at 0x4767c0
Capabilities:
Set registry value

Disassembly:
mov al, byte [esp + 8]
mov ecx, dword [ecx + 4]
push 1
cmp al, 1
lea edx, [esp + 0xc]
push edx
sete al
push 3
mov byte [esp + 0x14], al
mov eax, dword [esp + 0x10]
push 0
push eax
push ecx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
ret 8

Function at 0x4767f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [ecx + 4]
lea eax, [esp]
push eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x18], 4
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
mov ecx, dword [esp + 8]
neg eax
sbb eax, eax
not eax
and eax, ecx
pop ecx
ret 4

Function at 0x476830
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [ecx + 4]
lea eax, [esp]
push eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x18], 4
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
je 0x476864
fld dword [0x4d3370]
pop ecx
ret 4
fld dword [esp + 8]
pop ecx
ret 4

Function at 0x476870
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 8]
push eax
mov eax, dword [ecx + 4]
push 0
push 0
push edx
push eax
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
ret 0xc
Function at 0x4768a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [ecx + 4]
lea eax, [esp]
push eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0xc]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x18], 1
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
je 0x4768d0
xor al, al
pop ecx
ret 4
cmp byte [esp + 8], 1
sete al
pop ecx
ret 4

Function at 0x4768e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x104
push ebx
mov ebx, dword [sym.imp.advapi32.dll_RegQueryValueExA]
push esi
push edi
mov edi, dword [esp + 0x114]
mov esi, ecx
mov edx, dword [esi + 4]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push edi
push edx
mov dword [esp + 0x24], 1
call ebx
test eax, eax
jne 0x476927
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x104
ret 4
mov edx, dword [esi + 4]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push edi
push edx
mov dword [esp + 0x24], 4
call ebx
test eax, eax
je 0x476919
mov edx, dword [esi + 4]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push 0
push edi
push edx
mov dword [esp + 0x24], 8
call ebx
test eax, eax
je 0x476919
mov ecx, dword [esi + 4]
lea eax, [esp + 0xc]
push eax
push 0
push 0
push 0
push edi
push ecx
call ebx
neg eax
pop edi
sbb al, al
pop esi
inc al
pop ebx
add esp, 0x104
ret 4

Function at 0x4769d0
Capabilities:
Delete file
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push ebx
push esi
push edi
lea eax, [ebp - 0x104]
push 0x104
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x104]
push str.eSellerateEngine.dll
push eax
call fcn.004bfaa0
pop ecx
lea eax, [ebp - 0x244]
pop ecx
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x476a2a
push eax
call dword [sym.imp.kernel32.dll_FindClose]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
push 0xffffffffffffffff
call dword [sym.imp.kernel32.dll_FindClose]
push 0x4fa5c4
push 1
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_FindResourceA]
mov esi, eax
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x476abd
push esi
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebp - 0x104]
push 0x4fa5c0
push eax
call fcn.004bf364
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x476a82
push edi
call dword [sym.imp.kernel32.dll_FreeResource]
jmp 0x476abd
push esi
push ebx
push 1
push edi
call dword [sym.imp.kernel32.dll_LockResource]
push eax
call fcn.004bfa37
add esp, 0x10
mov dword [ebp + 8], eax
push edi
call dword [sym.imp.kernel32.dll_FreeResource]
push esi
call fcn.004bf2b7
cmp dword [ebp + 8], ebx
pop ecx
jae 0x476a21
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
push 1
pop eax
jmp 0x476a23
Function at 0x476e60
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d1a78
push eax
mov dword fs:[0], esp
push esi
push edi
mov esi, ecx
mov edi, dword [esp + 0x1c]
push edi
mov dword [esp + 0x14], 0
call fcn.00476c70
mov al, byte [esp + 0x30]
push edi
mov byte [esi + 0x18], al
call fcn.004be35a
mov ecx, dword [esp + 0xc]
add esp, 4
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0xc
ret 0x1c

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

Disassembly:
push 0xffffffffffffffff
push 0x4d1ab8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
push edi
mov esi, ecx
push ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0x4d6800
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x2c], 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x24], bl
call fcn.00476c70
cmp byte [esi + 0x10], bl
mov dword [esp + 0x34], ebx
je 0x477385
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x47737f
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x477371
sub eax, edx
mov dword [esi + 0x14], eax
jmp 0x477382
mov dword [esi + 0x14], ebx
mov byte [esi + 0x10], bl
mov eax, dword [esp + 0x40]
cmp eax, dword [esi + 0x14]
jge 0x4773e5
mov ecx, dword [esp + 0x14]
push ebp
push ecx
call fcn.004be35a
mov ebp, dword [esp + 0x4c]
xor eax, eax
lea ecx, [ebp + 1]
add esp, 4
cmp ecx, ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], eax
jle 0x4773bb
mov eax, ecx
mov dword [esp + 0x1c], eax
push eax
call fcn.004bdcb6
mov edx, dword [esi + 4]
mov edi, eax
mov eax, dword [esp + 0x48]
push ebp
add edx, eax
push edx
push edi
mov dword [esp + 0x28], edi
call fcn.004bfb90
add esp, 0x10
mov byte [edi + ebp], bl
mov byte [esp + 0x2c], bl
pop ebp
jmp 0x4773e9
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
push edi
mov ecx, esi
mov dword [esi], 0x4d6800
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x18], 1
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x10], bl
call fcn.00476c70
mov al, byte [esp + 0x28]
push edi
mov byte [esi + 0x18], al
call fcn.004be35a
mov ecx, dword [esp + 0x30]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
Function at 0x477a20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4d1b87
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
xor ebx, ebx
push esi
mov dword [esp + 0xc], ebx
push edi
mov esi, ecx
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], 0x4d6800
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x48], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x40], bl
call fcn.00476c70
lea ecx, [esp + 0x14]
mov dword [esp + 0x50], 1
call fcn.0046cc60
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 2
call fcn.0046cc80
lea ecx, [esp + 0x14]
call fcn.0046cd70
mov esi, eax
cmp esi, ebx
je 0x477afb
mov ecx, dword [esi + 4]
push ecx
lea ecx, [esp + 0x30]
call fcn.00476f60
push 0x4dc29c
lea ecx, [esp + 0x30]
call fcn.00476f60
mov edx, dword [esi + 8]
push edx
lea ecx, [esp + 0x30]
call fcn.00476f60
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x10], 0xd
mov byte [esp + 0x11], 0xa
mov byte [esp + 0x12], bl
call fcn.00476f60
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
lea ecx, [esp + 0x14]
call fcn.0046cd70
mov esi, eax
cmp esi, ebx
jne 0x477aa0
mov esi, dword [esp + 0x58]
mov edi, dword [esp + 0x30]
push edi
mov ecx, esi
mov dword [esi], 0x4d6800
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x18], 1
mov dword [esi + 8], ebx
mov dword [esi + 0x14], ebx
mov byte [esi + 0x10], bl
call fcn.00476c70
mov al, byte [esp + 0x44]
mov byte [esi + 0x18], al
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], 1
mov byte [esp + 0x50], 1
call fcn.0046cd40
push edi
call fcn.004be35a
mov ecx, dword [esp + 0x4c]
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 4

Function at 0x4795f7
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push esi
push edi
test edx, edx
je 0x479620
mov cl, byte [edx]
test cl, cl
je 0x479620
movzx ecx, cl
movzx esi, al
xor ecx, esi
shr eax, 8
mov ecx, dword [ecx*4 + 0x537658]
xor eax, ecx
inc edx
jmp 0x479603
mov ecx, dword [esp + 0x10]
push 8
pop edx
movzx esi, byte [ecx]
movzx edi, al
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x537658]
xor eax, esi
inc ecx
dec edx
jne 0x479627
pop edi
pop esi
ret 8

Function at 0x47c7c0
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 0x47c818
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 0x47c818
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x47c818
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret
Function at 0x47c841
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 0x47c8af
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 0x47c8a6
cmp dword [ebp - 0xc], 4
jne 0x47c8a6
cmp dword [ebp - 0x10], edi
je 0x47c8a6
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov dword [0x4fa8d0], edi
xor eax, eax
jmp 0x47c8d7
push dword [ebp - 4]
call dword [sym.imp.advapi32.dll_RegCloseKey]
cmp dword [0x4fa8d0], edi
jge 0x47c8d2
mov dword [0x4fa8d0], edi
call fcn.0047c81c
test eax, eax
je 0x47c8d2
emms
mov dword [0x4fa8d0], 1
mov eax, dword [0x4fa8d0]
pop edi
leave
ret

Function at 0x47c9b7
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 0x47c9ee
inc bl
mov byte [ebp + 0x73], 1
cmp dword [ebp - 0x14], 1
jne 0x47ca10
cmp dword [ebp - 0x20], 4
ja 0x47ca1a
jne 0x47ca0a
cmp dword [ebp - 0x1c], 0xa
jb 0x47ca0a
cmp word [ebp - 0x18], 0x55d
jae 0x47ca1a
mov byte [ebp + 0x73], 1
jmp 0x47ca1a
cmp dword [ebp - 0x14], 2
jne 0x47ca30
test bl, bl
je 0x47ca4b
mov eax, dword [ebp + 0x7c]
sub eax, 6
je 0x47ca3b
dec eax
je 0x47ca34
sub eax, 3
jne 0x47ca30
cmp byte [ebp + 0x73], 0
je 0x47ca5c
xor eax, eax
jmp 0x47ca64
call fcn.0047c8da
jmp 0x47ca64
cmp byte [ebp + 0x73], 0
jne 0x47ca30
call fcn.0047c912
and eax, 4
jmp 0x47ca64
cmp dword [ebp + 0x7c], 0xa
je 0x47ca5c
push dword [ebp + 0x7c]
call dword [sym.imp.kernel32.dll_IsProcessorFeaturePresent]
jmp 0x47ca64
call fcn.0047c912
and eax, 8
pop edi
pop ebx
add ebp, 0x74
leave
ret
Function at 0x47d1a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d1e60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
push ebx
xor ebx, ebx
mov dword [esp + 0x20], ebx
push esi
mov esi, 0x4d6800
push ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov byte [esp + 0x24], 1
mov dword [esp + 0x14], ebx
mov dword [esp + 0x20], ebx
mov byte [esp + 0x1c], bl
call fcn.00476c70
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0xe8], 1
mov dword [esp + 0x4c], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
push str.Windows
lea ecx, [esp + 0xc]
call fcn.00476f60
cmp dword [esp + 0x58], 2
lea ecx, [esp + 8]
jne 0x47d22d
push 0x4dcb00
jmp 0x47d232
push 0x4dcafc
call fcn.00476f60
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x48], 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov byte [esp + 0x40], bl
call fcn.00476c70
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push ecx
push edx
lea eax, [esp + 0x34]
push str._d._d
push eax
mov byte [esp + 0xf4], 2
call fcn.004770b0
sub esp, 0xc
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x44], esp
push edx
call fcn.00476de0
lea ecx, [esp + 0x24]
call fcn.00477280
push 0x4dc1d0
lea ecx, [esp + 0xc]
call fcn.00476f60
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xc]
call fcn.00476f60
push str.___Build
lea ecx, [esp + 0xc]
call fcn.00476f60
mov ecx, dword [esp + 0x54]
push ecx
lea edx, [esp + 0x30]
push 0x4d43dc
push edx
call fcn.004770b0
sub esp, 0x10
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
call fcn.00476de0
lea ecx, [esp + 0x24]
call fcn.00477280
mov esi, dword [esp + 0xec]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.00476de0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 1
mov byte [esp + 0xe4], 1
call fcn.00476e20
lea ecx, [esp + 8]
mov byte [esp + 0xe4], bl
call fcn.00476e20
mov ecx, dword [esp + 0xdc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xe0
ret 4
Function at 0x47d610
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push edi
mov edi, dword [esp + 0x24]
push 0x1c
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.kernel32.dll_VirtualQuery]
test eax, eax
jne 0x47d631
xor al, al
pop edi
add esp, 0x1c
ret
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
push ecx
push edx
push esi
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
je 0x47d690
mov eax, dword [esi + 0x3c]
movzx ebp, word [eax + esi + 6]
movzx ecx, word [eax + esi + 0x14]
add eax, esi
sub edi, esi
xor ebx, ebx
test ebp, ebp
lea ecx, [ecx + eax + 0x18]
jbe 0x47d690
lea eax, [ecx + 0x10]
jmp 0x47d670
mov ecx, dword [eax]
mov edx, dword [eax - 8]
cmp ecx, edx
mov esi, dword [eax - 4]
ja 0x47d67e
mov ecx, edx
cmp edi, esi
jb 0x47d688
add ecx, esi
cmp edi, ecx
jbe 0x47d69a
inc ebx
add eax, 0x28
cmp ebx, ebp
jb 0x47d670
pop esi
pop ebp
pop ebx
xor al, al
pop edi
add esp, 0x1c
ret
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x40]
inc ebx
sub edi, esi
pop esi
pop ebp
mov dword [edx], ebx
mov dword [eax], edi
pop ebx
mov al, 1
pop edi
add esp, 0x1c
ret