joyce8/EMBER2024-capa huggingface dataset:
Function at 0x465830
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ba788
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004b2d7d
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00465190
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004b2cab
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004af56f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004af56f
push 1
push 0
push 0
mov ecx, esi
call fcn.004af517
push 1
push 0
push 1
mov ecx, esi
call fcn.004af517
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004b2def
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4659b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ba7a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004b2d7d
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00465190
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004b2cab
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x465a74
cmp dword [esp + 0x40], 1
jne 0x465a72
cmp ecx, eax
jge 0x465a74
mov eax, ecx
cmp eax, 0xc8
jge 0x465a80
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00465830
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004b2def
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x466280
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ba853
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004ad98f
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004b3025
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004b4541
test eax, eax
je 0x46639c
mov ecx, dword [esp + 0x3c]
call fcn.004b3052
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x466360
push edi
mov ecx, esi
call fcn.004b06bb
mov ecx, esi
call fcn.00466540
cmp dword [esp + 0x38], 1
jne 0x466395
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004b07f6
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x4685a0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4685d3
push esi
call fcn.00476960
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4685cc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x468659
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x468642
mov eax, dword [esi + 8]
test eax, eax
je 0x4685f7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x46863e
cmp eax, 2
je 0x468642
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4685ea
cmp eax, 3
je 0x46861d
cmp eax, 1
jne 0x4685ea
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4685ea
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4685ea
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00468680
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x468668
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00468680
add esp, 4
pop esi
ret

Function at 0x468f00
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x468f21
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x468f21
mov eax, dword [eax + 0x44]
test eax, eax
je 0x468f21
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x487000
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6af550]
xor edx, edx
cmp eax, edx
jne 0x487026
xor eax, eax
mov byte [eax + 0x6af450], al
inc eax
cmp eax, 0x100
jl 0x48700e
mov dword [0x6af550], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6af450
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4870b7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x48708a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x487058
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4870c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x487113
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4870fa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x48dac0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4bad5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.0048e3e0
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x668e7c
call fcn.004ac0f5
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x48db53
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004ac0f5
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x48db4c
push 0
mov ecx, eax
call fcn.00484c40
mov dword [esi + 0xc], eax
jmp 0x48db55
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x48db55
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4ae785
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4ae7bd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004ac80f
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004ac7e7
jmp 0x4ae7c9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4afe73
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4afeb5
call fcn.004b592c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4afeb5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4afeac
xor eax, eax
jmp 0x4afebd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004afec3
pop edi
pop esi
pop ebx
ret 4
Function at 0x4b5e5c
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4b5e8a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4b5ea8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004b5dc2
jmp 0x4b5ea8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4b5ea8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004b5dc2
test edi, edi
mov eax, edi
jne 0x4b5e92
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401c57
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x401c66
pop dword [ebp - 0x20]
mov eax, 0xe2fe28fe
add eax, 0x1d41f368
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xf63f7134
add dword [ebp - 0x30], 0x5812d417
mov dword [ebp - 0x2c], 0x69b86be5
sub dword [ebp - 0x2c], 0x37851fa0
mov dword [ebp - 0x28], 0xdb8cdec3
sub dword [ebp - 0x28], 0x8f409a95
mov dword [ebp - 0x24], 0xd0af43e9
add dword [ebp - 0x24], 0x2f50bc17
lea eax, [ebp - 0x30]
push eax
mov eax, 0xe77975a6
add eax, 0x18c6baae
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x141b1d80
sub dword [ebp - 0x30], 0x9fa8b42a
mov dword [ebp - 0x2c], 0x2976e762
sub dword [ebp - 0x2c], 0xe80a85ed
mov dword [ebp - 0x28], 0xd29cc5f1
sub dword [ebp - 0x28], 0x6f2d5985
mov dword [ebp - 0x24], 0x44a1762a
add dword [ebp - 0x24], 0xbb5e89d6
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0xd0ce67b7
add eax, 0x2f71c875
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x3aa1e
push 0
call eax
mov ecx, 0xc5f7d782
add ecx, 0x3a088119
mov ebx, eax
mov esi, 0x1f309b6c
add esi, 0xe10fd494
add esi, dword [ebp - 0x20]
mov edi, 0x68e67b4f
sub dword [ebp - 8], eax
mov edx, dword [esi]
sub dword [ebp - 0x10], 0x27d8eff7
xor edx, edi
mov dword [ebp - 0x18], 0x694ba6c
mov dword [ebx], edx
mov dword [ebp - 0xc], 0xd8aad390
add ebx, 4
add esi, 4
loop 0x401d82
add eax, 0x19e8d5ad
sub eax, 0x19e7806e
mov ebx, eax
add eax, 0xddaaadc0
sub eax, 0xddaaadbb
mov ecx, 0xb0672d9c
sub ecx, 0xb0272d9c
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x40b9f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d306
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x14], esi
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0x4b
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 1
mov dword [ebp - 4], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0x4b
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 1
lea edi, [esi + 0x3c]
mov dword [edi + 0x18], 0x49
mov byte [edi], 0
mov word [edi + 0x13], 0x113
mov ecx, dword [ebp + 0x10]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x40bb06
cmp edi, ecx
je 0x40bb06
mov al, byte [ecx + 0x14]
cmp al, 1
jne 0x40bab7
movsx eax, byte [ecx + 0x13]
mov edx, 0x13
sub edx, eax
push edx
push ecx
mov ecx, edi
call fcn.004023f0
jmp 0x40bb06
mov edx, dword [ecx + 8]
mov dword [ebp + 0x10], edx
cmp al, 2
je 0x40bace
mov ecx, dword [ecx]
push edx
push ecx
mov ecx, edi
call fcn.004023f0
jmp 0x40bb06
cmp byte [edi + 0x14], 0
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
jne 0x40baf6
push 0x20d
push str.C:_buildslaveunity_buildRuntimeCoreContainersStringStorageDefault.h
push dword [edi + 0x18]
push dword [edi]
call fcn.004026f0
mov edx, dword [ebp + 0x10]
add esp, 0x10
mov eax, dword [ebp - 0x10]
mov byte [edi + 0x14], 2
mov dword [edi], eax
mov dword [edi + 8], edx
mov dword [edi + 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [esi], eax
mov dword [esi + 4], ecx
lea ecx, [esi + 0x18]
mov dword [esi + 0x38], 0
mov dword [esi + 0x2c], 1
mov dword [esi + 0x1c], 1
mov eax, dword [ecx + 0xc]
and eax, 0xfffffffe
cmp eax, 0x80
jae 0x40bb41
push 8
push 0x38
push 0x40
call fcn.004108b0
mov eax, dword [esi + 0x34]
and eax, 0xfffffffe
cmp eax, 0x80
jae 0x40bb5c
push 4
push 4
push 0x40
lea ecx, [esi + 0x28]
call fcn.004108b0
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x34]
inc edi
shr eax, 1
cmp edi, eax
jbe 0x40bb71
lea ecx, [esi + 0x28]
call fcn.00408840
mov eax, dword [esi + 0x28]
mov dword [esi + 0x30], edi
lea eax, [eax + edi*4]
add eax, 0xfffffffc
je 0x40bb85
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4113b0
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
push esi
push edi
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x18], 0
jne 0x411463
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 0x14], eax
jne 0x411411
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2d4]
push eax
call fcn.0043a7f0
add esp, 0xc
mov dword [ebp - 0x2d4], 0x10007
lea ecx, [ebp - 0x2d4]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x411461
mov eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x4114f0
mov ecx, 0xb3
mov esi, dword [ebp + 0x18]
lea edi, [ebp - 0x2d4]
rep movsd dword es:[edi], dword [esi]
Function at 0x413300
Capabilities:
Access peb ldr_data
Enumerate threads
Get ntdll base address
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d578
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
push edi
mov dword [esi], 0
mov dword [esi + 4], 0x4b
mov dword [esi + 8], 0
mov dword [esi + 0xc], 1
mov dword [esi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x10], 0x472184
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x24], 0x4c
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov byte [ebp - 4], 1
call edi
mov ebx, dword [ebp + 8]
xor edx, edx
cmp ebx, eax
mov ecx, ebx
cmove ecx, edx
push ecx
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov cl, byte [ebp + 0x14]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 0
mov byte [esi + 0x31], cl
cmp eax, 0xffffffff
je 0x41349c
test ebx, ebx
je 0x4133af
call edi
mov byte [ebp + 0x17], 0
cmp ebx, eax
jne 0x4133b3
mov byte [ebp + 0x17], 1
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x1c
push eax
push dword [esi + 0x28]
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x413458
nop
cmp dword [ebp - 0x2c], 0x10
jb 0x41343d
cmp dword [ebp - 0x20], ebx
jne 0x41343d
cmp byte [ebp + 0x17], 0
je 0x4133f0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [ebp - 0x24]
cmp ecx, eax
je 0x41343d
jmp 0x4133f3
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
push ecx
push 0
or eax, 2
push eax
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x41343a
mov edi, dword [esi + 8]
mov ecx, dword [esi + 0xc]
inc edi
shr ecx, 1
cmp edi, ecx
jbe 0x41341d
mov ecx, esi
call fcn.00408840
mov eax, dword [esi]
mov dword [esi + 8], edi
lea eax, [eax + edi*4]
add eax, 0xfffffffc
je 0x41342c
mov dword [eax], ebx
lea eax, [ebp - 0x24]
push eax
lea ecx, [esi + 0x10]
call fcn.00413670
mov dword [eax], ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0x1c
push eax
push dword [esi + 0x28]
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x4133d0
cmp byte [ebp + 0x10], 0
je 0x41349c
cmp dword [esi + 0x28], 0xffffffff
je 0x41349c
cmp byte [esi + 0x30], 0
jne 0x41349c
mov edi, dword [esi]
mov eax, dword [esi + 8]
lea eax, [edi + eax*4]
cmp edi, eax
je 0x41349c
mov ebx, dword [sym.imp.KERNEL32.dll_SuspendThread]
nop dword [eax]
push dword [edi]
call ebx
cmp eax, 0xffffffff
setne al
add edi, 4
or byte [esi + 0x30], al
mov ecx, dword [esi + 8]
mov eax, dword [esi]
lea eax, [eax + ecx*4]
cmp edi, eax
jne 0x413480
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x413580
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46cc90
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x28], 0xffffffff
je 0x41360d
cmp byte [esi + 0x30], 0
je 0x4135e3
cmp byte [esi + 0x31], 0
je 0x4135e3
mov edi, dword [esi]
mov eax, dword [esi + 8]
lea eax, [edi + eax*4]
cmp edi, eax
je 0x4135dd
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [edi]
call ebx
cmp eax, 0xffffffff
sete al
add edi, 4
or byte [esi + 0x30], al
mov ecx, dword [esi + 8]
mov eax, dword [esi]
lea eax, [eax + ecx*4]
cmp edi, eax
jne 0x4135c1
mov al, byte [esi + 0x30]
mov byte [esi + 0x31], al
mov edi, dword [esi]
mov eax, dword [esi + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [edi + eax*4]
cmp edi, eax
je 0x413608
push dword [edi]
call ebx
mov ecx, dword [esi + 8]
add edi, 4
mov eax, dword [esi]
lea eax, [eax + ecx*4]
cmp edi, eax
jne 0x4135f5
push dword [esi + 0x28]
call ebx
mov eax, dword [esi + 0x10]
mov dword [ebp - 4], 0
cmp eax, 0x472184
je 0x413634
push 0x424
push str.C:_buildslaveunity_buildRuntimeCoreContainershash_set.h
push dword [esi + 0x24]
push eax
call fcn.004026f0
add esp, 0x10
mov ecx, esi
call fcn.00407590
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414040
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xe0], 0
push dword [ebp + 8]
mov dword [ebp - 0xdc], 0
push eax
mov dword [ebp - 0xd8], 0x67452301
mov dword [ebp - 0xd4], 0xefcdab89
mov dword [ebp - 0xd0], 0x98badcfe
mov dword [ebp - 0xcc], 0x10325476
call fcn.004149c0
mov eax, dword [ebp - 0xdc]
mov esi, dword [ebp - 0xe0]
lea edx, [eax*8]
mov eax, esi
shr eax, 0x1d
lea ecx, [esi*8]
or edx, eax
mov byte [ebp - 8], cl
mov eax, ecx
mov byte [ebp - 4], dl
shr eax, 8
and esi, 0x3f
mov byte [ebp - 7], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 6], al
mov eax, edx
shr eax, 8
mov byte [ebp - 3], al
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
mov byte [ebp - 2], al
mov eax, 0x38
mov byte [ebp - 5], cl
sub eax, esi
shr edx, 0x18
mov ecx, 0x78
sub ecx, esi
mov byte [ebp - 1], dl
cmp esi, 0x38
cmovae eax, ecx
push eax
lea eax, [ebp - 0xe0]
push 0x472a78
push eax
call fcn.004149c0
push 8
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.004149c0
mov edx, dword [ebp + 0x10]
add esp, 0x24
mov ecx, dword [ebp - 0xd8]
mov eax, ecx
shr eax, 8
mov byte [edx + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [edx], cl
shr ecx, 0x18
mov byte [edx + 2], al
mov byte [edx + 3], cl
mov ecx, dword [ebp - 0xd4]
mov eax, ecx
shr eax, 8
mov byte [edx + 5], al
mov eax, ecx
mov byte [edx + 4], cl
shr ecx, 0x18
shr eax, 0x10
mov byte [edx + 6], al
mov byte [edx + 7], cl
mov ecx, dword [ebp - 0xd0]
mov eax, ecx
mov byte [edx + 8], cl
shr eax, 8
mov byte [edx + 9], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [edx + 0xa], al
mov byte [edx + 0xb], cl
mov ecx, dword [ebp - 0xcc]
mov eax, ecx
shr eax, 8
mov byte [edx + 0xd], al
mov eax, ecx
shr eax, 0x10
mov byte [edx + 0xc], cl
shr ecx, 0x18
mov byte [edx + 0xe], al
mov byte [edx + 0xf], cl
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41bf90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
lea eax, [ebp - 0x20c]
push esi
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
xor eax, eax
lea edx, [ecx + 2]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41bfd0
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004130e0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret