joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10049300
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067628
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x10078014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov esi, dword [edx + 8]
mov ecx, dword [edx + 0x14]
sub ecx, dword [edx + 0x10]
lea eax, [esi + 1]
cmp eax, ecx
jbe 0x10049340
xor cl, cl
jmp 0x10049346
mov eax, dword [edx + 0x10]
mov cl, byte [esi + eax]
lea eax, [esi + 1]
mov dword [edx + 8], eax
movzx eax, cl
sub eax, 0
je 0x10049437
sub eax, 1
jne 0x10049503
mov cl, 4
mov dword [ebp - 0x3c], 0x706b4804
mov dword [ebp - 0x38], 0x7d766170
mov dword [ebp - 0x34], 0x6a617241
mov word [ebp - 0x30], 0x70
nop
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x1004938f
mov cl, byte [ebp - 0x3c]
jmp 0x10049380
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2f], 0
push eax
lea ecx, [ebp - 0x70]
call fcn.100029c0
mov dword [ebp - 4], 3
xor ecx, ecx
movaps xmm0, xmmword [0x1006fb20]
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0x174e5b5b
mov dword [ebp - 0x44], 0x595e585d
mov dword [ebp - 0x40], 0x195352
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0x1a
jb 0x100493c8
lea eax, [ebp - 0x57]
mov byte [ebp - 0x3d], 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.100029c0
push 0
push 0
lea edx, [ebp - 0x70]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.1001ea30
mov edx, dword [ebp - 0x18]
add esp, 8
cmp edx, 0x10
jb 0x10049411
mov ecx, dword [ebp - 0x2c]
inc edx
push 1
call fcn.10002790
add esp, 4
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x10049503
mov ecx, dword [ebp - 0x70]
jmp 0x100494f8
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
mov ecx, edx
call fcn.10004f50
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100494ed
cmp eax, 0xff
ja 0x100494ed
mov cl, 0x68
mov dword [ebp - 0x3c], 0x1c072468
mov dword [ebp - 0x38], 0x111a0d1c
xor eax, eax
mov dword [ebp - 0x34], 0x60d1e2d
mov word [ebp - 0x30], 0x1c
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x1004949f
mov cl, byte [ebp - 0x3c]
jmp 0x10049490
lea eax, [ebp - 0x3b]
mov byte [ebp - 0x2f], 0
push eax
lea ecx, [ebp - 0x54]
call fcn.100029c0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x70]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.100029c0
push 0
push 0
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.1001ea30
add esp, 8
lea ecx, [ebp - 0x70]
call fcn.10002380
lea ecx, [ebp - 0x54]
call fcn.10002380
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x10049503
mov ecx, dword [ebp - 0x2c]
push 1
inc edx
call fcn.10002790
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10063065
mov esp, ebp
pop ebp
ret 4
Function at 0x1004f510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067900
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
push edi
mov eax, dword [0x10078014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x10]
test esi, esi
je 0x1004f63a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f63a
mov ecx, 0xbe20a0
call fcn.10015280
cmp esi, eax
sete al
test al, al
je 0x1004f63a
lea eax, [ebp - 0xf]
mov word [ebp - 0x10], 0x3a
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 0xf], 0
call fcn.100029c0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x50]
mov ecx, dword [edi + 0x10]
call fcn.10014b40
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x1004f5b1
mov ecx, dword [ebp - 0x50]
inc edx
push 1
call fcn.10002790
add esp, 4
movaps xmm0, xmmword [0x1006f230]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
nop
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x1004f5c0
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x38]
call fcn.100029c0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x38]
mov ecx, dword [edi + 0x10]
call fcn.10014ed0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x1004f60c
mov ecx, dword [ebp - 0x38]
inc edx
push 1
call fcn.10002790
add esp, 4
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
test esi, esi
je 0x1004f63a
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004f63a
mov ecx, esi
call dword [0x1006ec18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10050350
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100679f0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x10078014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x10050398
push 4
push edi
call ebx
test eax, eax
jne 0x10050398
push eax
mov ecx, edi
call dword [0x1006ebec]
mov edi, dword [esi + 0x10]
test edi, edi
je 0x10050496
push 4
push edi
call ebx
test eax, eax
jne 0x10050496
mov ecx, 0xbe20a0
call fcn.10015280
cmp edi, eax
sete al
test al, al
je 0x10050496
lea eax, [ebp - 0xf]
mov word [ebp - 0x10], 0x40
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 0xf], 0
call fcn.100029c0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x50]
mov ecx, dword [esi + 0x10]
call fcn.10014b40
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
cmp edx, 0x10
jb 0x1005040c
mov ecx, dword [ebp - 0x50]
inc edx
push 1
call fcn.10002790
add esp, 4
movaps xmm0, xmmword [0x1006f1b0]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
nop dword [eax]
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x10050420
lea eax, [ebp - 0x1f]
mov byte [ebp - 0x11], 0
push eax
lea ecx, [ebp - 0x38]
call fcn.100029c0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x38]
mov ecx, dword [esi + 0x10]
call fcn.10014ed0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x1005046c
mov ecx, dword [ebp - 0x38]
inc edx
push 1
call fcn.10002790
add esp, 4
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
test edi, edi
je 0x10050496
push 4
push edi
call ebx
test eax, eax
jne 0x10050496
mov ecx, edi
call dword [0x1006ec18]
push 1
push dword [esi + 8]
mov ecx, esi
call fcn.1004f740
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1005bad0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10067c60
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x10078014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov dword [0x1007a63c], eax
mov edi, dword [esi]
test edi, edi
je 0x1005bc2c
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push edi
call ebx
test eax, eax
jne 0x1005bc2c
push 4
add edi, 0xfc
push edi
call ebx
test eax, eax
jne 0x1005bc2c
mov al, byte [edi]
test al, al
je 0x1005bc2c
cmp byte [ebp + 8], 0
jne 0x1005bc2c
lea eax, [ebp + 9]
mov word [ebp + 8], 0x54
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp + 9], 0
call fcn.100029c0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x4c]
mov ecx, dword [esi + 4]
call fcn.10014b40
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x1005bb8a
mov ecx, dword [ebp - 0x4c]
inc edx
push 1
call fcn.10002790
add esp, 4
mov ecx, dword [esi + 4]
or edx, 0xffffffff
call fcn.10014be0
mov cl, 0xb
mov dword [ebp - 0x1c], 0x7f654e0b
mov dword [ebp - 0x18], 0x5f2b796e
xor eax, eax
mov dword [ebp - 0x14], 0x422b6c6a
mov word [ebp - 0x10], 0x4f
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xc
jae 0x1005bbc3
mov cl, byte [ebp - 0x1c]
jmp 0x1005bbb4
lea eax, [ebp - 0x1b]
mov byte [ebp - 0xf], 0
push eax
lea ecx, [ebp - 0x34]
call fcn.100029c0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x34]
mov ecx, dword [esi + 4]
call fcn.10014ed0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x1005bc02
mov ecx, dword [ebp - 0x34]
inc edx
push 1
call fcn.10002790
add esp, 4
mov esi, dword [esi + 4]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
test esi, esi
je 0x1005bc2c
push 4
push esi
call ebx
test eax, eax
jne 0x1005bc2c
mov ecx, esi
call dword [0x1006ec18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1005fff0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068378
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x10078014]
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 - 0x84], esi
mov dword [ebp - 0x88], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x80]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x80], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0x67452301
mov dword [ebp - 0x30], 0xefcdab89
mov dword [ebp - 0x2c], 0x98badcfe
mov dword [ebp - 0x28], 0x10325476
call fcn.1005fd80
lea ecx, [ebp - 0x80]
call fcn.1005fe30
push esi
lea ecx, [ebp - 0x80]
call fcn.1005ff20
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x1006009e
mov ecx, dword [ebp + 8]
inc edx
push 1
call fcn.10002790
add esp, 4
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.10063065
mov esp, ebp
pop ebp
ret

Function at 0x10060390
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.10060560
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1006046d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x100603da
mov eax, dword [ebp - 4]
cmp eax, dword [0x10078004]
ja 0x100603da
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100603aa
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 0x100603ff
jmp 0x1006046d
cmp dword [ebp - 0x14], 0x10000
jne 0x10060453
cmp dword [ebp - 0x18], 0x10000
jb 0x10060453
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 0x10060436
mov eax, dword [ebp - 8]
jmp 0x1006046f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10060446
xor eax, eax
jmp 0x1006046f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10060468
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10060560
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100603aa
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10060480
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10060590
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10060555
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x100604c5
mov eax, dword [ebp - 4]
cmp eax, dword [0x10078004]
ja 0x100604c5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10060495
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 0x100604ea
jmp 0x10060555
cmp dword [ebp - 0x14], 0x10000
jne 0x1006053e
cmp dword [ebp - 0x18], 0x10000
jb 0x1006053e
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 0x10060521
mov eax, dword [ebp - 8]
jmp 0x10060557
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10060531
xor eax, eax
jmp 0x10060557
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10060550
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10060590
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10060495
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100605c0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100609b0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10079a78], 0
jne 0x100605fd
cmp dword [0x10079a74], 0
je 0x100605fd
mov eax, dword [0x10079a74]
mov dword [0x10079a78], eax
cmp dword [0x10079a78], 0
je 0x1006067a
mov ecx, dword [0x10079a78]
cmp dword [ecx + 8], 0
je 0x1006067a
mov edx, dword [0x10079a78]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1006067a
mov ecx, dword [0x10079a78]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1006067a
mov eax, dword [0x10079a78]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10060649
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10060650
xor eax, eax
jmp 0x10060799
mov ecx, dword [0x10079a78]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10060799
mov edx, dword [0x10079a74]
mov dword [0x10079a78], edx
jmp 0x10060696
mov eax, dword [0x10079a78]
mov ecx, dword [eax + 4]
mov dword [0x10079a78], ecx
cmp dword [0x10079a78], 0
je 0x100606d6
cmp dword [0x10079a78], 0
je 0x100606d4
mov edx, dword [0x10079a78]
cmp dword [edx + 8], 0
je 0x100606d4
mov eax, dword [0x10079a78]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x100606d4
mov edx, dword [0x10079a78]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x100606d4
jmp 0x1006062e
jmp 0x10060688
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.100607a0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10060797
mov eax, dword [ebp - 0x18]
mov dword [0x10079a78], eax
mov ecx, dword [0x10079a78]
mov dword [ecx], 0x52727464
mov edx, dword [0x10079a78]
mov dword [edx + 8], 0
mov eax, dword [0x10079a78]
mov ecx, dword [0x10079a74]
mov dword [eax + 4], ecx
mov edx, dword [0x10079a78]
mov dword [0x10079a74], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x10079a78]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10060767
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10060787
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1006075e
mov eax, dword [0x10079a78]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1006062e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100614e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10079a74]
mov dword [ebp - 4], eax
jmp 0x100614f9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10061520
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1006151e
call sub.KERNEL32.dll_GetLastError
jmp 0x10061522
jmp 0x100614f0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100619c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10079a84], eax
je 0x100619e4
mov eax, 0x10dd
jmp 0x10061b8c
cmp dword [0x10079a88], 0
je 0x100619f7
mov eax, dword [0x10079a88]
jmp 0x10061b8c
cmp dword [ebp + 0xc], 0
jne 0x10061a07
mov eax, 0x57
jmp 0x10061b8c
cmp dword [ebp + 8], 0
jne 0x10061a17
mov eax, 6
jmp 0x10061b8c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10061a40
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x10079a88], ecx
mov edx, dword [ebp + 8]
mov dword [0x10079a8c], edx
mov eax, dword [ebp - 8]
jmp 0x10061b8c
push 0x18
call fcn.10063076
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10061a9b
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x10079a88], ecx
cmp dword [ebp - 4], 0
je 0x10061a8a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.100630a9
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x10079a8c], ecx
mov eax, dword [ebp - 8]
jmp 0x10061b8c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.100619a0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.100619a0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x10061adb
cmp dword [ebp - 0xc], 0x1e
jbe 0x10061af7
mov dword [ebp - 8], 9
cmp dword [0x10079a7c], 0
je 0x10061af2
jmp 0x10061a69
jmp 0x10061a60
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x10061b1e
mov dword [ebp - 8], 9
cmp dword [0x10079a7c], 0
je 0x10061b19
jmp 0x10061a69
jmp 0x10061a60
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x10061b49
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10061a60
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x10079a94]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10079a94], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10061ba0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10079a84], eax
je 0x10061bbd
mov eax, 0x10dd
jmp 0x10061ca0
mov eax, dword [0x10079a94]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10061c3c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x10061c18
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10061c18
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10060a40
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.100630a9
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10061bc5
mov dword [0x10079a94], 0
call fcn.10061320
mov ecx, dword [0x10079a90]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10061c8a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100630a9
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10061c54
mov dword [0x10079a90], 0
mov dword [0x10079a84], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10062180
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10079a88], 0
je 0x10062199
mov eax, dword [0x10079a88]
jmp 0x10062238
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x100621aa
xor eax, eax
jmp 0x10062238
push 8
call fcn.10063076
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10062202
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x100621eb
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.100630a9
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x10079a88], eax
mov dword [0x10079a8c], 0
mov eax, dword [ebp - 8]
jmp 0x10062238
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1006221a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x100621ca
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10079a90]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10079a90], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x432000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219