joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x46d40c], 0
push esi
push edi
je 0x4091a0
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b636
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
lea ecx, [ebp - 0x210]
cmp word [ebp - 0x210], ax
je 0x4091cd
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x4091c3
cmp eax, 0x103
ja 0x409205
jae 0x4091fb
mov ecx, 0x462ffc
jmp 0x4091e0
movzx edx, word [ecx]
test dx, dx
je 0x4091fb
mov word [ebp + eax*2 - 0x210], dx
add ecx, 2
inc eax
cmp eax, 0x103
jb 0x4091e0
xor ecx, ecx
mov word [ebp + eax*2 - 0x210], cx
push 0x463000
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x418]
push str._s_s
push eax
call fcn.00408140
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [ebp - 0x418]
add esp, 0x10
push eax
call esi
mov edi, eax
lea eax, [ebp - 0x210]
push str.crypt32.dll
push eax
lea eax, [ebp - 0x418]
push str._s_s
push eax
call fcn.00408140
add esp, 0x10
lea eax, [ebp - 0x418]
push eax
call esi
mov esi, eax
test edi, edi
je 0x409392
test esi, esi
je 0x409392
push ecx
mov edx, str.WinVerifyTrust
mov ecx, edi
call fcn.00409850
mov dword [0x46d3fc], eax
test eax, eax
je 0x409392
push ecx
mov edx, str.CryptDecodeObject
mov ecx, esi
call fcn.00409850
mov dword [0x46d400], eax
test eax, eax
je 0x409392
push ecx
mov edx, str.CryptQueryObject
mov ecx, esi
call fcn.00409850
mov dword [0x46d410], eax
test eax, eax
je 0x409392
push ecx
mov edx, str.CryptMsgGetParam
mov ecx, esi
call fcn.00409850
mov dword [0x46d3ec], eax
test eax, eax
je 0x409392
push ecx
mov edx, str.CertEnumCertificatesInStore
mov ecx, esi
call fcn.00409850
mov dword [0x46d418], eax
test eax, eax
je 0x409392
push ecx
mov edx, str.CertFindCertificateInStore
mov ecx, esi
call fcn.00409850
mov dword [0x46d404], eax
test eax, eax
je 0x409392
push ecx
mov edx, str.CertGetNameStringW
mov ecx, esi
call fcn.00409850
mov dword [0x46d3f0], eax
test eax, eax
je 0x409392
push ecx
mov edx, str.CertFreeCertificateContext
mov ecx, esi
call fcn.00409850
mov dword [0x46d414], eax
test eax, eax
je 0x409392
push ecx
mov edx, str.CertOpenSystemStoreW
mov ecx, esi
call fcn.00409850
mov dword [0x46d408], eax
test eax, eax
je 0x409392
push ecx
mov edx, str.CertCloseStore
mov ecx, esi
call fcn.00409850
mov dword [0x46d3f4], eax
test eax, eax
je 0x409392
push ecx
mov edx, str.CryptMsgClose
mov ecx, esi
call fcn.00409850
mov dword [0x46d3f8], eax
test eax, eax
je 0x409392
mov al, 1
mov byte [0x46d40c], al
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b636
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, byte [0x46d40c]
xor ecx, ebp
pop edi
pop esi
call fcn.0041b636
mov esp, ebp
pop ebp
ret
Function at 0x4093b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.00409170
test al, al
jne 0x4093e7
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b636
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x40952c
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x40952c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp edi, 0xffffffff
je 0x40952c
lea eax, [ebp - 0x298]
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x270], eax
mov eax, dword fs:[0x30]
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x298], 0x10
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x288], 0x30
mov dword [ebp - 0x274], 1
mov dword [ebp - 0x27c], 2
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x26c], 1
mov dword [ebp - 0x260], 0x110
cmp dword [eax + 0xa4], 5
je 0x4094cf
mov dword [ebp - 0x260], 0x1110
lea eax, [ebp - 0x288]
push eax
push 0x46b890
push 0xffffffffffffffff
call dword [0x46d3fc]
cmp eax, 0x800b0109
je 0x4094f6
xor ebx, ebx
test eax, eax
setne bl
add ebx, 3
jmp 0x4094fb
mov ebx, 4
lea eax, [ebp - 0x288]
mov dword [ebp - 0x26c], 2
push eax
push 0x46b890
push 0xffffffffffffffff
call dword [0x46d3fc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041b636
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 2
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b636
mov esp, ebp
pop ebp
ret

Function at 0x4097c0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push ebx
mov ebx, ecx
push esi
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0xc]
test ebx, ebx
jne 0x4097da
mov eax, dword [esi + 0x18]
pop esi
pop ebx
ret
push edi
test esi, esi
je 0x409837
nop
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x409837
movzx edx, word [ebx]
mov eax, dword [esi + 0x30]
test dx, dx
jne 0x4097f7
cmp word [eax], dx
je 0x409840
mov cx, word [eax]
or edx, 0x20
or cx, 0x20
cmp dx, cx
jne 0x409831
mov edi, ebx
sub edi, eax
lea ebx, [ebx]
movzx edx, word [edi + eax + 2]
lea eax, [eax + 2]
test dx, dx
jne 0x409822
cmp word [eax], dx
je 0x40983d
mov cx, word [eax]
or edx, 0x20
or cx, 0x20
cmp dx, cx
je 0x409810
mov esi, dword [esi]
test esi, esi
jne 0x4097e0
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov ecx, dword [esi + 0x18]
pop edi
pop esi
mov eax, ecx
pop ebx
ret
Function at 0x409b00
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa14
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor eax, eax
push edi
lea edi, [esi + 0x50]
mov dword [ebp - 0xa10], esi
mov word [edi], ax
push 0x20fe
push eax
lea eax, [esi + 0x52]
mov dword [esi], 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [ebp - 0xa08], edi
call fcn.004336d0
add esp, 0xc
mov ecx, esi
call fcn.00409d50
push 0x2100
xor esi, esi
mov dword [ebp - 0xa0c], 0
push esi
push edi
call fcn.004336d0
add esp, 0xc
lea eax, [ebp - 0xa04]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x409d2c
cmp eax, 0x400
ja 0x409d2c
add eax, 0xfffffffd
mov dword [ebp - 0xa14], eax
je 0x409d2c
push ebx
lea ebx, [ebp - 0x204]
sub ebx, dword [ebp - 0xa10]
sub ebx, 0x58
mov edi, edi
lea edi, [ebp - 0xa04]
cmp word [edi + esi*2], 0
lea edi, [edi + esi*2]
je 0x409d2b
cmp dword [ebp - 0xa0c], 0x20
jae 0x409d2b
lea eax, [esi*2 + 4]
cmp eax, 0x800
jae 0x409d42
xor ecx, ecx
mov word [ebp + eax - 0xa04], cx
lea eax, [ebp - 0x204]
push 0x100
push eax
push edi
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x409d01
mov eax, 0x5c
xor ecx, ecx
mov word [ebp + esi*2 - 0xa00], ax
mov eax, dword [ebp - 0xa08]
sub edi, eax
jmp 0x409ca0
movzx edx, word [edi + eax]
test dx, dx
je 0x409cb5
mov word [eax], dx
inc ecx
add eax, 2
cmp ecx, 3
jb 0x409ca0
mov eax, dword [ebp - 0xa08]
xor edx, edx
mov word [eax + ecx*2], dx
lea edi, [eax + 8]
xor ecx, ecx
mov eax, edi
jmp 0x409cd0
movzx edx, word [ebx + eax]
test dx, dx
je 0x409ce5
mov word [eax], dx
inc ecx
add eax, 2
cmp ecx, 0x7f
jb 0x409cd0
inc dword [ebp - 0xa0c]
xor eax, eax
add dword [ebp - 0xa08], 0x108
sub ebx, 0x108
mov word [edi + ecx*2], ax
mov eax, 0x5c
mov word [ebp + esi*2 - 0xa00], ax
mov edi, edi
lea eax, [esi + esi]
inc esi
cmp word [ebp + eax - 0xa04], 0
jne 0x409d10
cmp esi, dword [ebp - 0xa14]
jb 0x409c30
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xa10]
xor ecx, ebp
pop edi
pop esi
call fcn.0041b636
mov esp, ebp
pop ebp
ret
call fcn.0041ba4e
int3
Function at 0x40dd30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov eax, dword [ebx]
mov dword [ebx + 4], eax
test esi, esi
je 0x40de7a
cmp dword [edx + 0x10], 0
je 0x40de7a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x10], 0
je 0x40de7a
cmp dword [edx + 0x14], 8
jb 0x40dd6a
mov edx, dword [edx]
cmp dword [eax + 0x14], 8
jb 0x40dd72
mov eax, dword [eax]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x40de7a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test edi, edi
je 0x40de7a
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x40de7a
mov esi, dword [ebx]
lea ecx, [eax + edi]
mov edx, dword [ebx + 4]
mov dword [ebp - 8], ecx
sub edx, esi
mov ecx, dword [ebx + 8]
sub ecx, esi
mov dword [ebp + 0xc], edx
cmp edi, ecx
jbe 0x40de46
cmp edi, 0x7fffffff
ja 0x40de83
mov edx, ecx
mov eax, 0x7fffffff
shr edx, 1
sub eax, edx
cmp ecx, eax
ja 0x40ddf2
lea eax, [edx + ecx]
mov dword [ebp + 0xc], eax
cmp eax, edi
jae 0x40ddf5
mov dword [ebp + 0xc], edi
test esi, esi
je 0x40de1d
cmp ecx, 0x1000
jb 0x40de13
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x40de88
mov esi, edx
push ecx
push esi
call fcn.0041b677
add esp, 8
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.00409700
mov esi, dword [ebx]
mov eax, dword [ebp - 4]
push edi
push eax
push esi
call fcn.00433ea0
add esp, 0xc
lea eax, [esi + edi]
mov dword [ebx + 4], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, edx
jbe 0x40de2c
push edx
push eax
push esi
call fcn.00433ea0
mov eax, dword [ebp - 4]
add eax, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
mov esi, dword [ebx + 4]
sub edi, eax
push edi
push eax
push esi
call fcn.00433ea0
add esp, 0x18
lea eax, [edi + esi]
mov dword [ebx + 4], eax
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00401c10
call fcn.00436a99
int3
Function at 0x416030
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452138
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x94], 3
jne 0x416251
push 0xd
push str.Installing
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004015a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0x16
push str.setup.install_progress
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.004015a0
sub esp, 0x18
mov byte [ebp - 4], 1
mov esi, dword [edi + 0x90]
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.004035a0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x68]
call fcn.00402ff0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
jb 0x4160ea
mov edx, dword [ebp - 0x40]
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416103
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004013e0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0xc8]
call esi
cmp dword [ebp - 0x18], 0
je 0x416155
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x41613e
mov eax, dword [ebp - 0x28]
push eax
push dword [edi + 0xc8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [edi + 0xc8]
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41618f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416185
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41626c
push edx
push ecx
call fcn.0041b677
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4161dd
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4161d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416271
push edx
push ecx
call fcn.0041b677
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 0x10
jb 0x416221
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416217
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416276
push edx
push ecx
call fcn.0041b677
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x416251
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416247
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41627b
push edx
push ecx
call fcn.0041b677
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b636
mov esp, ebp
pop ebp
ret
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
int3
Function at 0x416290
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452138
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0x94], 3
jne 0x4164b1
push 0xf
push str.Uninstalling
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
call fcn.004015a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
push 0x18
push str.setup.uninstall_progress
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.004015a0
sub esp, 0x18
mov byte [ebp - 4], 1
mov esi, dword [edi + 0x90]
lea eax, [ebp - 0x58]
mov ecx, esp
push eax
call fcn.004035a0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [esi + 0x68]
call fcn.00402ff0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
jb 0x41634a
mov edx, dword [ebp - 0x40]
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x416363
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004013e0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 0xc8]
call esi
cmp dword [ebp - 0x18], 0
je 0x4163b5
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
jb 0x41639e
mov eax, dword [ebp - 0x28]
push eax
push dword [edi + 0xc8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [edi + 0xc8]
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4163ef
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4163e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164cc
push edx
push ecx
call fcn.0041b677
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x41643d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x416433
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164d1
push edx
push ecx
call fcn.0041b677
add esp, 8
mov edx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 0x10
jb 0x416481
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x416477
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164d6
push edx
push ecx
call fcn.0041b677
add esp, 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x4164b1
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4164a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4164db
push edx
push ecx
call fcn.0041b677
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041b636
mov esp, ebp
pop ebp
ret
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
int3
Function at 0x417eb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452328
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push edi
call fcn.00403380
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
test esi, esi
je 0x417f0d
lea eax, [ebp - 0x2c]
cmp ecx, 8
jb 0x417f07
mov eax, edx
cmp word [eax], 0x2f
je 0x417f2f
lea eax, [ebp - 0x2c]
cmp ecx, 8
jb 0x417f17
mov eax, edx
push 0x2f
push eax
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00411a90
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 0x2c]
cmp ecx, 8
jb 0x417f39
mov eax, edx
cmp word [eax + esi*2 - 2], 0x2f
je 0x417f70
cmp esi, ecx
jae 0x417f5e
lea eax, [esi + 1]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
cmp ecx, 8
jb 0x417f55
mov eax, edx
mov dword [eax + esi*2], 0x2f
jmp 0x417f70
push 0x2f
mov byte [ebp - 0x60], 0
push dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.004042b0
push 0x13
xor eax, eax
mov dword [ebp - 0x34], 0
push str.https:__www.easy.ac
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.004013e0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x44]
call fcn.00404a50
cmp dword [edi + 0x10], 0
je 0x418013
mov edx, dword [ebx + 0x88]
test edx, edx
je 0x418013
lea ecx, [ebp - 0x5c]
call fcn.004133e0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.00404a50
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x418006
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x417ffc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4180d1
push edx
push ecx
call fcn.0041b677
add esp, 8
push 0x4646ac
lea ecx, [ebp - 0x44]
call fcn.00403680
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
jb 0x41801f
mov eax, dword [ebp - 0x44]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x418069
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41805f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4180d6
push edx
push ecx
call fcn.0041b677
add esp, 8
mov edx, dword [ebp - 0x18]
xor eax, eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
cmp edx, 8
jb 0x4180b3
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4180a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4180db
push edx
push ecx
call fcn.0041b677
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041b636
mov esp, ebp
pop ebp
ret 4
call fcn.00436a99
call fcn.00436a99
call fcn.00436a99
int3
Function at 0x418ec0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4523b8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x46b008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
xor eax, eax
mov byte [ebp - 0x45], 1
push eax
push 0x400
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x4c], 0x800
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.004088e0
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00419bb0
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [esi + 0x10], 0
jb 0x418f45
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
jb 0x418f56
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x4c]
push ecx
push eax
lea eax, [ebp - 0x54]
push eax
push 0
push str.GamesInstalled
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub eax, 0
je 0x41901d
sub eax, 2
je 0x419084
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x44]
push 0x464754
push eax
call fcn.004123e0
mov edi, eax
add esp, 0xc
cmp esi, edi
je 0x418fd9
mov ecx, esi
call fcn.004012a0
mov eax, dword [edi]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov edx, dword [ebp - 0x30]
cmp edx, 8
jb 0x419013
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x419009
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4190db
push edx
push ecx
call fcn.0041b677
add esp, 8
mov eax, dword [ebp - 0x18]
xor bl, bl
mov ecx, dword [ebp - 0x2c]
jmp 0x41908d
mov eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x2c]
push 0
shr eax, 1
push eax
call fcn.00401200
mov eax, dword [ebp - 0x18]
lea esi, [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
cmp eax, 8
jb 0x41903d
mov esi, ecx
test esi, esi
je 0x41908a
mov edi, dword [ebp - 0x50]
cmp word [esi], 0
je 0x419084
push esi
call fcn.00439ed2
add esp, 4
test eax, eax
je 0x41906b
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push edi
push eax
push ecx
lea eax, [ebp - 0x5c]
mov ecx, ebx
push eax
call fcn.00419e10
push 0x464750
push esi
call fcn.004331fc
mov esi, eax
add esp, 8
test esi, esi
je 0x419084
add esi, 2
jne 0x419044
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x2c]
mov bl, byte [ebp - 0x45]
cmp eax, 8
jb 0x4190bd
lea edx, [eax*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4190b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4190e0
push edx
push ecx
call fcn.0041b677
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041b636
mov esp, ebp
pop ebp
ret
call fcn.00436a99
call fcn.00436a99
int3