joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401130
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
mov ebx, dword [0x4170b0]
push ebp
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, dword [0x4170b8]
push esi
mov esi, dword [0x4170bc]
push edi
mov edi, dword [esp + 0x28]
add esi, eax
mov eax, dword [0x4170b4]
mov dword [esp + 0x28], 0x20
add esi, eax
add esi, ebx
mov ebx, dword [edi + 0xc]
mov dword [esp + 0x14], ebx
mov ebx, dword [edi + 8]
mov dword [esp + 0x10], ebx
mov ebx, dword [edi + 4]
mov edi, dword [edi]
mov eax, esi
shl eax, 5
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov edi, edx
shl edi, 4
add edi, ebx
mov ebx, edx
shr ebx, 5
add ebx, ebp
mov ebp, dword [esp + 0x1c]
xor edi, ebx
lea ebx, [eax + edx]
xor edi, ebx
mov ebx, dword [esp + 0x18]
sub ecx, edi
mov edi, ecx
shl edi, 4
add edi, ebx
mov ebx, ecx
shr ebx, 5
add ebx, ebp
xor edi, ebx
lea ebx, [eax + ecx]
xor edi, ebx
sub eax, esi
sub edx, edi
mov edi, dword [esp + 0x28]
dec edi
mov dword [esp + 0x28], edi
jne 0x401188
mov eax, dword [0x4170b4]
pop edi
xor eax, edx
mov edx, dword [esp + 0x20]
pop esi
pop ebp
mov dword [edx], eax
mov eax, dword [0x4170b4]
xor eax, ecx
pop ebx
mov dword [edx + 4], eax
add esp, 0x10
ret

Function at 0x4014e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x158
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x5c]
rep stosd dword es:[edi], eax
mov dword [esp + 8], eax
mov ecx, 0x41
mov dword [esp + 0xc], eax
lea edi, [esp + 0x5c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x44
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x164]
mov dword [esp + 0x14], eax
push ecx
push str.__s_
push edx
call fcn.004029be
add esp, 0xc
lea eax, [esp + 8]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x5c]
push eax
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401582
mov eax, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401577
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
push eax
call esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x401582
push eax
call esi
pop edi
pop esi
add esp, 0x158
ret 4
Function at 0x401590
Capabilities:
Delete file
Extract resource via kernel32 functions
Set file attributes
Write file on windows

Disassembly:
sub esp, 0x44
mov al, byte [0x41b49c]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x14], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x15]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x5c]
xor ebp, ebp
stosw word es:[edi], ax
push ecx
push 0x4171a8
push edx
mov dword [esp + 0x1c], ebp
stosb byte es:[edi], al
call fcn.004029be
add esp, 0xc
call fcn.0040fef0
mov eax, dword [eax + 4]
lea ecx, [esp + 0x14]
push 0xa
push ecx
mov edx, dword [eax + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebp
jne 0x4015f8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 8
call fcn.0040fef0
mov eax, dword [eax + 4]
push esi
mov eax, dword [eax + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
call fcn.0040fef0
mov eax, dword [eax + 4]
push esi
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x401630
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x401649
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 8
mov esi, dword [esp + 0x58]
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 6
push 2
push 0
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4016ab
test esi, esi
je 0x4016ab
push ebx
push edi
call fcn.00401200
add esp, 8
lea edx, [esp + 0x10]
push 0
push edx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4016a4
mov ebp, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 8
Function at 0x4017a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x40
mov al, byte [0x41b49c]
push ebx
push ebp
push esi
push edi
mov byte [esp + 0x10], al
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x11]
push 0x76
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
push 0x4171a8
push ecx
xor ebp, ebp
stosb byte es:[edi], al
call fcn.004029be
add esp, 0xc
call fcn.0040fef0
mov eax, dword [eax + 4]
lea edx, [esp + 0x10]
push 0xa
push edx
mov eax, dword [eax + 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
jne 0x4017fd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
call fcn.0040fef0
mov eax, dword [eax + 4]
push esi
mov ecx, dword [eax + 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
call fcn.0040fef0
mov eax, dword [eax + 4]
push esi
mov edx, dword [eax + 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401831
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x401846
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
push ebx
push esi
call fcn.00401200
add esp, 8
mov ecx, 0x30e
xor eax, eax
mov edi, 0x41a450
cmp ebx, 0xc38
rep stosd dword es:[edi], eax
jb 0x40187f
cmp dword [esi], 0x57504650
jne 0x40187f
mov ecx, 0x30e
mov edi, 0x41a450
mov ebp, 1
rep movsd dword es:[edi], dword [esi]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x401b00
Capabilities:
Get disk information

Disassembly:
sub esp, 0x104
xor eax, eax
push ebx
mov ebx, ecx
push edi
mov edi, 0x41ad7c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401c06
mov ecx, 0x41
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
mov edi, 0x4171bc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push esi
lea edx, [esp + 0xc]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x401bb0
lea edx, [esp + 0xc]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xc]
push 0x104
push edx
rep stosd dword es:[edi], eax
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0xc]
push 0x5c
push eax
call fcn.00402c40
mov edx, eax
add esp, 8
test edx, edx
jne 0x401ba7
lea ecx, [esp + 0xc]
push 0x2f
push ecx
call fcn.00402c40
mov edx, eax
add esp, 8
test edx, edx
je 0x401baa
inc edx
jmp 0x401bc2
lea edx, [esp + 0xc]
jmp 0x401bc2
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edx, [esp + ecx + 0xc]
mov edi, 0x41ad7c
or ecx, 0xffffffff
xor eax, eax
push 0x9e
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebx
call fcn.00401590
test eax, eax
pop esi
je 0x401c06
lea edx, [esp + 8]
mov ecx, ebx
push edx
call fcn.00401c10
pop edi
pop ebx
add esp, 0x104
ret
Function at 0x40d237
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 0x40d279
call fcn.0040fef0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x40d279
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x40d270
xor eax, eax
jmp 0x40d281
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0040d287
pop edi
pop esi
pop ebx
ret 4

Function at 0x4105cc
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 0x4105fa
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x410618
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00410532
jmp 0x410618
mov eax, dword [esi + 0x14]
test eax, eax
je 0x410618
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00410532
test edi, edi
mov eax, edi
jne 0x410602
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x416375
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
test edx, edx
jle 0x416430
test eax, eax
je 0x416430
push esi
mov esi, edx
sar edx, 2
and esi, 3
test edx, edx
jle 0x4163bc
push ebx
push edi
movzx edi, word [eax]
add ecx, edi
movzx edi, word [eax + 2]
mov ebx, ecx
shl ebx, 5
xor edi, ebx
shl edi, 0xb
xor ecx, edi
mov edi, ecx
shr edi, 0xb
add eax, 4
add ecx, edi
dec edx
test edx, edx
jg 0x416396
pop edi
pop ebx
dec esi
je 0x4163f2
dec esi
je 0x4163df
dec esi
jne 0x416404
movzx edx, word [eax]
movsx eax, byte [eax + 2]
shl eax, 2
add ecx, edx
xor eax, ecx
shl eax, 0x10
xor ecx, eax
mov eax, ecx
shr eax, 0xb
jmp 0x416402
movzx eax, word [eax]
add ecx, eax
mov eax, ecx
shl eax, 0xb
xor ecx, eax
mov eax, ecx
shr eax, 0x11
jmp 0x416402
movsx eax, byte [eax]
add ecx, eax
mov eax, ecx
shl eax, 0xa
xor ecx, eax
mov eax, ecx
shr eax, 1
add ecx, eax
mov eax, ecx
shl eax, 3
xor ecx, eax
mov eax, ecx
shr eax, 5
add ecx, eax
mov eax, ecx
shl eax, 4
xor ecx, eax
mov eax, ecx
shr eax, 0x11
add ecx, eax
mov eax, ecx
shl eax, 0x19
xor ecx, eax
mov eax, ecx
shr eax, 6
add eax, ecx
pop esi
ret
xor eax, eax
ret

Function at 0x416d6b
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x445084]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa8]
push ebx
push esi
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xac]
push edi
mov dword [ebp - 0x7c], eax
push 0x104
lea eax, [ebp - 0x6c]
push eax
push 0
call dword [0x434294]
call dword [0x434200]
mov edi, dword [0x434254]
push 0xab6f0
push 8
push eax
mov dword [ebp - 0x70], eax
call edi
mov esi, 0xab6e0
push esi
mov ebx, eax
push 0x446490
push ebx
mov dword [ebp - 0x74], ebx
call fcn.00422930
add esp, 0xc
xor eax, eax
xor word [ebx + eax*2], 0x79
inc eax
cmp eax, 0x55b70
jl 0x416de0
mov eax, 0x4b00a0
push eax
push 8
push dword [ebp - 0x70]
mov dword [ebp - 0x78], eax
call edi
push esi
push dword [ebp - 0x74]
mov ebx, eax
lea eax, [ebp - 0x78]
push eax
push ebx
call fcn.0041bdc0
add esp, 0x10
push dword [ebp - 0x74]
xor esi, esi
push esi
push dword [ebp - 0x70]
call dword [0x4341fc]
mov eax, dword [ebx]
jmp 0x416e34
cmp eax, dword [ebp + 0xa4]
je 0x416e3a
inc esi
mov eax, esi
imul eax, eax, 0xc
mov eax, dword [eax + ebx]
test eax, eax
jg 0x416e23
jmp 0x416e75
imul esi, esi, 0xc
add esi, ebx
push dword [esi + 4]
push 8
push dword [ebp - 0x70]
call edi
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x7c]
mov dword [ecx], eax
mov eax, dword [esi + 4]
mov dword [edx], eax
push dword [esi + 4]
mov eax, dword [esi + 8]
add eax, ebx
push eax
push dword [ecx]
call fcn.00422930
add esp, 0xc
push ebx
push 0
push dword [ebp - 0x70]
call dword [0x4341fc]
mov ecx, dword [ebp + 0x98]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.00420d58
add ebp, 0x9c
leave
ret 0xc
Function at 0x41a114
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0xba4]
sub esp, 0xc24
mov eax, dword [0x445084]
xor eax, ebp
mov dword [ebp + 0xba0], eax
mov eax, dword [ebp + 0xbb0]
push ebx
push esi
push edi
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0xbb4]
mov edi, 0x1ff
xor ebx, ebx
push edi
mov dword [ebp - 0x78], eax
lea eax, [ebp + 0x9a1]
push ebx
push eax
mov byte [ebp + 0x9a0], bl
call fcn.00420ea0
lea esi, [edi + 8]
push esi
lea eax, [ebp + 0x391]
push ebx
push eax
mov byte [ebp + 0x390], bl
call fcn.00420ea0
push esi
lea eax, [ebp + 0x599]
push ebx
push eax
mov byte [ebp + 0x598], bl
call fcn.00420ea0
add esp, 0x24
call fcn.00416e9e
mov dword [ebp - 0x80], eax
call dword [0x434200]
add esi, 0xfffffff9
push esi
push 8
push eax
call dword [0x434254]
push edi
mov dword [ebp - 0x7c], eax
lea eax, [ebp + 0x7a1]
push ebx
push eax
mov byte [ebp + 0x7a0], bl
call fcn.00420ea0
push dword [ebp - 0x78]
mov edi, dword [0x4342f8]
push 0x43ba04
lea eax, [ebp + 0x7a0]
push esi
push eax
call edi
add esp, 0x1c
cmp dword [ebp + 0xbac], 0x8f
jne 0x41a205
mov eax, dword [0x4f3f24]
cmp eax, ebx
je 0x41a205
push dword [ebp - 0x78]
push eax
push 0x43d6bc
lea eax, [ebp + 0x7a0]
push esi
push eax
call edi
add esp, 0x14
push 0x43bbf0
lea eax, [ebp + 0x7a0]
push eax
push dword [ebp - 0x74]
lea eax, [ebp + 0x9a0]
push dword [ebp + 0xbac]
push 0x43bc08
push 0x43ed90
push esi
push eax
call edi
add esp, 0x20
lea eax, [ebp + 0x9a0]
push eax
call dword [0x434268]
cmp eax, ebx
jle 0x41a24f
xor byte [ebp + ebx + 0x9a0], 0x83
inc ebx
cmp ebx, eax
jl 0x41a242
lea ecx, [ebp - 0x74]
push ecx
push eax
lea eax, [ebp + 0x9a0]
push eax
lea eax, [ebp + 0x390]
mov dword [ebp - 0x74], 0x208
call fcn.00419ff3
lea eax, [ebp + 0x390]
push eax
lea eax, [ebp + 0x598]
push eax
call fcn.00417588
lea eax, [ebp + 0x598]
push eax
push dword [ebp - 0x80]
lea eax, [ebp - 0x70]
push 0x43eda0
push 0x400
push eax
call edi
push esi
push dword [ebp - 0x7c]
lea eax, [ebp - 0x70]
push eax
call fcn.004172c1
mov ecx, dword [ebp + 0xba0]
add esp, 0x34
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00420d58
add ebp, 0xba4
leave
ret
Function at 0x41a4af
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xbac
mov eax, dword [0x445084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0xb9c], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0xba4], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push 0xff
mov dword [ebp - 0xba0], eax
lea eax, [ebp - 0x187]
push ebx
push eax
mov byte [ebp - 0x188], bl
call fcn.00420ea0
add esp, 0xc
call fcn.00416e92
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.004234b0
pop ecx
pop ecx
call fcn.00416e98
push eax
lea eax, [ebp - 0x188]
push eax
call fcn.004228a0
pop ecx
lea eax, [ebp + eax - 0x188]
push eax
call fcn.004234b0
push 0x1ff
lea eax, [ebp - 0x387]
push ebx
push eax
mov byte [ebp - 0x388], bl
call fcn.00420ea0
add esp, 0x14
mov esi, 0x207
push esi
lea eax, [ebp - 0x797]
push ebx
push eax
mov byte [ebp - 0x798], bl
call fcn.00420ea0
add esp, 0xc
push esi
lea eax, [ebp - 0x58f]
push ebx
push eax
mov byte [ebp - 0x590], bl
call fcn.00420ea0
add esp, 0xc
call dword [0x434200]
lea edi, [esi - 7]
push edi
push 8
push eax
call dword [0x434254]
push 0x3f
mov dword [ebp - 0xba8], eax
lea eax, [ebp - 0x47]
push ebx
push eax
mov byte [ebp - 0x48], bl
call fcn.00420ea0
add esp, 0xc
lea esi, [ebp - 0x48]
call fcn.00415eb0
push 0x3f
lea eax, [ebp - 0x87]
push ebx
push eax
mov byte [ebp - 0x88], bl
call fcn.00420ea0
add esp, 0xc
lea eax, [ebp - 0x88]
push eax
call fcn.00415f13
pop ecx
call fcn.00403ae6
lea ecx, [ebp - 0x88]
push ecx
push dword [ebp - 0xba4]
movzx eax, al
push dword [ebp - 0xb9c]
push eax
mov eax, esi
push eax
push 0x43bbf0
push 0x43bc08
push 0x43ede4
lea eax, [ebp - 0x388]
push edi
push eax
call dword [0x4342f8]
add esp, 0x28
lea eax, [ebp - 0x388]
push eax
call dword [0x434268]
xor ecx, ecx
cmp eax, ebx
jle 0x41a636
xor byte [ebp + ecx - 0x388], 0x83
inc ecx
cmp ecx, eax
jl 0x41a629
lea ecx, [ebp - 0xb9c]
push ecx
push eax
lea eax, [ebp - 0x388]
push eax
lea eax, [ebp - 0x798]
mov dword [ebp - 0xb9c], 0x208
call fcn.00419ff3
add esp, 0xc
lea eax, [ebp - 0x798]
push eax
lea eax, [ebp - 0x590]
push eax
call fcn.00417588
lea eax, [ebp - 0x590]
push eax
lea eax, [ebp - 0x188]
push eax
push 0x43eda0
lea eax, [ebp - 0xb98]
push 0x400
push eax
call fcn.00420de4
add esp, 0x1c
cmp dword [ebp - 0xba0], ebx
je 0x41a6ba
push dword [ebp + 0x14]
lea eax, [ebp - 0x590]
push eax
push dword [ebp + 0x14]
push dword [ebp - 0xba0]
call fcn.00423403
add esp, 0x10
push edi
push dword [ebp - 0xba8]
lea eax, [ebp - 0xb98]
push eax
call fcn.004172c1
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.00420d58
leave
ret
Function at 0x41b829
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x920
mov eax, dword [0x445084]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x103
mov dword [ebp - 0x91c], eax
lea eax, [ebp - 0x113]
push 0
push eax
mov byte [ebp - 0x114], 0
call fcn.00420ea0
lea eax, [ebp - 0x114]
add esp, 0xc
push eax
call fcn.0041385f
mov esi, dword [0x434310]
lea eax, [ebp - 0x114]
mov dword [esp], 0x43cc20
push eax
call esi
test eax, eax
jbe 0x41b98a
call fcn.0041b5c6
mov esi, dword [0x434048]
and dword [ebp - 0x918], 0
lea eax, [ebp - 0x918]
push eax
push 0x43ebc0
mov edi, 0x80000001
push edi
call esi
push dword [ebp - 0x918]
mov ebx, dword [0x434050]
call ebx
lea eax, [ebp - 0x918]
push eax
push 0x43eb9c
push edi
call esi
test eax, eax
jne 0x41b9ab
push 0x7ff
mov byte [ebp - 0x914], al
xor edi, edi
lea eax, [ebp - 0x913]
push edi
push eax
call fcn.00420ea0
add esp, 0xc
push dword [ebp - 0x91c]
lea eax, [ebp - 0x914]
push 0x800
push eax
call fcn.00422699
mov esi, dword [0x434268]
add esp, 0xc
push dword [ebp - 0x91c]
call esi
test eax, eax
jle 0x41b959
mov eax, dword [ebp - 0x91c]
lea ecx, [ebp - 0x914]
sub eax, ecx
mov dword [ebp - 0x920], eax
mov ecx, dword [ebp - 0x920]
push dword [ebp - 0x91c]
lea eax, [ebp + edi - 0x914]
mov cl, byte [ecx + eax]
xor cl, 0x5f
mov byte [eax], cl
inc edi
call esi
cmp edi, eax
jl 0x41b937
lea eax, [ebp - 0x914]
push eax
call esi
inc eax
push eax
lea eax, [ebp - 0x914]
push eax
push 1
push 0
push 0x43edfc
push dword [ebp - 0x918]
call dword [0x43401c]
push dword [ebp - 0x918]
call ebx
jmp 0x41b9ab
push 0x43cc10
lea eax, [ebp - 0x114]
push eax
call esi
test eax, eax
jbe 0x41b9ab
call fcn.0041b01b
cmp eax, 6
jne 0x41b9ab
call fcn.0041b659
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00420d58
leave
ret
Function at 0x41b9bc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
mov eax, dword [0x445084]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 2
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x810], eax
jne 0x41bae0
call fcn.0041b5c6
mov esi, dword [0x434048]
and dword [ebp - 0x80c], 0
lea eax, [ebp - 0x80c]
push eax
push 0x43ebc0
mov edi, 0x80000001
push edi
call esi
push dword [ebp - 0x80c]
mov ebx, dword [0x434050]
call ebx
lea eax, [ebp - 0x80c]
push eax
push 0x43eb9c
push edi
call esi
test eax, eax
jne 0x41bb04
push 0x7ff
mov byte [ebp - 0x808], al
xor edi, edi
lea eax, [ebp - 0x807]
push edi
push eax
call fcn.00420ea0
add esp, 0xc
push dword [ebp - 0x810]
lea eax, [ebp - 0x808]
push 0x800
push eax
call fcn.00422699
mov esi, dword [0x434268]
add esp, 0xc
push dword [ebp - 0x810]
call esi
test eax, eax
jle 0x41baaf
mov eax, dword [ebp - 0x810]
lea ecx, [ebp - 0x808]
sub eax, ecx
mov dword [ebp - 0x814], eax
mov ecx, dword [ebp - 0x814]
push dword [ebp - 0x810]
lea eax, [ebp + edi - 0x808]
mov cl, byte [ecx + eax]
xor cl, 0x5f
mov byte [eax], cl
inc edi
call esi
cmp edi, eax
jl 0x41ba8d
lea eax, [ebp - 0x808]
push eax
call esi
inc eax
push eax
lea eax, [ebp - 0x808]
push eax
push 1
push 0
push 0x43edfc
push dword [ebp - 0x80c]
call dword [0x43401c]
push dword [ebp - 0x80c]
call ebx
jmp 0x41bb04
cmp dword [ebp + 8], 1
jne 0x41baf7
call fcn.0041b01b
cmp eax, 6
jne 0x41bb04
call fcn.0041b659
jmp 0x41bb04
cmp dword [ebp + 8], 3
je 0x41bb04
push eax
call fcn.0041b829
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00420d58
leave
ret
Function at 0x104db058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x104db1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x104db07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104db06a
add dl, dl
jne 0x104db089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104db0dc
xor eax, eax
add dl, dl
jne 0x104db096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x104db17d
add dl, dl
jne 0x104db0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104db0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104db0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104db0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x104db0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x104db075
mov eax, 1
add dl, dl
jne 0x104db0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x104db0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104db0e1
sub eax, ebx
mov ebx, 1
jne 0x104db128
mov ecx, 1
add dl, dl
jne 0x104db10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104db119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104db105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104db075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x104db13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x104db14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x104db136
cmp eax, 0x7d00
jae 0x104db16d
cmp eax, 0x500
jb 0x104db168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104db075
cmp eax, 0x7f
ja 0x104db170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x104db075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x104db19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x104db075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
nop
mov ecx, 0x6d8d0189
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x2c8a0044
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x4010a6
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x4010a6
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop word [eax + eax]
mov eax, str.Among_Us.exe
lea ecx, [ebp - 0x20c]
nop dword [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x401086
test dx, dx
je 0x401082
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x401086
add ecx, 4
add eax, 4
test dx, dx
jne 0x401060
xor eax, eax
jmp 0x40108b
sbb eax, eax
or eax, 1
test eax, eax
je 0x40109f
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x401050
jmp 0x4010a5
mov ebx, dword [ebp - 0x228]
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.004014a7
mov esp, ebp
pop ebp
ret