joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40101e
Capabilities:
Terminate thread

Disassembly:
jmp 0x4013d0
mov ecx, 0x67
mov edx, ecx
mov dword [0x5833b8], esp
jmp 0x4013ea
lea eax, [fcn.00401005]
call fcn.00401005
mov edx, ebx
add dword [0x5833b0], edx
mov eax, esi
add dword [0x5833a8], eax
push ebp
pop dword [0x5833b4]
mov eax, edi
add dword [0x5833ac], eax
cmp ecx, 0x67
je 0x4013df
mov dword [ebp], eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x48
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x34]
xor ecx, ecx
xor edx, edx
mov esi, eax
sub esi, 0x11
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], esi
je 0x4014c2
jmp 0x401451
mov eax, dword [esp + 0x30]
sub eax, 0x62
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
je 0x4014c2
jmp 0x401468
mov eax, dword [esp + 0x1c]
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx + 4], edx
mov dword [ecx], 0xa3cc0
mov ecx, dword [sym.imp.GDI32.dll_GetWindowExtEx]
mov dword [esp + 0x18], eax
call ecx
sub esp, 8
mov ecx, esp
mov dword [ecx + 4], 0
mov dword [ecx], 0xb39e16
mov ecx, dword [sym.imp.KERNEL32.dll_SetFileCompletionNotificationModes]
mov dword [esp + 0x14], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x18]
add ecx, 1
cmp ecx, 0xa
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ecx
jne 0x401468
mov eax, esp
mov dword [eax + 4], 0x4d3
mov dword [eax], 0x299316
mov eax, dword [sym.imp.KERNEL32.dll_TerminateThread]
call eax
sub esp, 8
mov ecx, dword [esp + 0x30]
add ecx, 1
cmp ecx, 0x10d
mov dword [esp + 0xc], eax
mov dword [esp + 0x34], ecx
jne 0x401430
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x401318
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
mov eax, 0x5818
call fcn.004019ec
call fcn.004017e0
lea ebx, [ebp - 0x580c]
mov esi, 0x403040
mov ecx, 0x15fd
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
call sub.KERNEL32.dll_FreeConsole
mov esi, dword [ebp - 0x618]
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x1000
mov dword [esp + 4], 0x57f4
mov dword [esp], 0
call sub.KERNEL32.dll_VirtualAlloc
sub esp, 0x10
mov edi, eax
xor ecx, ecx
nop
mov edx, edi
mov al, byte [ebx + ecx]
mov byte [edi + ecx], al
inc ecx
cmp ecx, 0x57f4
jne 0x401384
jmp loc.0040cb04

Function at 0x4014d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x4014f6
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x40158a
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x401545
cmp eax, 0x40
je 0x401545
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x4014e9
cmp eax, 0x40
je 0x4014e9
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
jmp 0x4014e9
jmp 0x40ceb0
Function at 0x403000
Capabilities:
Access peb ldr_data
Get disk information
Get number of processors
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
push esi
push edi
xor eax, eax
add eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x428ecc], eax
mov esi, dword [sym.imp.GDI32.dll_AbortPath]
mov edi, dword [0x428ed0]
xor ebx, ebx
push ebx
call esi
and eax, 0x541e3183
or eax, 0x30
xor edx, edx
mov ecx, 0x643d3efd
div ecx
mov ecx, 0x56c1bae
push 0x5d
mov eax, edx
imul eax, edi
xor edx, edx
div ecx
mov ecx, 0xeb9b6d37
mov eax, edx
xor edx, edx
div ecx
mov eax, 0xb8
mov ecx, edx
or ecx, 0x9a4b248a
xor edx, edx
div ecx
xor edx, edx
mov ecx, eax
xor ecx, 0x4542
or ecx, 0xc4563ab9
pop eax
div ecx
mov eax, 0xdd
push ebx
mov ecx, edx
and ecx, 0x5802
xor ecx, 0x5203
or ecx, 0x49c85bc
xor edx, edx
div ecx
xor edx, edx
mov ecx, 0x1b4d
sub eax, 0x6e4af79d
xor eax, 0xf3
sub ecx, eax
or ecx, 0x48f57e16
mov eax, 0x8c
div ecx
xor edx, edx
mov ecx, eax
mov dword [0x428ed0], ecx
or ecx, 0xd5686c68
mov eax, 0xfe
div ecx
xor edx, edx
mov ecx, eax
or ecx, 0x7e7cc619
mov eax, 0x28c00003
div ecx
mov edi, eax
call esi
and eax, 0x67c4
imul eax, edi
mov dword [0x428ed0], eax
call fcn.00403850
mov dword [0x428ed0], eax
call fcn.0040385e
mov dword [0x428ed0], eax
call fcn.00403873
mov ecx, eax
xor ecx, 0x81
add ecx, 0xf83d2e2
push 0x44
or ecx, 0x10a7c915
pop eax
xor edx, edx
div ecx
mov ecx, eax
or ecx, 0x97818165
xor edx, edx
mov eax, 0x75b60b1
div ecx
mov dword [0x428ed0], eax
call fcn.0040387e
lea ecx, [eax + 0x1f44eada]
xor edx, edx
or ecx, 0x8ea40362
mov eax, 0xb1
div ecx
xor edx, edx
mov ecx, 0x4f63
push ebx
xor eax, 0x119ffc13
mov dword [0x428ed0], eax
div ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
and eax, 0x25
add eax, esi
and eax, 0x6b
xor eax, 0x37
imul eax, eax, 0x13
mov edi, 0x80
xor eax, edi
or eax, 0x15
xor edx, edx
mov ecx, 0x45e62ebd
div ecx
mov dword [0x428ed0], edx
call fcn.00403895
xor edx, edx
mov ecx, 0x4669ffdd
div ecx
xor edx, 0x41
add edx, 0xd0
or edx, 0x4576cade
mov dword [0x428ed0], edx
call fcn.004038b8
mov dword [0x428ed0], eax
jmp loc.00432000

Function at 0x4039bc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x428ed0]
imul esi, esi, 0x7c
add esi, dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
mov eax, dword [ebp + 0xc]
and ecx, 0x18828e7a
add ecx, esi
xor ecx, 0x40
or ecx, 0xc407159f
xor edx, edx
div ecx
pop esi
pop ebp
ret

Function at 0x403ba2
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
and eax, dword [ebp + 0xc]
and eax, 0x76
add eax, dword [ebp + 0x10]
or eax, dword [ebp + 8]
or eax, 0x2c
pop ebp
ret
Function at 0x40b1d7
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
call dword [0x44a0f8]
mov esi, eax
test esi, esi
jne 0x40b22b
call dword [0x44a0f4]
mov edi, eax
test edi, edi
jle 0x40b202
movzx edi, di
or edi, 0x80070000
test edi, edi
js 0x40b209
mov edi, 0x80004005
push edi
push 0x140
push 0x44df44
call fcn.004038ba
push 0x44e360
push edi
call 0x43fb09
pop ecx
pop ecx
jmp 0x40b378
mov eax, 0x5a4d
cmp ax, word [esi]
je 0x40b254
mov esi, 0x8007000d
push esi
push 0x14a
push 0x44df44
mov edi, esi
call fcn.004038ba
push 0x44dfe4
push esi
jmp 0x40b21f
mov ecx, dword [esi + 0x3c]
cmp dword [ecx + esi], 0x4550
je 0x40b27e
mov esi, 0x8007000d
push esi
push 0x155
push 0x44df44
mov edi, esi
call fcn.004038ba
push 0x44e054
jmp 0x40b251
movzx eax, word [ecx + esi + 0x14]
push ebx
add eax, ecx
lea ebx, [esi + 0x18]
push 8
add ebx, eax
push 0x44e178
push ebx
call 0x42f8c3
add esp, 0xc
test eax, eax
je 0x40b2c3
mov eax, dword [esi + 0x3c]
movzx ecx, word [eax + esi + 6]
xor eax, eax
inc eax
cmp eax, ecx
jae 0x40b2ea
add ebx, 0x28
inc eax
cmp dword [ebx], 0x7869772e
jne 0x40b2aa
cmp dword [ebx + 4], 0x6e727562
jne 0x40b2aa
cmp dword [ebx + 0x10], 0x34
jae 0x40b308
mov esi, 0x8007000d
push esi
push 0x17a
push 0x44df44
mov edi, esi
call fcn.004038ba
push dword [ebx + 0x10]
push 0x44e1a4
jmp 0x40b332
mov esi, 0x8007000d
push esi
push 0x16e
push 0x44df44
mov edi, esi
call fcn.004038ba
push 0x44e184
jmp 0x40b36f
mov ebx, dword [ebx + 0xc]
add ebx, esi
cmp dword [ebx + 4], 2
je 0x40b33d
mov esi, 0x8007000d
push esi
push 0x184
push 0x44df44
mov edi, esi
call fcn.004038ba
push dword [ebx + 4]
push 0x44e248
push esi
call 0x43fb09
add esp, 0xc
jmp 0x40b377
mov edx, dword [ebp + 8]
mov ecx, edi
mov eax, dword [edx + ecx*4]
cmp eax, dword [ebx + ecx*4 + 8]
jne 0x40b353
inc ecx
cmp ecx, 4
jne 0x40b342
jmp 0x40b377
mov esi, 0x8007000d
push esi
push 0x18a
push 0x44df44
mov edi, esi
call fcn.004038ba
push 0x44e388
push esi
call 0x43fb09
pop ecx
pop ecx
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 4
Function at 0x40b565
Capabilities:
Parse pe header

Disassembly:
push 0x40
lea eax, [ebp - 0x44]
push eax
push dword [ebx]
call esi
test eax, eax
jne 0x40b5a8
call dword [0x44a0f4]
mov esi, eax
test esi, esi
jle 0x40b58a
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x40b591
mov esi, 0x80004005
push esi
push 0x49
push 0x44df44
call fcn.004038ba
push 0x44dfc8
jmp 0x40b501
cmp dword [ebp - 0x168], 0x40
jb 0x40bba6
mov eax, 0x5a4d
cmp ax, word [ebp - 0x44]
jne 0x40bba6
mov eax, dword [ebp - 8]
push 0
push 0
cdq
push edx
push eax
push dword [ebx]
call edi
test eax, eax
jne 0x40b60b
call dword [0x44a0f4]
mov esi, eax
test esi, esi
jle 0x40b5ed
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x40b5f4
mov esi, 0x80004005
push esi
push 0x59
push 0x44df44
call fcn.004038ba
push 0x44e018
jmp 0x40b501
push 0
lea eax, [ebp - 0x168]
push eax
push 0x18
lea eax, [ebp - 0x13c]
push eax
push dword [ebx]
call esi
test eax, eax
jne 0x40b65a
call dword [0x44a0f4]
mov esi, eax
test esi, esi
jle 0x40b63c
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x40b643
mov esi, 0x80004005
push esi
push 0x5f
push 0x44df44
call fcn.004038ba
push 0x44e038
jmp 0x40b501
cmp dword [ebp - 0x168], 0x18
jb 0x40bb8b
cmp dword [ebp - 0x13c], 0x4550
jne 0x40bb8b
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x58]
add eax, 0x98
mov dword [ebp - 0x188], ecx
xor ecx, ecx
push ecx
push ecx
push ecx
mov edi, 0x8007000d
push edi
push 0x64
push 0x44df44
mov esi, edi
call fcn.004038ba
push 0x44e054
jmp 0x40bbbf
mov edi, 0x8007000d
push edi
push 0x4e
push 0x44df44
mov esi, edi
call fcn.004038ba
push 0x44dfe4
push edi
call 0x43fb09
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call 0x42dd1f
leave
ret 0xc
Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748

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
mov ebx, 0x408f6c
nop
mov ecx, 0x7a724796
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x648f0136
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x14f81270
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x14f81334
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x14fa126c], eax
call fcn.14f82440
test eax, eax
jne 0x14f81294
ret 0xc
mov ecx, dword [0x14fa126c]
xor edx, edx
mov eax, ecx
mov dl, ch
and eax, 0xff
mov dword [0x14fa1278], edx
mov dword [0x14fa1274], eax
shl eax, 8
add eax, edx
shr ecx, 0x10
mov dword [0x14fa1270], eax
mov dword [0x14fa126c], ecx
call fcn.14f815e0
test eax, eax
jne 0x14f812d6
call fcn.14f82480
xor eax, eax
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x14ff8950], eax
call fcn.14f822e0
mov ecx, dword [0x14ff8950]
mov dword [0x14fa1258], eax
test ecx, ecx
je 0x14f81325
test eax, eax
je 0x14f81325
call fcn.15000768
call fcn.14f822d0
call fcn.15000768
call fcn.14f81a30
call fcn.14f81480
mov eax, dword [0x14fa1254]
inc eax
mov dword [0x14fa1254], eax
mov eax, 1
ret 0xc
call fcn.14f81640
call fcn.14f82480
xor eax, eax
ret 0xc
test eax, eax
jne 0x14f81374
mov eax, dword [0x14fa1254]
test eax, eax
jle 0x14f8136f
mov ecx, eax
mov eax, dword [0x14fa12a4]
dec ecx
test eax, eax
mov dword [0x14fa1254], ecx
jne 0x14f81358
call fcn.14f814d0
call fcn.14f819d0
call fcn.14f81640
call fcn.14f82480
mov eax, 1
ret 0xc
xor eax, eax
ret 0xc
cmp eax, 3
jne 0x14f81383
push 0
call fcn.14f81710
add esp, 4
mov eax, 1
ret 0xc

Function at 0x14f814e0
Capabilities:
Terminate process

Disassembly:
push ebx
push ebp
push esi
call fcn.14f815a0
mov eax, dword [0x14fa12a8]
mov ebp, dword [esp + 0x10]
cmp eax, 1
jne 0x14f81504
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x14fa12a4], 1
mov byte [0x14fa12a0], bl
jne 0x14f8155e
mov ecx, dword [0x14ff8948]
test ecx, ecx
je 0x14f8154c
mov esi, dword [0x14ff8944]
sub esi, 4
cmp esi, ecx
jb 0x14f8154c
mov eax, dword [esi]
test eax, eax
je 0x14f81545
call eax
mov ecx, dword [0x14ff8948]
sub esi, 4
cmp esi, ecx
jae 0x14f81537
push 0x14f8901c
push 0x14f89014
call fcn.14f815c0
add esp, 8
push 0x14f89024
push 0x14f89020
call fcn.14f815c0
add esp, 8
test ebx, ebx
je 0x14f8157d
call fcn.14f815b0
pop esi
pop ebp
pop ebx
ret
push ebp
mov dword [0x14fa12a8], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x14f815e0
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push esi
call fcn.14f826e0
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x14f8a884], eax
je 0x14f81638
push 0x74
push 1
call fcn.14f82910
mov esi, eax
add esp, 8
test esi, esi
je 0x14f81638
mov eax, dword [0x14f8a884]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14f81638
push esi
call fcn.14f81670
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi], eax
mov dword [esi + 4], 0xffffffff
mov eax, 1
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x14fffc68
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push eax
push ebx
push edx
add esp, 0xfffffffc
mov dword [esp], ecx
push edi
push esi
mov ebx, 0x7157e3b5
sub ebx, dword [0x7159d496]
push eax
mov eax, ebp
add eax, 0xfffffff8
mov dword [eax], ebx
pop eax
xchg esi, eax
push 0x7159d486
call fcn.14ffbb37
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.14ffb20b
and edi, 0
sub edi, eax
dec edi
not edi
mov eax, dword [esi + 8]
xor eax, edi
cmp edx, eax
jb 0x14fffe95
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x14fffe95
mov ecx, dword [esi + 0x10]
xor ecx, edi
push esi
sub esp, 4
mov dword [esp], 0x47788fcc
xor dword [esp], 0x47788fd8
add esi, dword [esp]
lea esp, [esp + 4]
mov edx, dword [esi]
pop esi
jmp 0x14fffcf8
xor edx, edi
shl edx, 2
mov dword [esp - 0x1b], eax
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x14fffdc2
or eax, 0xffffffff
and eax, 1
lock xchg dword [0x7159d492], eax
cmp eax, 0
jne 0x14fffd11
sub esp, 4
jmp 0x14fffd38
push 0xcc96c45a
xor dword [esp], 0xa770a49
xor dword [esp], 0xc6e1ce13
sub ebx, dword [esp]
lea esp, [esp + 4]
mov dword [esp], edx
xchg eax, edi
mov edi, eax
sub dword [esp - 0xd], edx
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x14fffd59
pop edx
mov eax, dword [esi + 0x14]
push 0xc070b981
call 0x14fffd81
adc al, 0xbd
mov dl, 3
cmp byte [ecx - 0x7c53a002], 0xc4
or byte [ecx], dh
clc
cmp eax, 0
je 0x14fffdab
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x14fffd95
or eax, 0xffffffff
and eax, 1
xor eax, edi
mov dword [esi], eax
mov dword [0x7159d492], 0
add edx, esi
sub esp, 0x15
mov dword [esp + 0x11], edx
add esp, 0x11
pop dword [ebp + 4]
mov esi, dword [esp]
add esp, 4
push esi
inc esi
mov esi, esp
sub ecx, 0
jne 0x14fffde6
xor eax, 0
push esi
add esi, 4
mov edi, dword [esi]
pop esi
mov esi, dword [esi]
add esp, 8
les ecx, [eax]
pop ecx
xor edx, 0x382ffd5e
shr edx, 7
push 0x55e95355
call 0x14fffe17
push 0x5b
clc
sal dword [esi], 1
aaa
movsb byte es:[edi], byte [esi]
or eax, 0x910d3c2
push cs
das
cmp al, 0xc5
sbb al, byte [ebx - 0x153ef73c]
sbb dword [eax - 9], edx
fmul dword [ebx + 0x45033c4]
push ebp
call 0x14fffe36
aam 0x7d
jb 0x14fffdf2
inc eax
jns 0x14fffdf0
pop ds
insb byte es:[edi], dx
xor eax, 0x8c483ca
push ebx
lea ebx, [edx + edi*8 + 0x655820ed]
mov ebx, esp
sub dword [ebx - 0x47], esi
pop ebx
mov eax, dword [eax]
push ecx
or ecx, 0xffffffff
not ecx
add ecx, esp
lea ecx, [ecx - 0x59]
sub ecx, 0
mov ecx, dword [ecx + 0x12]
mov ecx, esp
xor dword [ecx - 0x5e], esi
pop ecx
push 0xf6d95007
call fcn.14fffe7a
xor al, 0x5d
shl byte [ebx - 0xe1a660], cl
int3
mov eax, dword [esi + 4]
jmp 0x14fffea4
push edx
inc edx
mov edx, esp
and dword [edx - 0x3c], esi
pop edx
xor eax, edi
add esi, eax
jmp 0x14fffcad
Function at 0x14fffd81
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push eax
push ebx
push edx
add esp, 0xfffffffc
mov dword [esp], ecx
push edi
push esi
mov ebx, 0x7157e3b5
sub ebx, dword [0x7159d496]
push eax
mov eax, ebp
add eax, 0xfffffff8
mov dword [eax], ebx
pop eax
xchg esi, eax
push 0x7159d486
call fcn.14ffbb37
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.14ffb20b
and edi, 0
sub edi, eax
dec edi
not edi
mov eax, dword [esi + 8]
xor eax, edi
cmp edx, eax
jb 0x14fffe95
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x14fffe95
mov ecx, dword [esi + 0x10]
xor ecx, edi
push esi
sub esp, 4
mov dword [esp], 0x47788fcc
xor dword [esp], 0x47788fd8
add esi, dword [esp]
lea esp, [esp + 4]
mov edx, dword [esi]
pop esi
jmp 0x14fffcf8
xor edx, edi
shl edx, 2
mov dword [esp - 0x1b], eax
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x14fffdc2
or eax, 0xffffffff
and eax, 1
lock xchg dword [0x7159d492], eax
cmp eax, 0
jne 0x14fffd11
sub esp, 4
jmp 0x14fffd38
push 0xcc96c45a
xor dword [esp], 0xa770a49
xor dword [esp], 0xc6e1ce13
sub ebx, dword [esp]
lea esp, [esp + 4]
mov dword [esp], edx
xchg eax, edi
mov edi, eax
sub dword [esp - 0xd], edx
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x14fffd59
pop edx
mov eax, dword [esi + 0x14]
push 0xc070b981
call 0x14fffd81
adc al, 0xbd
mov dl, 3
cmp byte [ecx - 0x7c53a002], 0xc4
or byte [ecx], dh
clc
cmp eax, 0
je 0x14fffdab
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x14fffd95
or eax, 0xffffffff
and eax, 1
xor eax, edi
mov dword [esi], eax
mov dword [0x7159d492], 0
add edx, esi
sub esp, 0x15
mov dword [esp + 0x11], edx
add esp, 0x11
pop dword [ebp + 4]
mov esi, dword [esp]
add esp, 4
push esi
inc esi
mov esi, esp
sub ecx, 0
jne 0x14fffde6
xor eax, 0
push esi
add esi, 4
mov edi, dword [esi]
pop esi
mov esi, dword [esi]
add esp, 8
les ecx, [eax]
pop ecx
xor edx, 0x382ffd5e
shr edx, 7
push 0x55e95355
call 0x14fffe17
push 0x5b
clc
sal dword [esi], 1
aaa
movsb byte es:[edi], byte [esi]
or eax, 0x910d3c2
push cs
das
cmp al, 0xc5
sbb al, byte [ebx - 0x153ef73c]
sbb dword [eax - 9], edx
fmul dword [ebx + 0x45033c4]
push ebp
call 0x14fffe36
aam 0x7d
jb 0x14fffdf2
inc eax
jns 0x14fffdf0
pop ds
insb byte es:[edi], dx
xor eax, 0x8c483ca
push ebx
lea ebx, [edx + edi*8 + 0x655820ed]
mov ebx, esp
sub dword [ebx - 0x47], esi
pop ebx
mov eax, dword [eax]
push ecx
or ecx, 0xffffffff
not ecx
add ecx, esp
lea ecx, [ecx - 0x59]
sub ecx, 0
mov ecx, dword [ecx + 0x12]
mov ecx, esp
xor dword [ecx - 0x5e], esi
pop ecx
push 0xf6d95007
call fcn.14fffe7a
xor al, 0x5d
shl byte [ebx - 0xe1a660], cl
int3
mov eax, dword [esi + 4]
jmp 0x14fffea4
push edx
inc edx
mov edx, esp
and dword [edx - 0x3c], esi
pop edx
xor eax, edi
add esi, eax
jmp 0x14fffcad
Function at 0x15006e1a
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x49
mov dword [esp + 0x45], ebp
add esp, 0x45
mov ebp, esp
push 0xfee18332
xor dword [esp], 0xef2a0a40
mov dword [esp], ebx
sub esp, 4
jmp 0x15006dfc
call 0x15006e03
and dh, byte [ebx + 0x12e8]
add byte [eax - 0x17], dh
outsb dx, byte [esi]
setl byte [ebp + 0x21882b7a]
inc esi
pop es
xor al, 0x5d
shl byte [ebx - 0x3b7ca660], cl
or byte [edi + 0xc8b240c], al
and al, 0x52
push 0xf150
push 0x801e
and dword [esp], edi
jbe 0x15006e33
cmp edx, eax
or dword [esp], edi
push 0xffffffffffffffff
push edx
mov edx, esp
push edi
add edi, eax
mov edi, esp
or dword [edi - 0x3b], esi
pop edi
jb 0x15006e4c
xor eax, 0
and dword [edx + 4], esi
pop edx
or edi, 0xffffffff
not edi
sub edi, dword [ebp + 8]
dec edi
not edi
jmp 0x15006e65
push ecx
and ecx, edx
mov ecx, esp
cmp dword [ecx - 0x1c], eax
pop ecx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1c], eax
pop esi
call fcn.15006e99
lodsd eax, dword [esi]
loop 0x15006eff
xor byte [ecx + 0x655ccf2e], ch
cmp ch, bl
dec eax
loope 0x15006e9d
invalid
add byte [0x83606392], bl
les ecx, [eax]
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x15006f2c
push ebp
push 0xffffffffffffffff
push 0x7158a0ea
sub esp, 4
mov dword [esp], 0x71581491
push 0xffffffffffffffff
call fcn.14ffe26f
mov edx, dword [ecx + 0x18]
cmp edx, 0
je 0x15006f08
mov ebx, edx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
jmp 0x15006ee8
cmp ebx, 0
je 0x15006f08
lea edi, [edi]
sub edi, 0
cmp edi, edx
lea ebx, [ebx + edx]
mov esi, dword [ebx + 0xc]
lea esi, [esi + edx]
push esi
call fcn.14ffda71
call fcn.14ffe2e6
cmp eax, edi
jne 0x15006e7b
push ecx
not ecx
mov ecx, esp
mov dword [ecx - 0x6a], edi
pop ecx
add esp, 4
mov eax, ecx
pop esi
pop edi
pop edx
pop ecx
pop ebx
leave
ret 4
xor ecx, ecx
jmp 0x15006f21