joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005ff0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001783b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1001f494]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10007767
push 4
mov dword [ebp - 4], 0
call fcn.10007f1e
mov edi, eax
add esp, 4
test edi, edi
je 0x1000606c
call fcn.100072b8
mov dword [edi], eax
call fcn.10007077
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.10006fac
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10006062
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.10006fd4
jmp 0x1000606e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10006c70
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
push str.GetLogicalProcessorInformation
xor esi, esi
push str.kernel32
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
jne 0x10006cb0
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 4]
push ecx
push esi
call edi
test eax, eax
jne 0x10006cfe
call ebx
cmp eax, 0x7a
jne 0x10006cf2
test esi, esi
je 0x10006cd6
push esi
call fcn.100082e3
add esp, 4
mov edx, dword [ebp - 4]
push edx
call fcn.10009071
mov esi, eax
add esp, 4
test esi, esi
jne 0x10006cb7
pop ebx
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret
pop ebx
pop edi
mov eax, 0xfffffffe
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
cmp ecx, 0x18
jb 0x10006d21
mov eax, 0x18
jmp 0x10006d10
cmp dword [esi + eax - 0x14], 0
jne 0x10006d1a
inc dword [ebp - 8]
add eax, 0x18
cmp eax, ecx
jbe 0x10006d10
push esi
call fcn.100082e3
mov eax, dword [ebp - 8]
add esp, 4
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1000791e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001f494]
jne 0x10007928
repz ret
jmp fcn.1000bf6d
Function at 0x10015ada
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1001f494]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000d22c
and dword [ebp - 0x14], 0
cmp dword [0x100212d0], 0
mov dword [ebp - 0x18], eax
jne 0x10015b8d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10015c35
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10015c35
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x100212d0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x100212d4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x100212d8], eax
call edi
push eax
call esi
mov dword [0x100212e0], eax
test eax, eax
je 0x10015b8d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x100212dc], eax
mov eax, dword [0x100212dc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10015be6
cmp dword [0x100212e0], ecx
je 0x10015be6
push eax
call esi
push dword [0x100212e0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10015be6
test ebx, ebx
je 0x10015be6
call edi
test eax, eax
je 0x10015bdd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10015bdd
test byte [ebp - 8], 1
jne 0x10015be6
or dword [ebp + 0x10], 0x200000
jmp 0x10015c19
mov eax, dword [0x100212d4]
cmp eax, dword [ebp - 0x18]
je 0x10015c19
push eax
call esi
test eax, eax
je 0x10015c19
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10015c19
mov eax, dword [0x100212d8]
cmp eax, dword [ebp - 0x18]
je 0x10015c19
push eax
call esi
test eax, eax
je 0x10015c19
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x100212d0]
call esi
test eax, eax
je 0x10015c35
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10015c37
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000791e
leave
ret
Function at 0x418d58
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x5956d8]
cmp eax, 0x270
jl 0x418e26
xor edx, edx
mov eax, dword [edx*4 + 0x5c4040]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5c4044]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5c4674]
xor ecx, dword [eax*4 + 0x56e5e0]
mov dword [edx*4 + 0x5c4040], ecx
inc edx
cmp edx, 0xe3
jl 0x418d6a
cmp edx, 0x26f
jge 0x418df2
mov eax, dword [edx*4 + 0x5c4040]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5c4044]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5c3cb4]
xor ecx, dword [eax*4 + 0x56e5e0]
mov dword [edx*4 + 0x5c4040], ecx
inc edx
cmp edx, 0x26f
jl 0x418db2
mov edx, dword [0x5c49fc]
and edx, 0x80000000
mov eax, dword [0x5c4040]
and eax, 0x7fffffff
or edx, eax
mov ecx, edx
shr ecx, 1
xor ecx, dword [0x5c4670]
and edx, 1
xor ecx, dword [edx*4 + 0x56e5e0]
mov dword [0x5c49fc], ecx
xor eax, eax
lea edx, [eax + 1]
mov dword [0x5956d8], edx
mov eax, dword [eax*4 + 0x5c4040]
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
ret
Function at 0x4551b4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push ebx
push esi
mov ecx, edx
mov edx, eax
mov esi, ecx
shr esi, 2
and ecx, 3
test esi, esi
je 0x45523b
je 0x45526a
mov eax, 0xffffffff
xor ebx, ebx
mov dword [esp], edi
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5951a0]
movzx edi, byte [edx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5951a0]
movzx edi, byte [edx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5951a0]
movzx edi, byte [edx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x5951a0]
add edx, 4
inc ebx
cmp ebx, esi
jb 0x4551d7
mov edi, dword [esp]
jmp 0x455240
mov eax, 0xffffffff
test ecx, ecx
je 0x455264
je 0x455264
xor ebx, ebx
inc edx
movzx esi, byte [edx - 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x5951a0]
inc ebx
cmp ebx, ecx
jb 0x455248
not eax
pop ecx
pop ebx
pop esi
ret
mov eax, 0xffffffff
jmp 0x455240

Function at 0x456a10
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push 0x419ed4
call fcn.004609c8
add esp, 0xc
movsx edx, byte [0x5956f8]
dec edx
push edx
push eax
call dword [0x56e08c]
ret

Function at 0x45b62c
Capabilities:
Create thread

Disassembly:
push ebx
sub esp, 8
movsx edx, byte [0x5956f4]
test edx, edx
jle 0x45b685
xor eax, eax
mov ebx, eax
xor edx, edx
push edx
push edx
push edx
push edx
call dword [0x56e0ac]
mov dword [ebx*4 + 0x792000], eax
xor edx, edx
push edx
push edx
push edx
push edx
call dword [0x56e0ac]
mov dword [ebx*4 + 0x792100], eax
xor edx, edx
push edx
push 1
push edx
push edx
call dword [0x56e0ac]
mov dword [ebx*4 + 0x792200], eax
inc ebx
movsx edx, byte [0x5956f4]
cmp ebx, edx
jl 0x45b63f
test edx, edx
jle 0x45b6d9
xor edx, edx
xor eax, eax
mov dword [esp], esi
mov ebx, eax
mov esi, edx
mov dword [ebx + 0x790600], esi
xor edx, edx
lea eax, [ebx + 0x790600]
lea ecx, [esp + 4]
push ecx
push edx
push eax
push 0x41cdfc
push edx
push edx
call fcn.00462111
add esp, 0x18
mov dword [esi*4 + 0x790500], eax
push esi
push eax
call dword [0x56e08c]
add ebx, 0x68
inc esi
movsx ecx, byte [0x5956f4]
cmp esi, ecx
jl 0x45b694
mov esi, dword [esp]
add esp, 8
pop ebx
ret

Function at 0x45b6e0
Capabilities:
Create thread

Disassembly:
movsx eax, byte [0x7df514]
test eax, eax
je 0x45b6fc
xor eax, eax
push eax
push eax
push 0x41cda0
call fcn.004609c8
add esp, 0xc
ret
Function at 0x45ce14
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
call dword [0x56e3ec]
test eax, eax
jg 0x45ce28
mov dword [0x7df340], eax
xor eax, eax
pop ecx
ret
mov edx, 0x10
cmp eax, 0x10
jl 0x45ce34
mov eax, edx
mov dword [0x7df340], eax
xor eax, eax
mov dword [esp], ebx
mov ebx, eax
lea edx, [ebx + 0x787980]
push 0x34
push edx
call dword [0x5b2480]
add esp, 8
mov dword [ebx + 0x787980], 0x34
mov dword [ebx + 0x787984], 0x83
add ebx, 0x34
cmp ebx, 0x340
jl 0x45ce40
mov ebx, dword [esp]
mov dword [0x787cc0], 1
mov dword [0x787cc4], 2
mov dword [0x787cc8], 4
mov dword [0x787ccc], 8
mov dword [0x787cd0], 0x10
mov dword [0x787cd4], 0x20
mov dword [0x787cd8], 0x40
mov dword [0x787cdc], 0x80
mov dword [0x787ce0], 0x100
mov dword [0x787ce4], 0x200
mov dword [0x787ce8], 0x400
mov dword [0x787cec], 0x800
mov dword [0x787cf0], 0x1000
mov dword [0x787cf4], 0x2000
mov dword [0x787cf8], 0x4000
mov dword [0x787cfc], 0x8000
mov dword [0x787d00], 0x10000
mov dword [0x787d04], 0x20000
mov dword [0x787d08], 0x40000
mov dword [0x787d0c], 0x80000
mov dword [0x787d10], 0x100000
mov dword [0x787d14], 0x200000
mov dword [0x787d18], 0x400000
mov dword [0x787d1c], 0x800000
mov dword [0x787d20], 0x1000000
mov dword [0x787d24], 0x2000000
mov dword [0x787d28], 0x4000000
mov dword [0x787d2c], 0x8000000
mov dword [0x787d30], 0x10000000
mov dword [0x787d34], 0x20000000
mov dword [0x787d38], 0x40000000
mov dword [0x787d3c], 0x80000000
mov eax, 1
pop ecx
ret

Function at 0x45d334
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x5c4040], eax
mov eax, 1
mov ecx, dword [eax*4 + 0x5c403c]
mov edx, ecx
shr edx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5c4040], edx
inc eax
cmp eax, 0x270
jl 0x45d342
mov dword [0x5956d8], eax
ret
Function at 0x56d680
Capabilities:
Access peb ldr_data
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570750
push 0x463990
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [0x56e0f0]
xor edx, edx
mov dl, ah
mov dword [0x7dfe44], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x7dfe40], ecx
shl ecx, 8
add ecx, edx
mov dword [0x7dfe3c], ecx
shr eax, 0x10
mov dword [0x7dfe38], eax
push 1
call fcn.00462588
pop ecx
test eax, eax
jne 0x4622b5
push 0x1c
call fcn.00462377
pop ecx
call fcn.0046653b
test eax, eax
jne 0x4622c6
push 0x10
call fcn.00462377
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
call fcn.00465fdb
call dword [0x56e0ec]
mov dword [0x7e4174], eax
call fcn.00468097
mov dword [0x7dfe90], eax
call fcn.00467e4a
call fcn.00467d91
call fcn.00460505
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x5c]
push eax
call dword [0x56e244]
call fcn.00467d39
mov dword [ebp - 0x64], eax
test byte [ebp - 0x30], 1
je 0x462315
movzx eax, word [ebp - 0x2c]
jmp 0x462318
push 0xa
pop eax
push eax
push dword [ebp - 0x64]
push esi
push esi
call dword [0x56e1e8]
push eax
call fcn.00403920
mov dword [ebp - 0x60], eax
push eax
call fcn.00460532
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
push eax
push ecx
call fcn.004666a9
pop ecx
pop ecx
ret
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, 0x3a577b9
call fcn.0056d600
sub esp, 0x10
mov ecx, esp
mov ecx, 0x31855957
xor ecx, 0x56ef3d65
mov dword [esp], ecx
mov ecx, 0x434a47a0
xor ecx, 0x6d2f2ac1
mov dword [esp + 4], ecx
mov ecx, 0x679800c2
xor ecx, 0x67ec78b6
mov dword [esp + 8], ecx
push esp
call eax
add esp, 0x10
cmp eax, 0xffffffff
jne 0x46224a
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1002aaee
pop dword [ebp - 0x38]
mov eax, 0xef5ae0fd
add eax, 0x20a7c9f1
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x1600043c
sub dword [ebp - 0x48], 0xc7adbef1
mov dword [ebp - 0x44], 0xbc0f1452
sub dword [ebp - 0x44], 0x89dbc80d
mov dword [ebp - 0x40], 0x89d5b6d0
sub dword [ebp - 0x40], 0x3d8972a2
mov dword [ebp - 0x3c], 0xc9c067d2
sub dword [ebp - 0x3c], 0xc9c067d2
lea eax, [ebp - 0x48]
push eax
mov eax, 0x423b795a
sub eax, 0x3238b922
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x877a9b8f
add dword [ebp - 0x48], 0xecf7cdc7
mov dword [ebp - 0x44], 0x58a0ddaf
sub dword [ebp - 0x44], 0x17347c3a
mov dword [ebp - 0x40], 0x10c528d2
add dword [ebp - 0x40], 0x52aa439a
mov dword [ebp - 0x3c], 0xb6864f24
add dword [ebp - 0x3c], 0x4979b0dc
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0x948c4c4f
add eax, 0x7b7673d9
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x35f00
push 0
call eax
mov ecx, 0x8065f140
sub ecx, 0x8065ab5f
mov edi, eax
mov esi, 0x10039600
add esi, dword [ebp - 0x38]
mov ebx, 0xc0b20ae7
xor dword [ebp - 0x2c], edi
mov edx, dword [esi]
mov dword [ebp - 0x24], 0x2c9cce32
add edx, ebx
sub dword [ebp - 0x28], esi
mov dword [edi], edx
sub dword [ebp - 0x1c], ebx
add edi, 4
add esi, 4
loop 0x1002ac04
add eax, 0xc1951dd6
add eax, 0x3e6bec81
mov ebx, eax
add eax, 0xe19fed5
sub eax, 0xe19fed0
mov ecx, 0x584341fa
sub ecx, 0x484341fa
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x41e9ee
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c590
push 0x42c588
push str.FlsAlloc
push 0x1f
call fcn.0041e88a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41ea22
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281d0]
call esi
jmp 0x41ea28
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41ea6c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c5a0
push 0x42c598
push str.FlsGetValue
push 0x21
call fcn.0041e88a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41eaa3
push dword [ebp + 8]
mov ecx, esi
call dword [0x4281d0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41eaab
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42c5a8
push 0x42c5a0
push str.FlsSetValue
push 0x22
call fcn.0041e88a
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41eae5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4281d0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x5a8f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x5bd9fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x5a9002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.005acdff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x5a9002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.005a46e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.005ad20b
push 0x10
call fcn.005ad1d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x5a8fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.005991c0
jmp 0x5a8fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.005a8b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x5a8ff0
mov ecx, edi
call fcn.005992c0
push edi
call fcn.005ad1c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x5a9021
inc ebx
cmp ebx, 0x20
jb 0x5a8f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x5ac1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.005ac140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.005ac140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.005ac140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.005ac140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x5acbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5acc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x5be87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x5acc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x5acc52
xor eax, eax
pop esi
leave
ret 4
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x402c00
pop dword [ebp - 0x14]
mov eax, 0x194a6b9e
sub eax, 0x190a3f9e
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x3fe6a5b4
sub dword [ebp - 0x24], 0xf1946069
mov dword [ebp - 0x20], 0x3b2a1fa8
add dword [ebp - 0x20], 0xf7092c9d
mov dword [ebp - 0x1c], 0xe967c7e9
sub dword [ebp - 0x1c], 0x9d1b83bb
mov dword [ebp - 0x18], 0x3465452b
add dword [ebp - 0x18], 0xcb9abad5
lea eax, [ebp - 0x24]
push eax
mov eax, 0xe74efa08
add eax, 0x18f18684
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xb42e8204
add dword [ebp - 0x24], 0xc043e752
mov dword [ebp - 0x20], 0x631e0150
sub dword [ebp - 0x20], 0x21b19fdb
mov dword [ebp - 0x1c], 0x94954cb2
sub dword [ebp - 0x1c], 0x3125e046
mov dword [ebp - 0x18], 0xb324d310
add dword [ebp - 0x18], 0x4cdb2cf0
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x50733adc
sub eax, 0x5032ba08
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x388c6
push 0
call eax
mov ecx, 0x45570b05
sub ecx, 0x4556bb95
xor edx, edx
add edx, eax
mov esi, 0xc5d4d957
sub esi, 0xc593c957
add esi, dword [ebp - 0x14]
mov ebx, 0xd5aad43a
xor dword [ebp - 0x10], esi
mov edi, dword [esi]
mov dword [ebp - 4], 0x872364e5
sub edi, ebx
sub dword [ebp - 8], esi
mov dword [edx], edi
add edx, 4
add esi, 4
loop 0x402d1e
add eax, 0x13093
xor ebx, ebx
add ebx, eax
add eax, 0x5a187ac3
sub eax, 0x5a187abe
mov ecx, 0x358aff57
sub ecx, 0x354aff57
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x268424a
Capabilities:
Check for trap flag exception

Disassembly:
push ebx
jmp 0x266b582
pushfd
or dword [esp], reloc.WINMM.dll_midiStreamStop
popfd
cpuid
nop
jmp 0x266b599
pop ebx
ret
lea esp, [esp + 4]
jmp 0x266b576
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408e84
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x54a007d8
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4a72113f
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4300c0
popal
nop
nop
nop
nop
nop
jmp 0x401219