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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 4], eax
jmp 0x10075905
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x100759aa
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
cmp edx, dword [ebp + 8]
jne 0x100759a5
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x3c]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov dword [edx + 4], ecx
push 0x48
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.1024a480
add esp, 0xc
jmp 0x100759aa
jmp 0x100758fd
mov esp, ebp
pop ebp
ret

Function at 0x100759b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
jmp 0x100759e3
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x1000
jae 0x10075a1c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x10075a1c
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x18]
cmp edx, dword [ebp + 8]
jne 0x10075a08
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
jmp 0x10075a1e
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jne 0x10075a1a
jmp 0x10075a1c
jmp 0x100759da
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10075a30
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], 0
jmp 0x10075a63
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x1000
jae 0x10075b68
mov eax, dword [ebp - 4]
cmp dword [eax + 0x18], 0
je 0x10075b68
mov ecx, dword [ebp - 8]
push ecx
push 0x103e9b20
push 8
lea edx, [ebp - 0x18]
push edx
call fcn.10077b80
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10035740
add esp, 8
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x24]
shr eax, 1
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x28]
push edx
push str.filepath
mov eax, dword [ebp + 8]
push eax
call fcn.100716f0
add esp, 0x10
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 0x2c]
shr edx, 1
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x30]
push ecx
push str.basename
mov edx, dword [ebp + 8]
push edx
call fcn.100716f0
add esp, 0x10
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
push 0x103e9b04
push 0x20
lea edx, [ebp - 0x38]
push edx
call fcn.10077b80
add esp, 0x10
lea eax, [ebp - 0x38]
push eax
call fcn.1024e180
add esp, 4
push eax
lea ecx, [ebp - 0x38]
push ecx
push str.baseaddr
mov edx, dword [ebp + 8]
push edx
call fcn.10071630
add esp, 0x10
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.1007c140
add esp, 4
push eax
push str.imgsize
mov edx, dword [ebp + 8]
push edx
call fcn.100715f0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
call fcn.10035860
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jne 0x10075b63
jmp 0x10075b68
jmp 0x10075a5a
mov esp, ebp
pop ebp
ret

Function at 0x100782a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x100782be
xor eax, eax
jmp 0x100782df
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx], 0x4550
je 0x100782d9
xor eax, eax
jmp 0x100782df
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov esp, ebp
pop ebp
ret
Function at 0x10078940
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x1007896a
push str.WARNING:Error_getting_snapshot_handle_to_enumerate_threads.
call fcn.1007b420
add esp, 4
xor eax, eax
jmp 0x100789ca
mov dword [ebp - 0x24], 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
jne 0x10078994
push str.WARNING:Error_enumerating_thread_identifiers.
call fcn.1007b420
add esp, 4
xor eax, eax
jmp 0x100789ca
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp + 8]
jne 0x100789ab
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
jmp 0x100789bd
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1007899b
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x100790c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push 0x104
push 0
lea eax, [ebp - 0x104]
push eax
call fcn.1024a480
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push str._system32_ntdllori.dll
lea edx, [ebp - 0x104]
push edx
call fcn.1025cfa0
add esp, 8
cmp dword [0x1065c454], 0
jne 0x10079120
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1065c454], eax
push str.NtWriteFile
mov ecx, dword [0x1065c454]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x104ff384], eax
mov esp, ebp
pop ebp
ret
Function at 0x10079ae0
Capabilities:
Read pipe
Write pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x104ff358], 0
jne 0x10079b34
cmp dword [0x1065c41c], 0
jne 0x10079b34
mov dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TransactNamedPipe]
cmp dword [ebp + 0x1c], 0
je 0x10079b2d
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
xor eax, eax
jmp 0x10079c41
cmp dword [0x104ff358], 0
je 0x10079b46
mov dword [ebp - 0xc], 1
jmp 0x10079b4d
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
jne 0x10079b70
push 0
push 0x103ea694
push str.pNtFsControlFile_is_NULL_
push 0
call fcn.1007a0a0
add esp, 0x10
xor eax, eax
jmp 0x10079c41
cmp dword [0x1065c41c], 0
je 0x10079b82
mov dword [ebp - 0x10], 1
jmp 0x10079b89
mov dword [ebp - 0x10], 0
cmp dword [ebp - 0x10], 0
jne 0x10079bac
push 0
push 0x103ea670
push str.pNtWaitForSingleObject_is_NULL_
push 0
call fcn.1007a0a0
add esp, 0x10
xor eax, eax
jmp 0x10079c41
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x11c017
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [0x104ff358]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x103
jne 0x10079c14
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [0x1065c41c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10079c01
mov dword [ebp - 0x14], 1
jmp 0x10079c08
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0
je 0x10079c14
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jl 0x10079c23
mov dword [ebp - 0x18], 1
jmp 0x10079c2a
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
je 0x10079c3e
cmp dword [ebp + 0x1c], 0
je 0x10079c3e
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1007c140
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
cmp eax, dword [0x10535cd0]
jne 0x1007c158
mov eax, dword [0x10535ccc]
jmp 0x1007c19a
cmp dword [ebp + 8], 0
jne 0x1007c162
xor eax, eax
jmp 0x1007c19a
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x1007c179
xor eax, eax
jmp 0x1007c19a
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1007c194
xor eax, eax
jmp 0x1007c19a
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x50]
mov esp, ebp
pop ebp
ret
Function at 0x10087e00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push esi
mov esi, ecx
mov dword [ebp - 0xd0], 0x5100a02
push edi
mov edi, edx
mov dword [ebp - 0xcc], 0x40d0901
mov dword [ebp - 0xc8], 0xd4d3d2d1
mov ecx, dword [esi + 0x30c]
mov edx, ecx
add edx, edx
mov dword [ebp - 0xc4], 0xd8d7d6d5
mov dword [ebp - 0xc0], 0xf2e0730
mov dword [ebp - 0xbc], 0x8120c03
lea eax, [ecx + 1]
mov dword [ebp - 0xb8], 0xe2d062f
mov dword [esi + 0x30c], eax
mov dword [ebp - 0xb4], 0xe4e3e2e1
mov dword [ebp - 0xb0], 0xe8e7e6e5
mov dword [ebp - 0xac], 0x15181613
mov dword [ebp - 0xa8], 0x171d141e
mov dword [ebp - 0xa4], 0xdcdbdad9
mov dword [ebp - 0xa0], 0xe0dfdedd
mov dword [ebp - 0x9c], 0x25282623
mov dword [ebp - 0x98], 0x272b242c
mov dword [ebp - 0x94], 0x64636261
mov dword [ebp - 0x90], 0x68676665
mov dword [ebp - 0x8c], 0x5c5b5a59
mov dword [ebp - 0x88], 0x605f5e5d
mov dword [ebp - 0x84], 0x74737271
mov dword [ebp - 0x80], 0x78777675
mov dword [ebp - 0x7c], 0x7c7b7a79
mov dword [ebp - 0x78], 0x807f7e7d
mov dword [ebp - 0x74], 0x84838281
mov dword [ebp - 0x70], 0x88878685
mov dword [ebp - 0x6c], 0x8c8b8a89
mov dword [ebp - 0x68], 0x908f8e8d
mov dword [ebp - 0x64], 0x94939291
mov dword [ebp - 0x60], 0x98979695
mov dword [ebp - 0x5c], 0x9c9b9a99
mov dword [ebp - 0x58], 0xa09f9e9d
mov dword [ebp - 0x54], 0xa4a3a2a1
mov dword [ebp - 0x50], 0xa8a7a6a5
mov dword [ebp - 0x4c], 0xacabaaa9
mov dword [ebp - 0x48], 0xb0afaead
mov dword [ebp - 0x44], 0xb4b3b2b1
mov dword [ebp - 0x40], 0xb8b7b6b5
mov dword [ebp - 0x3c], 0xbcbbbab9
mov dword [ebp - 0x38], 0xc0bfbebd
mov dword [ebp - 0x34], 0xc4c3c2c1
mov dword [ebp - 0x30], 0xc8c7c6c5
mov dword [ebp - 0x2c], 0xcccbcac9
mov dword [ebp - 0x28], 0xd0cfcecd
mov dword [ebp - 0x24], 0x54535251
mov dword [ebp - 0x20], 0x58575655
mov dword [ebp - 0x1c], 0x11310b1c
mov dword [ebp - 0x18], 0x43422120
mov dword [ebp - 0x14], 0x47464544
mov dword [ebp - 0x10], 0x33324948
mov dword [ebp - 0xc], 0x37363534
mov dword [ebp - 8], 0x293a3938
mov byte [ebp - 4], 0
movzx eax, byte [ebp + edi - 0xd0]
pop edi
mov byte [esi + edx*8 + 0xc], 1
mov dword [esi + edx*8 + 0x10], eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100b26a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x100b26af
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne fcn.100b26a0
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.100b245b
ja 0x100b273b
sub edi, dword [eax - 0x73]
inc ebp
test al, 0x50
call fcn.100b246b
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.100b2420
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
inc ebp
clc
div ecx
test edx, edx
je 0x100b2749
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
Function at 0x100b2780
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.100b245b
cdq
and ah, byte [esi - 0x2a]
lea eax, [ebp - 0x40]
push eax
call fcn.100b246b
push eax
push esi
push dword [ebp + 8]
call fcn.100b2420
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.100b245b
or eax, 0x8d2270e6
inc ebp
call 0x60f38551
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.100b246b
push eax
push esi
push dword [ebp + 8]
call fcn.100b2420
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.100b246b
push eax
push esi
push dword [ebp + 8]
invalid
scasd eax, dword es:[edi]
sti
invalid
Function at 0x100e2b50
Capabilities:
Decompress data using quicklz

Disassembly:
push ecx
push ebx
mov ebx, edx
shr ebx, 0x16
push esi
and ebx, 0xf
push edi
mov edi, ecx
cmp ebx, 0xe
je 0x100e2bff
cmp ebx, 0xf
je 0x100e2bff
mov ecx, dword [edi + 0x30c]
sub esp, 0xc
mov esi, ecx
add esi, esi
lea eax, [ecx + 1]
mov ecx, edx
mov dword [edi + 0x30c], eax
and ecx, 0x800
mov eax, edx
shl ecx, 3
and eax, 0x2000
mov byte [edi + esi*8 + 0xc], 2
or ecx, eax
mov eax, edx
shr eax, 6
and eax, 0xfff00000
shl ecx, 5
or ecx, eax
mov eax, edx
shr eax, 4
and edx, 0x7ff
shl ecx, 0xb
and eax, 0x3f000
sar ecx, 0xb
add edx, edx
or eax, ecx
mov ecx, edi
or eax, edx
cdq
mov dword [edi + esi*8 + 0x14], edx
mov edx, ebx
mov dword [edi + esi*8 + 0x10], eax
call fcn.100dc9e0
add esp, 0xc
sub eax, 0
je 0x100e2c15
sub eax, 1
je 0x100e2bf5
sub eax, 2
je 0x100e2c57
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, 1
pop edi
pop esi
pop ebx
pop ecx
ret
mov eax, edx
shr eax, 4
sub eax, 0xf3bf8f4
je 0x100e2c2c
sub eax, 1
je 0x100e2c24
sub eax, 1
je 0x100e2c1c
xor eax, eax
pop edi
pop esi
pop ebx
pop ecx
ret
mov dword [edi], 0x951
jmp 0x100e2c32
mov dword [edi], 0x94b
jmp 0x100e2c32
mov dword [edi], 0x94c
mov eax, dword [edi + 0x30c]
mov ecx, eax
add ecx, ecx
inc eax
mov dword [edi + 0x30c], eax
and edx, 0xf
mov byte [edi + ecx*8 + 0xc], 2
mov dword [edi + ecx*8 + 0x10], edx
mov dword [edi + ecx*8 + 0x14], 0
pop edi
pop esi
mov eax, 3
pop ebx
pop ecx
ret

Function at 0x100ea2c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
test ebx, ebx
jne 0x100ea2d6
mov eax, dword [ebp + 8]
pop edi
pop ebx
pop ebp
ret
add ebx, 0xffffffff
je 0x100ea31f
push esi
nop dword [eax]
movzx eax, byte [edi]
mov esi, ebx
and esi, 0x1f
inc edi
mov ecx, esi
neg ecx
mov edx, dword [eax*4 + section..data]
and ecx, 0x1f
mov eax, edx
shr eax, cl
mov ecx, esi
shl edx, cl
mov ecx, dword [ebp + 8]
or eax, edx
xor ecx, eax
mov dword [ebp + 8], ecx
sub ebx, 1
jne 0x100ea2e0
movzx eax, byte [edi]
pop esi
pop edi
pop ebx
mov eax, dword [eax*4 + section..data]
xor eax, ecx
pop ebp
ret
movzx eax, byte [edi]
mov ecx, dword [ebp + 8]
pop edi
pop ebx
mov eax, dword [eax*4 + section..data]
xor eax, ecx
pop ebp
ret
Function at 0x100f0020
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
neg eax
sbb eax, eax
and eax, 0xffffffe1
add eax, 0x1f
pop ebp
ret
Function at 0x1010fd50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
cmp eax, 0x40
jb 0x1010fdc0
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0x1010fdc5
mov edx, dword [ecx + 0x3c]
test edx, edx
js 0x1010fdc5
lea esi, [edx + 0x18]
cmp eax, esi
jb 0x1010fdc5
add edx, ecx
add esi, 0xe0
cmp dword [edx], 0x4550
jne 0x1010fdc5
movzx edi, word [edx + 4]
mov ebx, 0x14c
cmp di, bx
je 0x1010fda1
mov ebx, 0x8664
cmp di, bx
jne 0x1010fdc5
cmp eax, esi
jbe 0x1010fdc5
mov esi, 0x2000
test word [edx + 0x16], si
jne 0x1010fdc5
mov eax, dword [edx + 0x28]
xor edx, edx
add eax, dword [ebp + 0x10]
pop edi
adc edx, dword [ebp + 0x14]
pop esi
pop ebx
pop ebp
ret
cmp eax, 0x10
jb 0x1010fde2
cmp dword [ecx], 0x464c457f
jne 0x1010fde2
movzx edx, byte [ecx + 4]
mov esi, edx
sub esi, 1
je 0x1010fdf1
sub esi, 1
jne 0x1010fde2
cmp eax, 0x40
jae 0x1010fdf6
pop edi
pop esi
mov eax, 0xfabadaff
mov edx, 0xfffabada
pop ebx
pop ebp
ret
cmp eax, 0x34
jb 0x1010fde2
sub edx, 1
je 0x1010fe12
sub edx, 1
jne 0x1010fde2
cmp word [ecx + 0x10], 2
jne 0x1010fde2
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
pop edi
pop esi
pop ebx
pop ebp
ret
cmp word [ecx + 0x10], 2
jne 0x1010fde2
mov eax, dword [ecx + 0x18]
xor edx, edx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10119ea0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
cmp ecx, 0x40
jb 0x1011a01b
mov eax, dword [ebp + 8]
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x1011a01b
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x1011a01b
lea esi, [edx + 0x18]
cmp ecx, esi
jb 0x1011a01b
add edx, eax
cmp dword [edx], 0x4550
jne 0x1011a01b
lea eax, [esi + 0xe0]
cmp ecx, eax
jb 0x1011a01b
push ebx
mov ebx, 0x20b
mov eax, 0xf0
cmp word [edx + 0x18], bx
push edi
mov edi, 0xe0
cmovne eax, edi
add eax, esi
pop edi
pop ebx
cmp ecx, eax
jb 0x1011a01b
movzx ecx, word [edx + 4]
test cx, cx
je 0x1011a016
mov eax, 0x1d3
cmp cx, ax
je 0x1011a016
mov eax, 0x8664
cmp cx, ax
je 0x1011a016
mov eax, 0x1c0
cmp cx, ax
je 0x1011a016
mov eax, 0x1c4
cmp cx, ax
je 0x1011a016
mov eax, 0xaa64
cmp cx, ax
je 0x1011a016
mov eax, 0xebc
cmp cx, ax
je 0x1011a016
mov eax, 0x14c
cmp cx, ax
je 0x1011a016
mov eax, 0x200
cmp cx, ax
je 0x1011a016
mov eax, 0x9041
cmp cx, ax
je 0x1011a016
mov eax, 0x266
cmp cx, ax
je 0x1011a016
mov eax, 0x366
cmp cx, ax
je 0x1011a016
mov eax, 0x466
cmp cx, ax
je 0x1011a016
mov eax, 0x1f0
cmp cx, ax
je 0x1011a016
mov eax, 0x1f1
cmp cx, ax
je 0x1011a016
mov eax, 0x166
cmp cx, ax
je 0x1011a016
mov eax, 0x1a2
cmp cx, ax
je 0x1011a016
mov eax, 0x1a3
cmp cx, ax
je 0x1011a016
mov eax, 0x1a6
cmp cx, ax
je 0x1011a016
mov eax, 0x1a8
cmp cx, ax
je 0x1011a016
mov eax, 0x1c2
cmp cx, ax
je 0x1011a016
mov eax, 0x169
cmp cx, ax
jne 0x1011a01b
mov eax, edx
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
Function at 0x1011a020
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi + 8]
mov dword [ebp - 0x10], ecx
movzx eax, word [ecx + 0x14]
add ecx, 0x18
add ecx, eax
mov eax, dword [edi + 8]
xor edx, edx
mov dword [ebp - 8], edx
movzx eax, word [eax + 6]
mov dword [ebp - 0x14], eax
cmp ax, 0x60
mov dword [ebp - 0xc], edx
movzx eax, ax
jb 0x1011a066
mov eax, 0x60
cmp edx, eax
jge 0x1011a103
mov eax, dword [edi + 4]
cmp eax, 0x28
jb 0x1011a154
mov edx, dword [edi]
cmp ecx, edx
jb 0x1011a154
add eax, 0xffffffd8
add eax, edx
cmp ecx, eax
ja 0x1011a154
mov edx, dword [ecx + 0xc]
mov eax, edx
cmp dword [ebp - 4], edx
cmovbe eax, dword [ebp - 4]
cmp dword [ebp + 0x10], 0
mov dword [ebp - 4], eax
jb 0x1011a0d1
ja 0x1011a0ad
cmp dword [ebp + 0xc], edx
jb 0x1011a0d1
cmp ebx, edx
ja 0x1011a0d1
mov eax, dword [ebp - 0x10]
mov ebx, edx
mov esi, dword [ecx + 0x14]
mov edi, dword [eax + 0x3c]
mov eax, dword [ecx + 0x10]
mov dword [ebp - 8], eax
cmp edi, 0x200
jae 0x1011a0e0
test edi, edi
jne 0x1011a0e5
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
add ecx, 0x28
mov eax, dword [ebp - 0x14]
inc edx
jmp 0x1011a055
mov edi, 0x200
xor edx, edx
mov eax, esi
div edi
mov edi, dword [ebp + 8]
test edx, edx
je 0x1011a0d1
mov eax, dword [ebp - 0x14]
sub esi, edx
mov edx, dword [ebp - 0xc]
add ecx, 0x28
inc edx
jmp 0x1011a055
cmp dword [ebp + 0x10], 0
ja 0x1011a11c
jb 0x1011a113
mov eax, dword [ebp - 4]
cmp dword [ebp + 0xc], eax
jae 0x1011a11c
mov edx, dword [edi + 4]
xor ebx, ebx
xor esi, esi
jmp 0x1011a11f
mov edx, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
sub ecx, ebx
sbb eax, 0
test eax, eax
ja 0x1011a154
jb 0x1011a134
cmp ecx, edx
jae 0x1011a154
xor edx, edx
sub esi, ebx
sbb edx, edx
add esi, dword [ebp + 0xc]
adc edx, dword [ebp + 0x10]
test edx, edx
jg 0x1011a154
jl 0x1011a14b
cmp esi, dword [edi + 4]
jae 0x1011a154
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
or eax, 0xffffffff
pop esi
or edx, eax
pop ebx
mov esp, ebp
pop ebp
ret