joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407029
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.004047a0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4070c4
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x46c3bc]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x4070c4
cmp eax, 1
je 0x4070e5
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4070c4
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x407091
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x4070c0
xor eax, eax
inc eax
jmp 0x407104
cmp edi, eax
jae 0x4070c8
xor eax, eax
jmp 0x407104
cmp eax, esi
jae 0x4070cf
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x46c3bc]
jmp 0x4070e8
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x109ee
Capabilities:
Create device object

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
call fcn.000109b5
pop ebp
jmp fcn.00010906
Function at 0x431002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..retplne
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x26e322ba
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
mov eax, section..reloc
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6f1d694a
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x4330c0
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x408e30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0xffff
mov esi, ecx
cmp ax, di
jne 0x408e65
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x408ea3
mov edx, dword [esi + 0x30]
mov ebx, dword [edx]
lea eax, [ecx + ebx*2]
cmp ecx, eax
jae 0x408ea3
lea ecx, [ebx - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 2]
mov dword [edx], ecx
mov word [esi], di
pop ebx
mov ax, di
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x408f6c
mov ebx, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [ebx], eax
jne 0x408ecd
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [ebx], ecx
mov eax, dword [esi + 0x1c]
sar edx, 1
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x408eda
push dword [esi + 0x4c]
push edi
jmp 0x408f15
movzx eax, di
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x26]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x408f6c
cmp eax, 1
jle 0x408f3f
cmp eax, 3
jne 0x408f6c
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.005071a6
mov ecx, 0xffff
add esp, 8
cmp ax, cx
movzx eax, di
jne 0x408f71
pop ebx
pop edi
mov eax, ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub ebx, eax
je 0x408f5c
push dword [esi + 0x4c]
push ebx
push 1
push eax
call fcn.00507bfe
add esp, 0x10
cmp ebx, eax
jne 0x408f6c
lea eax, [ebp - 0x28]
mov byte [esi + 0x3e], 1
cmp dword [ebp - 0x30], eax
jne 0x408e8d
mov eax, 0xffff
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.00500b45
mov esp, ebp
pop ebp
ret 4
Function at 0x4099f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x409a1b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040a1c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], eax
test eax, eax
je 0x409a3d
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x409a3f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test edi, edi
jl 0x409ac3
jg 0x409a54
test esi, esi
je 0x409ac3
test ecx, ecx
jl 0x409a9d
jg 0x409a5e
test eax, eax
je 0x409a9d
cmp edi, ecx
jg 0x409a72
jl 0x409a68
cmp esi, eax
jae 0x409a72
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
push eax
push dword [ebp + 8]
push dword [esp + 0x1c]
call fcn.00503a80
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x409aa0
mov edx, dword [ebp + 8]
test edi, edi
jl 0x409ac3
jg 0x409aaa
test esi, esi
je 0x409ac3
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x409ac3
push eax
push esi
push 1
push edx
call fcn.00507bfe
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409ae0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x38], 0
je 0x409b0b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040a2a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x409b2d
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
jmp 0x409b2f
xor eax, eax
cdq
mov dword [esp + 0xc], eax
mov ecx, edx
mov dword [esp + 0x10], ecx
test ebx, ebx
jl 0x409bce
jg 0x409b4c
test esi, esi
je 0x409bce
test ecx, ecx
jl 0x409b99
jg 0x409b56
test eax, eax
je 0x409b99
cmp ebx, ecx
jg 0x409b6a
jl 0x409b60
cmp esi, eax
jae 0x409b6a
mov eax, esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebx
push eax
push dword [esp + 0x18]
push dword [ebp + 8]
call fcn.00503a80
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edi + 0x2c]
add edx, ecx
sub esi, ecx
mov dword [esp + 0xc], edx
sbb ebx, dword [esp + 0x10]
sub dword [eax], ecx
mov eax, dword [edi + 0x1c]
add dword [eax], ecx
jmp 0x409ba0
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test ebx, ebx
jl 0x409bce
jg 0x409baa
test esi, esi
je 0x409bce
cmp dword [edi + 0x4c], 0
je 0x409bce
mov ecx, edi
call fcn.0040b160
push dword [edi + 0x4c]
push esi
push 1
push dword [esp + 0x18]
call fcn.0050823c
add esp, 0x10
sub esi, eax
sbb ebx, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
pop edi
pop esi
sbb edx, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x409f60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x409f90
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x409fcc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x409fcc
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x40a0b3
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x409ff4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x40a027
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.00506c6d
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
test eax, eax
js 0x40a0b3
cmp eax, 1
jle 0x40a086
cmp eax, 3
jne 0x40a0b3
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.00506c6d
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40a0a3
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00507bfe
add esp, 0x10
cmp edi, eax
jne 0x40a0b3
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x409fb7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00500b45
mov esp, ebp
pop ebp
ret 4
Function at 0x40afa0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x40b04d
cmp byte [esi + 0x3e], 0
je 0x40b04d
mov eax, dword [esi]
push 0xffff
call dword [eax + 0xc]
mov ecx, 0xffff
cmp cx, ax
je 0x40b003
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x40b015
sub eax, 1
je 0x40b019
sub eax, 2
je 0x40b04d
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3e], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40b036
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00507bfe
add esp, 0x10
cmp edi, eax
jne 0x40b003
cmp byte [esi + 0x3e], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00500b45
mov esp, ebp
pop ebp
ret

Function at 0x40b190
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 0
je 0x40b231
cmp byte [esi + 0x3d], 0
je 0x40b231
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x40b1e7
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x40b1f9
sub eax, 1
je 0x40b1fd
sub eax, 2
je 0x40b231
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x40b21a
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.00507bfe
add esp, 0x10
cmp edi, eax
jne 0x40b1e7
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00500b45
mov esp, ebp
pop ebp
ret
Function at 0x412d20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov dword [esi + 0x10], 0
call fcn.00412f10
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x412d74
movaps xmm0, xmmword [0x564820]
lea ecx, [ebp - 0x1c]
push ecx
push eax
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x6e697274
mov dword [ebp - 8], 0x577367
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x208], eax
mov eax, dword [edi + 0x208]
push 0
push 0
call eax
mov edi, eax
lea ecx, [edi + edi]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test edi, edi
je 0x412ef2
call fcn.00412f10
mov dword [ebp - 0x4c], eax
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x412ddd
movaps xmm0, xmmword [0x564820]
lea eax, [ebp - 0x1c]
push eax
push ecx
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 0x6e697274
mov dword [ebp - 8], 0x577367
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x4c]
mov dword [ecx + 0x208], eax
mov eax, ecx
mov eax, dword [eax + 0x208]
push ebx
push edi
call eax
test eax, eax
je 0x412ef2
xorps xmm0, xmm0
shr edi, 2
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x48], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [ebp - 0x4c], edi
test edi, edi
je 0x412edc
nop dword [eax]
call fcn.00412f10
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x412e5a
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x44746547
push ecx
push eax
mov dword [ebp - 0x28], 0x65766972
mov dword [ebp - 0x24], 0x65707954
mov word [ebp - 0x20], 0x57
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x20c], eax
mov eax, dword [edi + 0x20c]
push ebx
call eax
cmp eax, 3
jne 0x412e6b
inc dword [esi + 0x10]
call fcn.00412f10
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x412e9c
movaps xmm0, xmmword [0x5648e0]
lea ecx, [ebp - 0x18]
push ecx
push eax
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 8], 0x577845
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0x204], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x40]
push eax
mov eax, dword [edi + 0x204]
push ebx
call eax
test eax, eax
je 0x412ecf
mov ecx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
shrd ecx, eax, 0x1e
mov eax, dword [ebp - 0x3c]
add dword [esi + 0x18], ecx
mov ecx, dword [ebp - 0x40]
shrd ecx, eax, 0x1e
add dword [esi + 0x1c], ecx
add ebx, 8
sub dword [ebp - 0x4c], 1
jne 0x412e20
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00500b45
mov esp, ebp
pop ebp
ret
Function at 0x414580
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530648
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x57c54c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov edi, ecx
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4146cb
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
push edi
push 0x552d6c
push 1
push 0
push 0x552e3c
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4146c5
push str.ROOTCIMV2
lea ecx, [ebp - 0x10]
mov dword [ebx], 0
call fcn.00411ec0
mov dword [ebp - 4], 0
mov eax, dword [eax]
test eax, eax
je 0x41461d
mov edx, dword [eax]
jmp 0x41461f
xor edx, edx
mov eax, dword [edi]
push ebx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x10]
test esi, esi
je 0x414697
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x41468d
test esi, esi
je 0x41468d
mov eax, dword [esi]
test eax, eax
je 0x41466b
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x414682
push eax
call fcn.005010e5
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.005010b4
add esp, 8
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
test eax, eax
js 0x4146bd
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebx]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4146df
mov eax, dword [ebx]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [edi]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
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 0x4147c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x414819
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x414819
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x414808
cmp esi, edx
jae 0x414819
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x4147f6
cmp esi, edx
jae 0x414819
cmp word [esi], 0
je 0x414819
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4163f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0
call fcn.00415290
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x41644c
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0x4f676552
push ecx
push eax
mov dword [ebp - 0x10], 0x4b6e6570
mov dword [ebp - 0xc], 0x78457965
mov word [ebp - 8], 0x57
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x54], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi + 0x54]
push 0x2001f
push 0
push dword [ebp - 0x1c]
push ebx
call eax
test eax, eax
jne 0x416470
mov ecx, edi
call fcn.00416370
mov ecx, dword [ebp - 0x18]
mov dword [edi], ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00500b45
mov esp, ebp
pop ebp
ret 0xc
Function at 0x418580
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530daa
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x57c54c]
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, ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
call fcn.004191b0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
push 0x55fa8c
push str.kernel32.dll
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 4], eax
lea ecx, [esi + 4]
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x41866d
cmp dword [0x5806b4], 0
jne 0x418650
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x5806b4
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x418650
mov esi, dword [0x5806c0]
mov dword [0x5806c8], eax
mov dword [0x5806c4], eax
mov dword [0x5806bc], eax
test esi, esi
je 0x418643
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0x14]
push eax
push 0x40
push 0x10000
push esi
call edi
test eax, eax
je 0x4186da
mov esi, dword [esi + 4]
test esi, esi
jne 0x418626
xor eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x5806b0], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov ecx, eax
call fcn.004598a3
mov ecx, dword [ebp - 0x18]
sub esp, 0xc
call fcn.0045990c
call fcn.004595ee
push 3
call fcn.004c5150
add esp, 4
call fcn.00418fd0
push 0
mov dword [0x580608], 3
call edi
push eax
call fcn.0047d9d0
push 0x1880
call fcn.00500e07
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
push 0x1880
push 0
push esi
call fcn.00503920
add esp, 0xc
mov ecx, esi
call fcn.00442b00
mov dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [ebx + 0xc], eax
call fcn.00443780
test eax, eax
jne 0x4186e5
jmp 0x418795
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x418645
mov eax, dword [ebx + 0xc]
mov esi, dword [eax + 0x18]
lea eax, [ebp - 0x30]
push eax
call fcn.00418a50
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x418703
mov eax, dword [eax]
push eax
push 0x400
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebx + 8], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x418757
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41874d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4187b1
push edx
push ecx
call fcn.005010b4
add esp, 8
xor eax, eax
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x1c], 7
test eax, eax
je 0x418790
push 0x400
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push eax
mov dword [eax], esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, 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.00500b45
mov esp, ebp
pop ebp
ret
call fcn.00508868
int3