joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45c42a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00438ab0
mov eax, dword [0x47a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0044c4e4
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x45c46c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x45c5c8
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0045bb80
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x47c450]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.00458d11
mov ecx, dword [esi*4 + 0x47c450]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0x45c5c1
cmp eax, dword [ecx + edi + 0x24]
jne 0x45c5c1
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45c5c1
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00458d11
add esp, 0x14
test edx, edx
jl 0x45c5c1
jg 0x45c537
test eax, eax
jb 0x45c5c1
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x45c5c1
jl 0x45c551
cmp dword [ebp - 0x1008], eax
ja 0x45c5c1
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x45c56f
test ebx, ebx
je 0x45c5a8
cmp ecx, edi
jae 0x45c5a8
mov al, byte [ecx]
cmp al, 0xd
jne 0x45c589
lea eax, [edi - 1]
cmp ecx, eax
jae 0x45c595
cmp byte [ecx + 1], 0xa
jne 0x45c595
inc ecx
jmp 0x45c595
movzx eax, al
movsx eax, byte [eax + 0x47a9d0]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x45c56f
cmp edx, ebx
jne 0x45c56f
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x45c5c6
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004378e6
leave
ret
Function at 0x460d53
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00460ccf
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x460ec2
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x460ec2
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x460e77
jg 0x460daf
test eax, eax
je 0x460e6d
push 1
push 0x1000
call fcn.0044e7f3
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x460dd2
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x460e64
push 0x8000
push ebx
call fcn.00449bd4
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x460dfb
jg 0x460df6
cmp ecx, 0x1000
jb 0x460dfb
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00457ee5
add esp, 0x10
cmp eax, 0xffffffff
je 0x460e40
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x460df6
jl 0x460e27
test ecx, ecx
jne 0x460de8
push dword [ebp - 0xc]
push ebx
call fcn.00449bd4
push esi
call fcn.0044b572
add esp, 0xc
xor ebx, ebx
jmp 0x460ed0
cmp byte [edi + 0x24], 0
je 0x460e57
cmp dword [edi + 0x20], 5
jne 0x460e57
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x460e62
mov ebx, dword [edi + 0x18]
jmp 0x460e64
xor ebx, ebx
push esi
call fcn.0044b572
pop ecx
jmp 0x460ed0
test ecx, ecx
jg 0x460e39
jl 0x460e77
test eax, eax
jae 0x460e39
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00458d2f
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x460e97
cmp byte [edi + 0x1c], 0
je 0x460e39
jmp 0x460ec8
push ebx
call fcn.00451f1a
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x460e39
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x460ed0
cmp byte [edi + 0x1c], 0
je 0x460ecd
mov ebx, dword [edi + 0x18]
jmp 0x460ed0
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00458d2f
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402240
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x501814]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
test ecx, ecx
je 0x4022bf
test eax, eax
je 0x4022bf
test edi, edi
je 0x4022bf
test esi, esi
je 0x4022bf
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], 0
push edx
push eax
push ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x4022bf
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push 0
push edi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x14]
test eax, eax
je 0x4022d1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a559d
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 3
jne 0x4022bf
cmp dword [ebp - 0xc], 4
jne 0x4022bf
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
pop edi
mov eax, 1
pop esi
call fcn.004a559d
mov esp, ebp
pop ebp
ret
Function at 0x4175c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c3da0
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x501814]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
je 0x417696
mov dword [esi], 0x4d0f90
mov dword [esi + 0x48], 0x4d0fa4
mov dword [esi + 0x54], 0x4d0fac
mov dword [esi + 0x60], 0x4d0fb8
mov dword [esi + 0x3c], vtable.ControlSvc::INodeObject.0
mov eax, dword [esi + 0x48]
mov dword [esi + 0x44], vtable.ControlSvc::IConnectorObject.0
mov eax, dword [eax + 4]
mov dword [eax + esi + 0x48], vtable.ControlSvc::IConnectorObject.1.0
mov eax, dword [esi + 0x54]
mov dword [esi + 0x50], vtable.ControlSvc::IConnectionObject.0
mov eax, dword [eax + 4]
mov dword [eax + esi + 0x54], vtable.ControlSvc::IConnectionObject.1.0
mov eax, dword [esi + 0x54]
mov eax, dword [eax + 8]
mov dword [eax + esi + 0x54], vtable.ControlSvc::IConnectionObject.2.0
mov eax, dword [esi + 0x60]
mov dword [esi + 0x5c], vtable.ControlSvc::IChannelObject.0
mov eax, dword [eax + 4]
mov dword [eax + esi + 0x60], vtable.ControlSvc::IChannelObject.1.0
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 8]
mov dword [eax + esi + 0x60], vtable.ControlSvc::IChannelObject.2.0
mov eax, dword [esi + 0x60]
mov eax, dword [eax + 0xc]
mov dword [eax + esi + 0x60], vtable.ControlSvc::IChannelObject.3.0
mov dword [ebp - 4], 3
mov dword [ebp - 0x10], 0xf
mov edi, dword [ebp + 8]
test edi, edi
jne 0x4176a1
xor eax, eax
jmp 0x4176ac
mov eax, dword [edi + 4]
mov eax, dword [eax + 0xc]
add eax, 4
add eax, edi
push 0
push eax
mov ecx, esi
call fcn.00417920
mov eax, dword [esi]
mov dword [ebp - 4], 4
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.ControlSvc::CChannelObject.0
mov eax, dword [esi]
mov eax, dword [eax + 8]
mov dword [esi + eax], vtable.ControlSvc::CChannelObject.1.0
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
mov dword [esi + eax], vtable.ControlSvc::CChannelObject.2.0
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
mov dword [esi + eax], vtable.ControlSvc::CChannelObject.3.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x3c]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov ecx, dword [eax + 8]
lea eax, [ecx - 0x44]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
lea eax, [ecx - 0x50]
mov dword [ecx + esi - 4], eax
mov ecx, edi
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
lea eax, [edx - 0x5c]
mov dword [edx + esi - 4], eax
mov eax, dword [edi]
call dword [eax]
mov ecx, edi
mov eax, dword [eax]
mov dword [esi + 0x30], eax
mov eax, dword [edi]
call dword [eax + 4]
mov dword [esi + 0x34], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x43e2a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x501814]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x43e2c9
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a559d
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push ebx
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.004941b0
xorps xmm0, xmm0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
call fcn.004941b0
push 0
push 0
lea eax, [ebp - 0x10]
push 0x23
push eax
call fcn.0049df70
add esp, 0x10
test eax, eax
je 0x43e3bd
push str.Famatech
lea ecx, [ebp - 0x10]
call fcn.004943e0
test eax, eax
je 0x43e3bd
push 0
lea ecx, [ebp - 0x10]
call fcn.004942d0
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push eax
call ebx
test eax, eax
jne 0x43e34b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43e3bd
push 0x4d2690
lea ecx, [ebp - 0x10]
call fcn.004943e0
test eax, eax
je 0x43e3bd
push 0
lea ecx, [ebp - 0x10]
call fcn.004942d0
push eax
call ebx
test eax, eax
jne 0x43e37a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43e3bd
push 0x4d26a8
lea ecx, [ebp - 0x10]
call fcn.004943e0
test eax, eax
je 0x43e3bd
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00494970
lea ecx, [ebp - 0x10]
call fcn.004941d0
push str.service.log
lea ecx, [ebp - 0x1c]
call fcn.004943e0
test eax, eax
je 0x43e3c5
push esi
lea ecx, [ebp - 0x1c]
call fcn.00494970
mov bl, 1
jmp 0x43e3c7
lea ecx, [ebp - 0x10]
call fcn.004941d0
xor bl, bl
lea ecx, [ebp - 0x1c]
call fcn.004941d0
mov ecx, dword [ebp - 4]
mov al, bl
pop ebx
xor ecx, ebp
pop esi
call fcn.004a559d
mov esp, ebp
pop ebp
ret
Function at 0x444b50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x444b5e
pop ebp
ret 4
mov edx, dword [eax + 0x10]
cmp edx, 0x2c
ja case.0x444b6a.2
jmp dword [edx*4 + 0x444da8]
add ecx, 0xffffcc00
call fcn.00441810
pop ebp
ret 4
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00441860
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.004419a0
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00441ba0
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00441e40
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00441ea0
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00443a80
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00443c30
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00443990
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00443db0
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00443dc0
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00443ea0
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00443f80
add eax, 0x1c
push eax
call fcn.0046c100
add esp, 4
mov eax, 1
pop ebp
ret 4
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00444030
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.004440c0
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00444130
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00444200
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00444460
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00444940
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00444a70
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00444e60
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.004457e0
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00445d80
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00445700
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00446310
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00446400
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.004467b0
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.004467e0
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00446950
add eax, 0x20
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00446980
add ecx, 0xffffcc00
call fcn.00446be0
pop ebp
ret 4
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00446cb0
add ecx, 0xffffcc00
call fcn.00447370
pop ebp
ret 4
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.004474c0
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.00447d40
mov dword [ebp + 8], eax
add ecx, 0xffffcc00
pop ebp
jmp fcn.004483f0
Function at 0x44a820
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x501814]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x34]
push edi
call fcn.00402880
add esp, 4
test eax, eax
jne 0x44a85c
lea ecx, [esi + 0x18]
call fcn.00402be0
test eax, eax
jne 0x44a85c
push 1
push edi
call fcn.004028a0
add esp, 8
lea ebx, [esi + 0x38]
mov ecx, ebx
call fcn.0049d710
test edx, edx
jne 0x44a871
cmp eax, 0x100000
jb 0x44a8d3
xorps xmm0, xmm0
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x10]
movq qword [ebp - 0x10], xmm0
call fcn.004941b0
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.004942d0
push eax
call fcn.0049db50
add esp, 8
test eax, eax
je 0x44a8d7
mov ecx, ebx
call fcn.0049d290
push 1
lea ecx, [ebp - 0x10]
call fcn.004942d0
push eax
mov ecx, esi
call fcn.004942d0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, esi
call fcn.00448540
test al, al
je 0x44a8d7
lea ecx, [ebp - 0x10]
call fcn.004941d0
mov bl, 1
jmp 0x44a8e1
lea ecx, [ebp - 0x10]
call fcn.004941d0
xor bl, bl
lea ecx, [esi + 0x18]
call fcn.00402de0
test eax, eax
jne 0x44a8f8
push 1
push edi
call fcn.004028a0
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a559d
mov esp, ebp
pop ebp
ret
Function at 0x458ec0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
push ebx
push esi
push edi
test eax, eax
je 0x458fdb
mov dword [eax], 0
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x458eea
mov dword [eax], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x458efe
mov dword [eax + 4], 0
mov dword [eax], 0
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x458f09
xor edi, edi
jmp 0x458f41
mov edx, ebx
mov edi, 0x811c9dc5
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x458f13
sub edx, ecx
mov esi, 0
sar edx, 1
je 0x458f41
nop dword [eax]
movzx ecx, word [ebx + esi*2]
inc esi
imul edi, edi, 0x1000193
xor edi, ecx
cmp esi, edx
jb 0x458f30
mov eax, dword [ebp + 0xc]
and edi, 0x3ff
mov ecx, dword [ebp - 4]
mov dword [eax], 0
lea eax, [edi + edi*2]
lea eax, [ecx + eax*4]
mov dword [ebp - 8], eax
add eax, 0xc
mov esi, dword [eax]
test esi, esi
je 0x458fe6
cmp esi, eax
je 0x458fe6
lea edi, [esi + 8]
test edi, edi
je 0x458fe6
mov ecx, edi
call fcn.004948d0
test ebx, ebx
je 0x458fb0
test eax, eax
je 0x458fb4
mov ecx, ebx
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x458fab
test dx, dx
je 0x458fa7
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x458fab
add ecx, 4
add eax, 4
test dx, dx
jne 0x458f85
xor eax, eax
jmp 0x458fb0
sbb eax, eax
or eax, 1
test eax, eax
je 0x458fc6
test esi, esi
je 0x458fe6
mov esi, dword [esi]
test esi, esi
je 0x458fe6
mov eax, dword [ebp - 8]
add eax, 0xc
jmp 0x458f69
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x458fdb
mov dword [eax], 1
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push ebx
call fcn.0045a3a0
mov edi, eax
mov eax, dword [ebp - 4]
and edi, 0x3ff
push 0x4d88a4
push 0x18
lea ecx, [edi + edi*2]
lea ebx, [eax + ecx*4]
call fcn.004a55e9
mov esi, eax
add esp, 0xc
test esi, esi
je 0x458fdb
lea ecx, [esi + 8]
mov dword [esi], esi
mov dword [esi + 4], esi
call fcn.004941b0
lea ecx, [esi + 8]
lea eax, [ecx + 0xc]
mov dword [eax], 0
lea edx, [ebx + 0xc]
mov dword [ebp + 0x14], eax
cmp esi, dword [esi + 4]
jne 0x459046
mov dword [esi], edx
mov eax, dword [edx + 4]
mov dword [esi + 4], eax
mov eax, dword [edx + 4]
mov dword [eax], esi
mov dword [edx + 4], esi
test ecx, ecx
je 0x458fdb
push dword [ebp + 8]
call fcn.00494610
test eax, eax
jne 0x45906b
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
push esi
call dword [eax + 4]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x459077
mov dword [eax + 4], edi
mov dword [eax], esi
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [ecx], eax
mov eax, dword [ebp - 4]
pop ebx
inc dword [eax + 0x3008]
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x459310
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x501814]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x20]
push ebx
mov ebx, dword [ebp + 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x28]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
movq qword [ebp - 0x10], xmm0
mov dword [ebp - 8], 0
call fcn.004941b0
test edi, edi
je 0x45942d
test esi, esi
je 0x459420
push 0x20
push esi
call fcn.004a80d6
add esp, 8
test eax, eax
je 0x4593dd
cmp word [esi], 0x22
je 0x4593dd
push 0x4d44d4
lea ecx, [ebp - 0x10]
call fcn.00494610
test eax, eax
je 0x4594a3
push esi
lea ecx, [ebp - 0x10]
call fcn.004943e0
test eax, eax
je 0x4594a3
push 0x4d44d4
lea ecx, [ebp - 0x10]
call fcn.004943e0
test eax, eax
jne 0x4593ee
lea ecx, [ebp - 0x10]
call fcn.004941d0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a559d
mov esp, ebp
pop ebp
ret 0x28
push esi
lea ecx, [ebp - 0x10]
call fcn.00494610
test eax, eax
je 0x4594a3
push 0x4d44c8
lea ecx, [ebp - 0x10]
call fcn.004943e0
test eax, eax
je 0x4594a3
push edi
lea ecx, [ebp - 0x10]
call fcn.004943e0
test eax, eax
je 0x4594a3
lea ecx, [ebp - 0x10]
call fcn.004948d0
mov ecx, eax
jmp 0x45943f
push edi
lea ecx, [ebp - 0x10]
call fcn.00494610
test eax, eax
je 0x4594a3
lea ecx, [ebp - 0x10]
call fcn.004948d0
mov ecx, eax
test esi, esi
jne 0x45943f
test ecx, ecx
je 0x4594a3
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
push eax
test edx, edx
mov dword [ebp - 0x54], 0x44
lea eax, [ebp - 0x54]
xorps xmm0, xmm0
cmovne eax, edx
movlpd qword [ebp - 0x50], xmm0
push eax
push dword [ebp - 0x6c]
movlpd qword [ebp - 0x48], xmm0
push dword [ebp - 0x70]
movlpd qword [ebp - 0x40], xmm0
push dword [ebp + 0x1c]
movlpd qword [ebp - 0x38], xmm0
push dword [ebp + 0x18]
movlpd qword [ebp - 0x30], xmm0
push dword [ebp - 0x74]
movlpd qword [ebp - 0x28], xmm0
push dword [ebp - 0x78]
movlpd qword [ebp - 0x20], xmm0
push ecx
push esi
movlpd qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x64], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4594c0
lea ecx, [ebp - 0x10]
call fcn.004941d0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a559d
mov esp, ebp
pop ebp
ret 0x28
test ebx, ebx
je 0x4594cd
movups xmm0, xmmword [ebp - 0x64]
movups xmmword [ebx], xmm0
jmp 0x4594d6
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x64]
mov esi, dword [ebp - 0x7c]
mov ecx, esi
call fcn.00492cd0
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x10]
mov dword [esi + 0xc], eax
call fcn.004941d0
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a559d
mov esp, ebp
pop ebp
ret 0x28
Function at 0x459f30
Capabilities:
Reference sql statements
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7b1d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x501814]
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 esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test edi, edi
je 0x45a0d5
test ebx, ebx
je 0x45a0d5
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x34]
movq qword [ebp - 0x34], xmm0
call fcn.004941b0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.0049a280
add esp, 8
test eax, eax
jne 0x459fb7
lea ecx, [ebp - 0x34]
mov edi, 0x80070008
call fcn.004941d0
mov eax, edi
jmp 0x45a0da
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.004941b0
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 1
call fcn.004948b0
push eax
lea eax, [ebp - 0x28]
push str.SELECT__FROM_Win32_NetworkAdapter_WHERE_GUID_ls
push eax
call fcn.004532b0
add esp, 0xc
test eax, eax
jne 0x459ffa
mov edi, 0x80070008
jmp 0x45a0c1
lea ecx, [ebp - 0x28]
call fcn.004942d0
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x459ff0
mov dword [ebp - 0x18], 0
mov eax, dword [edi]
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x30
push esi
push 0x4d4530
push edi
mov byte [ebp - 4], 3
call dword [eax + 0x50]
mov edi, eax
mov eax, dword [ebp - 0x18]
test edi, edi
js 0x45a0a5
test eax, eax
jne 0x45a049
mov edi, 0x8007054f
jmp 0x45a0a5
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
mov ecx, dword [eax]
push edx
lea edx, [ebp - 0x14]
mov byte [ebp - 4], 6
push edx
push 1
push 0xea60
push eax
call dword [ecx + 0x10]
mov edi, eax
mov eax, dword [ebp - 0x14]
test edi, edi
jne 0x45a08d
test eax, eax
je 0x45a08d
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.00456af0
mov eax, dword [ebp - 0x14]
xor edi, edi
mov byte [ebp - 4], 9
test eax, eax
je 0x45a0a2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x45a0ba
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x18], 0
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea ecx, [ebp - 0x28]
call fcn.004941d0
lea ecx, [ebp - 0x34]
call fcn.004941d0
mov eax, edi
jmp 0x45a0da
mov eax, 0x80070057
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.004a559d
mov esp, ebp
pop ebp
ret
Function at 0x45a3a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x45a3b0
xor eax, eax
pop ebx
pop ebp
ret
mov edx, ebx
push esi
push edi
mov edi, 0x811c9dc5
lea ecx, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x45a3c0
sub edx, ecx
mov esi, 0
sar edx, 1
je 0x45a3f1
nop word [eax + eax]
movzx ecx, word [ebx + esi*2]
inc esi
imul edi, edi, 0x1000193
xor edi, ecx
cmp esi, edx
jb 0x45a3e0
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret