joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10006180
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x10033040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x70]
xor ecx, ecx
xorps xmm0, xmm0
push ebx
cpuid
mov esi, ebx
movaps xmmword [ebp - 0x70], xmm0
pop ebx
mov dword [edi], eax
lea eax, [ebp - 0x48]
push 0x40
mov dword [edi + 4], esi
push 0
mov dword [edi + 8], ecx
push eax
mov dword [edi + 0xc], edx
call fcn.1000f890
add esp, 0xc
mov eax, 1
xor ecx, ecx
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
lea eax, [ebp - 0x48]
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
push dword [ebp - 0x70]
push dword [ebp - 0x64]
push str._08X_08X
push 0x40
push eax
call fcn.100090d0
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x48]
movaps xmmword [ebp - 0x70], xmm0
add esp, 0x14
mov dword [ebp - 0x5c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10006220
sub ecx, edx
lea eax, [ebp - 0x48]
push ecx
push eax
lea ecx, [ebp - 0x70]
call fcn.10005b90
lea eax, [ebp - 0x70]
mov ecx, 0x10033ac0
push eax
call fcn.10003b70
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0xf
jbe 0x10006278
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000626e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100063dc
push ecx
push edx
call fcn.1000db6e
add esp, 8
mov ecx, 0x6d12c0
call fcn.100060e0
cmp al, 0xe9
jne 0x1000628e
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 4
push 0x6d12c0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
test eax, eax
jne 0x100062d2
mov dword [0x10034dc8], 0x6d12c0
call fcn.1000c7b0
call edi
push eax
call fcn.1000cc80
push 0x10006420
push 0x10034dc8
call fcn.1000c030
call fcn.1000c810
push 4
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x6d141e
push eax
call esi
test eax, eax
jne 0x10006312
push 4
push 0x100063f0
call esi
test eax, eax
jne 0x10006312
call fcn.1000c7b0
call edi
push eax
call fcn.1000cc80
push 0x100063f0
lea eax, [ebp - 0x4c]
push eax
call fcn.1000c030
call fcn.1000c810
mov edx, 0x10007660
mov ecx, 0xfbe200
call fcn.100060b0
mov edx, 0x10007eb0
mov ecx, 0xfbfea4
call fcn.100060b0
call fcn.1000c7b0
call edi
push eax
call fcn.1000cc80
push 0x10008030
push 0x10034dc0
call fcn.1000c4c0
call fcn.1000c810
push 4
push 0x8365b0
call esi
test eax, eax
jne 0x10006389
mov dword [0x10034dc0], 0x8365b0
call fcn.1000c7b0
call edi
push eax
call fcn.1000cc80
push 0x10008010
push 0x10034dc0
call fcn.1000c030
call fcn.1000c810
push 4
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x8084c2
push eax
call esi
test eax, eax
jne 0x100063c9
push 4
push 0x10008030
call esi
test eax, eax
jne 0x100063c9
call fcn.1000c7b0
call edi
push eax
call fcn.1000cc80
push 0x10008030
lea eax, [ebp - 0x50]
push eax
call fcn.1000c030
call fcn.1000c810
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1000db60
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10012dfb
int3
Function at 0x100073a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x10033040]
xor eax, esp
mov dword [esp + 0x38], eax
movaps xmm0, xmmword [0x1002fe30]
push ebx
push esi
mov ebx, edx
mov dword [esp + 0xc], ecx
push edi
mov dword [esp + 0x14], ebx
xor ecx, ecx
movups xmmword [esp + 0x18], xmm0
mov byte [esp + 0x28], 0
mov al, byte [esp + 0x18]
xor byte [esp + ecx + 0x19], al
inc ecx
cmp ecx, 0xf
jb 0x100073d4
sub esp, 0x18
mov byte [esp + 0x40], 0
mov edx, esp
lea ecx, [esp + 0x31]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007407
sub ecx, esi
lea eax, [esp + 0x31]
push ecx
push eax
mov ecx, edx
call fcn.10005b90
lea ecx, [esp + 0x44]
call fcn.10009d40
mov edi, dword [esp + 0x44]
xor edx, edx
add esp, 0x18
mov dword [esp + 0xc], edx
test ebx, ebx
mov ebx, dword [esp + 0x40]
jle 0x10007482
nop dword [eax + eax]
cmp ebx, 0xf
lea ecx, [esp + 0x2c]
cmova ecx, edi
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10007450
sub ecx, esi
mov eax, edx
cmp ebx, 0xf
lea esi, [esp + 0x2c]
cmova esi, edi
xor edx, edx
div ecx
mov ecx, dword [esp + 0x10]
mov al, byte [edx + esi]
mov edx, dword [esp + 0xc]
xor byte [edx + ecx], al
inc edx
mov dword [esp + 0xc], edx
cmp edx, dword [esp + 0x14]
jl 0x10007440
cmp ebx, 0xf
jbe 0x100074ae
lea ecx, [ebx + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x100074a4
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100074c0
push ecx
push edi
call fcn.1000db6e
add esp, 8
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1000db60
mov esp, ebp
pop ebp
ret
call fcn.10012dfb
int3
Function at 0x100092b0
Capabilities:
Encrypt data using rc4 prga
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x10033040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x54], eax
push 0x40
push 0
mov dword [ebp - 0x58], edi
lea eax, [edi + 1]
push eax
call fcn.1000f890
xorps xmm0, xmm0
mov dword [ebp - 0x5c], 0
movq qword [edi + 0x44], xmm0
lea esi, [edi + 0x4c]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x50], 0
mov eax, dword [eax]
lea ebx, [edi + 0x5c]
movups xmmword [esi], xmm0
lea ecx, [ebp - 0x50]
add esp, 0xc
movups xmmword [ebx], xmm0
mov byte [edi], 0
cmp eax, dword [ecx]
jne 0x10009316
movq qword [edi + 0x44], xmm0
jmp 0x10009324
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, dword [ebp - 0x54]
cmp dword [eax + 0x14], 0xf
mov ecx, dword [eax + 0x10]
jbe 0x1000934d
mov eax, dword [eax]
push ecx
push eax
mov ecx, edi
call fcn.10009b70
cmp byte [edi], 0
jne 0x10009437
xor ecx, ecx
lea edx, [edi + 0x46]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ebp + ecx - 0xc], al
movzx eax, byte [edx - 5]
mov byte [ebp + ecx - 0xb], al
movzx eax, byte [edx - 4]
mov byte [ebp + ecx - 0xa], al
movzx eax, byte [edx - 3]
mov byte [ebp + ecx - 9], al
add ecx, 4
cmp ecx, 8
jb 0x10009364
mov ecx, dword [edi + 0x44]
mov eax, 0x78
shr ecx, 3
mov edi, 0x38
and ecx, 0x3f
mov byte [ebp - 0x52], 0
sub eax, ecx
mov byte [ebp - 0x52], 0
sub edi, ecx
cmp ecx, 0x38
mov cl, 0x4c
cmovae edi, eax
mov byte [ebp - 0x54], cl
mov al, 0xcc
xor al, cl
mov ecx, dword [ebp - 0x58]
mov byte [ebp - 0x53], al
lea eax, [ebp - 0x53]
push 1
push eax
call fcn.10009b70
push 0x40
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.1000f890
push edi
lea eax, [ebp - 0x4c]
push 0
push eax
call fcn.1000f890
add esp, 0x18
lea eax, [ebp - 0x4c]
push edi
mov edi, dword [ebp - 0x58]
mov ecx, edi
push eax
call fcn.10009b70
push 8
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.10009b70
mov edx, 4
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 4]
mov byte [ebx], al
lea ebx, [ebx + 4]
movzx eax, byte [esi - 3]
mov byte [ebx - 3], al
movzx eax, byte [esi - 2]
mov byte [ebx - 2], al
mov cl, byte [esi - 1]
mov byte [ebx - 1], cl
sub edx, 1
jne 0x10009410
mov byte [edi], 1
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000db60
mov esp, ebp
pop ebp
ret 4
Function at 0x10009c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x10033040]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2c], edi
cmp byte [ecx], 0
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
jne 0x10009c85
xorps xmm0, xmm0
mov word [ebp - 0x2c], 8
movups xmmword [edi], xmm0
lea ecx, [ebp - 0x2b]
mov byte [ebp - 0x2b], 0
mov dword [edi + 0x10], 0
lea edx, [ecx + 1]
mov dword [edi + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009c76
lea eax, [ebp - 0x2b]
jmp 0x10009d1a
xor eax, eax
xor edi, edi
push ebx
mov dword [ebp - 0x2c], eax
push esi
nop
movzx esi, byte [ecx + eax + 0x5c]
mov dl, 0x22
mov ah, 0x10
mov byte [ebp - 0x2f], 0
xor dl, ah
mov byte [ebp - 0x34], ah
mov al, 0x35
mov byte [ebp - 0x31], dl
xor al, ah
mov byte [ebp - 0x2f], 0
mov byte [ebp - 0x33], al
mov cl, 0x20
xor cl, ah
mov bl, 0x68
xor bl, ah
mov byte [ebp - 0x32], cl
push esi
lea eax, [ebp - 0x33]
mov byte [ebp - 0x30], bl
push eax
mov eax, 0x21
sub eax, edi
push eax
lea eax, [ebp - 0x28]
add eax, edi
push eax
call fcn.10005e50
mov eax, dword [ebp - 0x2c]
add edi, 2
mov ecx, dword [ebp - 0x38]
inc eax
add esp, 0x10
mov dword [ebp - 0x2c], eax
cmp edi, 0x20
jb 0x10009c90
mov edi, dword [ebp - 0x3c]
lea ecx, [ebp - 0x28]
xorps xmm0, xmm0
mov byte [ebp - 8], 0
pop esi
pop ebx
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
lea edx, [ecx + 1]
mov dword [edi + 0x14], 0
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10009d10
lea eax, [ebp - 0x28]
sub ecx, edx
push ecx
push eax
mov ecx, edi
call fcn.10005b90
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.1000db60
mov esp, ebp
pop ebp
ret 4

Function at 0x1000ae90
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.1000b060
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000af6d
mov edx, dword [ebp - 4]
cmp edx, dword [0x10033014]
jb 0x1000aeda
mov eax, dword [ebp - 4]
cmp eax, dword [0x10033018]
ja 0x1000aeda
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000aeaa
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1000f890
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 0x1000aeff
jmp 0x1000af6d
cmp dword [ebp - 0x14], 0x10000
jne 0x1000af53
cmp dword [ebp - 0x18], 0x10000
jb 0x1000af53
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 0x1000af36
mov eax, dword [ebp - 8]
jmp 0x1000af6f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1000af46
xor eax, eax
jmp 0x1000af6f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000af68
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1000b060
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000aeaa
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000af80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1000b090
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000b055
mov edx, dword [ebp - 4]
cmp edx, dword [0x10033014]
jb 0x1000afc5
mov eax, dword [ebp - 4]
cmp eax, dword [0x10033018]
ja 0x1000afc5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000af95
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1000f890
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 0x1000afea
jmp 0x1000b055
cmp dword [ebp - 0x14], 0x10000
jne 0x1000b03e
cmp dword [ebp - 0x18], 0x10000
jb 0x1000b03e
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 0x1000b021
mov eax, dword [ebp - 8]
jmp 0x1000b057
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1000b031
xor eax, eax
jmp 0x1000b057
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000b050
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1000b090
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000af95
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000b0c0
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.1000b4b0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1003429c], 0
jne 0x1000b0fd
cmp dword [0x10034298], 0
je 0x1000b0fd
mov eax, dword [0x10034298]
mov dword [0x1003429c], eax
cmp dword [0x1003429c], 0
je 0x1000b17a
mov ecx, dword [0x1003429c]
cmp dword [ecx + 8], 0
je 0x1000b17a
mov edx, dword [0x1003429c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1000b17a
mov ecx, dword [0x1003429c]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1000b17a
mov eax, dword [0x1003429c]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1000b149
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1000b150
xor eax, eax
jmp 0x1000b299
mov ecx, dword [0x1003429c]
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 fcn.1000f890
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x1000b299
mov edx, dword [0x10034298]
mov dword [0x1003429c], edx
jmp 0x1000b196
mov eax, dword [0x1003429c]
mov ecx, dword [eax + 4]
mov dword [0x1003429c], ecx
cmp dword [0x1003429c], 0
je 0x1000b1d6
cmp dword [0x1003429c], 0
je 0x1000b1d4
mov edx, dword [0x1003429c]
cmp dword [edx + 8], 0
je 0x1000b1d4
mov eax, dword [0x1003429c]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1000b1d4
mov edx, dword [0x1003429c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1000b1d4
jmp 0x1000b12e
jmp 0x1000b188
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.1000b2a0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000b297
mov eax, dword [ebp - 0x18]
mov dword [0x1003429c], eax
mov ecx, dword [0x1003429c]
mov dword [ecx], 0x52727464
mov edx, dword [0x1003429c]
mov dword [edx + 8], 0
mov eax, dword [0x1003429c]
mov ecx, dword [0x10034298]
mov dword [eax + 4], ecx
mov edx, dword [0x1003429c]
mov dword [0x10034298], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1003429c]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1000b267
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1000b287
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 0x1000b25e
mov eax, dword [0x1003429c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1000b12e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000bfe0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10034298]
mov dword [ebp - 4], eax
jmp 0x1000bff9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1000c020
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 0x1000c01e
call sub.KERNEL32.dll_GetLastError
jmp 0x1000c022
jmp 0x1000bff0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000c4c0
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 [0x100342a8], eax
je 0x1000c4e4
mov eax, 0x10dd
jmp 0x1000c68c
cmp dword [0x100342ac], 0
je 0x1000c4f7
mov eax, dword [0x100342ac]
jmp 0x1000c68c
cmp dword [ebp + 0xc], 0
jne 0x1000c507
mov eax, 0x57
jmp 0x1000c68c
cmp dword [ebp + 8], 0
jne 0x1000c517
mov eax, 6
jmp 0x1000c68c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1000c540
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x100342ac], ecx
mov edx, dword [ebp + 8]
mov dword [0x100342b0], edx
mov eax, dword [ebp - 8]
jmp 0x1000c68c
push 0x18
call fcn.1000db81
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000c59b
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x100342ac], ecx
cmp dword [ebp - 4], 0
je 0x1000c58a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.1000db6e
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x100342b0], ecx
mov eax, dword [ebp - 8]
jmp 0x1000c68c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.1000c4a0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1000c4a0
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 0x1000c5db
cmp dword [ebp - 0xc], 0x1e
jbe 0x1000c5f7
mov dword [ebp - 8], 9
cmp dword [0x100342a0], 0
je 0x1000c5f2
jmp 0x1000c569
jmp 0x1000c560
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1000c61e
mov dword [ebp - 8], 9
cmp dword [0x100342a0], 0
je 0x1000c619
jmp 0x1000c569
jmp 0x1000c560
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 0x1000c649
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1000c560
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 [0x100342b8]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100342b8], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1000c6a0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100342a8], eax
je 0x1000c6bd
mov eax, 0x10dd
jmp 0x1000c7a0
mov eax, dword [0x100342b8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000c73c
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 0x1000c718
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1000c718
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1000b540
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.1000db6e
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1000c6c5
mov dword [0x100342b8], 0
call fcn.1000be20
mov ecx, dword [0x100342b4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1000c78a
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.1000db6e
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1000c754
mov dword [0x100342b4], 0
mov dword [0x100342a8], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1000cc80
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100342ac], 0
je 0x1000cc99
mov eax, dword [0x100342ac]
jmp 0x1000cd38
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1000ccaa
xor eax, eax
jmp 0x1000cd38
push 8
call fcn.1000db81
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000cd02
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1000cceb
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1000db6e
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100342ac], eax
mov dword [0x100342b0], 0
mov eax, dword [ebp - 8]
jmp 0x1000cd38
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1000cd1a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1000ccca
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100342b4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100342b4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x100129c7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10012a06
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10012a06
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10012a06
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10012a06
cmp dword [ecx + 0x74], 0xe
jbe 0x10012a06
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x1001812b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002b9f8
push 0x1002b9f0
push str.FlsAlloc
push 0x1f
call fcn.10017ff3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001815f
push dword [ebp + 8]
mov ecx, esi
call dword [0x10028160]
call esi
jmp 0x10018165
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100181a9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002ba08
push 0x1002ba00
push str.FlsGetValue
push 0x21
call fcn.10017ff3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100181e0
push dword [ebp + 8]
mov ecx, esi
call dword [0x10028160]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x100181e8
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1002ba10
push 0x1002ba08
push str.FlsSetValue
push 0x22
call fcn.10017ff3
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10018222
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10028160]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1001e5ed
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001e68a
push ebx
push esi
call fcn.1001e5b6
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001d3d7
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001e637
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001e689
push edi
push eax
call fcn.1001a774
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001e657
call fcn.10017d14
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001e688
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001d3d7
add esp, 0x20
test eax, eax
jne 0x1001e676
push edi
call fcn.10017d14
jmp 0x1001e67e
push ebx
call fcn.10017d14
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret