joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430510
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x499f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x1164]
mov dword [esp + 0x20], 0xc
call fcn.00410e10
lea ecx, [esi + 0x106c]
mov byte [esp + 0x20], 0xb
call fcn.00410e10
lea ecx, [esi + 0xfec]
mov byte [esp + 0x20], 0xa
call fcn.00410e10
lea ecx, [esi + 0xf6c]
mov byte [esp + 0x20], 9
call fcn.00410e10
lea ecx, [esi + 0xeec]
mov byte [esp + 0x20], 8
call fcn.00410e10
lea ecx, [esi + 0xe6c]
mov byte [esp + 0x20], 7
call fcn.00410e10
lea edi, [esi + 0xac0]
mov dword [esp + 0x10], edi
lea ebx, [edi + 0xe4]
mov dword [esp + 0x14], ebx
lea ecx, [ebx + 0x114]
mov byte [esp + 0x20], 0xf
call fcn.00410e10
mov ecx, ebx
mov byte [esp + 0x20], 0xe
call fcn.00410e10
lea ecx, [edi + 0x40]
mov byte [esp + 0x20], 0xd
call fcn.004097e0
mov ecx, edi
mov byte [esp + 0x20], 6
call fcn.00410e10
push fcn.0040b970
push 8
lea eax, [esi + 0x600]
push 0x98
push eax
mov byte [esp + 0x30], 5
call fcn.0049263c
lea ecx, [esi + 0x568]
mov byte [esp + 0x20], 4
call fcn.00410e10
lea ecx, [esi + 0x4d0]
mov byte [esp + 0x20], 3
call fcn.00410e10
lea ecx, [esi + 0x438]
mov byte [esp + 0x20], 2
call fcn.00410e10
lea ecx, [esi + 0x298]
mov byte [esp + 0x20], 1
call fcn.00410e10
lea ecx, [esi + 0xf8]
mov byte [esp + 0x20], 0
call fcn.00410e10
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.00410e10
pop edi
mov ecx, dword [esp + 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x430529
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x499f98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x1164]
mov dword [esp + 0x20], 0xc
call fcn.00410e10
lea ecx, [esi + 0x106c]
mov byte [esp + 0x20], 0xb
call fcn.00410e10
lea ecx, [esi + 0xfec]
mov byte [esp + 0x20], 0xa
call fcn.00410e10
lea ecx, [esi + 0xf6c]
mov byte [esp + 0x20], 9
call fcn.00410e10
lea ecx, [esi + 0xeec]
mov byte [esp + 0x20], 8
call fcn.00410e10
lea ecx, [esi + 0xe6c]
mov byte [esp + 0x20], 7
call fcn.00410e10
lea edi, [esi + 0xac0]
mov dword [esp + 0x10], edi
lea ebx, [edi + 0xe4]
mov dword [esp + 0x14], ebx
lea ecx, [ebx + 0x114]
mov byte [esp + 0x20], 0xf
call fcn.00410e10
mov ecx, ebx
mov byte [esp + 0x20], 0xe
call fcn.00410e10
lea ecx, [edi + 0x40]
mov byte [esp + 0x20], 0xd
call fcn.004097e0
mov ecx, edi
mov byte [esp + 0x20], 6
call fcn.00410e10
push fcn.0040b970
push 8
lea eax, [esi + 0x600]
push 0x98
push eax
mov byte [esp + 0x30], 5
call fcn.0049263c
lea ecx, [esi + 0x568]
mov byte [esp + 0x20], 4
call fcn.00410e10
lea ecx, [esi + 0x4d0]
mov byte [esp + 0x20], 3
call fcn.00410e10
lea ecx, [esi + 0x438]
mov byte [esp + 0x20], 2
call fcn.00410e10
lea ecx, [esi + 0x298]
mov byte [esp + 0x20], 1
call fcn.00410e10
lea ecx, [esi + 0xf8]
mov byte [esp + 0x20], 0
call fcn.00410e10
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.00410e10
pop edi
mov ecx, dword [esp + 0x14]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4463a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49c65f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4a492c
lea ecx, [esi + 0x31ac]
mov dword [esp + 0x20], 4
call fcn.00410e10
lea ecx, [esi + 0x300c]
mov byte [esp + 0x20], 3
call fcn.00410e10
lea ecx, [esi + 0x2e6c]
mov byte [esp + 0x20], 2
call fcn.00410e10
lea edi, [esi + 0x26f0]
mov dword [esp + 0x10], edi
push fcn.0040b970
push 0xa
lea eax, [edi + 0x17c]
push 0x98
push eax
mov byte [esp + 0x30], 6
call fcn.0049263c
lea ecx, [edi + 0xf8]
mov byte [esp + 0x20], 5
call fcn.00410e10
mov ecx, edi
mov byte [esp + 0x20], 1
call fcn.00410e10
lea edi, [esi + 0x134]
mov dword [esp + 0x10], edi
lea ebx, [edi + 0x178]
mov dword [esp + 0x14], ebx
push fcn.00404b10
push 2
lea ecx, [ebx + 0x2104]
push 0x1a0
push ecx
mov byte [esp + 0x30], 0xa
call fcn.0049263c
push fcn.004453b0
push 2
lea edx, [ebx + 0x134]
push 0xfe8
push edx
mov byte [esp + 0x30], 9
call fcn.0049263c
mov ecx, ebx
mov byte [esp + 0x20], 8
call fcn.0040dc60
lea ecx, [edi + 0xf8]
mov byte [esp + 0x20], 7
call fcn.00410e10
mov ecx, edi
mov byte [esp + 0x20], 0
call fcn.00410e10
mov ecx, esi
mov dword [esp + 0x20], 0xffffffff
call fcn.0040dc60
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x46a880
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49f8f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x10], ebp
call fcn.00410db0
xor ebx, ebx
lea ecx, [ebp + 0xf0]
mov dword [esp + 0x1c], ebx
call fcn.00410700
lea ecx, [ebp + 0x190]
mov byte [esp + 0x1c], 1
call fcn.00410760
push fcn.00404b10
push fcn.00404a50
push 6
lea eax, [ebp + 0x274]
push 0x1a0
push eax
mov byte [esp + 0x30], 2
call fcn.00492730
mov edi, 0x4b90e0
or ecx, 0xffffffff
xor eax, eax
mov dword [ebp], 0x4a5190
mov byte [ebp + 0xa1], bl
mov byte [ebp + 0xa0], bl
mov word [ebp + 0xa2], bx
lea edx, [ebp + 0xa4]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp + 0x1084]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x18
lea edi, [ebp + 0x40]
mov dword [ebp + 0xd4], ebx
mov dword [ebp + 0xd8], 0xffffffff
mov dword [ebp + 0xe0], ebx
rep stosd dword es:[edi], eax
mov ecx, 0x114
lea edi, [ebp + 0xc34]
rep stosd dword es:[edi], eax
xor ecx, ecx
pop edi
mov dword [edx], ecx
mov eax, ebp
pop esi
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0xc]
mov dword [ebp + 0x1090], ebx
mov dword [ebp + 0x270], ebx
mov dword [ebp + 0xe8], 0x14
mov dword [ebp + 0xec], 0x7530
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x46e2a0
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x4a]
test al, al
je 0x46e2b1
mov eax, 1
pop esi
ret
push str.KLVideo.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x50], eax
je 0x46e3b6
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.KLVideoSetSoundSystem
push eax
call edi
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x50]
push str.KLVideoSetSoundTrack
push eax
call edi
mov ecx, dword [esi + 0x50]
push str.KLVideoOpen
push ecx
mov dword [esi + 0x58], eax
call edi
mov edx, dword [esi + 0x50]
push str.KLVideoClose
push edx
mov dword [esi + 0x5c], eax
call edi
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x50]
push str.KLVideoWait
push eax
call edi
mov ecx, dword [esi + 0x50]
push str.KLVideoCopyToBuffer
push ecx
mov dword [esi + 0x64], eax
call edi
mov edx, dword [esi + 0x50]
push str.KLVideoDoFrame
push edx
mov dword [esi + 0x68], eax
call edi
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x50]
push str.KLVideoNextFrame
push eax
call edi
mov ecx, dword [esi + 0x50]
push str.KLVideoGetCurrentFrame
push ecx
mov dword [esi + 0x70], eax
call edi
mov edx, dword [esi + 0x50]
push str.KLVideoSetSoundVolume
push edx
mov dword [esi + 0x74], eax
call edi
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x54]
test eax, eax
pop edi
je 0x46e3a5
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x46e3a5
mov eax, dword [esi + 0x60]
test eax, eax
je 0x46e3a5
mov eax, dword [esi + 0x64]
test eax, eax
je 0x46e3a5
mov eax, dword [esi + 0x68]
test eax, eax
je 0x46e3a5
mov eax, dword [esi + 0x6c]
test eax, eax
je 0x46e3a5
mov eax, dword [esi + 0x70]
test eax, eax
je 0x46e3a5
mov eax, dword [esi + 0x58]
test eax, eax
je 0x46e3a5
push 2
push esi
call fcn.0040e930
add esp, 8
mov eax, 1
mov byte [esi + 0x4a], al
pop esi
ret
mov eax, dword [esi + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x50], 0
xor eax, eax
pop esi
ret
Function at 0x46fe90
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x49ff2c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a4
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x24]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KFile::constructor_void_]
lea eax, [esp + 0x30]
xor ebp, ebp
push 0x80
push eax
mov dword [esp + 0x1c4], ebp
call fcn.00470020
mov eax, dword [0x4c0114]
add esp, 8
cmp eax, ebp
mov byte [esp + 0x13], 0
jne 0x46feee
cmp dword [0x4c011c], ebp
jle 0x46ffb5
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x28]
call dword [sym.imp.Engine.dll_public:_int___thiscall_KFile::Create_char__]
test eax, eax
je 0x46ffb5
mov eax, dword [0x4c0114]
xor edx, edx
mov dword [esp + 0x15], edx
cmp eax, ebp
mov dword [esp + 0x19], edx
mov dword [esp + 0x14], 0x46445400
mov dword [esp + 0x1d], edx
mov word [esp + 0x21], dx
mov byte [esp + 0x23], dl
je 0x46ff3a
mov eax, dword [eax]
cmp eax, ebp
jle 0x46ff3a
add eax, 4
mov dword [esp + 0x18], eax
mov eax, dword [0x4c011c]
mov ebx, dword [sym.imp.Engine.dll_public:_unsigned_long_int___thiscall_KFile::Write_void___unsigned_long_int_]
lea ecx, [esp + 0x14]
push 0x10
push ecx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], eax
call ebx
cmp eax, 0x10
jne 0x46ffb5
mov eax, dword [0x4c0114]
cmp eax, ebp
je 0x46ff76
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push edx
push eax
call ebx
cmp eax, dword [esp + 0x18]
jne 0x46ffb5
mov eax, dword [0x4c011c]
mov edi, dword [0x4c0118]
cmp eax, ebp
jle 0x46ffb0
mov esi, dword [edi + 0xc]
lea eax, [edi + 4]
add esi, 0xc
lea ecx, [esp + 0x24]
push esi
push eax
call ebx
cmp eax, esi
jne 0x46ffa8
mov eax, dword [0x4c011c]
mov edi, dword [edi]
inc ebp
cmp ebp, eax
jl 0x46ff85
jmp 0x46ffb0
cmp ebp, dword [0x4c011c]
jl 0x46ffb5
mov byte [esp + 0x13], 1
lea ecx, [esp + 0x24]
call dword [sym.imp.Engine.dll_public:_void___thiscall_KFile::Close_void_]
mov bl, byte [esp + 0x13]
test bl, bl
jne 0x46ffeb
lea ecx, [esp + 0x30]
lea edx, [esp + 0xb0]
push ecx
push edx
call dword [sym.imp.Engine.dll_void___cdecl_g_GetFullPath_char___char__]
add esp, 8
lea eax, [esp + 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1bc], 0xffffffff
call dword [sym.imp.Engine.dll_public:_void___thiscall_KFile::destructor_void_]
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
mov al, bl
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1b0
ret

Function at 0x470d30
Capabilities:
Delete file

Disassembly:
mov eax, dword [ecx + 0x778]
add ecx, 0x778
call dword [eax + 4]
jmp fcn.0046fe90

Function at 0x4764b0
Capabilities:
Delete file

Disassembly:
sub esp, 0x100
mov ecx, 0x4c06a0
push 0x4b9be4
call fcn.004898a0
push eax
lea eax, [esp + 8]
push str._s_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x90]
push ecx
push edx
call dword [sym.imp.Engine.dll_void___cdecl_g_GetFullPath_char___char__]
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 0x11c
ret
Function at 0x47d040
Capabilities:
Delete file

Disassembly:
sub esp, 0x180
mov ecx, 0x4c06a0
push 0x4ba480
call fcn.004898a0
push eax
lea eax, [esp + 8]
push str._s_s
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x90]
push ecx
push edx
call dword [sym.imp.Engine.dll_void___cdecl_g_GetFullPath_char___char__]
lea eax, [esp + 0x98]
push eax
call dword [sym.imp.MSVCRT.dll_remove]
add esp, 0x19c
ret
Function at 0x4898c0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x248
test eax, eax
push ebp
je 0x4899cc
cmp byte [eax], 0
je 0x4899cc
push ebx
push esi
push edi
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.Engine.dll_void___cdecl_g_GetFullPath_char___char__]
lea edi, [esp + 0x1c]
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str..
mov ebp, ecx
or ecx, 0xffffffff
inc ebp
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], ebp
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x118]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4899ae
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea edi, [esp + 0x144]
or ecx, 0xffffffff
xor eax, eax
push 0x80
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
lea edi, [esp + eax + 0x18]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
call ebp
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [esp + 0x118]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x48994f
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebp, dword [esp + 0x10]
mov al, byte [esp + 0x260]
pop edi
pop esi
pop ebx
test al, al
je 0x4899cc
lea ecx, [esp + 8]
mov byte [esp + ebp + 7], 0
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop ebp
add esp, 0x248
ret 8
Function at 0x48e980
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5c40
push 0x4927fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 9
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48ea20
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5c50
push 0x4927fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48eac0
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5c60
push 0x4927fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xb
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48eb60
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5c70
push 0x4927fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xc
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40b346
Capabilities:
Copy file
Persist via run registry key
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1800
call fcn.0040d5a0
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, 0x400
push esi
lea eax, [ebp - 0x800]
push eax
xor ebx, ebx
push ebx
call edi
push str.cmxjc48cjj.exe
lea eax, [ebp - 0x800]
call fcn.00405493
test eax, eax
pop ecx
je 0x40b3cf
push esi
lea eax, [ebp - 0x800]
push eax
push ebx
call edi
push 1
lea eax, [ebp - 0x800]
push eax
push str.Taskhost
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000001
call fcn.004069fd
add esp, 0x14
test eax, eax
push 4
je 0x40b3b9
push ebx
push 3
jmp 0x40b3c2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 6
call fcn.0040a786
add esp, 0xc
call fcn.0040b2ce
call fcn.0040aafd
test eax, eax
jne 0x40b3ca
call fcn.0040ab7c
test eax, eax
je 0x40b442
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
push 4
push ebx
push 9
call fcn.0040a786
add esp, 0xc
push esi
lea eax, [ebp - 0x1800]
push eax
push ebx
call edi
lea eax, [ebp - 0x800]
push eax
call fcn.0040ac20
test eax, eax
pop ecx
je 0x40b442
push ebx
lea eax, [ebp - 0x800]
push eax
lea eax, [ebp - 0x1800]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x40b442
lea eax, [ebp - 0x800]
push eax
call fcn.004077f0
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.0040abd9
test eax, eax
je 0x40b49c
lea eax, [ebp - 0x800]
push eax
call fcn.0040ac20
lea eax, [ebp - 0x800]
push eax
call fcn.00407727
test eax, eax
pop ecx
pop ecx
je 0x40b487
lea eax, [ebp - 0x800]
push eax
call fcn.004077f0
test eax, eax
pop ecx
jne 0x40b43b
push 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xb
jmp 0x40b492
push 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
call fcn.0040a786
add esp, 0xc
jmp 0x40b43b
push ebx
call fcn.00407727
cmp eax, ebx
pop ecx
push esi
je 0x40b4be
lea ecx, [ebp - 0x1000]
push ecx
push dword [eax*4 + 0x41103c]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x40b4d8
lea eax, [ebp - 0x1000]
push eax
push ebx
call edi
mov ecx, str.__nomove
lea eax, [ebp - 0x1000]
call fcn.004054ed
lea eax, [ebp - 0x1000]
push eax
call fcn.004077f0
test eax, eax
pop ecx
jne 0x40b43b
push 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xb
call fcn.0040a786
add esp, 0xc
mov dword [0x411054], ebx
jmp 0x40b3ca

Function at 0x40cd56
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x40cd60
repz ret
jmp fcn.0040cffb

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x100557f8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10055837
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10055837
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10055837
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10055837
cmp dword [ecx + 0x74], 0xe
jbe 0x10055837
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10058239
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100582d6
push ebx
push esi
call fcn.10058202
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10058196
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10058283
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100582d5
push edi
push eax
call fcn.10056b37
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100582a3
call fcn.10056cde
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100582d4
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10058196
add esp, 0x20
test eax, eax
jne 0x100582c2
push edi
call fcn.10056cde
jmp 0x100582ca
push ebx
call fcn.10056cde
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10058543
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10061bb0
push 0x10061ba8
push str.FlsAlloc
push 0x1f
call fcn.1005845f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10058577
push dword [ebp + 8]
mov ecx, esi
call dword [0x1005e184]
call esi
jmp 0x1005857d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100585c1
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10061bc0
push 0x10061bb8
push str.FlsGetValue
push 0x21
call fcn.1005845f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100585f8
push dword [ebp + 8]
mov ecx, esi
call dword [0x1005e184]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10058600
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10061bc8
push 0x10061bc0
push str.FlsSetValue
push 0x22
call fcn.1005845f
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1005863a
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1005e184]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1005db50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1005db7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1005db7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret