joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e112
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00455bb6
xor ebx, ebx
cmp dword [0x4acf98], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x45e1e7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x45e152
xor eax, eax
jmp 0x45e2ab
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x45e14b
push eax
call fcn.00455b53
mov dword [esp], 0x4730b4
push edi
mov dword [0x4acf98], eax
call esi
push eax
call fcn.00455b53
mov dword [esp], 0x4730a0
push edi
mov dword [0x4acf9c], eax
call esi
push eax
call fcn.00455b53
mov dword [0x4acfa0], eax
lea eax, [ebp - 8]
push eax
call fcn.00451f3f
test eax, eax
pop ecx
pop ecx
je 0x45e1b5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00450d24
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x45e1e7
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00455b53
cmp eax, ebx
pop ecx
mov dword [0x4acfa8], eax
je 0x45e1e7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00455b53
pop ecx
mov dword [0x4acfa4], eax
mov eax, dword [0x4acfa4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x45e260
cmp dword [0x4acfa8], esi
je 0x45e260
push eax
call fcn.00455bbf
pop ecx
call eax
cmp eax, ebx
je 0x45e22d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4acfa8]
call fcn.00455bbf
pop ecx
call eax
test eax, eax
je 0x45e22d
test byte [ebp - 0x18], 1
jne 0x45e260
lea eax, [ebp - 0xc]
push eax
call fcn.00451f76
test eax, eax
pop ecx
je 0x45e248
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00450d24
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x45e257
or dword [ebp + 0x10], 0x200000
jmp 0x45e291
or dword [ebp + 0x10], 0x40000
jmp 0x45e291
mov eax, dword [0x4acf9c]
cmp eax, esi
je 0x45e291
push eax
call fcn.00455bbf
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x45e291
mov eax, dword [0x4acfa0]
cmp eax, esi
je 0x45e291
push dword [ebp - 4]
push eax
call fcn.00455bbf
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x4acf98]
call fcn.00455bbf
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x465330
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x486a20]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.004652c5
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004521a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x46537f
cmp dword [ebp - 0x1c], 5
jb 0x465397
jmp 0x465393
cmp dword [ebp - 0x10], 1
jne 0x465397
cmp dword [ebp - 0x1c], 4
ja 0x465393
jne 0x465397
cmp dword [ebp - 0x18], 0
jbe 0x465397
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x474a60
call fcn.004651b6
test eax, eax
jge 0x4653b8
mov byte [0x4ad350], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00450581
add ebp, 0x78
leave
ret
Function at 0x494206
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4c3d70]
jne 0x494210
repz ret
jmp fcn.00498d8f

Function at 0x497120
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c3d70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004915f2
and dword [ebp - 0x14], 0
cmp dword [0x4c6c1c], 0
mov dword [ebp - 0x18], eax
jne 0x4971d3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x49727b
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a0fd0
push ebx
call edi
test eax, eax
je 0x49727b
mov esi, dword [fcn.0048d880]
push eax
call esi
push 0x4a0fc0
push ebx
mov dword [0x4c6c1c], eax
call edi
push eax
call esi
push 0x4a0fac
push ebx
mov dword [0x4c6c20], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4c6c24], eax
call edi
push eax
call esi
mov dword [0x4c6c2c], eax
test eax, eax
je 0x4971d3
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4c6c28], eax
mov eax, dword [0x4c6c28]
mov ecx, dword [ebp - 0x18]
mov esi, dword [fcn.0048d884]
cmp eax, ecx
je 0x49722c
cmp dword [0x4c6c2c], ecx
je 0x49722c
push eax
call esi
push dword [0x4c6c2c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x49722c
test ebx, ebx
je 0x49722c
call edi
test eax, eax
je 0x497223
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x497223
test byte [ebp - 8], 1
jne 0x49722c
or dword [ebp + 0x10], 0x200000
jmp 0x49725f
mov eax, dword [0x4c6c20]
cmp eax, dword [ebp - 0x18]
je 0x49725f
push eax
call esi
test eax, eax
je 0x49725f
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x49725f
mov eax, dword [0x4c6c24]
cmp eax, dword [ebp - 0x18]
je 0x49725f
push eax
call esi
test eax, eax
je 0x49725f
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4c6c1c]
call esi
test eax, eax
je 0x49727b
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x49727d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00494206
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..retplne
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x568c5b18
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x4304d8
mov ecx, 0x15476cf9
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x10003d30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008f6ba
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x100cb9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 0
cmp dword [esi + 0x200b4], 0
mov dword [ebp - 4], 2
jne 0x10003d9c
push 0
push 0
push esi
push 0x10005230
push 0
push 0
call fcn.1006b82e
add esp, 0x18
mov dword [esi + 0x200b4], eax
push 0x14
call fcn.1004b336
mov edi, eax
add esp, 4
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x10003dd1
push dword [ebp - 0x3c]
lea eax, [ebp + 0x3c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.100046b0
push edi
mov ecx, esi
call fcn.100040e0
mov dword [ebp - 0x3c], eax
jmp 0x10003dd8
mov dword [ebp - 0x3c], 0
push 0xc
mov byte [ebp - 4], 2
call fcn.1004b336
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x10003dfc
mov ecx, eax
call fcn.100047d0
mov edi, eax
jmp 0x10003dfe
xor edi, edi
push ebx
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.100063b0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x88], 0x10003a30
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x10003e47
mov eax, dword [ecx]
lea edx, [ebp - 0x78]
push edx
call dword [eax]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 7
push eax
call fcn.10004380
mov ecx, dword [ebp - 0x54]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x10003e8c
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x78]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 0x2008c]
call fcn.100065b0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x10003eb7
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x10003ed6
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x38], 0
mov edx, dword [ebp + 0x50]
cmp edx, 0x10
jb 0x10003f06
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003efc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003f26
push edx
push ecx
call fcn.1004b366
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004b6e5
mov esp, ebp
pop ebp
ret 0x50
call fcn.1006b649
int3
Function at 0x100104a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100104f9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100104f9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100104ea
cmp esi, edx
jae 0x100104f9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x100104d8
cmp esi, edx
jae 0x100104f9
cmp word [esi], 0
je 0x100104f9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x10015100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009128c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100cb9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], vtable.AccountPluginClient.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
lea edi, [ebx + 0xc]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.RechargeWeb.0
mov dword [edi + 4], 0
mov byte [edi + 8], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0xf
mov byte [edi + 0xc], 0
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 2
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
call fcn.1001cee0
lea esi, [edi + 0x50]
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
add esi, 0x20
push 8
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.1004b336
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
lea ecx, [edi + 0x84]
mov byte [ebp - 4], 5
call fcn.10008550
mov dword [ebx + 0xa4], 0
mov eax, ebx
mov dword [ebx + 0xa8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100160a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091440
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x100cb9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x38], edi
call fcn.10005250
mov ecx, eax
test ecx, ecx
je 0x1001629a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
push 0x100a310c
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.1000a400
test al, al
jne 0x10016112
push 1
push 0x100a310c
lea ecx, [ebp - 0x2c]
call fcn.1000e5e0
push 0x14000
mov dword [ebp - 4], 1
mov dword [ebp - 0x40], 1
call fcn.1004b374
mov esi, eax
mov dword [ebp - 0x3c], 0xa000
add esp, 4
test esi, esi
jne 0x10016177
push eax
mov dword [edi + 0x10], eax
mov ecx, edi
mov dword [edi + 0x14], 0xf
push 0x1009a334
mov byte [edi], al
call fcn.10005fe0
mov esi, dword [ebp - 0x2c]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001627c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x1001627c
lea eax, [ebp - 0x3c]
push eax
push esi
lea eax, [ebp - 0x40]
push eax
push str.vipinfo
push 0x100a3158
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
or ebx, 0xffffffff
test eax, eax
jne 0x1001624d
lea eax, [ebp - 0x28]
push eax
call fcn.10016640
add esp, 4
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x100161b8
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x34]
call fcn.10007ef0
push esi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.10007ef0
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.10034ef0
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.100157b0
mov edx, dword [ebp - 0x38]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001620d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x30]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10016227
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x34]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10016241
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.10008c80
push 2
push esi
call fcn.1004b366
mov esi, dword [ebp - 0x2c]
push 0xfde9
push esi
push edi
call fcn.10034960
add esp, 0x14
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1001627c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004b6e5
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.1000a3e0
int3
Function at 0x10016640
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10091512
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x100cb9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x424], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x424], 1
mov dword [ebp - 0x428], 0x104
call fcn.100686c0
add esp, 0xc
mov dword [ebp - 0x42c], 1
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x42c]
push eax
push str.local_m2
push 0x100a3158
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1001671e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016700
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100060d0
cmp dword [esi + 0x10], 0
jne 0x1001679a
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100686c0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.1002f3a0
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10016754
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.100060d0
mov ecx, dword [esi + 0x10]
mov eax, esi
add ecx, ecx
cmp dword [esi + 0x14], 8
jb 0x10016781
mov eax, dword [esi]
push ecx
push eax
push 1
push str.local_m2
push 0x100a3158
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004b6e5
mov esp, ebp
pop ebp
ret
Function at 0x1001d710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092183
mov eax, dword fs:[0]
push eax
mov eax, 0x40dc
call fcn.1004b760
mov eax, dword [0x100cb9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x404c], edi
mov dword [ebp - 0x4044], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x4000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x4010]
push eax
mov dword [ebp - 0x4044], 1
call fcn.100686c0
add esp, 0xc
mov dword [ebp - 0x4048], 0x2000
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x1001d79f
mov eax, dword [esi]
lea ecx, [ebp - 0x4048]
push ecx
lea ecx, [ebp - 0x4010]
push ecx
lea ecx, [ebp - 0x4050]
push ecx
push 0x100a4e84
push eax
push dword [esi + 0x18]
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1001d8a6
call fcn.1002cf70
mov ecx, eax
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1001d8ce
push 0x59
push 0x100a4e90
lea ecx, [ebp - 0x4040]
mov dword [ebp - 0x4030], eax
mov dword [ebp - 0x402c], 0xf
mov byte [ebp - 0x4040], al
call fcn.10005fe0
push 3
push 0x100a4eec
lea ecx, [ebp - 0x4028]
mov dword [ebp - 4], 1
mov dword [ebp - 0x4018], 0
mov dword [ebp - 0x4014], 0xf
mov byte [ebp - 0x4028], 0
call fcn.10005fe0
push 0x76
lea eax, [ebp - 0x4040]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x4028]
push eax
lea ecx, [ebp - 0x40e8]
call fcn.100083b0
mov esi, eax
push str.read_regedit_failed
push esi
mov byte [ebp - 4], 3
call fcn.10009b20
add esp, 8
call fcn.1002cf70
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x40e8]
call fcn.10009c50
lea ecx, [ebp - 0x4028]
call fcn.10004c10
lea ecx, [ebp - 0x4040]
call fcn.10004c10
jmp 0x1001d8ce
lea ecx, [ebp - 0x4010]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001d8b0
sub ecx, edx
lea eax, [ebp - 0x4010]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.100060d0
mov eax, edi
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.1004b6e5
mov esp, ebp
pop ebp
ret 4
Function at 0x1001e190
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008f6ba
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x100cb9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], 0
cmp dword [esi + 0x200b4], 0
mov dword [ebp - 4], 2
jne 0x1001e1fc
push 0
push 0
push esi
push 0x10005230
push 0
push 0
call fcn.1006b82e
add esp, 0x18
mov dword [esi + 0x200b4], eax
push 0x14
call fcn.1004b336
mov edi, eax
add esp, 4
mov dword [ebp - 0x40], edi
mov byte [ebp - 4], 3
test edi, edi
je 0x1001e231
push dword [ebp - 0x3c]
lea eax, [ebp + 0x3c]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.100046b0
push edi
mov ecx, esi
call fcn.100040e0
mov dword [ebp - 0x3c], eax
jmp 0x1001e238
mov dword [ebp - 0x3c], 0
push 0xc
mov byte [ebp - 4], 2
call fcn.1004b336
add esp, 4
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x1001e25c
mov ecx, eax
call fcn.1001f4f0
mov edi, eax
jmp 0x1001e25e
xor edi, edi
push ebx
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.100063b0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x78]
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x88], 0x10003a30
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp + 0x38]
mov byte [ebp - 4], 5
test ecx, ecx
je 0x1001e2a7
mov eax, dword [ecx]
lea edx, [ebp - 0x78]
push edx
call dword [eax]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 7
push eax
call fcn.1001e820
mov ecx, dword [ebp - 0x54]
add esp, 4
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x1001e2ec
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x78]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x54], 0
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 0x2008c]
call fcn.100065b0
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x1001e317
mov edx, dword [ecx]
lea eax, [ebp - 0x38]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov ecx, dword [ebp + 0x38]
test ecx, ecx
je 0x1001e336
mov edx, dword [ecx]
lea eax, [ebp + 0x14]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
mov dword [ebp + 0x38], 0
mov edx, dword [ebp + 0x50]
cmp edx, 0x10
jb 0x1001e366
mov ecx, dword [ebp + 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001e35c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001e386
push edx
push ecx
call fcn.1004b366
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004b6e5
mov esp, ebp
pop ebp
ret 0x50
call fcn.1006b649
int3
Function at 0x100256a0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10092e18
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x100cb9b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x14
mov dword [ebp - 4], 0
call fcn.1004b336
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
test edi, edi
je 0x1002572f
push dword [ebp + 8]
mov dword [edi + 4], 1
push 0
mov dword [edi + 8], 1
mov dword [edi], vtable.std::_Ref_count_obj_class_GlobalMutex_.0
push 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x10], eax
jmp 0x10025731
xor edi, edi
lea eax, [edi + 0xc]
mov dword [esi], eax
mov ebx, dword [esi + 4]
mov dword [esi + 4], edi
test ebx, ebx
je 0x10025761
or edi, 0xffffffff
mov eax, edi
lock xadd dword [ebx + 4], eax
jne 0x10025761
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], edi
dec edi
jne 0x10025761
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
mov edi, dword [esi]
test edi, edi
je 0x100257aa
mov eax, dword [edi]
test eax, eax
je 0x100257aa
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
ja 0x1002579c
je 0x10025793
test eax, eax
je 0x1002578a
cmp eax, 0x80
jne 0x100257a7
mov dword [edi + 4], 0
jmp 0x100257aa
mov dword [edi + 4], 0x102
jmp 0x100257aa
cmp eax, 0xffffffff
jne 0x100257a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4