joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402fd0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x44ac38
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4590b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
lea esi, [esp + 8]
call fcn.00403070
mov dword [esp + 0x14], 0
mov eax, dword [esp + 8]
push eax
call fcn.00433dc0
add esp, 4
test eax, eax
je 0x40302f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 8]
push 0
push 0
push ecx
push edx
push str.open
push 0
call dword [0x44d2a0]
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403057
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4039e0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWARE360Safe_safemon
or edi, 0xffffffff
push 0x80000002
mov dword [0x45f20c], esi
mov dword [0x45f210], edi
mov dword [0x45f214], edi
mov dword [esp + 0x28], esi
call dword [0x44d004]
cmp eax, esi
jne 0x403b42
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
push ecx
push esi
mov esi, dword [0x44d02c]
push str.FileMonAccess
mov ebp, 4
push eax
mov ebx, eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], ebp
call esi
test eax, eax
jne 0x403b37
cmp dword [esp + 0x20], ebp
jne 0x403b37
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.MonAccess
push ebx
mov dword [esp + 0x3c], ebp
call esi
test eax, eax
jne 0x403b37
cmp dword [esp + 0x20], ebp
jne 0x403b37
mov eax, 1
cmp dword [esp + 0x18], eax
jne 0x403b37
cmp dword [esp + 0x1c], eax
jne 0x403b37
xor ebp, ebp
mov eax, 0x20019
mov ecx, 0x44f838
mov edx, 0x80000002
lea esi, [esp + 0x28]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.00403b90
test eax, eax
jne 0x403b2e
push 0x44f86c
mov edx, esi
push edx
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], edi
call fcn.00403b50
mov esi, eax
push 0x44f864
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], edi
call fcn.00403b50
cmp esi, ebp
jne 0x403b2e
cmp eax, ebp
jne 0x403b2e
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [0x45f210], ecx
mov dword [0x45f214], edx
mov dword [0x45f20c], 1
lea esi, [esp + 0x28]
call fcn.00403be0
test ebx, ebx
je 0x403b42
push ebx
call dword [0x44d018]
pop edi
pop esi
pop ebp
mov eax, 0x45f20c
pop ebx
add esp, 0x24
ret

Function at 0x403b50
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
mov edx, dword [ecx]
push 0
push eax
push edx
mov dword [esp + 0x18], 4
call dword [0x44d02c]
test eax, eax
jne 0x403b89
mov eax, dword [esp + 0xc]
sub eax, 4
neg eax
sbb eax, eax
and eax, 0xd
pop ecx
ret 8
Function at 0x404c00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov esi, ecx
jne 0x404d55
mov edi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
lea eax, [esi + 0x24]
push ecx
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [ebp + 8]
mov ecx, ebx
call fcn.00410da0
test eax, eax
mov eax, 1
jne 0x404d57
mov ecx, dword [ebp + 0xc]
cmp ecx, eax
jne 0x404c71
mov edx, dword [esi + 0x18]
push esi
mov dword [edx + 0x20], eax
call fcn.0041bbe0
mov dword [edi], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x20], 0
je 0x404cb8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 5
jne 0x404c96
mov ecx, dword [esi + 0x18]
mov edx, ebx
mov dword [ecx + 0x20], eax
shr edx, 0x10
movsx ecx, dx
movsx eax, bx
push ecx
push eax
call fcn.0041bf60
mov dword [edi], 0
jmp 0x404c5a
cmp ecx, 2
jne 0x404cb8
mov ecx, dword [esi + 0x18]
push 0
mov dword [ecx + 0x20], eax
call dword [0x44d2ec]
mov dword [edi], 0
mov edx, dword [esi + 0x18]
cmp dword [edx + 0x20], 0
jmp 0x404c61
call fcn.00404160
cmp dword [ebp + 0xc], eax
jne 0x404cd7
call fcn.0041c110
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.004043d0
mov ecx, dword [ebp + 0xc]
cmp ecx, eax
jne 0x404d12
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x404d00
push esi
call fcn.0041c1d0
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
xor eax, eax
mov dword [edi], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x201
jne 0x404d60
mov eax, dword [esi + 4]
push 0
push 0xf012
push 0x112
push eax
mov dword [esp + 0x20], 1
call dword [0x44d3b4]
lea ecx, [esp + 0x10]
mov eax, ebx
mov ebx, dword [esp + 0x14]
push ecx
call fcn.00410750
cmp dword [esp + 0x10], 0
mov dword [edi], eax
jne 0x404c63
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp ecx, 0x111
jne 0x404d55
mov eax, dword [ebp + 0x10]
mov edx, 0x7d0
cmp dx, ax
jne 0x404d9d
shr eax, 0x10
xor ecx, ecx
cmp cx, ax
jne 0x404d55
mov edx, dword [esi + 4]
push edx
call dword [0x44d2e8]
mov dword [edi], 0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov ecx, 0x7d1
cmp cx, ax
jne 0x404d55
shr eax, 0x10
xor edx, edx
cmp dx, ax
jne 0x404d55
mov eax, dword [esi + 4]
push 6
push eax
call dword [0x44d334]
mov dword [edi], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x18
Function at 0x406020
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1714
call fcn.00443af0
mov eax, dword [0x4590b0]
xor eax, esp
mov dword [esp + 0x1710], eax
push ebx
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], 0
xor eax, eax
mov ecx, 0x20
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
lea edi, [esp + 0x80]
push 0x7fe
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x722]
push ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 1
mov word [esp + 0x724], ax
call fcn.00438440
add esp, 0xc
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x71c]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
lea edx, [esp + 0x90]
push edx
push 0x80000002
mov dword [esp + 0x2c], 0x800
call dword [0x44d2bc]
test eax, eax
jne 0x406181
lea eax, [esp + 0x718]
push 0x5c
push eax
call fcn.004375ad
xor ecx, ecx
xor edx, edx
mov word [eax + 2], cx
push 0x7fe
push edx
lea eax, [esp + 0xf2a]
push eax
mov word [esp + 0xf2c], dx
call fcn.00438440
add esp, 0x14
cmp word [esp + 0x718], 0x25
jne 0x40611e
push 0x400
lea ecx, [esp + 0xf1c]
push ecx
lea edx, [esp + 0x720]
push edx
call dword [0x44d1c4]
jmp 0x406138
xor eax, eax
movzx ecx, word [esp + eax + 0x718]
mov word [esp + eax + 0xf18], cx
add eax, 2
test cx, cx
jne 0x406120
push str.SoftMgr_somkernl.dll
lea eax, [esp + 0xf1c]
push eax
call dword [0x44d2b4]
lea ecx, [esp + 0xf18]
push ecx
call dword [0x44d2ac]
test eax, eax
je 0x406181
push ebx
lea ecx, [esp + 0xf1c]
call fcn.00401f90
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1710]
xor ecx, esp
call fcn.00435d7f
mov esp, ebp
pop ebp
ret
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x51a]
push eax
mov word [esp + 0x51c], dx
call fcn.00438440
add esp, 0xc
push 0x104
lea ecx, [esp + 0x514]
push ecx
push 0
call dword [0x44d220]
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x312]
push eax
mov word [esp + 0x314], dx
call fcn.00438440
mov ebx, dword [0x44d2b8]
mov ecx, 0xd
mov esi, str.....SoftMgr_somkernl.dll
lea edi, [esp + 0x54]
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x514]
push edx
lea eax, [esp + 0x310]
push eax
movsw word es:[edi], word [esi]
call ebx
lea ecx, [esp + 0x308]
push ecx
call dword [0x44d2ac]
test eax, eax
je 0x406220
lea ecx, [esp + 0x308]
jmp 0x406285
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x10a]
push eax
mov word [esp + 0x10c], dx
call fcn.00438440
add esp, 0xc
mov ecx, 0xc
mov esi, str...SoftMgr_somkernl.dll
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x514]
push edx
lea eax, [esp + 0x108]
push eax
call ebx
lea ecx, [esp + 0x100]
push ecx
call dword [0x44d2ac]
lea ecx, [esp + 0x100]
test eax, eax
jne 0x406285
mov ecx, 0x450208
mov esi, dword [esp + 0xc]
push esi
call fcn.00401f90
mov ecx, dword [esp + 0x171c]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00435d7f
mov esp, ebp
pop ebp
ret
Function at 0x4062b0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44a358
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x4590b0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea ecx, [esp + 0xc]
call fcn.00406020
mov dword [esp + 0x18], 0
mov esi, dword [esp + 0xc]
call dword [0x44d230]
push eax
call fcn.00402780
add esp, 4
test eax, eax
jne 0x406356
test esi, esi
je 0x406318
push esi
call dword [0x44d2ac]
test eax, eax
je 0x406356
push esi
call fcn.00433dc0
add esp, 4
test eax, eax
jne 0x406356
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406340
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x80004005
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
mov ecx, dword [esp + 0xc]
push ecx
call dword [0x44d228]
mov dword [0x45ee38], eax
test eax, eax
je 0x40637d
push str.SomPlugin
push eax
call dword [0x44d224]
mov dword [0x45d068], eax
jmp 0x406382
mov eax, dword [0x45d068]
test eax, eax
jne 0x4063a4
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x406334
push 0
push 0xffffffffffffffff
call eax
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4063d4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x4087c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x4087d0
lea eax, [ebp + 0xd]
pop ebp
ret 0xc
push ebx
mov ebx, dword [0x44d24c]
push esi
push edi
xor edi, edi
mov esi, ebp
lea ecx, [ecx]
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4087e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [0x44d01c]
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x408ce0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x4590b0]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [0x44d004]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x408d5a
xor eax, eax
cmp ecx, ebp
je 0x408d42
push ecx
call dword [0x44d018]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x408d68
cmp ecx, ebp
je 0x408dfb
push ecx
jmp 0x408df5
mov esi, dword [0x44d020]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
jne 0x408dca
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00408ce0
mov ebx, eax
cmp ebx, ebp
jne 0x408e18
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
je 0x408d90
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x408ddd
push eax
call dword [0x44d018]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.00408e70
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x408dfb
push eax
call dword [0x44d018]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00435d7f
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x408e27
push eax
call dword [0x44d018]
mov eax, ebx
jmp 0x408dfd
Function at 0x40add0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
push ebp
push esi
or esi, 0xffffffff
push edi
cmp dword [ebx + 0xb8], esi
jne 0x40adee
cmp dword [ebx + 0xc0], 0
je 0x40aead
cmp dword [ebx + 0xbc], 0
jne 0x40aead
lea eax, [esp + 0x10]
push eax
call dword [0x44d394]
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [0x44d398]
mov ecx, dword [ebx + 4]
push 2
lea eax, [esp + 0x1c]
push eax
push 0
push ecx
call dword [0x44d39c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [0x44d3a0]
test eax, eax
je 0x40ae56
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [0x44d3a4]
cmp eax, dword [ebx + 4]
je 0x40aead
mov ecx, dword [ebx + 0xc0]
test ecx, ecx
je 0x40ae71
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
call eax
mov dword [ebx + 0xc0], 0
cmp dword [ebx + 0x78], 0
je 0x40aead
mov eax, dword [ebx + 0xb8]
cmp eax, esi
je 0x40aead
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x28]
push ecx
push eax
push 0x198
push edx
mov dword [ebx + 0xb8], esi
call dword [0x44d3b4]
mov ecx, dword [ebx + 4]
push 1
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [0x44d368]
mov edx, dword [ebx + 0x94]
mov edi, dword [ebx + 0x7c]
mov ebp, dword [edx]
mov dword [esp + 0x10], edi
lea esp, [esp]
mov esi, dword [ebx + 0x94]
mov eax, dword [ebx + 0x7c]
test edi, edi
je 0x40aed1
cmp edi, eax
je 0x40aed6
call fcn.00436bb6
cmp ebp, esi
je 0x40af9f
test edi, edi
jne 0x40af40
call fcn.00436bb6
xor eax, eax
cmp ebp, dword [eax + 0x18]
jne 0x40aef3
call fcn.00436bb6
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 4]
xor esi, esi
test eax, eax
jle 0x40af23
test esi, esi
jl 0x40af8e
cmp esi, eax
jge 0x40af8e
mov eax, dword [edi]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov eax, dword [edi + 4]
inc esi
cmp esi, eax
jl 0x40aeff
cmp dword [esp + 0x10], 0
jne 0x40af2f
call fcn.00436bb6
cmp byte [ebp + 0x15], 0
je 0x40af44
call fcn.00436bb6
mov edi, dword [esp + 0x10]
jmp 0x40aec0
mov eax, dword [edi]
jmp 0x40aee9
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x15], 0
jne 0x40af6a
mov eax, dword [ecx]
cmp byte [eax + 0x15], 0
jne 0x40af5f
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x15], 0
je 0x40af55
mov edi, dword [esp + 0x10]
mov ebp, ecx
jmp 0x40aec0
mov eax, dword [ebp + 4]
cmp byte [eax + 0x15], 0
jne 0x40af83
cmp ebp, dword [eax + 8]
jne 0x40af83
mov ebp, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x15], 0
je 0x40af73
mov edi, dword [esp + 0x10]
mov ebp, eax
jmp 0x40aec0
push 0
push 0
push 1
push 0xc000008c
call dword [0x44d1f8]
cmp dword [ebx + 0xc8], 0
je 0x40afd3
call dword [0x44d1f4]
cmp eax, dword [ebx + 0xc8]
jb 0x40afd3
mov ecx, dword [ebx + 4]
push 0
push 0
push 0x184
push ecx
mov dword [ebx + 0xc8], 0
call dword [0x44d3b4]
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x30
ret
Function at 0x40ba30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44b938
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4590b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor ebp, ebp
mov dword [esp + 0x30], ebp
mov edi, dword [esi + 0x10]
mov ebx, dword [esi + 0xc]
mov ecx, edi
sub ecx, ebx
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jae 0x40bab8
cmp ebx, edi
jbe 0x40ba88
call fcn.00436bb6
mov eax, dword [esi]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
push edi
push eax
lea eax, [esp + 0x40]
push eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, 1
sub edx, ecx
push edx
push esi
call fcn.0040b370
jmp 0x40bb23
jbe 0x40bb23
cmp ebx, edi
jbe 0x40bac3
call fcn.00436bb6
mov ebp, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x20], eax
cmp ebp, dword [esi + 0x10]
jbe 0x40bad6
call fcn.00436bb6
mov ebx, dword [esi]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
test ebx, ebx
jne 0x40bafb
call fcn.00436bb6
xor eax, eax
add ebp, 0x18
cmp ebp, dword [eax + 0x10]
ja 0x40bb06
test ebx, ebx
je 0x40baff
mov ebx, dword [ebx]
jmp 0x40bb01
mov eax, dword [ebx]
jmp 0x40baeb
xor ebx, ebx
cmp ebp, dword [ebx + 0xc]
jae 0x40bb0b
call fcn.00436bb6
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
push edi
push ecx
push ebp
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0040b9a0
xor ebp, ebp
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x40bb34
push eax
call fcn.00435d74
add esp, 4
mov ecx, dword [esp + 0x38]
push ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
call fcn.00435d74
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x18
Function at 0x411e40
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x449be8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4590b0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ebx, ecx
test byte [0x45f218], 1
jne 0x411e7e
or dword [0x45f218], 1
call fcn.004039e0
cmp dword [0x45f20c], 0
je 0x411ead
push 4
lea eax, [esp + 0x18]
push eax
push 4
push 0x44f864
push 0x44f838
push 0x80000002
mov dword [esp + 0x2c], 1
call dword [0x44d2a8]
lea ecx, [esp + 0x18]
push ecx
call fcn.00413060
lea esi, [ebx + 0x2c]
push esi
mov dword [esp + 0x3c], 0
call dword [0x44d1e8]
lea edx, [ebx + 0x44]
push edx
lea eax, [esp + 0x1c]
call fcn.00412ce0
push esi
call dword [0x44d1ec]
mov eax, dword [ebx]
mov ebp, dword [0x44d33c]
push eax
call ebp
mov edi, dword [0x44d11c]
test eax, eax
je 0x411f32
mov ecx, dword [ebx + 0x24]
push 0
push ecx
call edi
test eax, eax
je 0x411f32
test byte [0x45f0c0], 1
jne 0x411f1e
or dword [0x45f0c0], 1
push str.power_speed_optimize_begin
call dword [0x44d3b8]
mov dword [0x45f0bc], eax
mov edx, dword [0x45f0bc]
mov eax, dword [ebx]
push 0
push 0
push edx
push eax
call dword [0x44d3b4]
mov ecx, dword [esp + 0x28]
sub ecx, dword [esp + 0x24]
xor esi, esi
sar ecx, 2
test ecx, ecx
jbe 0x411f80
mov edx, dword [ebx + 0x24]
push 0
push edx
call edi
test eax, eax
je 0x411f80
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x24]
sar eax, 2
cmp esi, eax
jb 0x411f63
call fcn.00436bb6
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + esi*4]
push edx
call fcn.00412010
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x24]
inc esi
sar eax, 2
cmp esi, eax
jb 0x411f43
mov ecx, dword [ebx]
push ecx
call ebp
xor esi, esi
test eax, eax
je 0x411fc7
mov edx, dword [ebx + 0x24]
push esi
push edx
call edi
test eax, eax
je 0x411fc7
test byte [0x45f0b8], 1
jne 0x411fb6
or dword [0x45f0b8], 1
push str.power_speed_optimize_end
call dword [0x44d3b8]
mov dword [0x45f0b4], eax
mov eax, dword [0x45f0b4]
mov ecx, dword [ebx]
push esi
push esi
push eax
push ecx
call dword [0x44d3b4]
mov eax, dword [esp + 0x24]
cmp eax, esi
je 0x411fd8
push eax
call fcn.00435d74
add esp, 4
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call fcn.00435d74
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x4172f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4494e0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4590b0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x4590b0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x45c424]
mov edx, dword [eax + 0xc]
mov ecx, 0x45c424
mov dword [esp + 0x10], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
xor eax, eax
mov dword [esp + 0x30], 0
mov word [esp + 0xc], di
mov word [esp + 0xe], ax
lea esi, [eax + 1]
test di, di
je 0x41736f
lea esi, [esp + 0xc]
lea ecx, [esi + 2]
lea ebx, [ebx]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x417360
sub esi, ecx
sar esi, 1
mov dword [esp + 0x14], 0
lea eax, [esi + 1]
mov ecx, 2
mul ecx
mov byte [esp + 0x30], 1
test edx, edx
ja 0x41738f
cmp eax, 0xffffffff
jbe 0x417399
push 0x80070057
call fcn.00401e90
cmp eax, 0xa
jbe 0x4173aa
lea edx, [esp + 0x14]
push edx
call fcn.00408760
jmp 0x4173b2
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
push 2
lea ecx, [esp + 0x10]
push ecx
lea edx, [esi + esi + 2]
push edx
push eax
call fcn.00435ddf
push eax
call fcn.00401ba0
mov eax, dword [ebx]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, esi
add esp, 0x14
or ecx, edx
jge 0x4173f0
mov ecx, esi
mov eax, ebx
call fcn.00401e20
mov ecx, dword [ebx]
cmp esi, 1
jne 0x417403
mov eax, dword [esp + 0x14]
movzx eax, word [eax]
mov word [ecx], ax
jmp 0x41742b
xor eax, eax
test esi, esi
jle 0x417425
lea esp, [esp]
mov edx, dword [esp + 0x14]
mov dx, word [edx + eax*2]
mov word [ecx], dx
inc eax
add ecx, 2
cmp eax, esi
jl 0x417410
test esi, esi
jl 0x41738f
mov eax, dword [ebx]
cmp esi, dword [eax - 8]
jg 0x41738f
mov dword [eax - 0xc], esi
mov eax, dword [ebx]
xor ecx, ecx
lea edx, [esp + 0x18]
mov word [eax + esi*2], cx
cmp dword [esp + 0x14], edx
je 0x417454
lea eax, [esp + 0x14]
call fcn.00408750
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00435d7f
add esp, 0x2c
ret