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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064ac0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
mov eax, dword [0x10077604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [ebp + 8], 0
mov eax, dword [esi]
mov dword [0x100785e8], eax
jne 0x1004d5dd
mov eax, dword [esi + 0x10]
test eax, eax
je 0x1004d5dd
push eax
call fcn.10012eb0
add esp, 4
test al, al
je 0x1004d5dd
lea eax, [ebp + 9]
mov word [ebp + 8], 0x75
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp + 9], 0
call fcn.100017e0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
push dword [esi + 0x10]
call fcn.10013090
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10001840
movaps xmm0, xmmword [str._eNTER]
xor ecx, ecx
movups xmmword [ebp - 0x1c], xmm0
nop dword [eax]
mov al, byte [ebp - 0x1c]
xor byte [ebp + ecx - 0x1b], al
inc ecx
cmp ecx, 0xe
jb 0x1004d590
lea eax, [ebp - 0x1b]
mov byte [ebp - 0xd], 0
push eax
lea ecx, [ebp - 0x4c]
call fcn.100017e0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 1
push eax
push dword [esi + 0x10]
call fcn.10013520
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c]
call fcn.10001840
push dword [esi + 0x10]
call fcn.10012ef0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100535f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065080
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x10077604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
movaps xmm0, xmmword [0x1006cba0]
xor ecx, ecx
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], 0x7100114
mov word [ebp - 0x44], 0x5b
mov al, byte [ebp - 0x58]
xor byte [ebp + ecx - 0x57], al
inc ecx
cmp ecx, 0x14
jb 0x10053635
cmp byte [ebp - 0x57], 0
mov byte [ebp - 0x43], 0
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jne 0x10053662
xor ecx, ecx
jmp 0x10053671
lea ecx, [ebp - 0x57]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10053668
sub ecx, edx
push ecx
lea eax, [ebp - 0x57]
push eax
lea ecx, [ebp - 0x40]
call fcn.10002800
movaps xmm0, xmmword [str.Ke__.9f]
xor ecx, ecx
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x68], xmm0
mov al, byte [ebp - 0x68]
xor byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0xe
jb 0x10053692
cmp byte [ebp - 0x67], 0
mov byte [ebp - 0x59], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x100536bf
xor ecx, ecx
jmp 0x100536ce
lea ecx, [ebp - 0x67]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100536c5
sub ecx, edx
push ecx
lea eax, [ebp - 0x67]
push eax
lea ecx, [ebp - 0x28]
call fcn.10002800
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
mov ecx, eax
call fcn.1005fa10
movss xmm1, dword [esi + 0x1ac]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
divss xmm1, dword [0x1006652c]
comiss xmm1, dword [0x100665dc]
jbe 0x10053723
push 0
push 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1001d4a0
add esp, 0x10
jmp 0x10053764
push dword [esi + 0x18]
call fcn.10012820
add esp, 4
test al, al
jne 0x10053764
mov ecx, esi
call fcn.10055b60
mov ecx, esi
call fcn.10055df0
push 1
push dword [esi + 0x18]
call fcn.10012be0
push dword [esi + 0x24]
call fcn.10012eb0
add esp, 0xc
test al, al
jne 0x10053764
push dword [esi + 0x24]
call fcn.10013030
add esp, 4
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1005377b
push 1
inc eax
push eax
push dword [ebp - 0x28]
call fcn.10002610
add esp, 0xc
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp eax, 0x10
jb 0x100537a4
push 1
inc eax
push eax
push dword [ebp - 0x40]
call fcn.10002610
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005f6be
mov esp, ebp
pop ebp
ret
Function at 0x10057ba0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100655a0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push esi
mov eax, dword [0x10077604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
push dword [esi]
call fcn.10012be0
add esp, 8
mov word [ebp - 0x10], 0x2d
lea eax, [ebp - 0xf]
mov byte [ebp - 0xf], 0
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x3c], 0xf
mov dword [ebp - 0x40], 0
push 0
push eax
mov byte [ebp - 0x50], 0
call fcn.10002800
lea eax, [ebp - 0x50]
mov dword [ebp - 4], 0
push eax
push dword [esi + 4]
call fcn.10013090
mov eax, dword [ebp - 0x3c]
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10057c32
inc eax
push 1
push eax
push dword [ebp - 0x50]
call fcn.10002610
add esp, 0xc
push 0xffffffffffffffff
push dword [esi + 4]
call fcn.10012fe0
add esp, 8
mov dword [ebp - 0x20], 0x706a4104
mov cl, 4
mov dword [ebp - 0x1c], 0x50247661
mov dword [ebp - 0x18], 0x4d246365
xor eax, eax
mov word [ebp - 0x14], 0x40
nop
xor byte [ebp + eax - 0x1f], cl
inc eax
cmp eax, 0xc
jae 0x10057c6f
mov cl, byte [ebp - 0x20]
jmp 0x10057c60
cmp byte [ebp - 0x1f], 0
mov byte [ebp - 0x13], 0
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
jne 0x10057c8f
xor ecx, ecx
jmp 0x10057c9e
lea ecx, [ebp - 0x1f]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057c95
sub ecx, edx
push ecx
lea eax, [ebp - 0x1f]
push eax
lea ecx, [ebp - 0x38]
call fcn.10002800
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 1
push eax
push dword [esi + 4]
call fcn.10013520
mov eax, dword [ebp - 0x24]
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10057cdf
push 1
inc eax
push eax
push dword [ebp - 0x38]
call fcn.10002610
add esp, 0xc
push dword [esi + 4]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x38], 0
call fcn.10012ef0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10058ae0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065010
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push esi
mov eax, dword [0x10077604]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov dword [0x1007864c], eax
push dword [esi]
call fcn.10012820
add esp, 4
test al, al
je 0x10058c11
cmp byte [ebp + 8], 0
jne 0x10058c11
lea eax, [ebp + 9]
mov word [ebp + 8], 0x17
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp + 9], 0
call fcn.100017e0
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], 0
push eax
push dword [esi + 4]
call fcn.10013090
mov eax, dword [ebp - 0x38]
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10058b75
inc eax
push 1
push eax
push dword [ebp - 0x4c]
call fcn.10002610
add esp, 0xc
push 0xffffffffffffffff
push dword [esi + 4]
call fcn.10012fe0
add esp, 8
mov dword [ebp - 0x1c], 0x7f654e0b
mov cl, 0xb
mov dword [ebp - 0x18], 0x5f2b796e
mov dword [ebp - 0x14], 0x422b6c6a
xor eax, eax
mov word [ebp - 0x10], 0x4f
xor byte [ebp + eax - 0x1b], cl
inc eax
cmp eax, 0xc
jae 0x10058bb0
mov cl, byte [ebp - 0x1c]
jmp 0x10058ba1
lea eax, [ebp - 0x1b]
mov byte [ebp - 0xf], 0
push eax
lea ecx, [ebp - 0x34]
call fcn.100017e0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 1
push eax
push dword [esi + 4]
call fcn.10013520
mov eax, dword [ebp - 0x20]
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp eax, 0x10
jb 0x10058bf4
push 1
inc eax
push eax
push dword [ebp - 0x34]
call fcn.10002610
add esp, 0xc
push dword [esi + 4]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
call fcn.10012ef0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1005be00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100658f8
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x10077604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x80], 0
cmp dword [ebp + 0x20], 0x10
lea eax, [ebp + 0xc]
push dword [ebp + 0x1c]
cmovae eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x7c]
push eax
mov dword [ebp - 4], 0
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.1005c5e0
lea ecx, [ebp - 0x7c]
call fcn.1005bc40
push esi
lea ecx, [ebp - 0x7c]
call fcn.1005bd30
mov ecx, dword [ebp + 0x20]
cmp ecx, 0x10
jb 0x1005bea7
push 1
inc ecx
push ecx
push dword [ebp + 0xc]
call fcn.10002610
add esp, 0xc
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.1005f6be
mov esp, ebp
pop ebp
ret

Function at 0x1005c9a0
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.1005cb70
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1005ca7d
mov edx, dword [ebp - 4]
cmp edx, dword [0x100775f8]
jb 0x1005c9ea
mov eax, dword [ebp - 4]
cmp eax, dword [0x100775fc]
ja 0x1005c9ea
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1005c9ba
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 0x1005ca0f
jmp 0x1005ca7d
cmp dword [ebp - 0x14], 0x10000
jne 0x1005ca63
cmp dword [ebp - 0x18], 0x10000
jb 0x1005ca63
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 0x1005ca46
mov eax, dword [ebp - 8]
jmp 0x1005ca7f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1005ca56
xor eax, eax
jmp 0x1005ca7f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1005ca78
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1005cb70
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1005c9ba
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1005ca90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1005cba0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1005cb65
mov edx, dword [ebp - 4]
cmp edx, dword [0x100775f8]
jb 0x1005cad5
mov eax, dword [ebp - 4]
cmp eax, dword [0x100775fc]
ja 0x1005cad5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1005caa5
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 0x1005cafa
jmp 0x1005cb65
cmp dword [ebp - 0x14], 0x10000
jne 0x1005cb4e
cmp dword [ebp - 0x18], 0x10000
jb 0x1005cb4e
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 0x1005cb31
mov eax, dword [ebp - 8]
jmp 0x1005cb67
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1005cb41
xor eax, eax
jmp 0x1005cb67
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1005cb60
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1005cba0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1005caa5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1005cbd0
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.1005cfc0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x100786cc], 0
jne 0x1005cc0d
cmp dword [0x100786c8], 0
je 0x1005cc0d
mov eax, dword [0x100786c8]
mov dword [0x100786cc], eax
cmp dword [0x100786cc], 0
je 0x1005cc8a
mov ecx, dword [0x100786cc]
cmp dword [ecx + 8], 0
je 0x1005cc8a
mov edx, dword [0x100786cc]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1005cc8a
mov ecx, dword [0x100786cc]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1005cc8a
mov eax, dword [0x100786cc]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1005cc59
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1005cc60
xor eax, eax
jmp 0x1005cda9
mov ecx, dword [0x100786cc]
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 0x1005cda9
mov edx, dword [0x100786c8]
mov dword [0x100786cc], edx
jmp 0x1005cca6
mov eax, dword [0x100786cc]
mov ecx, dword [eax + 4]
mov dword [0x100786cc], ecx
cmp dword [0x100786cc], 0
je 0x1005cce6
cmp dword [0x100786cc], 0
je 0x1005cce4
mov edx, dword [0x100786cc]
cmp dword [edx + 8], 0
je 0x1005cce4
mov eax, dword [0x100786cc]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1005cce4
mov edx, dword [0x100786cc]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1005cce4
jmp 0x1005cc3e
jmp 0x1005cc98
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.1005cdb0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1005cda7
mov eax, dword [ebp - 0x18]
mov dword [0x100786cc], eax
mov ecx, dword [0x100786cc]
mov dword [ecx], 0x52727464
mov edx, dword [0x100786cc]
mov dword [edx + 8], 0
mov eax, dword [0x100786cc]
mov ecx, dword [0x100786c8]
mov dword [eax + 4], ecx
mov edx, dword [0x100786cc]
mov dword [0x100786c8], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x100786cc]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1005cd77
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1005cd97
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 0x1005cd6e
mov eax, dword [0x100786cc]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1005cc3e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1005daf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100786c8]
mov dword [ebp - 4], eax
jmp 0x1005db09
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1005db30
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 0x1005db2e
call sub.KERNEL32.dll_GetLastError
jmp 0x1005db32
jmp 0x1005db00
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1005dfe0
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 [0x100786d8], eax
je 0x1005e004
mov eax, 0x10dd
jmp 0x1005e1ac
cmp dword [0x100786dc], 0
je 0x1005e017
mov eax, dword [0x100786dc]
jmp 0x1005e1ac
cmp dword [ebp + 0xc], 0
jne 0x1005e027
mov eax, 0x57
jmp 0x1005e1ac
cmp dword [ebp + 8], 0
jne 0x1005e037
mov eax, 6
jmp 0x1005e1ac
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1005e060
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x100786dc], ecx
mov edx, dword [ebp + 8]
mov dword [0x100786e0], edx
mov eax, dword [ebp - 8]
jmp 0x1005e1ac
push 0x18
call fcn.1005f68b
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1005e0bb
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x100786dc], ecx
cmp dword [ebp - 4], 0
je 0x1005e0aa
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.1005f6f2
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x100786e0], ecx
mov eax, dword [ebp - 8]
jmp 0x1005e1ac
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.1005dfb0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1005dfb0
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 0x1005e0fb
cmp dword [ebp - 0xc], 0x1e
jbe 0x1005e117
mov dword [ebp - 8], 9
cmp dword [0x100786d0], 0
je 0x1005e112
jmp 0x1005e089
jmp 0x1005e080
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1005e13e
mov dword [ebp - 8], 9
cmp dword [0x100786d0], 0
je 0x1005e139
jmp 0x1005e089
jmp 0x1005e080
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 0x1005e169
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1005e080
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 [0x100786e8]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100786e8], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1005e1c0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100786d8], eax
je 0x1005e1dd
mov eax, 0x10dd
jmp 0x1005e2c0
mov eax, dword [0x100786e8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1005e25c
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 0x1005e238
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1005e238
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1005d050
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.1005f6f2
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1005e1e5
mov dword [0x100786e8], 0
call fcn.1005d930
mov ecx, dword [0x100786e4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1005e2aa
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.1005f6f2
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1005e274
mov dword [0x100786e4], 0
mov dword [0x100786d8], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1005e7a0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100786dc], 0
je 0x1005e7b9
mov eax, dword [0x100786dc]
jmp 0x1005e858
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1005e7ca
xor eax, eax
jmp 0x1005e858
push 8
call fcn.1005f68b
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1005e822
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1005e80b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1005f6f2
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100786dc], eax
mov dword [0x100786e0], 0
mov eax, dword [ebp - 8]
jmp 0x1005e858
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1005e83a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1005e7ea
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100786e4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100786e4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x407a06
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [0x45d128]
push edi
mov edi, 0x465100
push edi
call esi
push dword [ebp + 8]
mov dword [ebp - 8], eax
call esi
mov esi, eax
test esi, esi
mov dword [ebp - 0xc], esi
jne 0x407a31
mov byte [ebx], al
jmp 0x407a79
push edi
push ebx
call dword [0x45d138]
mov eax, dword [ebp - 8]
cmp esi, eax
mov dword [ebp - 4], esi
jg 0x407a46
mov dword [ebp - 4], eax
xor esi, esi
cmp dword [ebp - 4], esi
jle 0x407a79
mov eax, esi
cdq
idiv dword [ebp - 8]
mov eax, esi
push 0x19
pop edi
lea ecx, [edx + ebx]
cdq
idiv dword [ebp - 0xc]
mov eax, dword [ebp + 8]
movzx eax, byte [edx + eax]
movzx edx, byte [ecx]
xor eax, edx
cdq
idiv edi
add dl, 0x41
inc esi
cmp esi, dword [ebp - 4]
mov byte [ecx], dl
jl 0x407a4d
pop edi
pop esi
leave
ret 4
Function at 0x41085c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
push esi
push edi
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x410881
push esi
call dword [0x45d4a4]
test eax, eax
je 0x410a1d
mov eax, dword [ebx + 0x44]
cmp eax, edi
je 0x410895
test byte [ebx + 0x58], 2
jne 0x410895
push eax
call dword [0x45d4b0]
test byte [ebx + 0x84], 2
mov dword [ebx + 0x44], esi
jne 0x410a1a
mov esi, dword [0x45d46c]
push edi
push edi
push 0xb
push dword [ebx + 4]
call esi
push edi
push edi
push 0x418
push dword [ebx + 4]
call esi
cmp eax, edi
jle 0x4108da
mov dword [esp + 0xc], eax
push edi
push edi
push 0x416
push dword [ebx + 4]
call esi
dec dword [esp + 0xc]
jne 0x4108c8
mov eax, dword [ebx + 0x44]
cmp eax, edi
je 0x4109fb
push eax
call dword [0x45d4fc]
cmp eax, edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
jle 0x4109fb
lea esi, [esp + 0x28]
call fcn.0041ace2
lea eax, [esp + 0x78]
mov dword [esp + 0x4c], eax
mov eax, esi
push eax
push 1
push dword [esp + 0x14]
mov dword [esp + 0x38], 0x15
push dword [ebx + 0x44]
mov dword [esp + 0x40], edi
mov dword [esp + 0x60], 0x64
call dword [0x45d520]
lea eax, [esp + 0x78]
push eax
call dword [0x45d0f0]
cmp eax, 0x63
jle 0x410962
mov eax, esi
push eax
push 1
push dword [esp + 0x14]
mov dword [esp + 0x3c], 4
push dword [ebx + 0x44]
call dword [0x45d538]
mov word [esp + 0x78], di
xor eax, eax
mov esi, dword [esp + 0xc]
lea edi, [esp + 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
test byte [esp + 0x34], 3
mov dword [esp + 0x14], eax
setne cl
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
dec cl
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push 0x443
push dword [ebx + 4]
mov dword [esp + 0x28], esi
and ecx, 4
mov byte [esp + 0x2c], cl
mov byte [esp + 0x2d], 0x18
call dword [0x45d46c]
push 7
pop ecx
xor eax, eax
lea edi, [esp + 0x5c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x78]
mov dword [esp + 0x70], eax
lea eax, [esp + 0x58]
push eax
push esi
push 0x440
push dword [ebx + 4]
mov dword [esp + 0x68], 0x20
mov dword [esp + 0x6c], 2
call dword [0x45d46c]
inc esi
xor edi, edi
cmp esi, dword [esp + 0x10]
mov dword [esp + 0xc], esi
jl 0x4108fc
mov esi, dword [0x45d46c]
push edi
push 1
push 0xb
push dword [ebx + 4]
call esi
push 1
push edi
push dword [ebx + 4]
call dword [0x45d3ac]
push dword [ebx + 4]
call dword [0x45d558]
xor eax, eax
inc eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret