joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100140b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060990
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10079040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.100334a0
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.10035115
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.10013fa0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100180f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], esi
movzx eax, word [esi + 0x10]
add eax, 0x11
mov dword [ebp - 0xc], 0
push eax
mov dword [ebp - 4], eax
call fcn.100337f8
mov edx, eax
lea edi, [edx + 6]
mov dword [ebp - 0x14], edx
mov dword [edx], 0x31544301
mov ax, word [esi + 0x10]
add ax, 0xb
movzx ebx, ax
mov byte [edx + 5], bl
mov eax, ebx
shr eax, 8
mov byte [edx + 4], al
mov ecx, dword [esi + 4]
mov eax, ecx
shr eax, 0x18
mov byte [edi], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 7], al
mov eax, ecx
shr eax, 8
mov byte [edx + 8], al
mov byte [edx + 9], cl
mov ecx, dword [esi + 8]
mov eax, ecx
shr eax, 0x18
mov byte [edx + 0xa], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 0xb], al
mov eax, ecx
shr eax, 8
mov byte [edx + 0xc], al
mov byte [edx + 0xd], cl
mov al, byte [esi]
mov byte [edx + 0xe], al
movzx eax, word [esi + 0x10]
push eax
push dword [esi + 0xc]
lea eax, [edx + 0xf]
push eax
call fcn.10037b50
mov esi, ebx
add esp, 0x10
xor eax, eax
sub esi, 2
je 0x100181c1
nop word [eax + eax]
movzx ecx, byte [edi]
lea edi, [edi + 1]
movzx edx, ax
shr edx, 8
xor edx, ecx
shl eax, 8
xor ax, word [edx*2 + 0x1006fc80]
movzx eax, ax
sub esi, 1
jne 0x100181a0
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp - 8]
mov dword [ebp - 8], ebx
movzx edx, word [ecx + 0x10]
mov ecx, eax
shr ecx, 8
mov byte [edx + edi + 0x10], al
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
mov byte [edx + edi + 0xf], cl
push eax
call fcn.1001c090
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x1007b640]
cmp byte [eax + 0xd], 0
jne 0x100181ff
cmp ebx, dword [eax + 0x10]
jae 0x10018201
mov eax, ecx
mov esi, dword [ebp - 4]
cmp eax, ecx
je 0x10018218
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x10018218
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0xc]
jmp 0x1001821a
xor eax, eax
cmp eax, esi
je 0x10018227
mov dword [ebp - 0xc], 0xfffffff3
jmp 0x10018257
lea esi, [ebx + 0x1c]
push esi
call fcn.100341fe
add esp, 4
test eax, eax
jne 0x1001826c
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x10018273
push 0
call fcn.100421aa
push esi
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], edx
call fcn.1003420f
add esp, 8
push edi
call fcn.1003349b
mov eax, dword [ebp - 0xc]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 5
call fcn.1003408d
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.1003408d
int3
Function at 0x10018c20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060fcd
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10079040]
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
push 8
call fcn.100334a0
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov dword [ecx + 4], eax
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
push ecx
push 0x10018ce0
push 0
push 0
call fcn.10048dc8
add esp, 0x1c
mov dword [esi], eax
test eax, eax
je 0x10018ca9
mov eax, esi
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.10033290
mov esp, ebp
pop ebp
ret 8
push 6
mov dword [edi], 0
call fcn.1003408d
int3
Function at 0x10020d60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10079040]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
cmp al, 1
je 0x10020d97
cmp al, 2
je 0x10020d97
push 0x179
push str.C:UserscircleciprojectMultiCodeUtil2Cross_PlatformSourcedfu.cpp
push str.type__objectType_command__type__objectType_data
call fcn.10049f2a
add esp, 0xc
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x10020db5
push 0x17a
push str.C:UserscircleciprojectMultiCodeUtil2Cross_PlatformSourcedfu.cpp
push str.size
call fcn.10049f2a
add esp, 0xc
mov al, byte [ebp + 8]
lea edi, [esi + 0xdf4]
mov byte [esi + 0x72], al
lea ecx, [esi + 0x71]
mov eax, ebx
mov byte [esi + 0x73], bl
shr eax, 8
mov byte [esi + 0x74], al
mov eax, ebx
push edi
shr ebx, 0x18
push 6
mov byte [esi + 0x76], bl
lea ebx, [esi + 0x4f1]
push ecx
shr eax, 0x10
push ebx
mov byte [ecx], 1
mov byte [esi + 0x75], al
call fcn.100214e0
mov ecx, 0xffffffea
test eax, eax
jne 0x10020eae
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x10020e1d
push 0x39c
push str.C:UserscircleciprojectMultiCodeUtil2Cross_PlatformSourcedfu.cpp
push str.data___NULL
call fcn.10049f2a
add esp, 0xc
lea eax, [esi + 0x5c]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push ebx
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10020e89
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x10020e51
mov ecx, 0xffffffea
jmp 0x10020e8c
push 0xffffffffffffffff
push dword [esi + 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10020e67
mov ecx, 0xffffffea
jmp 0x10020e8c
push 0
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x5c]
push eax
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [ebp - 8]
test eax, eax
mov eax, 0xffffffea
cmove ecx, eax
jmp 0x10020e8c
mov ecx, dword [ebp - 8]
cmp ecx, dword [edi]
jne 0x10020ea9
pop edi
mov byte [esi + 0x70], 1
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10033290
mov esp, ebp
pop ebp
ret 8
mov ecx, 0xffffffea
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10033290
mov esp, ebp
pop ebp
ret 8
Function at 0x10020ed0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10079040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x71]
mov byte [eax], 3
lea edi, [esi + 0xdf4]
push edi
push 1
push eax
lea ebx, [esi + 0x4f1]
push ebx
call fcn.100214e0
mov ecx, 0xffffffea
test eax, eax
jne 0x10020fbe
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x10020f31
push 0x39c
push str.C:UserscircleciprojectMultiCodeUtil2Cross_PlatformSourcedfu.cpp
push str.data___NULL
call fcn.10049f2a
mov eax, dword [ebp - 0xc]
add esp, 0xc
lea ecx, [esi + 0x5c]
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
push ebx
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10020f9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x10020f63
mov ecx, 0xffffffea
jmp 0x10020f9e
push 0xffffffffffffffff
push dword [esi + 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10020f79
mov ecx, 0xffffffea
jmp 0x10020f9e
push 0
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x5c]
push eax
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [ebp - 8]
test eax, eax
mov eax, 0xffffffea
cmove ecx, eax
jmp 0x10020f9e
mov ecx, dword [ebp - 8]
cmp ecx, dword [edi]
jne 0x10020fb9
pop edi
mov byte [esi + 0x70], 3
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10033290
mov esp, ebp
pop ebp
ret
mov ecx, 0xffffffea
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10033290
mov esp, ebp
pop ebp
ret
Function at 0x10020fe0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10079040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x71]
mov byte [eax], 4
lea edi, [esi + 0xdf4]
push edi
push 1
push eax
lea ebx, [esi + 0x4f1]
push ebx
call fcn.100214e0
mov ecx, 0xffffffea
test eax, eax
jne 0x100210ce
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x10021041
push 0x39c
push str.C:UserscircleciprojectMultiCodeUtil2Cross_PlatformSourcedfu.cpp
push str.data___NULL
call fcn.10049f2a
mov eax, dword [ebp - 0xc]
add esp, 0xc
lea ecx, [esi + 0x5c]
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
push ebx
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100210ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x10021073
mov ecx, 0xffffffea
jmp 0x100210ae
push 0xffffffffffffffff
push dword [esi + 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10021089
mov ecx, 0xffffffea
jmp 0x100210ae
push 0
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x5c]
push eax
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [ebp - 8]
test eax, eax
mov eax, 0xffffffea
cmove ecx, eax
jmp 0x100210ae
mov ecx, dword [ebp - 8]
cmp ecx, dword [edi]
jne 0x100210c9
pop edi
mov byte [esi + 0x70], 4
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10033290
mov esp, ebp
pop ebp
ret
mov ecx, 0xffffffea
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10033290
mov esp, ebp
pop ebp
ret
Function at 0x100210f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10079040]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
lea edx, [esi + 0x71]
mov byte [edx], 6
lea edi, [esi + 0xdf4]
mov byte [esi + 0x72], al
push edi
push 2
push edx
lea ebx, [esi + 0x4f1]
push ebx
call fcn.100214e0
mov ecx, 0xffffffea
test eax, eax
jne 0x100211e6
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x10021157
push 0x39c
push str.C:UserscircleciprojectMultiCodeUtil2Cross_PlatformSourcedfu.cpp
push str.data___NULL
call fcn.10049f2a
mov eax, dword [ebp - 0xc]
add esp, 0xc
lea ecx, [esi + 0x5c]
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
push ebx
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100211c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x10021189
mov ecx, 0xffffffea
jmp 0x100211c4
push 0xffffffffffffffff
push dword [esi + 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1002119f
mov ecx, 0xffffffea
jmp 0x100211c4
push 0
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x5c]
push eax
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [ebp - 8]
test eax, eax
mov eax, 0xffffffea
cmove ecx, eax
jmp 0x100211c4
mov ecx, dword [ebp - 8]
cmp ecx, dword [edi]
jne 0x100211e1
pop edi
mov byte [esi + 0x70], 6
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10033290
mov esp, ebp
pop ebp
ret 4
mov ecx, 0xffffffea
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10033290
mov esp, ebp
pop ebp
ret 4
Function at 0x10021200
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10079040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
test edi, edi
jne 0x10021233
push 0x1e0
push str.C:UserscircleciprojectMultiCodeUtil2Cross_PlatformSourcedfu.cpp
push str.data
call fcn.10049f2a
add esp, 0xc
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x100212dd
push 0x1e1
push str.C:UserscircleciprojectMultiCodeUtil2Cross_PlatformSourcedfu.cpp
push str.length
call fcn.10049f2a
lea ebx, [esi + 0x71]
add esp, 0xc
mov byte [ebx], 8
mov ecx, 1
lea edi, [esi + 0xdf4]
push edi
push ecx
lea eax, [esi + 0x4f1]
push ebx
push eax
call fcn.100214e0
mov ecx, 0xffffffea
test eax, eax
jne 0x10021364
mov eax, dword [edi]
lea ebx, [esi + 0x4f1]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x100212ab
push 0x39c
push str.C:UserscircleciprojectMultiCodeUtil2Cross_PlatformSourcedfu.cpp
push str.data___NULL
call fcn.10049f2a
mov eax, dword [ebp - 0xc]
add esp, 0xc
lea ecx, [esi + 0x5c]
mov dword [ebp - 8], 0
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
push ebx
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x1002133f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x10021307
mov ecx, 0xffffffea
jmp 0x10021342
lea ebx, [esi + 0x71]
xor ecx, ecx
mov byte [ebx], 8
test edx, edx
je 0x1002125b
lea eax, [edx + 1]
mov dword [ebp - 8], eax
mov al, byte [edi + ecx]
mov byte [esi + ecx + 0x72], al
inc ecx
cmp ecx, edx
jb 0x100212f3
mov ecx, dword [ebp - 8]
jmp 0x10021260
push 0xffffffffffffffff
push dword [esi + 0x6c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1002131d
mov ecx, 0xffffffea
jmp 0x10021342
push 0
lea eax, [ebp - 8]
push eax
lea eax, [esi + 0x5c]
push eax
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [ebp - 8]
test eax, eax
mov eax, 0xffffffea
cmove ecx, eax
jmp 0x10021342
mov ecx, dword [ebp - 8]
cmp ecx, dword [edi]
jne 0x1002135f
pop edi
mov byte [esi + 0x70], 8
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10033290
mov esp, ebp
pop ebp
ret 8
mov ecx, 0xffffffea
mov eax, ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10033290
mov esp, ebp
pop ebp
ret 8
Function at 0x100215c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x100215e4
push 0x409
push str.C:UserscircleciprojectMultiCodeUtil2Cross_PlatformSourcedfu.cpp
push str.pData___NULL
call fcn.10049f2a
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x100215f0
or eax, 0xffffffff
jmp 0x100215f4
mov eax, dword [eax]
not eax
mov ebx, dword [ebp + 0xc]
xor esi, esi
test ebx, ebx
je 0x100216b8
movzx ecx, byte [edi + esi]
xor eax, ecx
mov ecx, eax
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
shr eax, 1
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
and al, 1
movzx edx, al
neg edx
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
movzx edx, al
neg edx
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
movzx edx, al
neg edx
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
xor edx, ecx
mov eax, edx
and al, 1
movzx ecx, al
neg ecx
sbb ecx, ecx
shr edx, 1
and ecx, 0xedb88320
xor ecx, edx
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0xedb88320
inc esi
xor eax, ecx
cmp esi, ebx
jb 0x10021601
pop edi
pop esi
not eax
pop ebx
pop ebp
ret 0xc

Function at 0x10021d60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100615e5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10079040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 4
call fcn.100334a0
mov dword [ebp - 0x1c], eax
mov dword [eax], 0x10021c10
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x10021fa0
push 0
push 0
call fcn.10048dc8
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x10021df1
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 1
call fcn.100218e0
cmp dword [ebp - 0x14], 0
jne 0x10021dec
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10033290
mov esp, ebp
pop ebp
ret
call fcn.10048e59
push 6
mov dword [ebp - 0x14], 0
call fcn.1003408d
int3
Function at 0x1002e6b0
Capabilities:
Create thread
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x33c
mov eax, dword [0x10079040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
test ebx, ebx
jne 0x1002e6e0
lea eax, [ecx - 0xa]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10033290
mov esp, ebp
pop ebp
ret
cmp dword [0x1007b9f4], 0
jne 0x1002e81a
push 0xc
call fcn.100334a0
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, eax
add esp, 4
mov dword [ebp - method.CDebugLog.virtual_0], vtable.CDebugLog.0
xorps xmm0, xmm0
lea eax, [ebp - 0x330]
movq qword [edi], xmm0
push eax
mov dword [edi + 8], 0
call esi
lea eax, [ebp - 0x22c]
push eax
call esi
lea eax, [ebp - 0x128]
push eax
call esi
push 0x1007b8cc
mov dword [0x1007b9f4], edi
call fcn.100341fe
add esp, 4
test eax, eax
jne 0x1002e8c8
mov eax, dword [0x1007b8f8]
cmp eax, 0x7fffffff
je 0x1002e8cf
inc dword [0x1007b8c8]
push 0x1007b8fc
call fcn.100343b9
add esp, 4
push 0x1007b8cc
call fcn.1003420f
add esp, 4
mov dword [ebp - 0x33c], edi
lea eax, [ebp - 0x33c]
lea ecx, [ebp - 0x1c]
push eax
push 0x100307e0
call fcn.10018c20
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x33c], edi
push eax
push 0x100309c0
lea ecx, [ebp - 0x14]
call fcn.10018c20
push 4
call fcn.100334a0
add esp, 4
lea ecx, [ebp - 8]
mov dword [eax], 0x10030510
push ecx
push 0
push eax
push 0x10021fa0
push 0
push 0
call fcn.10048dc8
add esp, 0x18
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1002e8e1
lea ecx, [ebp - 0x1c]
call fcn.100218e0
lea ecx, [ebp - 0xc]
call fcn.100218e0
lea ecx, [ebp - 0x14]
call fcn.100218e0
cmp dword [ebp - 8], 0
jne 0x1002e8dc
cmp dword [ebp - 0x10], 0
jne 0x1002e8dc
cmp dword [ebp - 0x18], 0
jne 0x1002e8dc
cmp dword [0x1007b940], 0
je 0x1002e864
mov ecx, dword [0x1007b93c]
mov eax, dword [ecx + 4]
mov dword [eax], 0
mov eax, dword [ecx]
test eax, eax
je 0x1002e84b
mov esi, dword [eax]
push 0xc
push eax
call fcn.100337ea
add esp, 8
mov eax, esi
test esi, esi
jne 0x1002e838
mov eax, dword [0x1007b93c]
mov dword [eax], eax
mov eax, dword [0x1007b93c]
mov dword [eax + 4], eax
mov dword [0x1007b940], 0
xor dl, dl
xor cl, cl
call fcn.1002c840
test eax, eax
je 0x1002e876
cmp eax, 9
jne 0x1002e884
call fcn.1002e1d0
test eax, eax
jne 0x1002e884
call fcn.1002dd00
cmp dword [0x1007b940], 0
jne 0x1002e8a3
mov eax, 0xfffffff7
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10033290
mov esp, ebp
pop ebp
ret
push 0x4000
mov edx, ebx
mov ecx, 0x1007b93c
call fcn.1002c330
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10033290
mov esp, ebp
pop ebp
ret
push 5
call fcn.1003408d
dec eax
push 6
mov dword [0x1007b8f8], eax
call fcn.1003408d
call fcn.10048e59
push 6
mov dword [ebp - 8], 0
call fcn.1003408d
int3
Function at 0x1002f660
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x344
mov eax, dword [0x10079040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x217]
push edi
push 0x103
mov ebx, edx
mov byte [ebp - 0x218], 0
push 0
push eax
mov dword [ebp - 0x340], ebx
call fcn.10037990
add esp, 0xc
mov dword [ebp - 0x32c], 0x104
lea eax, [ebp - 0x33c]
push eax
push 0x20019
push 0
push ebx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002f830
push eax
push eax
push eax
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x330]
push eax
push 0
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x328]
push eax
push 0
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x33c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov eax, dword [ebp - 0x328]
test eax, eax
je 0x1002f80f
xor edi, edi
test eax, eax
je 0x1002f824
mov ebx, dword [ebp + 8]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x324]
mov dword [ebp - 0x324], 0x104
push eax
lea eax, [ebp - 0x110]
push eax
push edi
push dword [ebp - 0x33c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x1002f800
test ebx, ebx
je 0x1002f772
mov esi, ebx
nop dword [eax]
push 0x100725a0
call fcn.100045b0
add esp, 4
sub esi, 1
jne 0x1002f760
lea ecx, [ebp - 0x110]
lea eax, [edi + 1]
push ecx
push eax
push str.__d___s_n
mov edi, eax
call fcn.100045b0
mov esi, dword [ebp - 0x340]
add esp, 0xc
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1002f795
push 0x104
lea eax, [ebp - 0x320]
sub esi, ecx
push 0
push eax
call fcn.10037990
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
push dword [ebp - 0x340]
mov eax, dword [ebp - 0x324]
add eax, esi
add eax, eax
push str._s_s
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.10018d40
add esp, 0x14
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x320]
mov ecx, 0x80000002
push eax
lea eax, [ebx + 1]
push eax
call fcn.1002f660
add esp, 8
jmp 0x1002f801
inc edi
cmp edi, dword [ebp - 0x328]
jb 0x1002f722
jmp 0x1002f824
mov edx, dword [ebp - 0x330]
mov ecx, dword [ebp - 0x33c]
push esi
call fcn.1002f150
add esp, 4
push dword [ebp - 0x33c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10033290
mov esp, ebp
pop ebp
ret
Function at 0x1002f850
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x340
mov eax, dword [0x10079040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x103
lea eax, [ebp - 0x217]
mov byte [ebp - 0x218], 0
push 0
push eax
call fcn.10037990
add esp, 0xc
mov dword [ebp - 0x32c], 0x104
lea eax, [ebp - 0x33c]
push eax
push 0x20019
push 0
push str.SYSTEMControlSet001ServicesCCSERMUConfiguration
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002f9f8
push eax
push eax
push eax
lea eax, [ebp - 0x334]
push eax
lea eax, [ebp - 0x330]
push eax
push 0
lea eax, [ebp - 0x338]
push eax
lea eax, [ebp - 0x328]
push eax
push 0
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x33c]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov esi, dword [ebp - 0x328]
test esi, esi
je 0x1002f9d3
push 0x104
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.10037990
add esp, 0xc
xor eax, eax
test esi, esi
je 0x1002f9ec
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x324]
mov dword [ebp - 0x324], 0x104
push ecx
lea ecx, [ebp - 0x110]
push ecx
push eax
push dword [ebp - 0x33c]
lea esi, [eax + 1]
call edi
test eax, eax
jne 0x1002f9c3
lea eax, [ebp - 0x110]
push eax
push esi
push str.__d___s_n
call fcn.100045b0
add esp, 0xc
lea eax, [ebp - 0x320]
push 0x104
push 0
push eax
call fcn.10037990
add esp, 0xc
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x324]
push str.SYSTEMControlSet001ServicesCCSERMUConfiguration
push str._s_s
lea eax, [eax*2 + 0x66]
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.10018d40
add esp, 0x14
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x320]
push eax
push 1
call fcn.1002f660
add esp, 8
mov eax, esi
cmp eax, dword [ebp - 0x328]
jb 0x1002f923
jmp 0x1002f9ec
mov edx, dword [ebp - 0x330]
mov ecx, dword [ebp - 0x33c]
push 0x1007029e
call fcn.1002f150
add esp, 4
push dword [ebp - 0x33c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10033290
mov esp, ebp
pop ebp
ret