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

Disassembly:
push 0x14
push 0x43a7e0
call fcn.00434520
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.MSVCR120.dll___crtGetShowWindowMode]
movzx ebx, ax
mov dword [ebp - 4], esi
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
mov edi, esi
mov esi, 0x440c6c
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x434127
cmp eax, edx
jne 0x434110
xor esi, esi
inc esi
mov edi, esi
jmp 0x43412a
xor esi, esi
inc esi
cmp dword [0x440c70], esi
jne 0x43413c
push 0x1f
call sub.MSVCR120.dll__amsg_exit
pop ecx
jmp 0x434177
cmp dword [0x440c70], 0
jne 0x434171
mov dword [0x440c70], esi
push 0x436450
push 0x436440
call sub.MSVCR120.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x434177
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x434287
mov dword [0x440bd8], esi
cmp dword [0x440c70], esi
jne 0x43419a
push 0x43643c
push 0x436408
call sub.MSVCR120.dll__initterm
pop ecx
pop ecx
mov dword [0x440c70], 2
test edi, edi
jne 0x4341a7
xor eax, eax
mov ecx, 0x440c6c
xchg dword [ecx], eax
cmp dword [0x440c74], 0
je 0x4341cb
push 0x440c74
call main
pop ecx
test eax, eax
je 0x4341cb
push 0
push 2
push 0
call dword [0x440c74]
mov eax, dword [sym.imp.MSVCR120.dll__wcmdln]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
push 0x20
pop esi
mov edx, dword [ebp - 0x20]
movzx eax, word [ecx]
cmp ax, si
ja 0x434224
test ax, ax
je 0x4341ec
test edx, edx
jne 0x434224
movzx eax, word [ecx]
test ax, ax
je 0x434201
cmp ax, si
ja 0x434201
add ecx, 2
mov dword [ebp - 0x1c], ecx
jmp 0x4341ec
push ebx
push ecx
push 0
push 0x400000
call main
mov dword [0x440bdc], eax
cmp dword [0x440be0], 0
jne 0x43426c
push eax
call dword [sym.imp.MSVCR120.dll_exit]
cmp eax, 0x22
jne 0x434235
xor eax, eax
test edx, edx
sete al
mov edx, eax
mov dword [ebp - 0x20], edx
add ecx, 2
mov dword [ebp - 0x1c], ecx
jmp 0x4341db
cmp dword [0x440bd8], 0
jne 0x434280
call dword [sym.imp.MSVCR120.dll__cexit]
mov eax, dword [0x440bdc]
mov dword [ebp - 4], 0xfffffffe
call fcn.00434565
ret
call main
jmp 0x4340e0
Function at 0x402592
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x429470]
xor eax, ebp
mov dword [ebp + 0x19c], eax
push ebx
push esi
mov esi, dword [ebp + 0x1a8]
push edi
mov edi, dword [section..rdata]
lea ecx, [ebp - 0x74]
push ecx
xor eax, eax
mov ebx, 0xf003f
push ebx
push eax
push str.SoftwareIntelDisplayigfxcuiConfigurations
push 0x80000001
mov byte [ebp - 0x6d], 0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x7c], 4
mov dword [ebp - 0x80], eax
call edi
test eax, eax
jne 0x4026a1
mov eax, dword [esi]
test eax, 0xf000
je 0x402641
push 0xa
lea ecx, [ebp - 0x6c]
push ecx
push eax
call fcn.00413184
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push ebx
push 0
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
call edi
test eax, eax
jne 0x402641
lea eax, [ebp - 0x7c]
push eax
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x80]
push eax
push 0
push str.UserSetACRR
push dword [ebp - 0x78]
call dword [0x42301c]
test eax, eax
jne 0x402641
mov byte [ebp - 0x6d], 1
mov eax, dword [esi + 0x5c]
test eax, 0xf000
je 0x402698
push 0xa
lea ecx, [ebp + 0x98]
push ecx
push eax
call fcn.00413184
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push ebx
push 0
lea eax, [ebp + 0x98]
push eax
push dword [ebp - 0x74]
call edi
test eax, eax
jne 0x402698
lea eax, [ebp - 0x7c]
push eax
add esi, 0x68
push esi
lea eax, [ebp - 0x80]
push eax
push 0
push str.UserSetACRR
push dword [ebp - 0x78]
call dword [0x42301c]
test eax, eax
jne 0x402698
mov byte [ebp - 0x6d], 1
push dword [ebp - 0x74]
call dword [0x423020]
mov ecx, dword [ebp + 0x19c]
mov al, byte [ebp - 0x6d]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412768
add ebp, 0x1a0
leave
ret 4
Function at 0x4026be
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x429470]
xor eax, ebp
mov dword [ebp + 0x198], eax
push esi
mov esi, dword [ebp + 0x1a4]
lea ecx, [ebp - 0x7c]
push ecx
xor eax, eax
push 0xf003f
push eax
push str.SoftwareIntelDisplayigfxcuiConfigurations
push 0x80000001
mov byte [ebp - 0x71], 0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x80], eax
call dword [section..rdata]
test eax, eax
jne 0x402810
mov eax, dword [esi]
push ebx
push edi
mov edi, dword [0x423018]
mov ebx, str.UserSetACRR
test eax, 0xf000
je 0x40278b
push 0xa
lea ecx, [ebp - 0x70]
push ecx
push eax
call fcn.00413184
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push 0xf003f
push 0
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x7c]
call dword [section..rdata]
test eax, eax
je 0x402773
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
xor eax, eax
push eax
push 0x2001f
push eax
push eax
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x7c]
call dword [0x423024]
test eax, eax
jne 0x40278b
push 4
lea eax, [esi + 0xc]
push eax
push 4
push 0
push ebx
push dword [ebp - 0x78]
call edi
test eax, eax
jne 0x40278b
mov byte [ebp - 0x71], 1
mov eax, dword [esi + 0x5c]
test eax, 0xf000
je 0x402805
push 0xa
lea ecx, [ebp + 0x94]
push ecx
push eax
call fcn.00413184
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
push 0xf003f
push 0
lea eax, [ebp + 0x94]
push eax
push dword [ebp - 0x7c]
call dword [section..rdata]
test eax, eax
je 0x4027ed
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
xor eax, eax
push eax
push 0x2001f
push eax
push eax
push eax
lea eax, [ebp + 0x94]
push eax
push dword [ebp - 0x7c]
call dword [0x423024]
test eax, eax
jne 0x402805
push 4
add esi, 0x68
push esi
push 4
push 0
push ebx
push dword [ebp - 0x78]
call edi
test eax, eax
jne 0x402805
mov byte [ebp - 0x71], 1
push dword [ebp - 0x7c]
call dword [0x423020]
pop edi
pop ebx
mov ecx, dword [ebp + 0x198]
mov al, byte [ebp - 0x71]
xor ecx, ebp
pop esi
call fcn.00412768
add ebp, 0x19c
leave
ret 4
Function at 0x4048b3
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0x120
lea ebp, [esp - 4]
mov eax, dword [0x429470]
xor eax, ebp
mov dword [ebp + 0x120], eax
push 0x20
mov eax, 0x4221ba
call fcn.00412f37
mov edi, dword [ebp + 0x12c]
mov esi, 0x104
xor ebx, ebx
push esi
lea eax, [ebp + 0x1c]
push ebx
push eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], esi
call fcn.004125f0
add esp, 0xc
push ebx
lea ecx, [ebp]
mov byte [ebp - 0xd], 1
mov dword [ebp + 0x18], 0xf
call fcn.00403104
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
push ebx
push edi
mov edi, dword [0x423010]
mov dword [ebp - 4], ebx
jmp 0x404991
cmp byte [ebp - 0xd], bl
je 0x40494b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00404573
mov byte [ebp - 0xd], bl
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
call dword [0x42310c]
cmp eax, 1
jne 0x404976
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00404573
inc dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp + 0x1c]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], esi
push dword [ebp - 0x24]
call edi
test eax, eax
je 0x40492b
mov eax, dword [ebp - 0x14]
cmp dword [0x42a7ac], eax
jne 0x4049b8
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x4049ae
lea eax, [ebp + 4]
push eax
push dword [ebp - 0x24]
call dword [0x423014]
push ebx
push 1
lea ecx, [ebp]
call fcn.00403b68
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x120]
xor ecx, ebp
call fcn.00412768
add ebp, 0x124
leave
ret 4
Function at 0x4078fb
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [0x423018]
ret 8

Function at 0x407949
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
test esi, esi
jne 0x40795a
push 0xd
pop eax
jmp 0x407984
push edi
xor edi, edi
push esi
call dword [0x423038]
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x40795d
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [0x423018]
pop edi
pop esi
pop ebx
ret 8

Function at 0x40857e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
lea eax, [ebp - 4]
push eax
xor esi, esi
push 1
push esi
push str.SoftwareIntelDisplayigfxcuiigfxcfg
push 0x80000002
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
call dword [section..rdata]
test eax, eax
jne 0x4085d9
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push str.DCRotationCaps
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [0x42301c]
push dword [ebp - 4]
call dword [0x423020]
xor eax, eax
cmp dword [ebp - 0xc], 1
pop esi
sete al
leave
ret

Function at 0x408c74
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x429470]
xor eax, ebp
mov dword [ebp + 0x94], eax
push edi
xor edi, edi
push 0x104
lea eax, [ebp - 0x70]
push edi
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
call fcn.004125f0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x74]
push eax
push edi
push 0x2001f
push edi
push edi
push edi
push str.SoftwareinteldisplayigfxcuiprofilesCurrent
push 0x80000001
call dword [0x423024]
test eax, eax
jne 0x408d45
cmp dword [ebp - 0x74], edi
je 0x408d45
push ebx
push esi
lea eax, [ebp - 0x70]
push str.Select_Profile
push eax
mov dword [ebp - 0x7c], 3
call fcn.00412670
mov esi, dword [0x423018]
pop ecx
pop ecx
push 4
lea eax, [ebp - 0x7c]
push eax
push 4
push edi
push str.CurrentPresetProfileType
push dword [ebp - 0x74]
call esi
mov ebx, eax
lea eax, [ebp - 0x70]
push eax
call dword [0x423038]
inc eax
push eax
lea eax, [ebp - 0x70]
push eax
push 1
push edi
push str.CurrentPresetProfileName
push dword [ebp - 0x74]
call esi
pop esi
cmp ebx, edi
pop ebx
jne 0x408d3c
cmp eax, edi
jne 0x408d3c
mov dword [ebp - 0x78], 1
push dword [ebp - 0x74]
call dword [0x423020]
mov ecx, dword [ebp + 0x94]
mov eax, dword [ebp - 0x78]
xor ecx, ebp
pop edi
call fcn.00412768
add ebp, 0x98
leave
ret
Function at 0x409b4e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
call dword [0x423048]
mov edi, dword [0x423044]
push esi
movzx eax, ax
push esi
push 3
push eax
mov dword [ebp - 0xc], eax
call edi
mov ebx, eax
lea eax, [ebx + 1]
push eax
call fcn.004108df
pop ecx
push ebx
push eax
push 3
push dword [ebp - 0xc]
mov dword [ebp - 8], eax
call edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
push esi
push 0x2001f
push esi
push esi
push esi
push str.SoftwareIntelDisplayigfxcuihkcmd_resources
push 0x80000002
call dword [0x423024]
test eax, eax
jne 0x409bd3
push ebx
push dword [ebp - 8]
push 1
push esi
push str.UserLangID
push dword [ebp - 4]
call dword [0x423018]
push dword [ebp - 4]
call dword [0x423020]
cmp dword [ebp - 8], esi
pop edi
pop esi
pop ebx
je 0x409be4
push dword [ebp - 8]
call fcn.00410b40
pop ecx
leave
ret
Function at 0x409be6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
push eax
xor edi, edi
push 0x423b18
push 0x15
push edi
push 0x423b78
mov dword [ebp - 8], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call dword [0x423258]
mov esi, dword [0x423004]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
push eax
mov ebx, str.SoftwareIntelDisplayigfxcui3D
push ebx
push 0x80000002
call esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push ebx
push 0x80000001
call esi
cmp dword [ebp - 0x1c], edi
je 0x409c54
cmp eax, edi
jne 0x409d6f
cmp dword [ebp - 0x14], edi
je 0x409d6f
cmp dword [ebp - 0x20], edi
jl 0x409d6f
push 0x38
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.004125f0
mov esi, dword [0x42301c]
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.Basic
push dword [ebp - 8]
call esi
xor ebx, ebx
inc ebx
test eax, eax
jne 0x409ca1
mov eax, dword [ebp - 4]
mov dword [ebp - 0x48], eax
jmp 0x409ca4
mov dword [ebp - 0x48], ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.VertexProcessing
push dword [ebp - 8]
call esi
test eax, eax
jne 0x409cc7
mov eax, dword [ebp - 4]
mov dword [ebp - 0x40], eax
jmp 0x409cca
mov dword [ebp - 0x40], ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.TextureQuality
push dword [ebp - 8]
call esi
test eax, eax
jne 0x409ced
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
jmp 0x409cf0
mov dword [ebp - 0x38], ebx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.AnisotropicFiltering
push dword [ebp - 8]
call esi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
push str.VSync
push dword [ebp - 8]
call esi
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 4]
lea edx, [ebp - 0x58]
push edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 0x38
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x409d55
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], edi
mov esi, dword [0x423020]
cmp dword [ebp - 8], edi
je 0x409d65
push dword [ebp - 8]
call esi
cmp dword [ebp - 0x18], edi
je 0x409d6f
push dword [ebp - 0x18]
call esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40a14e
Capabilities:
Create directory
Create shortcut via ishelllink

Disassembly:
push ebp
lea ebp, [esp - 0x2a0]
sub esp, 0x320
mov eax, dword [0x429470]
xor eax, ebp
mov dword [ebp + 0x29c], eax
mov eax, dword [ebp + 0x2a8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x2ac]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x2b0]
xor ebx, ebx
push ebx
mov dword [ebp - 0x80], eax
call dword [0x42327c]
push 0x5c
push edi
call fcn.004131b0
pop ecx
pop ecx
mov dword [ebp - 0x78], eax
cmp eax, ebx
je 0x40a2ac
push edi
call fcn.00412340
push dword [ebp - 0x78]
mov esi, eax
call fcn.00412340
sub esi, eax
push esi
lea eax, [ebp + 0x198]
push edi
push eax
call fcn.00413bb0
push dword [ebp - 0x78]
call fcn.00412340
lea esi, [ebp + 0x198]
push edi
sub esi, eax
call fcn.00412340
mov byte [eax + esi], bl
lea eax, [ebp + 0x198]
push 0x424234
push eax
call fcn.00412680
add esp, 0x24
push ebx
lea eax, [ebp + 0x198]
push eax
push ebx
call dword [0x4231f4]
test eax, eax
je 0x40a213
call dword [0x42302c]
cmp eax, 0xb7
jne 0x40a2ac
lea eax, [ebp - 0x74]
push eax
push 0x4249c0
push 1
push ebx
push 0x4249e0
call dword [0x423258]
mov esi, eax
cmp esi, ebx
jl 0x40a24f
mov eax, dword [ebp - 0x74]
push dword [ebp - 0x7c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov esi, eax
mov eax, dword [ebp - 0x74]
cmp esi, ebx
je 0x40a253
cmp eax, ebx
je 0x40a24f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, esi
jmp 0x40a2b1
push dword [ebp - 0x80]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov esi, eax
mov eax, dword [ebp - 0x74]
cmp esi, ebx
jne 0x40a245
mov ecx, dword [eax]
lea edx, [ebp - 0x78]
push edx
push 0x4249d0
push eax
call dword [ecx]
mov esi, eax
cmp esi, ebx
jl 0x40a2a7
push 0x104
lea eax, [ebp - 0x70]
push eax
push 0xffffffffffffffff
push edi
push ebx
push ebx
call dword [0x423108]
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x70]
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x74]
jmp 0x40a249
mov eax, 0x80070057
mov ecx, dword [ebp + 0x29c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412768
add ebp, 0x2a0
leave
ret
Function at 0x40a2c9
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0x494]
sub esp, 0x514
mov eax, dword [0x429470]
xor eax, ebp
mov dword [ebp + 0x490], eax
mov eax, dword [ebp + 0x49c]
push ebx
push esi
push edi
mov edi, 0x104
push edi
mov dword [ebp - 0x7c], eax
xor ebx, ebx
lea eax, [ebp + 0x288]
push ebx
push eax
call fcn.004125f0
push edi
lea eax, [ebp + 0x38c]
push ebx
push eax
call fcn.004125f0
push 3
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.004125f0
lea esi, [edi - 4]
push esi
lea eax, [ebp + 0x88]
push ebx
push eax
call fcn.004125f0
push esi
lea eax, [ebp + 0x188]
push ebx
push eax
call fcn.004125f0
push esi
lea eax, [ebp - 0x78]
push ebx
push eax
call fcn.004125f0
add esp, 0x48
push edi
lea eax, [ebp + 0x288]
push eax
call dword [0x423064]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x188]
push eax
lea eax, [ebp + 0x88]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x288]
push eax
call fcn.00413ec6
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x38c]
push eax
call fcn.00412670
mov esi, 0x424234
lea eax, [ebp + 0x38c]
push esi
push eax
call fcn.00412680
lea eax, [ebp + 0x38c]
push str.ProgramDataIntelExtremeGraphics
push eax
call fcn.00412680
lea eax, [ebp + 0x38c]
push esi
push eax
call fcn.00412680
lea eax, [ebp + 0x38c]
push str.CUIResource
push eax
call fcn.00412680
mov esi, dword [0x4231f4]
add esp, 0x3c
push ebx
push dword [ebp - 0x7c]
push ebx
call esi
test eax, eax
je 0x40a42e
mov edi, dword [0x42302c]
call edi
cmp eax, 0xb7
je 0x40a42e
lea eax, [ebp + 0x38c]
push eax
push dword [ebp - 0x7c]
call fcn.004139f0
pop ecx
pop ecx
test eax, eax
je 0x40a42a
lea eax, [ebp + 0x38c]
push eax
push dword [ebp - 0x7c]
call fcn.00412670
pop ecx
pop ecx
push ebx
push dword [ebp - 0x7c]
push ebx
call esi
test eax, eax
je 0x40a42e
call edi
cmp eax, 0xb7
je 0x40a42e
xor al, al
jmp 0x40a430
mov al, 1
mov ecx, dword [ebp + 0x490]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412768
add ebp, 0x494
leave
ret

Function at 0x40a821
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x429470]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
call fcn.004078ba
mov ebx, eax
cmp ebx, esi
je 0x40a891
lea ecx, [ebp - 0x70]
call fcn.00407845
mov eax, ebx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412768
add ebp, 0x9c
leave
ret 4
mov ebx, dword [0x423010]
jmp 0x40a8a9
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040a821
cmp eax, esi
jne 0x40a8db
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push dword [ebp - 0x70]
mov dword [ebp - 0x74], 0x100
call ebx
test eax, eax
je 0x40a899
lea ecx, [ebp - 0x70]
call fcn.00407845
push dword [ebp - 0x78]
mov ecx, edi
call fcn.004077ea
lea ecx, [ebp - 0x70]
mov esi, eax
call fcn.00407845
mov eax, esi
jmp 0x40a877
Function at 0x40c66a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push esi
xor esi, esi
push edi
mov dword [ebp - 4], esi
cmp dword [ebp - 4], 1
mov edi, str.igfxtray.exe
jne 0x40c68a
mov edi, str.hkcmd.exe
push 0x44
lea eax, [ebp - 0x94]
push esi
push eax
call fcn.004125f0
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x94]
push eax
push esi
push esi
push 0x4000020
push esi
push esi
push esi
push esi
push edi
mov dword [ebp - 0x94], 0x44
call dword [0x423084]
test eax, eax
jne 0x40c6fb
push 0x3c
lea eax, [ebp - 0x40]
push esi
push eax
call fcn.004125f0
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x440
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x24], 1
call dword [0x4231ec]
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x40c67a
cmp dword [0x42a89c], esi
pop edi
pop esi
jne 0x40c717
call fcn.0040c104
leave
ret
Function at 0x401120
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401139
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40114d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40116e
cmp esi, eax
jae 0x401147
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401160
cmp esi, eax
jae 0x401147
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4037c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x421408
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00401e50
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.004019a0
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x403852
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x404d10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceExA]
push ebp
mov eax, ecx
push esi
shr eax, 4
inc eax
movzx esi, ax
xor eax, eax
mov ax, word [0x42f69c]
push edi
mov edi, dword [esp + 0x14]
and ecx, 0xf
mov ebp, ecx
push eax
push esi
push 6
push edi
call ebx
test eax, eax
jne 0x404d61
push 0x809
push esi
push 6
push edi
call ebx
test eax, eax
jne 0x404d61
push 0x1009
push esi
push 6
push edi
call ebx
test eax, eax
je 0x404dc8
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x404dc8
mov edx, eax
xor eax, eax
mov si, word [edx]
add edx, 2
test si, si
je 0x404d87
cmp eax, ebp
je 0x404d95
movsx ecx, si
lea edx, [edx + ecx*2]
inc eax
cmp eax, 0x10
jl 0x404d72
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov ecx, ebx
mov ebp, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
push 0
push 0
mov ecx, ebp
and ecx, 3
push ebx
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x28]
push eax
movsx ecx, si
push ecx
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
ret