joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10032440
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1394
call fcn.10163300
mov eax, dword [0x10200854]
xor eax, esp
mov dword [esp + 0x1390], eax
push ebx
push esi
push edi
call dword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov dword [esp + 0x1394], 0xffffffff
mov ecx, 1
mov dword [esp + 0x14], eax
nop dword [eax + eax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, ecx
mov dword [esp + ecx*4 + 0x14], eax
inc ecx
cmp ecx, 0x270
jl 0x10032480
mov esi, dword [ebp + 8]
dec esi
mov dword [esp + 0x10], 0x270
cmp esi, 0xffffffff
jne 0x100324cd
lea ecx, [esp + 0x10]
call fcn.10033e70
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1390]
xor ecx, esp
call fcn.101611d3
mov esp, ebp
pop ebp
ret 4
lea ebx, [esi + 1]
mov dword [esp + 0xc], ebx
jmp 0x100324d9
lea ebx, [esi + 1]
xor edi, edi
xor eax, eax
test esi, esi
je 0x100324ef
lea ecx, [esp + 0x10]
call fcn.10033e70
mov edi, eax
or eax, 0xffffffff
xor edx, edx
div ebx
mov ecx, eax
mov ebx, edx
xor edx, edx
mov eax, edi
div dword [esp + 0xc]
cmp eax, ecx
jb 0x10032507
cmp ebx, esi
jne 0x100324d6
mov eax, edi
mov ecx, dword [esp + 0x139c]
xor edx, edx
div dword [esp + 0xc]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, edx
call fcn.101611d3
mov esp, ebp
pop ebp
ret 4
Function at 0x10033e70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
mov eax, dword [edi]
cmp eax, 0x270
jne 0x10033ece
lea edx, [edi + 8]
mov esi, eax
nop dword [eax]
mov ecx, dword [edx - 4]
lea edx, [edx + 4]
xor ecx, dword [edx - 4]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub esi, 1
jne 0x10033e90
mov eax, dword [edi]
jmp 0x10033fb9
cmp eax, 0x4e0
jb 0x10033fb9
mov eax, dword [edi + 0x9c4]
push ebx
lea ebx, [edi + 0x9c4]
mov edi, 0xe3
nop dword [eax + eax]
mov ecx, dword [ebx + 4]
lea edx, [ebx + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx + 0x634]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x10033ef0
mov ebx, dword [ebp - 4]
mov edi, 0x18c
add ebx, 0xd50
mov eax, dword [ebx]
nop dword [eax]
mov ecx, eax
lea edx, [ebx + 4]
xor ecx, dword [edx]
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [ebx - 0xd4c]
xor eax, ecx
mov dword [ebx - 0x9c0], eax
lea ebx, [edx]
mov eax, dword [edx]
sub edi, 1
jne 0x10033f40
mov edi, dword [ebp - 4]
pop ebx
mov ecx, dword [edi + 0x1380]
xor ecx, dword [edi + 4]
and ecx, 0x7fffffff
xor ecx, dword [edi + 0x1380]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x634]
xor eax, ecx
mov dword [edi + 0x9c0], eax
xor eax, eax
mov dword [edi], 0
mov edx, dword [edi + eax*4 + 4]
inc eax
mov dword [edi], eax
mov ecx, edx
mov eax, dword [edi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10035270
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016ac6b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x10200854]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 8], 0
jne 0x10035448
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
cmp byte [esi + 0xc], 0
jne 0x10035448
lea eax, [ebp - 0x1b8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x10035448
mov eax, dword [esi + 0x14]
test eax, eax
je 0x100352e1
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x100352ef
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x12
xor eax, eax
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0
lea ecx, [ebp - 0x1d0]
push str.DnsAntiHijackParam
mov byte [esi + 0xc], 1
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 7
mov word [ebp - 0x1d0], ax
call fcn.10004820
mov dword [ebp - 4], 0
xor eax, eax
push 0x24
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0
push str.10E0F78A_7E9D_4375_838C_24A971E345D2
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.10004820
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1d0]
push eax
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.10072e00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.100047b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d0]
call fcn.100047b0
mov byte [esi + 8], 1
cmp dword [0x10208ecc], 0
je 0x10035448
push 0
mov ecx, 0x10208ecc
call fcn.10125700
mov eax, dword [0x10208ecc]
cmp byte [eax + 0x54], 0
je 0x10035448
cmp dword [eax + 0x58], 4
jb 0x10035448
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
push 0xb
push 0x101b2e7c
call fcn.10004820
push 0x44
push str.RC::RCDnsAntiHijackProcessor::StartJob
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipslogic_srcdnsantihijack_rcdnsantihijackprocessor.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10208ecc
push eax
push 4
call fcn.10126060
test bl, bl
je 0x10035439
lea eax, [ebp - 0x28]
mov ecx, 0x10208ecc
push eax
call fcn.10126380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100047b0
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.101611d3
mov esp, ebp
pop ebp
ret 4
Function at 0x100425a0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016ca62
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x10200854]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.RC::RCQNWallpaperDeploySvcProcessor.0
mov dword [edi + 8], vtable.RC::RCQNWallpaperDeploySvcProcessor.1.0
mov dword [ebp - 4], 2
lea esi, [edi + 0x88]
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 5
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.10044b60
mov byte [ebp - 4], 2
push 0x30
push dword [esi]
call fcn.10161214
mov byte [ebp - 4], 1
lea eax, [edi + 0x58]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_destroy_in_situ]
add esp, 0xc
mov byte [ebp - 4], 0
lea esi, [edi + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 8
lea ecx, [esi + 0x30]
call fcn.100047b0
mov byte [ebp - 4], 7
lea ecx, [esi + 0x18]
call fcn.100047b0
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.100047b0
mov dword [ebp - 4], 0xffffffff
test byte [ebp + 8], 1
mov dword [edi], vtable.RC::RCSafeCenterProcessorBase.0
mov dword [edi + 4], 0
je 0x10042677
push 0x90
push edi
call fcn.10161214
add esp, 8
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 4
Function at 0x10046a90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016d679
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10200854]
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.RC::RCSafeCenterProcessorBase.0
mov dword [ebx + 4], 0
mov dword [ebp - 4], 0
lea edi, [ebx + 0xc]
mov dword [ebx], vtable.RC::RCSdkTlMonitorProcessor.0
mov byte [ebx + 8], 0
mov dword [ebp - 0x14], edi
push 0x148
mov dword [edi], vtable.RC::RCSdkMonitorCtrlMgr.0
call fcn.101611e4
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
lea eax, [esi + 0x20]
mov dword [esi], 0
xor ecx, ecx
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 [ebp - 0x1c], eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 2
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], 7
mov word [eax + 0x18], cx
mov byte [ebp - 4], 3
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], 7
mov word [eax + 0x30], cx
mov byte [ebp - 4], 4
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], 7
mov word [eax + 0x48], cx
mov byte [ebp - 4], 6
lea edx, [esi + 0x80]
mov dword [ebp - 0x1c], edx
mov byte [edx], cl
lea ecx, [edx + 8]
mov dword [ebp - 0x20], ecx
mov dword [ecx], 0
add ecx, 8
call fcn.100092a0
mov byte [ebp - 4], 8
xor eax, eax
mov dword [edx + 0xb8], 0
mov dword [edx + 0xbc], 7
mov word [edx + 0xa8], ax
mov byte [ebp - 4], 0xa
mov byte [esi + 0x140], al
mov byte [ebp - 4], al
mov dword [edi + 4], esi
mov byte [ebp - 4], 0xb
lea ecx, [edi + 8]
mov dword [ebp - 0x20], ecx
mov dword [ecx], vtable.RC::RCSdkMonConfigMgr.0
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], 7
mov word [ecx + 4], ax
mov byte [ebp - 4], 0xc
call fcn.1006f030
mov byte [ebp - 4], 0xd
mov byte [edi + 0x24], 0
mov dword [ebp - 4], 0xffffffff
mov eax, ebx
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 0x10047fb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016d8f7
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10200854]
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 word [esi + 0x30], 0x101
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10047ff1
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi], 0
mov dword [esi + 0x2c], eax
jne 0x1004807a
push 0xc
call fcn.101611e4
add esp, 4
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push esi
movq qword [eax], xmm0
mov ecx, eax
push 0x10048280
mov dword [eax + 8], 0
call fcn.100fafe0
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov edi, dword [esi]
cmp edi, ebx
je 0x10048073
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test ebx, ebx
je 0x10048057
push 1
lea eax, [ebx + 4]
push eax
call ecx
mov edi, dword [esi]
mov ecx, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
test edi, edi
je 0x1004806f
push 0xffffffffffffffff
lea eax, [edi + 4]
push eax
call ecx
sub eax, 1
jne 0x1004806f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov dword [esi], ebx
mov edi, ebx
mov ecx, edi
call fcn.100fb240
cmp dword [0x10208ecc], 0
je 0x1004811c
push 0
mov ecx, 0x10208ecc
call fcn.10125700
mov eax, dword [0x10208ecc]
cmp byte [eax + 0x54], 0
je 0x1004811c
cmp dword [eax + 0x58], 4
jb 0x1004811c
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0xc
push 0x101b6860
call fcn.10004820
push 0x43
push str.RC::RCSoftMgrHelper::Start
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipslogic_src_softmgrhelper_rcsoftmgrhelper.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x10208ecc
push eax
push 4
call fcn.10126060
test bl, bl
je 0x1004810d
lea eax, [ebp - 0x28]
mov ecx, 0x10208ecc
push eax
call fcn.10126380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100047b0
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.101611d3
mov esp, ebp
pop ebp
ret
Function at 0x1005ee30
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101719cf
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10200854]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edi, [ecx + 0xc]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 2
lea esi, [edi + 0x58]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 5
lea ecx, [esi + 0x30]
call fcn.100047b0
mov byte [ebp - 4], 4
lea ecx, [esi + 0x18]
call fcn.100047b0
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.100047b0
mov byte [ebp - 4], 1
lea ecx, [edi + 0x34]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
call fcn.100047b0
mov byte [ebp - 4], 0
lea ecx, [edi + 0x18]
call fcn.100047b0
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.100047b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100618b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, dword [0x10200854]
xor eax, esp
mov dword [esp + 0xa4], eax
push esi
mov esi, ecx
mov eax, edx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], ecx
mov dword [ecx], 0
push edi
test esi, esi
je 0x10061af3
test eax, eax
je 0x10061af3
cmp eax, 0xe
jb 0x10061af3
movzx eax, byte [esi + 0xd]
cdq
mov edi, eax
mov ecx, edx
movzx eax, byte [esi + 0xc]
shld ecx, edi, 8
cdq
shl edi, 8
add edi, eax
movzx eax, byte [esi + 0xb]
adc ecx, edx
cdq
shld ecx, edi, 8
shl edi, 8
add edi, eax
movzx eax, byte [esi + 0xa]
adc ecx, edx
cdq
shld ecx, edi, 8
shl edi, 8
add edi, eax
movzx eax, byte [esi + 9]
adc ecx, edx
cdq
shld ecx, edi, 8
shl edi, 8
add edi, eax
movzx eax, byte [esi + 8]
adc ecx, edx
cdq
shld ecx, edi, 8
shl edi, 8
add edi, eax
movzx eax, byte [esi + 7]
adc ecx, edx
cdq
shld ecx, edi, 8
shl edi, 8
add edi, eax
movzx eax, byte [esi + 6]
adc ecx, edx
cdq
shld ecx, edi, 8
shl edi, 8
add edi, eax
mov eax, edi
adc ecx, edx
or eax, ecx
je 0x10061af3
push 0x102087ec
push edi
call fcn.101616aa
mov esi, eax
add esp, 8
test esi, esi
je 0x10061af3
push edi
push 0
push esi
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov cl, byte [eax]
mov byte [esp + 0xf], cl
cmp cl, 1
ja 0x10061aea
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff2
mov dword [esp + 0x14], ecx
cmp ecx, 5
jb 0x10061aea
push ecx
lea edx, [eax + 1]
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x4c], 0
call fcn.10135ca0
add esp, 4
test eax, eax
jne 0x10061aea
push ecx
mov edx, ecx
lea ecx, [esp + 0x3c]
call fcn.10135d00
add esp, 4
test eax, eax
jne 0x10061aea
movups xmm0, xmmword [esp + 0x20]
mov dword [esp + 0x5c], eax
mov edx, edi
mov dword [esp + 0x80], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
push ecx
lea eax, [esp + 0x1c]
mov dword [esp + 0x54], esi
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x44]
add eax, 0xe
mov dword [esp + 0x6c], edi
push eax
movups xmmword [esp + 0x48], xmm0
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], 1
call fcn.10135a10
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x10061a89
cmp dword [esp + 0x18], 3
mov eax, 6
cmove edi, eax
push dword [esp + 0x48]
mov eax, dword [esp + 0x60]
push 0x10200b18
mov dword [esp + 0x18], eax
call dword [0x10200b1c]
add esp, 8
test edi, edi
jne 0x10061aea
cmp byte [esp + 0xf], 1
mov edi, dword [esp + 0x10]
jne 0x10061ace
push 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push ecx
mov edx, edi
mov ecx, esi
call fcn.101343e0
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov dword [eax], edi
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0xa4]
xor ecx, esp
call fcn.101611d3
mov esp, ebp
pop ebp
ret
push esi
call fcn.1016168e
add esp, 4
mov ecx, dword [esp + 0xac]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.101611d3
mov esp, ebp
pop ebp
ret
Function at 0x10066790
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10172967
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10200854]
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 ebx, dword [ebp + 8]
lea edi, [ecx + 8]
push 4
mov dword [ebp - 0x58], 0
call fcn.101611e4
add esp, 4
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0
mov dword [eax], 0
mov dword [eax], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.10107c40
mov byte [ebp - 4], 2
lea eax, [ebp - 0x50]
push eax
push edi
lea ecx, [ebp - 0x58]
call fcn.10107f80
test al, al
jne 0x1006681b
mov byte [ebp - 0x51], al
jmp 0x1006682b
mov edx, dword [ebp - 0x30]
mov ecx, edi
and edx, 0xfffffffe
call fcn.10111390
mov byte [ebp - 0x51], al
mov esi, dword [ebp - 0x58]
mov ecx, dword [esi]
cmp ecx, 0xffffffff
je 0x10066846
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x10066846
mov dword [esi], 0xffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.100047b0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
cmp eax, 0xffffffff
je 0x10066871
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x10066871
mov dword [esi], 0xffffffff
push 4
push esi
call fcn.10161214
add esp, 8
mov dword [ebp - 0x58], 0
cmp byte [ebp - 0x51], 0
je 0x100668da
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x10066893
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x100668b1
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x100668ae
mov eax, dword [edi]
push eax
call esi
cmp dword [edi + 0x14], 8
jb 0x100668b9
mov edi, dword [edi]
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x100668c3
mov eax, dword [ebx]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x100668de
cmp dword [ebx + 0x14], 8
jb 0x100668d7
mov ebx, dword [ebx]
push ebx
call esi
xor al, al
jmp 0x100668e0
mov al, 1
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.101611d3
mov esp, ebp
pop ebp
ret 4
Function at 0x1006c810
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
mov edx, ecx
test edi, edi
je 0x1006c84c
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x1006c84b
not dword [edx]
movzx eax, byte [edi]
lea edi, [edi + 1]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x101bb558]
xor eax, ecx
mov dword [edx], eax
sub esi, 1
jne 0x1006c827
not eax
mov dword [edx], eax
pop esi
pop edi
pop ebp
ret 8
Function at 0x10076140
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10200854]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
cmp dword [eax + 0x14], 8
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jb 0x10076171
mov eax, dword [eax]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push eax
push accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100761c8
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x100761a1
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
jb 0x100761a9
mov edi, dword [edi]
add eax, eax
push eax
push esi
push 2
push 0
push edi
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0xc]
test eax, eax
je 0x100761dc
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101611d3
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.101611d3
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1007b260
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016dd60
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10200854]
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, ecx
lea eax, [edi + 4]
mov dword [edi + 0x28], 1
push eax
push 0
push 4
lea eax, [edi + 0x18]
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
test esi, esi
setne bl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x2c], eax
test esi, esi
jne 0x1007b2c4
cmp eax, 0x3e5
sete bl
test bl, bl
jne 0x1007b35f
cmp dword [0x10208ecc], 0
je 0x1007b41a
push 0
mov ecx, 0x10208ecc
call fcn.10125700
mov eax, dword [0x10208ecc]
cmp byte [eax + 0x54], bl
je 0x1007b41a
cmp dword [eax + 0x58], 2
jb 0x1007b41a
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [edi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x1007b330
mov eax, dword [eax]
push dword [ebp - 0x2c]
push eax
push dword [edi]
lea eax, [ebp - 0x28]
push edi
push str.request_next_failed__p__p__s___d
push eax
call fcn.100620d0
add esp, 0x18
lea eax, [ebp - 0x28]
push 0x34
push str.RC::RCNamePipeServer::RCPipeClientNode::RequestNext
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcnamepipeserver.cpp
push eax
push 2
jmp 0x1007b3ef
cmp dword [0x10208ecc], 0
je 0x1007b41a
push 0
mov ecx, 0x10208ecc
call fcn.10125700
mov eax, dword [0x10208ecc]
cmp byte [eax + 0x54], 0
je 0x1007b41a
cmp dword [eax + 0x58], 5
jb 0x1007b41a
mov bh, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
lea eax, [edi + 0x40]
cmp dword [eax + 0x14], 8
jb 0x1007b3c8
mov eax, dword [eax]
push eax
push dword [edi]
lea eax, [ebp - 0x28]
push edi
push str.request_next__p__p__s
push eax
call fcn.100620d0
add esp, 0x14
lea eax, [ebp - 0x28]
push 0x3c
push str.RC::RCNamePipeServer::RCPipeClientNode::RequestNext
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_srclibrtglobalutils_sdkclientcon_rcnamepipeserver.cpp
push eax
push 5
mov ecx, 0x10208ecc
call fcn.10126060
test bh, bh
je 0x1007b40b
lea eax, [ebp - 0x28]
mov ecx, 0x10208ecc
push eax
call fcn.10126380
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100047b0
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 - 0x10]
xor ecx, ebp
call fcn.101611d3
mov esp, ebp
pop ebp
ret