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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov byte [ebp - 0x10], 0x79
mov al, 0x17
xor al, byte [ebp - 0x10]
mov bl, 0x15
mov ah, bl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x10]
mov dl, 0x1d
push esi
mov esi, ecx
mov byte [ebp - 1], ah
mov bh, ah
mov byte [ebp - 6], 0
mov dh, dl
mov byte [ebp - 6], 0
xor dl, al
xor bl, al
xor ah, al
mov byte [ebp - 0xd], dl
xor dh, al
mov byte [ebp - 0xb], ah
xor bh, al
mov byte [ebp - 0xc], bl
mov cl, 0xd
mov byte [ebp - 9], dh
xor cl, al
mov byte [ebp - 8], bh
mov ch, 0x57
mov byte [ebp - 0xe], cl
xor ch, al
mov al, byte [ebp - 1]
xor al, byte [ebp - 0x10]
mov byte [ebp - 7], al
lea eax, [ebp - 0xf]
push edi
push eax
mov byte [ebp - 0xa], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, eax
test edx, edx
jne 0x10016478
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movaps xmm0, xmmword [0x10061ce0]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0x1c063a00
mov dword [ebp - 0x14], 0xa0f0b
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0x16
jb 0x10016493
lea eax, [ebp - 0x27]
mov byte [ebp - 0x11], 0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1001646f
test esi, esi
jne 0x100164c1
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov esi, eax
push 0
push 0
push 0x11
push esi
call edi
pop edi
test eax, eax
pop esi
sete al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100164e0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x10069018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.1000ee50
test eax, eax
je 0x100165ec
push esi
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
test eax, eax
setne bl
test ebx, ebx
je 0x100165ec
push eax
call esi
test ebx, ebx
je 0x100165ec
movaps xmm0, xmmword [0x10061c10]
xor eax, eax
movups xmmword [ebp - 0x28], xmm0
nop dword [eax]
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0xe
jb 0x10016540
mov byte [ebp - 0x18], 0x71
mov al, 0x1f
xor al, byte [ebp - 0x18]
mov bl, 0x1d
mov ah, bl
mov byte [ebp - 0x17], al
mov al, byte [ebp - 0x18]
mov dl, 0x15
mov bh, ah
mov byte [ebp - 9], ah
xor bl, al
mov byte [ebp - 0xe], 0
xor ah, al
mov byte [ebp - 0x19], 0
xor bh, al
mov byte [ebp - 0x13], ah
mov dh, dl
mov byte [ebp - 0x14], bl
xor dl, al
mov byte [ebp - 0x10], bh
xor dh, al
mov byte [ebp - 0x15], dl
mov cl, 5
mov byte [ebp - 0x11], dh
xor cl, al
mov byte [ebp - 0xe], 0
mov ch, 0x5f
mov byte [ebp - 0x16], cl
xor ch, al
mov al, byte [ebp - 9]
xor al, byte [ebp - 0x18]
mov byte [ebp - 0xf], al
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x17]
mov byte [ebp - 0x12], ch
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0x116e058
mov ebx, eax
call fcn.100119c0
push eax
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10016605
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push edi
call ebx
test eax, eax
jns 0x100165f4
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [ebp - 8], 0
jbe 0x10016602
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100523a0
mov esp, ebp
pop ebp
ret
Function at 0x10017480
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov byte [ebp - 0x10], 1
mov al, 0x63
xor al, byte [ebp - 0x10]
mov dl, 0x60
mov byte [ebp - 0xf], al
mov dh, 0x5e
mov al, byte [ebp - 0x10]
mov bl, 0x72
push esi
xor dl, al
mov byte [ebp - 7], 0
xor dh, al
mov byte [ebp - 0xe], dl
push edi
mov esi, ecx
mov byte [ebp - 0xb], dh
sub esp, 0x18
mov byte [ebp - 7], 0
mov edx, esp
mov ch, bl
mov ah, 0x64
mov bh, 0x62
mov cl, 0x6e
xor bl, al
xor ah, al
mov byte [ebp - 0xd], bl
xor bh, al
mov byte [ebp - 0xc], ah
xor cl, al
mov byte [ebp - 0xa], bh
xor ch, al
mov byte [ebp - 9], cl
mov byte [ebp - 8], ch
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x100174f0
mov eax, dword [edx]
jmp 0x100174f2
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0xf], 0
jne 0x100174ff
xor ecx, ecx
jmp 0x1001750e
lea ecx, [ebp - 0xf]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017505
sub ecx, edi
push ecx
lea eax, [ebp - 0xf]
mov ecx, edx
push eax
call fcn.100048e0
mov ecx, dword [esi]
call fcn.100110f0
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add esp, 0x18
mov dword [esi + 4], eax
push 4
push eax
call ebx
test eax, eax
je 0x1001753d
mov dword [esi + 4], 0
movaps xmm0, xmmword [0x10061ad0]
xor ecx, ecx
movups xmmword [ebp - 0x14], xmm0
nop word [eax + eax]
mov al, byte [ebp - 0x14]
xor byte [ebp + ecx - 0x13], al
inc ecx
cmp ecx, 0xe
jb 0x10017550
sub esp, 0x18
mov byte [ebp - 5], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x13], 0
jne 0x10017581
xor ecx, ecx
jmp 0x10017590
lea ecx, [ebp - 0x13]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017587
sub ecx, edi
push ecx
lea eax, [ebp - 0x13]
mov ecx, edx
push eax
call fcn.100048e0
mov ecx, dword [esi + 4]
call fcn.100110f0
add esp, 0x18
mov dword [esi + 8], eax
push 4
push eax
call ebx
test eax, eax
je 0x100175ba
mov dword [esi + 8], 0
cmp dword [esi + 8], 0
je 0x100175d4
cmp dword [0x1006f304], 0
mov ecx, 0x10b78ba
sete dl
call fcn.100118f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001d5a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055148
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x10069018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ax, word [ebp + 8]
mov dword [ebp - 4], 0
cmp dword [ebp + 0x1c], 0
mov word [esi + 0x28], ax
jne 0x1001d6af
mov bh, 0x6f
mov byte [ebp - 0x24], 0xe
mov byte [ebp - 0x12], bh
mov al, 0x67
xor al, byte [ebp - 0x24]
mov cl, 0x6b
mov byte [ebp - 0x11], 0x5d
mov bl, cl
mov bh, byte [ebp - 0x11]
mov dl, 0x69
xor bh, byte [ebp - 0x24]
mov ah, 0x2e
mov byte [ebp - 0x11], bh
mov ch, 0x4d
mov byte [ebp - 0x22], al
mov dh, 0x62
mov al, byte [ebp - 0x24]
mov byte [ebp - 0x23], bh
xor cl, al
mov bh, byte [ebp - 0x12]
xor dl, al
xor bl, al
mov byte [ebp - 0x13], 0x60
xor ah, al
mov byte [ebp - 0x19], 0
xor ch, al
mov byte [ebp - 0x21], cl
xor dh, al
mov byte [ebp - 0x20], dl
xor bh, al
mov byte [ebp - 0x1f], bl
mov al, byte [ebp - 0x13]
xor al, byte [ebp - 0x24]
cmp byte [ebp - 0x11], 0
mov byte [ebp - 0x1e], ah
mov byte [ebp - 0x1d], ch
mov byte [ebp - 0x1c], dh
mov byte [ebp - 0x1b], bh
mov byte [ebp - 0x1a], al
mov byte [ebp - 0x19], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jne 0x1001d66a
xor ecx, ecx
jmp 0x1001d679
lea ecx, [ebp - 0x23]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d670
sub ecx, edx
push ecx
lea eax, [ebp - 0x23]
push eax
lea ecx, [ebp - 0x40]
call fcn.100048e0
mov byte [ebp - 4], 1
mov esi, dword [esi + 0x10]
test esi, esi
je 0x1001d757
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001d757
lea eax, [ebp - 0x40]
push eax
jmp 0x1001d74f
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
movaps xmm0, xmmword [0x10061e60]
cmovae eax, dword [ebp + 0xc]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x21
nop
mov al, byte [ebp - 0x28]
xor byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0x10
jb 0x1001d6d0
sub esp, 0x18
mov byte [ebp - 0x17], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
cmp dword [edx + 0x14], 0x10
jb 0x1001d6fe
mov eax, dword [edx]
jmp 0x1001d700
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x27], 0
jne 0x1001d70d
xor ecx, ecx
jmp 0x1001d71c
lea ecx, [ebp - 0x27]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001d713
sub ecx, edi
push ecx
lea eax, [ebp - 0x27]
mov ecx, edx
push eax
call fcn.100048e0
lea eax, [ebp - 0x40]
push eax
call fcn.1000b410
add esp, 0x20
mov edi, eax
mov byte [ebp - 4], 2
mov esi, dword [esi + 0x10]
test esi, esi
je 0x1001d757
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1001d757
push edi
mov ecx, esi
call dword [0x10061534]
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x1001d769
inc eax
push eax
push dword [ebp - 0x40]
call fcn.100047b0
mov eax, dword [ebp + 0x20]
cmp eax, 0x10
jb 0x1001d77b
inc eax
push eax
push dword [ebp + 0xc]
call fcn.100047b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x1001dd20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movaps xmm0, xmmword [0x100628b0]
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0x68725e64
push edi
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0xc], 0x75607475
xor ecx, ecx
mov dword [ebp - 8], 0x6f6e68
nop dword [eax]
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x1a
jb 0x1001dd50
sub esp, 0x18
mov byte [ebp - 5], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x1f], 0
jne 0x1001dd81
xor ecx, ecx
jmp 0x1001dd90
lea ecx, [ebp - 0x1f]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001dd87
sub ecx, edi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.100048e0
mov ecx, dword [esi]
call fcn.100110f0
add esp, 0x18
mov dword [esi + 4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10039300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056310
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10069018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [0x1006b1ac], eax
mov ebx, dword [edi]
push 4
push ebx
call esi
test eax, eax
jne 0x100394b7
push 4
add ebx, 0xe5
push ebx
call esi
test eax, eax
jne 0x100394b7
mov al, byte [ebx]
test al, al
je 0x100394b7
cmp byte [ebp + 8], 0
jne 0x100394b7
movaps xmm0, xmmword [str._zQKZM]
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
nop dword [eax]
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0xe
jb 0x10039380
lea eax, [ebp - 0x53]
mov byte [ebp - 0x45], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.100049e0
lea eax, [ebp - 0x2b]
mov dword [ebp - 4], 0
mov word [ebp - 0x2c], 0x3c
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 0x2b], 0
call fcn.100049e0
mov byte [ebp - 4], 1
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x100393da
push 4
push ebx
call esi
test eax, eax
jne 0x100393da
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call dword [0x100614ec]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100393f0
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100047b0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x44]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.100049e0
mov byte [ebp - 4], 2
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x10039424
push 4
push ebx
call esi
test eax, eax
jne 0x10039424
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call dword [0x10061530]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1003943a
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100047b0
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x10039452
push 4
push ebx
call esi
test eax, eax
jne 0x10039452
mov ecx, ebx
call dword [0x100614f4]
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x3c
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], 0
call fcn.100049e0
mov byte [ebp - 4], 3
mov ebx, dword [edi + 0x20]
test ebx, ebx
je 0x10039488
push 4
push ebx
call esi
test eax, eax
jne 0x10039488
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call dword [0x10061534]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1003949e
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100047b0
mov ecx, edi
call fcn.1003af40
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x100394b7
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100047b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100523a0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1004a400
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10069018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [0x1006b214], eax
mov edi, dword [ebx]
push 4
push edi
call esi
test eax, eax
jne 0x1004a5b0
push 4
add edi, 0xe5
push edi
call esi
test eax, eax
jne 0x1004a5b0
mov al, byte [edi]
test al, al
je 0x1004a5b0
cmp byte [ebp + 8], 0
jne 0x1004a5b0
mov cl, 5
mov dword [ebp - 0x3c], 0x716b4005
mov dword [ebp - 0x38], 0x51257760
xor eax, eax
mov dword [ebp - 0x34], 0x4c256264
mov word [ebp - 0x30], 0x41
nop
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x1004a49f
mov cl, byte [ebp - 0x3c]
jmp 0x1004a490
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2f], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.100049e0
lea eax, [ebp - 0x2b]
mov dword [ebp - 4], 0
mov word [ebp - 0x2c], 0x11
lea ecx, [ebp - 0x54]
push eax
mov byte [ebp - 0x2b], 0
call fcn.100049e0
mov byte [ebp - 4], 1
mov edi, dword [ebx + 8]
test edi, edi
je 0x1004a4ec
push 4
push edi
call esi
test eax, eax
jne 0x1004a4ec
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
call dword [0x100614ec]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x1004a502
inc eax
push eax
push dword [ebp - 0x54]
call fcn.100047b0
mov edi, dword [ebx + 8]
test edi, edi
je 0x1004a53c
push 4
push edi
call esi
test eax, eax
jne 0x1004a53c
push 4
add edi, 0x10c
push edi
call esi
test eax, eax
jne 0x1004a53c
mov eax, dword [edi]
test eax, eax
je 0x1004a53c
lea edi, [eax + 0x130]
push 4
push edi
call esi
test eax, eax
jne 0x1004a53c
mov dword [edi], 0xffffffff
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x54]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.100049e0
mov byte [ebp - 4], 2
mov edi, dword [ebx + 8]
test edi, edi
je 0x1004a570
push 4
push edi
call esi
test eax, eax
jne 0x1004a570
lea eax, [ebp - 0x54]
mov ecx, edi
push eax
call dword [0x10061530]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x1004a586
inc eax
push eax
push dword [ebp - 0x54]
call fcn.100047b0
mov edi, dword [ebx + 8]
test edi, edi
je 0x1004a59e
push 4
push edi
call esi
test eax, eax
jne 0x1004a59e
mov ecx, edi
call dword [0x100614f4]
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1004a5b0
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100047b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100523a0
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1004cc90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10056ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10069018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x7c]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
call fcn.1004ca20
lea ecx, [ebp - 0x7c]
call fcn.1004cad0
push esi
lea ecx, [ebp - 0x7c]
call fcn.1004cbc0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x1004cd37
inc ecx
push ecx
push dword [ebp + 8]
call fcn.100047b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100523a0
mov esp, ebp
pop ebp
ret

Function at 0x1004cec0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, ecx
mov ebx, 1
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
add eax, 0x10
mov dword [ebp + 0xc], eax
push 0x5851f42d
xor eax, eax
mov ecx, esi
push 0x4c957f2d
shr ecx, 0x1e
xor eax, esi
xor ecx, edi
push eax
push ecx
call fcn.10052eb0
mov edi, eax
mov esi, edx
mov eax, ebx
cdq
add edi, eax
mov eax, dword [ebp + 0xc]
adc esi, edx
inc ebx
mov dword [eax], edi
mov dword [eax + 4], esi
add eax, 8
mov dword [ebp + 0xc], eax
cmp ebx, 0x138
jl 0x1004cee3
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov dword [eax], 0x138
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1004f300
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005718e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10069018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
cmp eax, 0xffffffff
jne 0x1004f336
xor ebx, ebx
jmp 0x1004f33f
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x1004f381
nop dword [eax]
cmp dword [ebx + 0x18], 0
mov esi, dword [ebx + 0xc]
jne 0x1004f3c0
test esi, esi
jne 0x1004f3c4
push 0x1004eb80
push 0x1006ab18
call fcn.1004e870
mov eax, dword [section..data]
add esp, 8
cmp eax, 0xffffffff
je 0x1004f381
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1004f3ae
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1004f3ae
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1004f406
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1004f3ef
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x1004f3c4
cmp dword [ebx + 0x18], 0
je 0x1004f350
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x1004f42d
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1004f42d
push eax
mov eax, dword [esi + 0x14]
push ecx
call eax
add esp, 8
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.1004eba0
cmp dword [ebx + 0x18], 0
jne 0x1004f410
jmp 0x1004f350
Function at 0x1004f6d0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1004f8a0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1004f7ad
mov edx, dword [ebp - 4]
cmp edx, dword [0x10069004]
jb 0x1004f71a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10069008]
ja 0x1004f71a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1004f6ea
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1004f73f
jmp 0x1004f7ad
cmp dword [ebp - 0x14], 0x10000
jne 0x1004f793
cmp dword [ebp - 0x18], 0x10000
jb 0x1004f793
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1004f776
mov eax, dword [ebp - 8]
jmp 0x1004f7af
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1004f786
xor eax, eax
jmp 0x1004f7af
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1004f7a8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1004f8a0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1004f6ea
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1004f7c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1004f8d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1004f895
mov edx, dword [ebp - 4]
cmp edx, dword [0x10069004]
jb 0x1004f805
mov eax, dword [ebp - 4]
cmp eax, dword [0x10069008]
ja 0x1004f805
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1004f7d5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1004f82a
jmp 0x1004f895
cmp dword [ebp - 0x14], 0x10000
jne 0x1004f87e
cmp dword [ebp - 0x18], 0x10000
jb 0x1004f87e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1004f861
mov eax, dword [ebp - 8]
jmp 0x1004f897
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1004f871
xor eax, eax
jmp 0x1004f897
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1004f890
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1004f8d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1004f7d5
xor eax, eax
mov esp, ebp
pop ebp
ret