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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
movaps xmm0, xmmword [0x100eed10]
xor edx, edx
push ebx
push esi
mov ebx, ecx
mov byte [ebp - 0xc], 0
push edi
mov dword [ebp - 8], ebx
movups xmmword [ebp - 0x1c], xmm0
nop
mov al, byte [ebp + edx - 0x1b]
xor al, byte [ebp - 0x1c]
mov byte [ebp + edx - 0x1b], al
inc edx
cmp edx, 0xf
jb 0x10045710
xorps xmm0, xmm0
mov byte [ebp - 0xc], 0
lea ecx, [ebp - 0x1b]
mov dword [ebp - 0x38], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x20], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045747
sub ecx, edx
lea eax, [ebp - 0x1b]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.10003370
cmp dword [ebp - 0x24], 0
mov ebx, dword [ebx + 4]
je 0x100457d0
test ebx, ebx
je 0x100457d0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100457d0
mov eax, dword [ebx + 0xc4]
mov dword [ebp - 4], eax
mov esi, dword [eax]
cmp esi, eax
je 0x100457d0
cmp esi, dword [ebx + 0xc4]
jne 0x10045793
call fcn.1008fe40
mov edi, dword [esi + 8]
test edi, edi
je 0x100457bc
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x100457a5
mov ecx, dword [ecx]
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x100457d2
cmp esi, dword [ebx + 0xc4]
jne 0x100457c9
call fcn.1008fe40
mov esi, dword [esi]
cmp esi, dword [ebp - 4]
jne 0x10045786
xor edi, edi
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x38]
mov dword [eax], edi
call fcn.10002f50
mov eax, dword [ebp - 0x38]
push 8
push eax
mov dword [ebp - 0x38], 0
call fcn.10089370
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1004b320
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf347
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
push esi
push edi
mov eax, dword [0x100f7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
movzx eax, word [esi + 0x13e]
mov ecx, eax
mov word [esi + 0x14a], ax
movzx eax, word [esi + 0x14c]
push eax
push ecx
xor ecx, ecx
cmp byte [esi + 0x148], cl
je 0x1004b41a
movaps xmm0, xmmword [str.iL_rI_]
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x30], 0x400d4c41
mov byte [ebp - 0x2c], cl
mov al, byte [ebp + ecx - 0x3f]
xor al, byte [ebp - 0x40]
mov byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x13
jb 0x1004b3a1
sub esp, 0x1c
mov byte [ebp - 0x2c], 0
mov edx, esp
lea ecx, [ebp - 0x3f]
xorps xmm0, xmm0
lea edi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b3e0
sub ecx, edi
lea eax, [ebp - 0x3f]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x78]
push eax
call fcn.1000d7c0
add esp, 0x28
mov edx, eax
mov eax, dword [ebp - 0x20]
or eax, 1
mov dword [ebp - 4], 0
mov edi, eax
mov dword [ebp - 0x24], eax
jmp 0x1004b4a5
mov dl, 0x61
mov dword [ebp - 0x1c], 0x41054461
mov dword [ebp - 0x18], 0x4441070e
mov word [ebp - 0x14], 5
xor byte [ebp + ecx - 0x1b], dl
inc ecx
cmp ecx, 8
jae 0x1004b43f
mov dl, byte [ebp - 0x1c]
jmp 0x1004b430
sub esp, 0x1c
mov byte [ebp - 0x13], 0
mov edx, esp
lea ecx, [ebp - 0x1b]
xorps xmm0, xmm0
lea edi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1004b470
sub ecx, edi
lea eax, [ebp - 0x1b]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea eax, [ebp - 0x5c]
push eax
call fcn.1000d7c0
add esp, 0x28
mov edx, eax
mov eax, dword [ebp - 0x20]
or eax, 2
mov dword [ebp - 4], 1
mov edi, eax
mov dword [ebp - 0x24], edi
mov ecx, dword [esi + 0xc]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
call fcn.1001e320
mov eax, dword [ebp - 0x20]
test al, 2
je 0x1004b4df
mov eax, edi
lea ecx, [ebp - 0x5c]
and eax, 0xfffffffd
mov dword [ebp - 0x24], eax
call fcn.10002f50
mov eax, dword [ebp - 0x5c]
push 8
push eax
mov dword [ebp - 0x5c], 0
call fcn.10089370
add esp, 8
test byte [ebp - 0x24], 1
je 0x1004b502
lea ecx, [ebp - 0x78]
call fcn.10002f50
mov eax, dword [ebp - 0x78]
push 8
push eax
mov dword [ebp - 0x78], 0
call fcn.10089370
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x100840d0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d0fed
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100f7040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
cmp dword [ebp + 0x20], 0xf
lea ecx, [ebp - 0x8c]
push dword [ebp + 0x1c]
cmova eax, dword [ebp + 0xc]
push eax
mov byte [ebp - 0x8c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x67452301
mov dword [ebp - 0x3c], 0xefcdab89
mov dword [ebp - 0x38], 0x98badcfe
mov dword [ebp - 0x34], 0x10325476
call fcn.10083f50
cmp byte [ebp - 0x8c], 0
jne 0x1008422d
xor ecx, ecx
lea edx, [ebp - 0x47]
nop dword [eax + eax]
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
mov byte [ebp + ecx - 0x1c], al
movzx eax, byte [edx - 4]
mov byte [ebp + ecx - 0x1b], al
movzx eax, byte [edx - 3]
mov byte [ebp + ecx - 0x1a], al
movzx eax, byte [edx - 2]
mov byte [ebp + ecx - 0x19], al
add ecx, 4
cmp ecx, 8
jb 0x10084170
mov edx, dword [ebp - 0x48]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0x8c]
push eax
push 0x100f8fe8
call fcn.10083f50
push 8
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x8c]
call fcn.10083f50
xor ecx, ecx
lea edx, [ebp - 0x3f]
nop
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
mov byte [ebp + ecx - 0x30], al
movzx eax, byte [edx - 4]
mov byte [ebp + ecx - 0x2f], al
movzx eax, byte [edx - 3]
mov byte [ebp + ecx - 0x2e], al
movzx eax, byte [edx - 2]
mov byte [ebp + ecx - 0x2d], al
add ecx, 4
cmp ecx, 0x10
jb 0x100841e0
push 0x40
lea eax, [ebp - 0x8b]
push 0
push eax
call fcn.1008c3c0
xorps xmm0, xmm0
mov byte [ebp - 0x8c], 1
add esp, 0xc
movq qword [ebp - 0x48], xmm0
push esi
lea ecx, [ebp - 0x8c]
call fcn.10084000
lea ecx, [ebp + 8]
call fcn.10002f50
mov ecx, dword [ebp + 8]
push 8
push ecx
mov dword [ebp + 8], 0
call fcn.10089370
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100892c0
mov esp, ebp
pop ebp
ret
Function at 0x10084280
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100f7040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edx
mov eax, 5
mov dword [ebp - 0xc], edi
add eax, eax
mov ecx, 0xffffffff
cmovo eax, ecx
push eax
call fcn.1009ff80
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
mov ebx, esi
push eax
push 0x40
push 5
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx]
mov dword [esi], eax
mov al, byte [ecx + 4]
mov byte [esi + 4], al
add esi, 5
mov eax, ecx
sub eax, esi
mov dword [esi + 1], eax
mov eax, dword [ebp - 0x10]
sub eax, ecx
mov byte [esi], 0xe9
sub eax, 5
mov byte [ecx], 0xe9
mov dword [ecx + 1], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 5
push ecx
call edi
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100892c0
mov esp, ebp
pop ebp
ret

Function at 0x100865d0
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.100867a0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x100866ad
mov edx, dword [ebp - 4]
cmp edx, dword [0x100f7014]
jb 0x1008661a
mov eax, dword [ebp - 4]
cmp eax, dword [0x100f7018]
ja 0x1008661a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100865ea
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1008c3c0
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 0x1008663f
jmp 0x100866ad
cmp dword [ebp - 0x14], 0x10000
jne 0x10086693
cmp dword [ebp - 0x18], 0x10000
jb 0x10086693
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 0x10086676
mov eax, dword [ebp - 8]
jmp 0x100866af
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10086686
xor eax, eax
jmp 0x100866af
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x100866a8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.100867a0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100865ea
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100866c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.100867d0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10086795
mov edx, dword [ebp - 4]
cmp edx, dword [0x100f7014]
jb 0x10086705
mov eax, dword [ebp - 4]
cmp eax, dword [0x100f7018]
ja 0x10086705
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100866d5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1008c3c0
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 0x1008672a
jmp 0x10086795
cmp dword [ebp - 0x14], 0x10000
jne 0x1008677e
cmp dword [ebp - 0x18], 0x10000
jb 0x1008677e
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 0x10086761
mov eax, dword [ebp - 8]
jmp 0x10086797
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10086771
xor eax, eax
jmp 0x10086797
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10086790
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.100867d0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100866d5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10086800
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.10086bf0
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x100f99b8], 0
jne 0x1008683d
cmp dword [0x100f99b4], 0
je 0x1008683d
mov eax, dword [0x100f99b4]
mov dword [0x100f99b8], eax
cmp dword [0x100f99b8], 0
je 0x100868ba
mov ecx, dword [0x100f99b8]
cmp dword [ecx + 8], 0
je 0x100868ba
mov edx, dword [0x100f99b8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x100868ba
mov ecx, dword [0x100f99b8]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x100868ba
mov eax, dword [0x100f99b8]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10086889
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10086890
xor eax, eax
jmp 0x100869d9
mov ecx, dword [0x100f99b8]
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.1008c3c0
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x100869d9
mov edx, dword [0x100f99b4]
mov dword [0x100f99b8], edx
jmp 0x100868d6
mov eax, dword [0x100f99b8]
mov ecx, dword [eax + 4]
mov dword [0x100f99b8], ecx
cmp dword [0x100f99b8], 0
je 0x10086916
cmp dword [0x100f99b8], 0
je 0x10086914
mov edx, dword [0x100f99b8]
cmp dword [edx + 8], 0
je 0x10086914
mov eax, dword [0x100f99b8]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10086914
mov edx, dword [0x100f99b8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10086914
jmp 0x1008686e
jmp 0x100868c8
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.100869e0
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100869d7
mov eax, dword [ebp - 0x18]
mov dword [0x100f99b8], eax
mov ecx, dword [0x100f99b8]
mov dword [ecx], 0x52727464
mov edx, dword [0x100f99b8]
mov dword [edx + 8], 0
mov eax, dword [0x100f99b8]
mov ecx, dword [0x100f99b4]
mov dword [eax + 4], ecx
mov edx, dword [0x100f99b8]
mov dword [0x100f99b4], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x100f99b8]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x100869a7
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x100869c7
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 0x1008699e
mov eax, dword [0x100f99b8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1008686e
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10087720
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100f99b4]
mov dword [ebp - 4], eax
jmp 0x10087739
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10087760
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 0x1008775e
call sub.KERNEL32.dll_GetLastError
jmp 0x10087762
jmp 0x10087730
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10087c00
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 [0x100f99c4], eax
je 0x10087c24
mov eax, 0x10dd
jmp 0x10087dcc
cmp dword [0x100f99c8], 0
je 0x10087c37
mov eax, dword [0x100f99c8]
jmp 0x10087dcc
cmp dword [ebp + 0xc], 0
jne 0x10087c47
mov eax, 0x57
jmp 0x10087dcc
cmp dword [ebp + 8], 0
jne 0x10087c57
mov eax, 6
jmp 0x10087dcc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x10087c80
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x100f99c8], ecx
mov edx, dword [ebp + 8]
mov dword [0x100f99cc], edx
mov eax, dword [ebp - 8]
jmp 0x10087dcc
push 0x18
call fcn.100892d0
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10087cdb
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x100f99c8], ecx
cmp dword [ebp - 4], 0
je 0x10087cca
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.10089370
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x100f99cc], ecx
mov eax, dword [ebp - 8]
jmp 0x10087dcc
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.10087be0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10087be0
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 0x10087d1b
cmp dword [ebp - 0xc], 0x1e
jbe 0x10087d37
mov dword [ebp - 8], 9
cmp dword [0x100f99bc], 0
je 0x10087d32
jmp 0x10087ca9
jmp 0x10087ca0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x10087d5e
mov dword [ebp - 8], 9
cmp dword [0x100f99bc], 0
je 0x10087d59
jmp 0x10087ca9
jmp 0x10087ca0
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 0x10087d89
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x10087ca0
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 [0x100f99d4]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x100f99d4], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10087de0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100f99c4], eax
je 0x10087dfd
mov eax, 0x10dd
jmp 0x10087ee0
mov eax, dword [0x100f99d4]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10087e7c
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 0x10087e58
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x10087e58
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10086c80
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.10089370
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10087e05
mov dword [0x100f99d4], 0
call fcn.10087560
mov ecx, dword [0x100f99d0]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10087eca
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.10089370
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10087e94
mov dword [0x100f99d0], 0
mov dword [0x100f99c4], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100883c0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100f99c8], 0
je 0x100883d9
mov eax, dword [0x100f99c8]
jmp 0x10088478
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x100883ea
xor eax, eax
jmp 0x10088478
push 8
call fcn.100892d0
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10088442
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1008842b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.10089370
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100f99c8], eax
mov dword [0x100f99cc], 0
mov eax, dword [ebp - 8]
jmp 0x10088478
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1008845a
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1008840a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100f99d0]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100f99d0], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1008f560
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.1008f170
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1008f592
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x100d22d4]
call dword [ebp - 8]
jmp 0x1008f59c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret
Function at 0x100b11d0
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.100b0a70
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100b1204
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x100d22d4]
call dword [ebp - 8]
jmp 0x100b120a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esp, ebp
pop ebp
ret 4

Function at 0x100b1260
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.100b0ab0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100b1294
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x100d22d4]
call dword [ebp - 8]
jmp 0x100b129e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esp, ebp
pop ebp
ret 4

Function at 0x100b12b0
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.100b0ad0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100b12e8
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
call dword [0x100d22d4]
call dword [ebp - 8]
jmp 0x100b12f6
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esp, ebp
pop ebp
ret 8

Function at 0x100b1300
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
call fcn.100b0b50
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100b1340
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
call dword [0x100d22d4]
call dword [ebp - 8]
jmp 0x100b135e
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.100b1550
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x100b5650
Capabilities:
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x100b5677
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100a1e40
add esp, 4
or eax, 0xffffffff
jmp 0x100b5679
xor eax, eax
pop ebp
ret