joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cf40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov ebx, dword [ebp + 8]
mov dword [esp], 0x4be945fa
mov dword [esp + 4], 0x4fd749e1
mov dword [esp + 8], 0x339e4d9a
mov dword [esp + 0xc], 0x37963196
lea eax, [esp + 0x10]
mov word [esp + 0x10], 0x3536
mov dword [esp + 0x12], 0
mov dword [esp + 0x16], 0
mov dword [esp + 0x1a], 0
mov ecx, 0xc6134f35
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx + 0x39ecb0cb]
mov esi, ecx
and esi, edx
add esi, esi
sub edx, esi
add edx, ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x20]
add dl, 0x8d
mov byte [esp + ecx + 0x39ecb0cb], dl
movzx edx, byte [esp + ecx + 0x39ecb0cc]
lea esi, [ecx + 1]
and esi, edx
add esi, esi
sub edx, esi
add edx, ecx
inc edx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x20]
add dl, 0x8d
mov byte [esp + ecx + 0x39ecb0cc], dl
add ecx, 2
cmp ecx, 0xc6134f53
jne 0x41cfa0
lea edi, [esp + 0x20]
mov esi, esp
mov edx, esi
mov ecx, 4
xchg esi, edx
rep movsd dword es:[edi], dword [esi]
xchg esi, edx
lea edi, [esp + 0x30]
mov ecx, 1
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax], 0
lea eax, [eax + 2]
jne 0x41d020
lea ecx, [ebx + eax]
add ecx, 0xfffffffe
mov eax, ebx
not eax
and eax, ecx
xor ecx, ebx
add eax, eax
sub eax, ecx
mov edi, esi
cmp eax, 0xffffffed
jge 0x41d04a
mov eax, 0xffffffff
jmp 0x41d04d
add eax, 0x12
push eax
call fcn.00409370
add esp, 4
mov esi, eax
movzx ecx, word [ebx]
test cx, cx
je 0x41d081
add ebx, 2
mov eax, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x41d070
mov word [eax], 0
movzx ecx, word [esp + 0x20]
test cx, cx
je 0x41d0b1
lea edx, [esp + 0x22]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41d0a0
mov word [eax], 0
push edi
push esi
call fcn.0043d780
add esp, 8
not eax
shr eax, 0x1f
jmp dword [eax*4 + 0x44451c]
Function at 0x423ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push dword [esp + 4]
call fcn.00423ec0
add esp, 4
test al, al
je 0x423eb3
mov al, 1
ret
jmp fcn.00424630
Function at 0x42fc00
Capabilities:
Contain obfuscated stackstrings
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [ebp + 8]
mov byte [esp + 0x13], 0
xor eax, eax
mov dword [esp], 0
call dword [sym.imp.USER32.dll_OpenClipboard]
sub esp, 4
cmp eax, 0
je 0x42fd9d
xor eax, eax
mov dword [esp], 0
mov dword [esp + 4], 0
call dword [sym.imp.USER32.dll_GetWindowLongW]
sub esp, 8
mov dword [esp + 0x48], eax
mov dword [esp], 1
call dword [sym.imp.USER32.dll_GetClipboardData]
sub esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
cmp eax, 0
setne al
test al, 1
jne 0x42fc74
jmp 0x42fd95
mov eax, dword [esp + 0x18]
jmp 0x42fc7a
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
sub esp, 4
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x3c]
jmp 0x42fc90
jmp 0x42fc92
mov dword [esp], eax
call fcn.004094a0
mov dword [esp + 0x38], eax
cmp dword [esp + 0x38], 0
setne al
test al, 1
jne 0x42fcaf
jmp 0x42fd83
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x40], eax
mov ebx, dword [esp + 0x3c]
mov al, byte [esp + 0x14]
mov byte [esp + 0x1c], al
mov byte [esp + 0x20], 0xcb
mov byte [esp + 0x21], 0x21
mov byte [esp + 0x22], 0x5b
mov byte [esp + 0x23], 0x63
mov byte [esp + 0x24], 0x56
mov byte [esp + 0x25], 0x62
mov byte [esp + 0x26], 0x57
mov byte [esp + 0x27], 0x61
mov byte [esp + 0x28], 0x50
mov byte [esp + 0x29], 0xa7
mov byte [esp + 0x2a], 0x6e
mov byte [esp + 0x2b], 0x63
mov byte [esp + 0x2c], 0x6c
mov byte [esp + 0x2d], 0xf9
lea eax, [esp + 0x20]
add eax, 0xe
xor ecx, ecx
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 3
call fcn.00409400
xor eax, eax
movzx ecx, byte [esp + eax + 0x20]
mov edx, eax
add edx, 0xdb7cfa3e
lea edi, [eax + ecx - 0x248305c2]
and edx, ecx
add edx, edx
sub edi, edx
mov dword [esp + 0x44], edi
mov ecx, dword [esp + 0x44]
add cl, 0x4e
mov byte [esp + eax + 0x20], cl
add eax, 1
cmp eax, 0x11
jne 0x42fd2f
lea eax, [esp + 0x20]
mov ecx, esi
mov dword [esp], eax
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.00409d60
sub esp, 0xc
and al, 1
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
sub esp, 4
jmp 0x42fd95
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x42fd9d
mov al, byte [esp + 0x13]
and al, 1
movzx eax, al
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x435530
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
push edi
push esi
mov eax, 0xfffffffe
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
cmp word [ecx + eax + 2], 0
lea eax, [eax + 2]
jne 0x435540
test eax, eax
je 0x435563
mov ebx, eax
sar ebx, 1
test al, 2
jne 0x43556a
mov edx, ebx
cmp ebx, 1
jne 0x43559f
jmp 0x435609
mov eax, edi
jmp 0x435609
lea edx, [ebx - 1]
movzx eax, word [ecx]
add ecx, 2
xor eax, edi
mov esi, eax
and esi, 0x1000193
mov edi, eax
or eax, 0x1000193
imul eax, esi
xor esi, 0x1000193
and edi, 0xfefffe6c
imul edi, esi
add eax, edi
mov edi, eax
cmp ebx, 1
je 0x435609
xor esi, esi
mov eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, word [ecx + esi*2]
xor edi, eax
mov eax, edi
and eax, 0x1000193
mov ebx, edi
or edi, 0x1000193
imul edi, eax
xor eax, 0x1000193
and ebx, 0xfefffe6c
imul ebx, eax
add edi, ebx
movzx eax, word [ecx + esi*2 + 2]
xor eax, edi
mov edi, eax
and edi, 0x1000193
mov ebx, eax
or eax, 0x1000193
imul eax, edi
xor edi, 0x1000193
and ebx, 0xfefffe6c
imul ebx, edi
add eax, ebx
add esi, 2
cmp edx, esi
jne 0x4355b0
pop esi
pop edi
pop ebx
ret

Function at 0x436180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x436271
mov ebp, dword [esp + 0x18]
xor esi, esi
mov edi, 2
jmp 0x4361b9
lea ecx, [edi + 4]
add edi, 2
mov eax, dword [esp]
mov esi, eax
cmp edi, edx
mov edi, ecx
mov ebp, dword [esp + 0x18]
jae 0x436273
movzx eax, byte [ebp + edi - 2]
push eax
call fcn.0041a850
add esp, 4
mov ebx, eax
movzx eax, byte [ebp + edi - 1]
push eax
call fcn.0041a850
mov edx, dword [esp + 0x20]
add esp, 4
mov bh, al
shl bl, 2
shr al, 4
and al, 3
or al, bl
lea ecx, [esi + 1]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov byte [ecx + esi], al
cmp edi, edx
jae 0x4361a0
movzx eax, byte [ebp + edi]
push eax
call fcn.0041a850
mov edx, dword [esp + 0x20]
add esp, 4
cmp al, 0x40
je 0x4361a0
mov bl, al
shl bh, 4
shr al, 2
and al, 0xf
or al, bh
lea ecx, [esi + 2]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov byte [ecx + esi + 1], al
lea eax, [edi + 1]
cmp eax, edx
jae 0x4361a0
mov eax, dword [esp + 0x18]
movzx eax, byte [eax + edi + 1]
push eax
call fcn.0041a850
mov edx, dword [esp + 0x20]
add esp, 4
cmp al, 0x40
je 0x4361a0
shl bl, 6
mov ecx, eax
and cl, bl
add cl, cl
xor bl, al
add bl, cl
mov eax, dword [esp + 0x20]
mov byte [eax + esi + 2], bl
add esi, 3
mov dword [esp], esi
jmp 0x4361a0
xor eax, eax
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43a720
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov dword [esp + 8], 0xb338b524
mov dword [esp + 0xc], 0xaf24b12e
mov dword [esp + 0x10], 0xab7ead3a
mov dword [esp + 0x14], 0xa73ca936
mov dword [esp + 0x18], 0xa3a4a532
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x24], 0
mov eax, 0xe8ea9149
nop
nop
nop
movzx ecx, byte [esp + eax + 0x17156ebf]
mov edx, eax
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
inc cl
mov byte [esp + eax + 0x17156ebf], cl
cmp eax, 0xe8ea9165
je 0x43a7c4
movzx ecx, byte [esp + eax + 0x17156ec0]
lea edx, [eax + 1]
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
inc ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
inc cl
mov byte [esp + eax + 0x17156ec0], cl
add eax, 2
jmp 0x43a770
lea esi, [esp + 8]
push esi
call fcn.0043c120
add esp, 4
mov ecx, eax
mov dword [0x4514d4], eax
xor edx, edx
test eax, eax
sete dl
xor eax, eax
jmp dword [edx*4 + 0x4472dc]

Function at 0x43b9a0
Capabilities:
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov eax, dword [ebp + 8]
movzx eax, word [eax]
mov dword [esp + 0x18], 0xb3b21bed
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x24], 0
mov ecx, 0x74f80698
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + ecx - 0x74f80680]
mov esi, ecx
and esi, edx
add esi, esi
sub edx, esi
add edx, ecx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x44]
add dl, 0xd8
mov byte [esp + ecx - 0x74f80680], dl
cmp ecx, 0x74f806a4
je 0x43ba37
movzx edx, byte [esp + ecx - 0x74f8067f]
lea esi, [ecx + 1]
and esi, edx
add esi, esi
sub edx, esi
add edx, ecx
inc edx
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x44]
add dl, 0xd8
mov byte [esp + ecx - 0x74f8067f], dl
add ecx, 2
jmp 0x43b9e0
xor ecx, ecx
cmp dword [esp + 0x18], eax
setne cl
xor eax, eax
jmp dword [ecx*4 + 0x447824]
Function at 0x43d5a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov ebx, dword [ebp + 8]
mov eax, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x43d5c0
mov edi, eax
sar edi, 1
cmp eax, 0xfffffff5
jge 0x43d5db
mov eax, 0xffffffff
jmp 0x43d5de
add eax, 0xa
push eax
call fcn.00409370
add esp, 4
mov esi, eax
mov dword [eax], 0x3f005c
mov dword [eax + 4], 0x5c003f
lea eax, [edi + 4]
mov word [esi + 8], 0
mov ecx, esi
add ecx, 8
movzx edx, word [ebx]
test dx, dx
je 0x43d621
add ebx, 2
nop
mov word [ecx], dx
add ecx, 2
movzx edx, word [ebx]
add ebx, 2
test dx, dx
jne 0x43d610
mov word [ecx], 0
mov ecx, eax
and ecx, 0xfffd
and edi, 2
mov edx, edi
xor edx, 2
imul edx, ecx
or eax, 2
imul eax, edi
lea ecx, [eax + edx]
mov word [esp + 0x1c], cx
add eax, edx
add eax, 2
mov word [esp + 0x1e], ax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0x40
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 8], 0x7a797867
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov byte [esp + 0x14], 0
mov eax, 0xbe8f7d0f
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x417082f9]
mov edx, eax
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0x97
mov byte [esp + eax + 0x417082f9], cl
cmp eax, 0xbe8f7d1b
je 0x43d706
movzx ecx, byte [esp + eax + 0x417082fa]
lea edx, [eax + 1]
and edx, ecx
add edx, edx
sub ecx, edx
add ecx, eax
inc ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 4]
add cl, 0x97
mov byte [esp + eax + 0x417082fa], cl
add eax, 2
jmp 0x43d6b0
mov edi, dword [esp + 8]
mov eax, dword [0x4494bc]
test eax, eax
je 0x43d761
xor ecx, ecx
mov edx, dword [0x4494c0]
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0xcd669f2f
je 0x43d730
inc ecx
cmp eax, ecx
jne 0x43d720
jmp 0x43d761
mov eax, dword [edx + ecx*8 + 4]
cmp eax, edi
je 0x43d761
lea ecx, [esp + 8]
lea edx, [esp + 0x24]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ecx
push edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 6
push dword [0x4494c4]
push eax
call fcn.0043abc0
add esp, 0x24
mov edi, eax
push esi
call fcn.00409380
add esp, 4
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10008440
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37c8
call fcn.10072370
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ecx]
lea eax, [ebp - 0x108]
xor esi, esi
push str..PhysicalDrive_d
push eax
call fcn.10008d10
add esp, 0xc
lea eax, [ebp - 0x108]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x10008663
push 0x2710
lea eax, [ebp - 0x37b8]
mov dword [ebp - 0x37bc], esi
push esi
push eax
mov dword [ebp - 0x37c0], esi
mov dword [ebp - 0x37c8], esi
mov dword [ebp - 0x37c4], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push esi
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0xc
lea eax, [ebp - 0x37c8]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10008656
mov edx, dword [ebp - 0x37ac]
lea eax, [ebp - 0x8d8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.100082b0
mov edx, dword [ebp - 0x37a8]
lea eax, [ebp - 0xcc0]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.100082b0
mov edx, dword [ebp - 0x37a4]
lea eax, [ebp - 0x10a8]
push eax
push esi
lea ecx, [ebp - 0x37b8]
call fcn.100082b0
mov edx, dword [ebp - 0x37a0]
lea eax, [ebp - 0x4f0]
push eax
push 1
lea ecx, [ebp - 0x37b8]
call fcn.100082b0
add esp, 0x20
cmp byte [0x100a6e48], 0
jne 0x10008619
movsx eax, byte [ebp - 0x4f0]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
jne 0x10008592
movsx eax, byte [ebp - 0x4dd]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isalnum]
add esp, 4
test eax, eax
je 0x10008619
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [ebp + ecx - 0x8d8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100a6a47], al
test al, al
jne 0x100085a0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0xcc0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100a6247], al
test al, al
jne 0x100085c0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x4f0]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100a6e47], al
test al, al
jne 0x100085e0
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x10a8]
lea ecx, [ecx + 1]
mov byte [ecx + 0x100a6647], al
test al, al
jne 0x10008600
mov esi, 1
push 0x2710
lea eax, [ebp - 0x37b8]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x37bc]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x37b8]
push eax
push 0
push 0
push 0x700a0
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
jmp 0x1000865c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.10070fd9
mov esp, ebp
pop ebp
ret
Function at 0x10009810
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x10009891
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 0xd0]
push eax
push 0x40
push 4
push esi
call edi
mov eax, dword [esi]
push 0
push dword [ebp - 0xd0]
mov dword [ebp - 0xcc], eax
push 4
push esi
call edi
xor eax, eax
nop word [eax + eax]
xor byte [ebp + eax - 0xcc], al
inc eax
cmp eax, 4
jb 0x10009860
lea eax, [ebp - 0xd0]
push eax
push 0x40
push 4
push esi
call edi
mov eax, dword [ebp - 0xcc]
push 0
push dword [ebp - 0xd0]
mov dword [esi], eax
push 4
push esi
call edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10070fd9
mov esp, ebp
pop ebp
ret 4

Function at 0x100098b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x100098f7
mov eax, dword [eax]
mov dword [ebp - 0xcc], eax
xor eax, eax
xor byte [ebp + eax - 0xcc], al
inc eax
cmp eax, 4
jb 0x100098d4
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10070fd9
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.10070fd9
mov esp, ebp
pop ebp
ret 4

Function at 0x10009910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007241d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x100a400c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
cmp dword [0x100a5894], 0x10
mov eax, 0x100a5880
cmovae eax, dword [0x100a5880]
cmp byte [eax], 0
je 0x10009a2a
mov ecx, dword [ebp + 8]
cmp byte [ecx], 0
je 0x10009a2a
cmp dword [0x100a54f0], 0x10
mov eax, 0x100a54dc
cmovae eax, dword [0x100a54dc]
cmp byte [eax], 0
je 0x10009a2a
mov esi, 0x100a7c30
mov edx, ecx
sub esi, ecx
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
test al, al
jne 0x10009986
mov edx, 0x100ac6f8
sub edx, ecx
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x100099a0
mov ecx, dword [0x100a84d8]
mov edx, 0x100a5880
cmp dword [0x100a5894], 0x10
push 0x100a7c30
cmovae edx, dword [0x100a5880]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
test eax, eax
jne 0x10009a2a
mov ecx, 0x98
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x10093bac]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x28], al
and ecx, 0x800000ff
jns 0x100099fd
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x14
jl 0x100099e0
mov byte [ebp - 0x14], 0
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0
mov eax, dword [0x100ac11c]
mov esi, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [0x100ac11c]
push eax
lea eax, [ebp - 0x28]
push eax
call dword [esi]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10009a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007244d
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x100a400c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea esi, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae esi, dword [ebp + 8]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10009a80
sub esi, ecx
push esi
call fcn.1007190d
add esp, 4
xor edx, edx
mov edi, eax
test esi, esi
js 0x10009aab
nop word [eax + eax]
xor byte [edx + edi], dl
lea ecx, [edx + edi]
inc edx
cmp edx, esi
jle 0x10009aa0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10009ae1
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10009ad7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10009ad7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100718ff
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18

Function at 0x1000aee0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
test edi, edi
js 0x1000af17
nop
lea eax, [ebp - 8]
push eax
push 0x40
push 4
lea eax, [ebx + esi]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
inc esi
cmp esi, edi
jle 0x1000af00
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10070fd9
mov esp, ebp
pop ebp
ret 8

Function at 0x1000b1d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
mov ebx, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
mov dword [edi], ecx
push 4
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
xor ecx, ebp
pop ebx
call fcn.10070fd9
mov esp, ebp
pop ebp
ret 8
Function at 0x1000b220
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1009cb28
push 0x10071268
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100a400c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0x40
mov edi, dword [ebp + 0x10]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov byte [esi], 0xe8
mov dword [esi + 1], eax
mov eax, 5
mov dword [ebp - 0x28], eax
cmp eax, edi
jae 0x1000b292
mov byte [esi + eax], 0x90
inc eax
jmp 0x1000b284
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000b2ac
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10070fd9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10018ab0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov eax, edx
mov dword [ebp - 0xc], eax
cmp ebx, 0x1000
jbe 0x10018b07
test eax, eax
je 0x10018b07
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10018b06
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push dword [ebp - 0xc]
push ebx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10070fd9
mov esp, ebp
pop ebp
ret

Function at 0x10018cb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
cmp ebx, 0x1000
jbe 0x10018d0e
test edi, edi
je 0x10018d0e
push esi
push edi
call fcn.1007190d
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10070fd9
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.10070fd9
mov esp, ebp
pop ebp
ret 8

Function at 0x10018d30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100a400c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
call fcn.1007190d
add esp, 4
mov ebx, eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ebx
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test edi, edi
jle 0x10018d9e
sub ebx, esi
nop dword [eax + eax]
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10018d82
mov al, byte [esi]
mov byte [ebx + esi], al
inc esi
sub edi, 1
jne 0x10018d70
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10070fd9
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10070fd9
mov esp, ebp
pop ebp
ret 8