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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e4c9b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x40
mov eax, dword [0x100f500c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x1018c1b4]
mov dword [ebp - 0x38], ecx
test al, 1
jne 0x100bbbe8
or eax, 1
mov dword [0x1018c1b4], eax
mov dword [ebp - 4], 0
mov eax, 0x10
movaps xmm0, xmmword [0x100ea3e0]
pxor xmm0, xmmword [0x100ea100]
mov dword [ebp - 0x24], 0x1b0b781b
mov dword [ebp - 0x20], 0xa1b7d0b
mov dword [ebp - 0x1c], 0xd031b0a
mov byte [ebp - 0x18], 0x3b
movups xmmword [ebp - 0x34], xmm0
nop dword [eax]
xor byte [ebp + eax - 0x34], 0x3b
inc eax
cmp eax, 0x1d
jb 0x100bbb10
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bbb40
sub ecx, edx
lea eax, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.10028790
mov byte [ebp - 4], 1
mov edx, dword [0x10186d24]
test edx, edx
je 0x100bbb69
mov edx, dword [edx + 0x50]
jmp 0x100bbb6b
xor edx, edx
mov eax, dword [0x10186d1c]
test eax, eax
je 0x100bbb79
mov eax, dword [eax + 0x18]
jmp 0x100bbb7b
xor eax, eax
lea ecx, [ebp - 0x50]
push ecx
push eax
lea ecx, [ebp - 0x14]
call fcn.10021fd0
mov eax, dword [ebp - 0x14]
add esp, 8
test eax, eax
je 0x100bbba2
mov ecx, dword [eax + 1]
test ecx, ecx
jne 0x100bbb9d
xor eax, eax
jmp 0x100bbba2
add eax, 5
add eax, ecx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x3c]
mov dword [0x1018c1b8], eax
cmp ecx, 0x10
jb 0x100bbbe1
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100bbbd7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100bbbd7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dc450
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [0x1018c1b8], 0
je 0x100bbc06
push 0
mov ecx, dword [ebp - 0x38]
movss xmm1, dword [ebx + 0xc]
movss xmm2, dword [ebx + 8]
call dword [0x1018c1b8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100cbf70
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e532d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x100f500c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x10186dd0]
mov edi, dword [esi + 0x174]
test edi, edi
jle 0x100cbfe1
mov edx, dword [esi + 0x4cb0]
mov ecx, dword [0x10186d78]
add edx, dword [esi + 0x4cac]
push edx
push dword [esi + 0x4cb4]
mov eax, dword [ecx]
push 1
push edi
mov eax, dword [eax + 0xc]
call eax
cmp byte [0x1018c1d0], 0
jne 0x100cc129
movaps xmm0, xmmword [0x100ea0e0]
xor eax, eax
movaps xmm2, xmmword [0x100ea3e0]
movups xmmword [ebp - 0x58], xmm0
mov word [ebp - 0x38], 0x787d
movaps xmm0, xmmword [0x100ea310]
movups xmmword [ebp - 0x48], xmm0
mov byte [ebp - 0x36], 0x3b
nop word [eax + eax]
movups xmm0, xmmword [ebp + eax - 0x58]
movaps xmm1, xmm2
pxor xmm1, xmm0
movups xmmword [ebp + eax - 0x58], xmm1
add eax, 0x10
cmp eax, 0x20
jb 0x100cc020
cmp eax, 0x23
jae 0x100cc04b
nop
xor byte [ebp + eax - 0x58], 0x3b
inc eax
cmp eax, 0x23
jb 0x100cc040
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x24], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100cc070
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.10028790
mov dword [ebp - 4], 0
mov edx, dword [0x10186d30]
test edx, edx
je 0x100cc09c
mov edx, dword [edx + 0x50]
jmp 0x100cc09e
xor edx, edx
mov eax, dword [0x10186d28]
test eax, eax
je 0x100cc0ac
mov eax, dword [eax + 0x18]
jmp 0x100cc0ae
xor eax, eax
lea ecx, [ebp - 0x34]
push ecx
push eax
lea ecx, [ebp - 0x1c]
call fcn.10021fd0
mov edi, dword [ebp - 0x1c]
add esp, 8
mov ecx, dword [ebp - 0x20]
inc edi
cmp ecx, 0x10
jb 0x100cc0f8
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100cc0ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100cc0ee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100dc450
add esp, 8
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x18]
push eax
push 0x40
push 4
push edi
mov dword [ebp - 0x18], 0
call esi
lea eax, [ebp - 0x18]
mov dword [edi], 0x3e
push eax
push dword [ebp - 0x18]
push 4
push edi
call esi
mov byte [0x1018c1d0], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100dbfd5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x100cc490
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
movzx eax, byte [esi]
xor al, byte [ecx]
and al, 1
xor byte [ecx], al
mov dl, byte [esi]
xor dl, byte [ecx]
and dl, 2
xor dl, byte [ecx]
mov byte [ecx], dl
movzx eax, byte [esi]
xor al, dl
and al, 4
xor al, dl
mov byte [ecx], al
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
movq xmm0, qword [esi + 0xc]
movq qword [ecx + 0xc], xmm0
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x14], eax
movq xmm0, qword [esi + 0x18]
movq qword [ecx + 0x18], xmm0
mov eax, dword [esi + 0x20]
mov dword [ecx + 0x20], eax
mov eax, dword [esi + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [esi + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [esi + 0x30]
mov dword [ecx + 0x30], eax
mov eax, dword [esi + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [esi + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x3c], eax
movq xmm0, qword [esi + 0x40]
movq qword [ecx + 0x40], xmm0
mov eax, dword [esi + 0x48]
mov dword [ecx + 0x48], eax
movq xmm0, qword [esi + 0x4c]
movq qword [ecx + 0x4c], xmm0
mov eax, dword [esi + 0x54]
mov dword [ecx + 0x54], eax
mov eax, dword [esi + 0x58]
mov dword [ecx + 0x58], eax
movq xmm0, qword [esi + 0x5c]
movq qword [ecx + 0x5c], xmm0
mov eax, dword [esi + 0x64]
mov dword [ecx + 0x64], eax
movq xmm0, qword [esi + 0x68]
movq qword [ecx + 0x68], xmm0
mov eax, dword [esi + 0x70]
mov dword [ecx + 0x70], eax
mov eax, dword [esi + 0x74]
mov dword [ecx + 0x74], eax
movq xmm0, qword [esi + 0x78]
movq qword [ecx + 0x78], xmm0
mov eax, dword [esi + 0x80]
mov dword [ecx + 0x80], eax
movq xmm0, qword [esi + 0x84]
movq qword [ecx + 0x84], xmm0
mov eax, dword [esi + 0x8c]
mov dword [ecx + 0x8c], eax
movq xmm0, qword [esi + 0x90]
movq qword [ecx + 0x90], xmm0
mov eax, dword [esi + 0x98]
mov dword [ecx + 0x98], eax
mov eax, dword [esi + 0x9c]
mov dword [ecx + 0x9c], eax
mov eax, dword [esi + 0xa0]
mov dword [ecx + 0xa0], eax
mov eax, dword [esi + 0xa4]
mov dword [ecx + 0xa4], eax
movzx eax, byte [esi + 0xa8]
mov byte [ecx + 0xa8], al
movq xmm0, qword [esi + 0xac]
movq qword [ecx + 0xac], xmm0
mov eax, dword [esi + 0xb4]
mov dword [ecx + 0xb4], eax
mov eax, ecx
pop esi
pop ebp
ret 4
Function at 0x100da2b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x1016e340], 0
push ebx
push esi
push edi
je 0x100da44c
mov eax, dword [0x10186dcc]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x100da44c
movss xmm0, dword [0x10178120]
xor ebx, ebx
mulss xmm0, dword [0x100e9bf0]
movss dword [ebp - 8], xmm0
test ecx, ecx
jle 0x100da44c
xor ecx, ecx
mov dword [ebp - 4], ecx
nop word [eax + eax]
mov esi, dword [eax]
add esi, ecx
mov ecx, dword [esi]
test ecx, ecx
je 0x100da439
mov eax, dword [ecx]
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x100da434
mov edi, dword [esi]
mov eax, dword [0x10186f00]
cmp byte [eax + edi], 0
jne 0x100da434
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [0x10186f4c]
add edx, 0xffffffd6
xor edx, 0x6e6233f5
lea eax, [eax*4 + 0x10189c1c]
mov dword [ebp - 0xc], eax
mov eax, dword [0x1016e340]
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x100da3a8
mov ecx, dword [0x10186e38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
jne 0x100da3a8
mov ecx, dword [0x10177f84]
mov eax, dword [0x10177f80]
cmp eax, ecx
je 0x100da434
cmp dword [eax], 1
je 0x100da392
add eax, 4
cmp eax, ecx
jne 0x100da386
cmp eax, ecx
je 0x100da434
mov eax, dword [0x101780a8]
movzx edx, word [0x101780aa]
jmp 0x100da3d3
mov ecx, dword [0x10177f84]
mov eax, dword [0x10177f80]
cmp eax, ecx
je 0x100da434
cmp dword [eax], 0
je 0x100da3c3
add eax, 4
cmp eax, ecx
jne 0x100da3b7
cmp eax, ecx
je 0x100da434
mov eax, dword [0x10178018]
movzx edx, word [0x1017801a]
movss xmm3, dword [0x100e9be4]
mov ecx, eax
movzx eax, al
shr ecx, 8
mov word [esi + 0x24], 1
mov byte [esi + 0x26], 0
movd xmm2, eax
movzx eax, cl
cvtdq2ps xmm2, xmm2
movd xmm1, eax
movzx eax, dl
cvtdq2ps xmm1, xmm1
movd xmm0, eax
mov eax, dword [ebp - 0xc]
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm3
mulss xmm0, xmm3
mulss xmm1, xmm3
movss dword [esi + 0xc], xmm0
movss xmm0, dword [ebp - 8]
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm1
mulss xmm0, dword [eax]
movss dword [esi + 0x10], xmm0
mov eax, dword [0x10186dcc]
mov ecx, dword [ebp - 4]
inc ebx
add ecx, 0x38
mov dword [ebp - 4], ecx
cmp ebx, dword [eax + 0xc]
jl 0x100da300
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4082e8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x44d1fc], 0
mov ebp, esp
push edi
mov ecx, dword [ebp + 0xc]
push esi
push ebx
mov ebx, dword [ebp + 0x10]
jne 0x408329
xor edx, edx
mov eax, edx
mov esi, 8
mov edi, eax
and eax, 1
neg eax
shr edi, 1
and eax, 0xedb88320
xor eax, edi
dec esi
jne 0x408306
mov dword [edx*4 + 0x44d1f8], eax
inc edx
cmp edx, 0x100
jne 0x4082ff
mov eax, dword [ebp + 8]
not eax
jmp 0x408343
mov dl, byte [ecx]
dec ebx
inc ecx
xor edx, eax
movzx edx, dl
shr eax, 8
xor eax, dword [edx*4 + 0x44d1f8]
test ebx, ebx
jne 0x408330
pop ebx
not eax
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x10006dc0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100117f0]
jne 0x10006dca
repz ret
jmp fcn.1000953c

Function at 0x10009c08
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10004c1d
and dword [ebp - 4], 0
cmp dword [0x100129bc], 0
mov ebx, eax
jne 0x10009cb9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10009d6a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10009d6a
push eax
call fcn.10004bab
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100129bc], eax
call esi
push eax
call fcn.10004bab
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100129c0], eax
call esi
push eax
call fcn.10004bab
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x100129c4], eax
call esi
push eax
call fcn.10004bab
pop ecx
mov dword [0x100129cc], eax
test eax, eax
je 0x10009cb9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10004bab
pop ecx
mov dword [0x100129c8], eax
mov eax, dword [0x100129c8]
cmp eax, ebx
je 0x10009d11
cmp dword [0x100129cc], ebx
je 0x10009d11
push eax
call fcn.10004c26
push dword [0x100129cc]
mov esi, eax
call fcn.10004c26
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10009d11
test edi, edi
je 0x10009d11
call esi
test eax, eax
je 0x10009d08
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10009d08
test byte [ebp - 0xc], 1
jne 0x10009d11
or dword [ebp + 0x10], 0x200000
jmp 0x10009d4a
mov eax, dword [0x100129c0]
cmp eax, ebx
je 0x10009d4a
push eax
call fcn.10004c26
pop ecx
test eax, eax
je 0x10009d4a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10009d4a
mov eax, dword [0x100129c4]
cmp eax, ebx
je 0x10009d4a
push eax
call fcn.10004c26
pop ecx
test eax, eax
je 0x10009d4a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100129bc]
call fcn.10004c26
pop ecx
test eax, eax
je 0x10009d6a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10009d6c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4011f0
Capabilities:
Check if file exists
Get file attributes
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x529c83
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x581980]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x581980]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
push 0x564230
mov edi, ecx
call fcn.00457950
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00402000
add esp, 0xc
xor esi, esi
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x14]
mov ebx, 8
cmp dword [esp + 0x28], ebx
jae 0x40125a
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4012ac
test al, 0x10
jne 0x4012ac
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebx
jae 0x401278
lea eax, [esp + 0x14]
push eax
call fcn.0045a0c0
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push esi
lea eax, [esp + 0x34]
xor edx, edx
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], esi
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00402710
call fcn.00458790
add esp, 0x1c
mov ecx, dword [edi + 4]
push 1
push 0x56425c
push ecx
call dword [sym.imp.USER32.dll_SetPropW]
call fcn.00411740
mov ecx, edi
call fcn.004115b0
push 1
push str.campaignBtn
lea ebx, [edi + 0x230]
call fcn.0040b100
mov ebx, eax
mov dword [edi + 0x3e0], ebx
test ebx, ebx
je 0x4012f1
mov eax, str.red0.png
call fcn.00412160
mov eax, dword [edi + 4]
push 0
push 0x32
push 0xb
push eax
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [edi + 0x3e4], esi
jne 0x4013e1
push 0x5ac
call fcn.004f294c
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x40], 1
test eax, eax
je 0x401334
mov ecx, dword [edi + 4]
push ecx
mov ecx, eax
call fcn.004051f0
jmp 0x401336
xor eax, eax
mov byte [esp + 0x40], 0
mov dword [edi + 0x3e4], eax
test eax, eax
jne 0x40134c
push eax
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov esi, dword [edi + 0x3e4]
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ebx, dword [edi + 4]
mov ecx, esi
call eax
test eax, eax
je 0x40136b
call fcn.00411870
test al, al
je 0x4013c1
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
test eax, eax
jne 0x401381
call fcn.004117d0
test al, al
je 0x4013c1
mov ecx, dword [0x5875f4]
mov edx, dword [esi]
mov eax, dword [edx]
push esi
push ecx
push 0
push ebx
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push 0x100
push 0x5641f8
mov ecx, esi
call eax
push eax
push 0x100
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 4], eax
mov edi, dword [edi + 0x3e4]
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4013e1
mov edx, dword [edi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esp + 0x28], 8
jb 0x4013f5
mov eax, dword [esp + 0x14]
push eax
call fcn.004f287e
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004f2889
mov esp, ebp
pop ebp
ret
Function at 0x401420
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi]
mov edx, str.click
nop
mov si, word [eax]
cmp si, word [edx]
jne 0x401456
test si, si
je 0x401452
mov si, word [eax + 2]
cmp si, word [edx + 2]
jne 0x401456
add eax, 4
add edx, 4
test si, si
jne 0x401430
xor eax, eax
jmp 0x40145b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4014ad
mov eax, dword [edi + 0x108]
cmp eax, dword [ecx + 0x3c0]
jne 0x4014ad
mov eax, dword [ecx + 0x3d8]
lea esi, [ecx + 0x3c8]
push 0x5641f8
xor edi, edi
mov ecx, esi
call fcn.00401f90
test eax, eax
je 0x4014b6
cmp dword [esi + 0x14], 8
jb 0x401493
mov esi, dword [esi]
push 1
push 0
push 0
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
pop ebp
ret 4
add ecx, 0xfffffff0
push ecx
call fcn.00411330
pop edi
pop esi
pop ebp
ret 4
Function at 0x401a10
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x3e8]
mov dword [eax], 0
mov eax, dword [ebx + 0x10]
push 0x5641f8
xor edi, edi
mov ecx, ebx
call fcn.00401f90
test eax, eax
je 0x401afc
mov eax, dword [ebp + 0x10]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 8], ecx
mov ecx, dword [esi + 0x168]
mov dword [ebp - 4], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xfc]
push 0xd
lea eax, [ebp - 8]
push eax
push 0x40fee0
call edx
mov esi, eax
test esi, esi
je 0x401ae0
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push str.ButtonUI
mov ecx, esi
call edx
push eax
call fcn.004f2b56
add esp, 8
test eax, eax
je 0x401afc
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push str.OptionUI
mov ecx, esi
call edx
push eax
call fcn.004f2b56
add esp, 8
test eax, eax
je 0x401afc
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push str.TextUI
mov ecx, esi
call edx
push eax
call fcn.004f2b56
add esp, 8
test eax, eax
je 0x401afc
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push str.SliderUI
mov ecx, esi
call edx
push eax
call fcn.004f2b56
add esp, 8
test eax, eax
je 0x401afc
cmp dword [ebx + 0x14], 8
jb 0x401ae8
mov ebx, dword [ebx]
push 1
push 0
push 0
push ebx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x405dc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529573
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x581980]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1c
mov dword [ebp - 4], 0
call fcn.004f294c
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x405e26
xor eax, eax
push eax
lea ecx, [ebp + 8]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
push ecx
or eax, 0xffffffff
mov ecx, esi
call fcn.00402710
jmp 0x405e28
xor esi, esi
push 0
push 0
push esi
push 0x404750
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x1c], 8
jb 0x405e55
mov edx, dword [ebp + 8]
push edx
call fcn.004f287e
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x406120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528abd
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x581980]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x216]
xor eax, eax
push ebx
mov dword [ebp - 0x240], ebx
push ecx
mov dword [ebp - 0x244], edi
mov word [ebp - 0x218], ax
call fcn.004f50f0
add esp, 0xc
xor edx, edx
push 0x42
mov eax, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall2144GameCenter
lea esi, [ebp - 0x234]
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
call fcn.00403af0
mov dword [ebp - 4], 1
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], ebx
mov word [edi], ax
push ebx
mov eax, 0x5641f8
mov esi, edi
call fcn.00403af0
mov dword [ebp - 0x240], 1
call fcn.00459940
test eax, eax
je 0x4061ef
push 0x4e
mov eax, str.SOFTWAREWow6432NodeMicrosoftWindowsCurrentVersionUninstall2144GameCenter
lea esi, [ebp - 0x234]
call fcn.00403af0
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x406204
lea eax, [ebp - 0x234]
lea ecx, [ebp - 0x238]
push ecx
push 1
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x406274
mov ecx, dword [ebp - 0x238]
lea edx, [ebp - 0x23c]
push edx
lea eax, [ebp - 0x218]
push eax
push ebx
push ebx
push str.DisplayIcon
push ecx
mov dword [ebp - 0x23c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x406274
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x406257
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
mov esi, edi
call fcn.00403af0
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x220], 8
jb 0x406299
mov eax, dword [ebp - 0x234]
push eax
call fcn.004f287e
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f2889
mov esp, ebp
pop ebp
ret
Function at 0x406620
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528a18
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x581980]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
sub esp, 0x1c
mov ecx, esp
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esp
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], esi
push esi
lea edx, [ebp + 8]
mov word [ecx], ax
push edx
or eax, 0xffffffff
call fcn.00402710
call fcn.00406720
cmp eax, esi
jne 0x4066ee
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], esi
push esi
lea edx, [ebp + 8]
mov word [ecx], ax
push edx
or eax, 0xffffffff
call fcn.00402710
call fcn.004068e0
cmp eax, esi
jne 0x4066ee
cmp dword [ebp + 0x1c], 8
mov eax, dword [ebp + 8]
jae 0x4066af
lea eax, [ebp + 8]
push 1
push esi
push esi
push eax
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jge 0x4066ee
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
xor eax, eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], esi
push esi
lea edx, [ebp + 8]
mov word [ecx], ax
push edx
or eax, 0xffffffff
call fcn.00402710
call fcn.00406aa0
cmp dword [ebp + 0x1c], 8
jb 0x406700
mov eax, dword [ebp + 8]
push eax
call fcn.004f287e
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x1c