joyce8/EMBER2024-capa huggingface dataset:
Function at 0x742180
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x74229e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov ecx, 0x7422b4
mov edx, dword [ebx + 0x60]
call fcn.00405470
mov eax, dword [ebp - 8]
call fcn.00402de0
call fcn.00402da4
lea eax, [ebp - 0x14c]
push eax
push 0x7422c4
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x742283
lea eax, [ebp - 4]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.004053d4
mov eax, dword [ebp - 4]
mov edx, 0x7422d4
call fcn.00405570
je 0x742268
mov eax, dword [ebp - 4]
mov edx, 0x7422e0
call fcn.00405570
je 0x742268
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040ba8c
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x7422d4
call fcn.00405768
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405684
push 0x7422ec
mov eax, 0x7422fc
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x150]
push eax
push 0
push 0
push 0
push 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00741fc8
lea eax, [ebp - 0x14c]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x7421df
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7422a5
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405178
ret
Function at 0x742300
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 0x160], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x7424c5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov al, 0x30
mov byte [ebp - 0x16f], al
mov byte [ebp - 0x170], 1
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0x170]
call fcn.004190c0
lea esi, [ebp - 0x16c]
lea edi, [ebp - 0x15c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x15c]
push eax
push 0
push 0
push 1
mov eax, 0x7424dc
mov dword [ebp - 0x174], eax
lea ecx, [ebp - 0x174]
mov edx, 0x7424ec
mov eax, ebx
call fcn.00742fe8
lea eax, [ebp - 8]
mov ecx, 0x742508
mov edx, dword [ebx + 0x60]
call fcn.00405470
mov eax, dword [ebp - 8]
call fcn.00402de0
call fcn.00402da4
lea eax, [ebp - 0x14c]
push eax
push 0x742518
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x74247e
lea eax, [ebp - 4]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.004053d4
mov eax, dword [ebp - 4]
mov edx, 0x742528
call fcn.00405570
je 0x742463
mov eax, dword [ebp - 4]
mov edx, 0x742534
call fcn.00405570
je 0x742463
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0040ba8c
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x742528
call fcn.00405768
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00405684
push 0x742540
mov eax, 0x742550
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x174]
push eax
push 0
push 0x74255c
push 0x74256c
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00741fc8
lea eax, [ebp - 0x14c]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x7423d4
push 0xffffffffffffffff
lea eax, [ebp - 0x174]
push eax
push 0xffffffffffffffff
push 0
push 1
lea ecx, [ebp - 0x174]
mov edx, 0x742578
mov eax, ebx
call fcn.00742fe8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7424cc
lea eax, [ebp - 0x16c]
call fcn.004147fc
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405178
ret
Function at 0x742584
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x168], edx
mov dword [ebp - 0x164], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x742749
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 4]
mov edx, 0x742760
mov eax, dword [ebx + 0x64]
call fcn.00428be0
push 0
lea eax, [ebp - 0x170]
mov edx, dword [ebp - 4]
call fcn.00419070
lea esi, [ebp - 0x170]
lea edi, [ebp - 0x160]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x160]
push eax
push 0
push 0
push 1
mov eax, 0x742770
mov dword [ebp - 0x174], eax
lea ecx, [ebp - 0x174]
mov edx, 0x742780
mov eax, ebx
call fcn.00742fe8
lea eax, [ebp - 0xc]
mov ecx, 0x74279c
mov edx, dword [ebx + 0x60]
call fcn.00405470
mov eax, dword [ebp - 0xc]
call fcn.00402de0
call fcn.00402da4
lea eax, [ebp - 0x150]
push eax
push 0x7427ac
call sub.kernel32.dll_FindFirstFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x742702
lea eax, [ebp - 8]
lea edx, [ebp - 0x124]
mov ecx, 0x104
call fcn.004053d4
mov eax, dword [ebp - 8]
mov edx, 0x7427bc
call fcn.00405570
je 0x7426e7
mov eax, dword [ebp - 8]
mov edx, 0x7427c8
call fcn.00405570
je 0x7426e7
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0040ba8c
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x10]
mov eax, 0x7427bc
call fcn.00405768
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00405684
push 0x7427d4
mov eax, 0x7427e4
mov dword [ebp - 0x174], eax
lea eax, [ebp - 0x174]
push eax
push 0
push 0x7427f0
mov eax, dword [ebp - 4]
push eax
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00741fc8
lea eax, [ebp - 0x150]
push eax
push esi
call sub.kernel32.dll_FindNextFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x742659
push 0xffffffffffffffff
lea eax, [ebp - 0x174]
push eax
push 0xffffffffffffffff
push 0
push 1
lea ecx, [ebp - 0x174]
mov edx, 0x742800
mov eax, ebx
call fcn.00742fe8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x742750
lea eax, [ebp - 0x170]
call fcn.004147fc
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00405178
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41c008]
jne 0x40100a
repz ret
jmp fcn.00401839

Function at 0x405c5a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403839
and dword [ebp - 4], 0
cmp dword [0x41e1b8], 0
mov ebx, eax
jne 0x405d0b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405dbc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405dbc
push eax
call fcn.004037c7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41e1b8], eax
call esi
push eax
call fcn.004037c7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41e1bc], eax
call esi
push eax
call fcn.004037c7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41e1c0], eax
call esi
push eax
call fcn.004037c7
pop ecx
mov dword [0x41e1c8], eax
test eax, eax
je 0x405d0b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004037c7
pop ecx
mov dword [0x41e1c4], eax
mov eax, dword [0x41e1c4]
cmp eax, ebx
je 0x405d63
cmp dword [0x41e1c8], ebx
je 0x405d63
push eax
call fcn.00403842
push dword [0x41e1c8]
mov esi, eax
call fcn.00403842
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405d63
test edi, edi
je 0x405d63
call esi
test eax, eax
je 0x405d5a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405d5a
test byte [ebp - 0xc], 1
jne 0x405d63
or dword [ebp + 0x10], 0x200000
jmp 0x405d9c
mov eax, dword [0x41e1bc]
cmp eax, ebx
je 0x405d9c
push eax
call fcn.00403842
pop ecx
test eax, eax
je 0x405d9c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405d9c
mov eax, dword [0x41e1c0]
cmp eax, ebx
je 0x405d9c
push eax
call fcn.00403842
pop ecx
test eax, eax
je 0x405d9c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41e1b8]
call fcn.00403842
pop ecx
test eax, eax
je 0x405dbc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405dbe
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x418bd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp ebx, 0x182
jne 0x418bec
lea eax, [ebp - 0x20]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
jmp 0x418bfc
cmp ebx, 0x19f
jne 0x418bfc
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push edi
xor edi, edi
test ebx, ebx
jle 0x418c2e
push esi
jmp 0x418c10
lea esi, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.00418bc0
mov cl, byte [ebp - 4]
mov eax, dword [ebp + 8]
xor byte [edi + eax], cl
inc edi
cmp edi, ebx
jl 0x418c10
pop esi
pop edi
cmp ebx, 0x2d
jne 0x418c48
mov dword [0x513ea0], 0xa62e7790
mov dword [0x513ea4], 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x418c50
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x41c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x513d6c]
push ebx
push esi
mov esi, dword [0x513bb4]
mov ebx, eax
cmp eax, 0x5dd
jne 0x418c8a
push 0
lea eax, [ebp - 0x804]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov eax, dword [0x41cf60]
call fcn.00418b90
cmp dword [0x513d6c], 0x2f
jne 0x418ca5
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push esi
call fcn.00418bd0
add esp, 4
cmp dword [0x513d6c], 0x568
pop esi
pop ebx
jne 0x418cd3
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
mov ecx, dword [ebp - 0x808]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x402f80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push ebx
call fcn.00402f92

Function at 0x403290
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push ebx
call fcn.004032a2
Function at 0x409240
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, esp
call fcn.00409257

Function at 0x40c540
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, esp
call fcn.0040c557

Function at 0x40d440
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, esp
call fcn.0040d457

Function at 0x40d940
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebx, esp
call fcn.0040d957
Function at 0x46be30
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xa4
mov eax, dword [0x754040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x2d
push 0x6d30e0
call fcn.00507a00
add esp, 8
test eax, eax
jle 0x46be8f
lea esi, [ebp - 0xb0]
mov ecx, esi
push 0xffffffffffffffff
push 0x274
push 0x6d30e0
call fcn.004904a0
lea eax, [ebp - 0xa8]
push 0x1a
push 0x6d3988
push eax
call fcn.004e58e0
add esp, 0xc
mov ecx, esi
call fcn.00490980
push 0x60
call fcn.0054fbd9
add esp, 4
mov esi, eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xa8], 0x80000030
mov dword [ebp - 0xac], 0x2d
add eax, 0x5a
mov ecx, 0x6d1df2
cmp esi, ecx
seta dl
cmp eax, ecx
setbe al
or al, dl
je 0x46bf28
mov edi, dword [ebp + 8]
push 0x5a
push 0x6d1df2
push esi
call fcn.00553570
add esp, 0xc
mov word [esi + 0x5a], 0
lea esi, [ebp - 0xb0]
push edi
push 0
push esi
push SysReAllocString
call fcn.005ada10
add esp, 0x10
mov ebx, eax
cmp byte [esi + 0xb], 0
jns 0x46bf11
push dword [ebp - 0xb0]
call fcn.0054fc10
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550b46
mov eax, ebx
add esp, 0xa4
pop esi
pop edi
pop ebx
pop ebp
ret
ud2

Function at 0x46eff0
Capabilities:
Self delete

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
xor edx, edx
pop ebp
jmp fcn.0046de90
Function at 0x475270
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x754040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
movsx edx, byte [eax + 0xb]
test edx, edx
jns 0x475294
mov edx, dword [eax + 4]
mov eax, dword [eax]
test edx, edx
js 0x4753e0
sete cl
test eax, eax
setne ch
or ch, cl
je 0x4753e0
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x2c]
mov ecx, edi
push 0x52
push 0x6d5220
push edx
push eax
call fcn.005c7160
add esi, dword [edi + 0x18]
mov ecx, edi
call fcn.005c8230
mov ecx, dword [0x758db4]
mov eax, esi
shr eax, 4
inc eax
movzx eax, ax
push 6
push eax
mov dword [ebp - 0x30], ecx
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x475352
mov ebx, eax
push eax
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x475352
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x475352
mov edi, eax
push ebx
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
setg cl
and esi, 0xf
je 0x47533d
test eax, eax
jle 0x47533d
mov edx, edi
add edx, eax
dec esi
movzx eax, word [edi]
lea edi, [edi + eax*2]
add edi, 2
cmp edi, edx
setb cl
add esi, 0xffffffff
jae 0x47533d
cmp edi, edx
jb 0x475326
test cl, cl
je 0x475352
movzx edx, word [edi]
test edx, edx
sete al
test edi, edi
sete cl
or cl, al
je 0x475386
call fcn.005cf110
xorps xmm0, xmm0
mov ebx, dword [ebp + 8]
movsd qword [ebx], xmm0
mov dword [ebx + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550b46
mov eax, ebx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp + 8]
mov byte [ebx + 0xb], dl
mov esi, ebx
jmp 0x4753bd
add edi, 2
cmp dx, 4
jbe 0x47537c
mov ebx, edx
or ebx, 3
lea eax, [ebx*2 + 2]
push eax
mov esi, edx
call fcn.0054fbd9
mov edx, esi
add esp, 4
mov esi, eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
add ebx, 0x80000001
mov dword [eax + 8], ebx
mov ebx, eax
mov dword [eax + 4], edx
cmp esi, edi
ja 0x4753c8
lea eax, [esi + edx*2]
cmp eax, edi
ja 0x4753e0
lea eax, [edx + edx]
push eax
push edi
push esi
mov edi, edx
call fcn.00553570
add esp, 0xc
mov word [esi + edi*2], 0
jmp 0x475368
ud2
Function at 0x476070
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x754040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
mov dword [esi + 4], eax
lea ecx, [esi + 8]
mov dword [ebp - 0x1c], ecx
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov eax, dword [esi]
mov dword [esi], ebx
test eax, eax
je 0x4760ad
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, dword [esi]
test ebx, ebx
je 0x476138
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 2
jl 0x476100
xor edi, edi
inc edi
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
jmp 0x4760d7
mov byte [esi + 0x10], 1
inc edi
mov eax, dword [ebp - 0x1c]
cmp edi, dword [eax]
jge 0x476100
mov eax, dword [esi]
push 0x6d5884
push dword [eax + edi*4]
call ebx
test eax, eax
je 0x4760cb
mov eax, dword [esi]
push str.__cleanup
push dword [eax + edi*4]
call ebx
test eax, eax
jne 0x4760cf
mov dword [esi + 0xc], 1
jmp 0x4760cf
cmp byte [esi + 0x10], 0
mov ebx, dword [ebp - 0x20]
jne 0x476138
lea edi, [ebp - 0x16]
mov word [edi + 4], 0
mov dword [edi], 0xffff0000
push 2
push edi
push 0x6d2f9c
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, 1
sete al
cmp word [edi], 0x31
sete cl
and cl, al
mov byte [esi + 0x10], cl
test ebx, ebx
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550b46
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x476160
Capabilities:
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x5c
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x754040]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xorps xmm0, xmm0
lea ecx, [ebp - 0x54]
movups xmmword [ecx + 0x34], xmm0
movups xmmword [ecx + 0x24], xmm0
movups xmmword [ecx + 0x14], xmm0
movups xmmword [ecx + 4], xmm0
mov dword [ecx], 0x44
lea edx, [ebp - 0x64]
movups xmmword [edx], xmm0
sub esp, 0x28
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
movaps xmm0, xmmword [0x6d58c0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x476238
push dword [ebp - 0x60]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x68], 0
push 0xffffffffffffffff
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x476214
mov edi, 0x11d93
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], edi
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550b46
mov eax, esi
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4761f0
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0x11f1c
mov eax, dword [ebp - 0x68]
jmp 0x4761fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp edi, 3
je 0x476259
cmp edi, 2
jne 0x476261
mov dword [esi], 0x11da2
jmp 0x4761fd
mov dword [esi], 0x11da3
jmp 0x4761fd
mov dword [esi], 0x11da4
mov dword [esi + 4], edi
jmp 0x476200
Function at 0x477b80
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, ecx
mov eax, dword [0x754040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push dword [ecx]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x477c4b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x477c4b
mov esi, dword [ebp + 8]
push dword [edi]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
sub esp, 0x1c
movaps xmm0, xmmword [0x6d5a80]
movups xmmword [esp + 4], xmm0
mov dword [esp], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0x80
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x477c4b
test ebx, ebx
je 0x477c32
xor esi, esi
mov edi, ebx
sub edi, esi
mov eax, 0x800000
cmp edi, eax
cmovae edi, eax
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x1c]
add eax, esi
push ecx
lea ecx, [ebp - 0x14]
push ecx
push edi
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x477c42
add esi, edi
cmp esi, ebx
jb 0x477c00
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
setne bl
jmp 0x477c4d
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550b46
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x481960
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, edx
mov esi, ecx
mov eax, dword [0x754040]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
push ecx
push 0x6e03b4
push 1
push eax
push 0x6c00d4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x481ac7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], 0
movsx edx, byte [eax + 0xb]
test edx, edx
jns 0x4819b1
mov edx, dword [eax + 4]
mov eax, dword [eax]
test edx, edx
js 0x481aad
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], esi
sete cl
test eax, eax
setne ch
or ch, cl
je 0x481aad
mov esi, dword [ebp - 0x14]
lea edi, [ebp - 0x1c]
mov ecx, edi
push edx
push eax
call fcn.00482e70
mov ebx, dword [edi]
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
call dword [0x74e248]
sub esp, 0x24
lea eax, [ebp - 0x18]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], ebx
mov dword [esp], esi
call ecx
mov esi, eax
mov ecx, edi
call fcn.00482eb0
test esi, esi
js 0x481aaf
cmp byte [ebp - 0x24], 0
je 0x481a58
mov eax, dword [ebp - 0x18]
sub esp, 0x20
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
movaps xmm0, xmmword [0x6e0350]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x14], 3
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x481aba
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov esi, dword [eax]
mov dword [eax], ecx
test esi, esi
jne 0x481ad3
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0
xor eax, eax
mov byte [ecx + 4], al
mov esi, dword [ebp - 0x18]
test esi, esi
jne 0x481ae3
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x481a9b
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x74e248]
push esi
call ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550b46
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
ud2
mov ecx, dword [ebp - 0x20]
mov dword [ecx], 1
jmp 0x481ac3
mov ecx, dword [ebp - 0x20]
mov dword [ecx], 2
mov al, 1
jmp 0x481a75
mov dword [esi], 0
mov byte [esi + 4], 1
jmp 0x481a7f
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x74e248]
push esi
call ecx
jmp 0x481a6d
mov dword [ebp - 0x18], 0
mov eax, dword [esi]
mov ecx, dword [eax + 8]
call dword [0x74e248]
push esi
call ecx
jmp 0x481a7f