joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10096eab
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x30]
push esi
push edi
or edi, 0xffffffff
mov esi, ecx
cmp ebx, edi
jne 0x10096ec5
xor eax, eax
jmp 0x10096f94
mov eax, dword [esi + 0x20]
push ebp
mov ecx, dword [eax]
test ecx, ecx
je 0x10096eee
mov edx, dword [esi + 0x30]
mov ebp, dword [edx]
lea eax, [ecx + ebp]
cmp ecx, eax
jae 0x10096eee
lea ecx, [ebp - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
jmp 0x10096f5e
cmp dword [esi + 0x4c], 0
je 0x10096f91
mov ecx, esi
call fcn.10097093
mov ecx, dword [esi + 0x38]
mov al, bl
test ecx, ecx
jne 0x10096f0e
push dword [esi + 0x4c]
push eax
jmp 0x10096f52
mov byte [esp + 0x10], al
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x21]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x10096f62
sub eax, 1
je 0x10096f62
dec eax
sub eax, 1
jne 0x10096f91
push dword [esi + 0x4c]
push dword [esp + 0x14]
call fcn.10096840
test al, al
pop ecx
pop ecx
cmove ebx, edi
mov eax, ebx
jmp 0x10096f93
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x18]
sub ebp, eax
je 0x10096f82
push dword [esi + 0x4c]
push ebp
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp ebp, eax
jne 0x10096f91
lea eax, [esp + 0x10]
mov byte [esi + 0x3d], 1
cmp dword [esp + 0x14], eax
cmovne edi, ebx
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4

Function at 0x100970de
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x38], ebx
je 0x1009712d
cmp byte [esi + 0x3d], bl
je 0x1009712d
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1009715d
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, ebx
je 0x10097134
sub eax, 1
je 0x10097137
dec eax
sub eax, 1
jne 0x1009715d
mov byte [esi + 0x3d], bl
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
mov byte [esi + 0x3d], bl
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10097155
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x1009715d
cmp byte [esi + 0x3d], bl
sete al
jmp 0x1009712f
xor al, al
jmp 0x1009712f
Function at 0x10098293
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, edx
mov edx, dword [ebx]
cmp edi, 7
ja case.default.0x100982a6
jmp dword [edi*4 + 0x10098437]
mov eax, esi
and eax, 3
sub edi, eax
sub eax, 1
je 0x100982e9
sub eax, 1
je 0x100982d6
sub eax, 1
jne 0x100982fc
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
inc esi
mov ebp, edi
sar ebp, 3
test ebp, ebp
je 0x1009837e
xor edx, dword [esi]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
mov ecx, edx
movzx eax, cl
shr ecx, 8
mov edx, dword [eax*4 + 0x1026f790]
xor edx, dword [esi + 4]
add esi, 8
xor edx, ecx
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
sub ebp, 1
jne 0x10098305
and edi, 7
jmp 0x100982a1
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
inc esi
xor edx, dword [esi]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
jmp case.0x100982a6.0
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
pop edi
pop esi
pop ebp
mov dword [ebx], edx
pop ebx
ret
Function at 0x100983bf
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, edx
mov edx, dword [ebx]
cmp edi, 7
ja case.default.0x100982a6
jmp dword [edi*4 + 0x10098437]
mov eax, esi
and eax, 3
sub edi, eax
sub eax, 1
je 0x100982e9
sub eax, 1
je 0x100982d6
sub eax, 1
jne 0x100982fc
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
inc esi
mov ebp, edi
sar ebp, 3
test ebp, ebp
je 0x1009837e
xor edx, dword [esi]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
mov ecx, edx
movzx eax, cl
shr ecx, 8
mov edx, dword [eax*4 + 0x1026f790]
xor edx, dword [esi + 4]
add esi, 8
xor edx, ecx
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
sub ebp, 1
jne 0x10098305
and edi, 7
jmp 0x100982a1
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
inc esi
xor edx, dword [esi]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x1026f790]
jmp case.0x100982a6.0
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1026f790]
pop edi
pop esi
pop ebp
mov dword [ebx], edx
pop ebx
ret
Function at 0x10098b99
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push esi
push 0x58
xor esi, esi
mov dword [esp + 8], ecx
lea eax, [esp + 0xc]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 8
mov dword [esp + 0xc], 0x67452301
lea edx, [esp + 8]
mov dword [esp + 0x10], 0xefcdab89
lea ecx, [esp + 0xc]
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.10098ae9
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x24]
pop ecx
shr eax, 3
push 0x3f
pop ecx
and eax, ecx
add edx, eax
sub ecx, eax
mov byte [edx], 0x80
inc edx
cmp ecx, 8
jae 0x10098c33
push ecx
push esi
push edx
call sub.VCRUNTIME140.dll_memset
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.10098457
push 0x38
lea eax, [esp + 0x30]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
jmp 0x10098c41
lea eax, [ecx - 8]
push eax
push esi
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x58], eax
lea ecx, [esp + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
call fcn.10098457
mov eax, dword [esp + 0xe]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1009e330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x78]
test eax, eax
je 0x1009e353
push dword [ebx + 0x74]
call eax
add esp, 4
push esi
mov esi, dword [ebx + 0x54]
test esi, esi
je 0x1009e3b9
nop dword [eax + eax]
mov edi, dword [esi + 4]
xor edx, edx
mov eax, dword [edi + 0x60]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
mov eax, dword [edi + 0x54]
test eax, eax
je 0x1009e3b2
mov ecx, dword [eax + 8]
cmp eax, esi
je 0x1009e386
mov edx, eax
mov eax, ecx
test eax, eax
jne 0x1009e375
jmp 0x1009e3b2
test edx, edx
jne 0x1009e38f
mov dword [edi + 0x54], ecx
jmp 0x1009e392
mov dword [edx + 8], ecx
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1009e39f
push esi
call eax
add esp, 4
push esi
call fcn.1009e750
mov eax, dword [ebp - 4]
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 0xc
mov esi, dword [ebx + 0x54]
test esi, esi
jne 0x1009e360
mov edi, dword [ebp + 8]
lea ecx, [ebx + 0x6c]
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x1009e440
test edi, edi
je 0x1009e440
mov eax, dword [ecx]
test eax, eax
je 0x1009e433
mov ebx, eax
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 4]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x1009e3e8
push esi
call eax
add esp, 4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x1009e3fb
push esi
call eax
add esp, 4
mov eax, dword [esi + 0x28]
test eax, eax
je 0x1009e40c
push eax
mov eax, dword [edi + 8]
push edi
call eax
add esp, 8
mov dword [esi + 0x28], 0
mov eax, dword [edi + 8]
push esi
push edi
call eax
mov eax, dword [edi + 8]
push ebx
push edi
call eax
mov eax, dword [ebp - 4]
add esp, 0x10
mov ebx, eax
test eax, eax
jne 0x1009e3d2
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0x58], 0
test eax, eax
je 0x1009e454
push ebx
call eax
add esp, 4
push edi
push ebx
call fcn.1009e2b0
mov eax, dword [ebp - 0xc]
add esp, 8
mov eax, dword [eax + 0x34]
test eax, eax
je 0x1009e46e
push ebx
call eax
add esp, 4
mov esi, dword [ebx + 0x68]
mov eax, dword [ebx + 8]
mov dword [ebp + 0xc], eax
test esi, esi
je 0x1009e4a4
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
mov dword [ebp + 0x10], eax
test ecx, ecx
je 0x1009e491
push esi
call ecx
mov eax, dword [ebp + 0x10]
add esp, 4
test dword [ebp + 0xc], 0x400
jne 0x1009e4a4
push esi
push eax
mov eax, dword [eax + 8]
call eax
add esp, 8
mov eax, dword [ebx + 0x80]
mov dword [ebx + 0x68], 0
pop esi
test eax, eax
je 0x1009e4ca
push eax
mov eax, dword [edi + 8]
push edi
call eax
add esp, 8
mov dword [ebx + 0x80], 0
mov eax, dword [edi + 8]
push ebx
push edi
call eax
add esp, 8
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100f52c0
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
push edi
lea edi, [ebp - 0x30]
mov ecx, 0xc
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x10279380]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 4
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x100f543c
mov dword [ebp - 0x28], 0x1c
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 8]
push ecx
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x100f5429
cmp dword [ebp - 0x28], 0x10
jb 0x100f540d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp esi, esp
call fcn.1010ed43
cmp dword [ebp - 0x1c], eax
jne 0x100f540d
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, esp
call fcn.1010ed43
cmp dword [ebp - 0x20], eax
je 0x100f540d
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100f5394
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0x80
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shl edx, 2
mov esi, esp
push edx
push 0
mov eax, dword [0x1027bba4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp esi, esp
call fcn.1010ed43
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x100f5392
jmp 0x100f5429
jmp 0x100f53ed
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 4]
jb 0x100f53ed
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
shl ecx, 1
shl ecx, 2
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
push 0
mov ecx, dword [0x1027bba4]
push ecx
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
cmp esi, esp
call fcn.1010ed43
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x100f53d7
jmp 0x100f5429
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x20]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 8], edx
mov dword [ebp - 0x28], 0x1c
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 8]
push edx
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x100f5313
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1010ed43
push edx
mov ecx, ebp
push eax
lea edx, [0x100f5468]
call fcn.1010ecef
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1010ea2e
add esp, 0x30
cmp ebp, esp
call fcn.1010ed43
mov esp, ebp
pop ebp
ret
Function at 0x100f5480
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], 0
mov edx, dword [ebp + 8]
mov dword [edx + 8], 0
mov eax, dword [ebp + 8]
push eax
call fcn.100f52c0
add esp, 4
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x100f554b
mov dword [ebp - 4], 0
jmp 0x100f54dc
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 8]
jae 0x100f554b
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*4]
push edx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.1010ed43
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100f5549
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp esi, esp
call fcn.1010ed43
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.100f50e0
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1010ed43
jmp 0x100f54d3
pop esi
add esp, 8
cmp ebp, esp
call fcn.1010ed43
mov esp, ebp
pop ebp
ret

Function at 0x100f5560
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [ebp + 8]
cmp dword [eax], 0
je 0x100f560b
mov dword [ebp - 4], 0
jmp 0x100f5593
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x100f55ee
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov esi, esp
mov eax, dword [ebp - 4]
mov ecx, dword [edx + eax*4]
push ecx
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
cmp esi, esp
call fcn.1010ed43
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100f55ec
mov esi, esp
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp esi, esp
call fcn.1010ed43
mov esi, esp
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.1010ed43
jmp 0x100f558a
mov esi, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
push 0
mov eax, dword [0x1027bba4]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp esi, esp
call fcn.1010ed43
pop esi
add esp, 8
cmp ebp, esp
call fcn.1010ed43
mov esp, ebp
pop ebp
ret
Function at 0x100f5620
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov eax, 0xcccccccc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
imul eax, dword [ebp + 8], 0x2c
add eax, dword [0x10281ec0]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 5
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100f5683
mov eax, dword [ebp - 0x18]
sub eax, 5
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
mov esi, esp
lea edx, [ebp - 0xc]
push edx
push 0x40
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1010ed43
test eax, eax
jne 0x100f56ae
mov eax, 0xa
jmp 0x100f57b0
cmp dword [ebp + 0xc], 0
je 0x100f56fa
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov byte [eax], 0xe9
mov ecx, dword [ebp - 0x18]
add ecx, 5
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
sub eax, ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 1], eax
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 1
movzx ecx, al
test ecx, ecx
je 0x100f56f8
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
mov byte [ecx], 0xeb
mov edx, dword [ebp - 0x20]
mov byte [edx + 1], 0xf9
jmp 0x100f5736
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 1
movzx edx, cl
test edx, edx
je 0x100f5721
push 7
mov eax, dword [ebp - 4]
add eax, 0xc
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x100f5736
push 5
mov edx, dword [ebp - 4]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, esp
call fcn.1010ed43
mov esi, esp
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov edi, esp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, esp
call fcn.1010ed43
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
cmp esi, esp
call fcn.1010ed43
mov cl, byte [ebp + 0xc]
and cl, 1
shl cl, 1
mov edx, dword [ebp - 4]
mov al, byte [edx + 0x14]
and al, 0xfd
or al, cl
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x14], al
mov dl, byte [ebp + 0xc]
and dl, 1
shl dl, 2
mov eax, dword [ebp - 4]
mov cl, byte [eax + 0x14]
and cl, 0xfb
or cl, dl
mov edx, dword [ebp - 4]
mov byte [edx + 0x14], cl
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x100f57d4]
call fcn.1010ecef
pop eax
pop edx
pop edi
pop esi
add esp, 0x20
cmp ebp, esp
call fcn.1010ed43
mov esp, ebp
pop ebp
ret
Function at 0x100f5ea0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov eax, dword [0x10281eb4]
mov dword [ebp - 4], eax
jmp 0x100f5ec7
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x100f5ee0
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x100f5ede
mov eax, dword [ebp - 4]
jmp 0x100f5f64
jmp 0x100f5ebf
mov esi, esp
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
cmp esi, esp
call fcn.1010ed43
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100f5f61
mov ecx, dword [ebp - 4]
add ecx, 0x20
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 4]
cmp ecx, 0xfe0
jbe 0x100f5f23
mov edx, dword [ebp - 4]
mov eax, dword [0x10281eb4]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10281eb4], ecx
mov eax, dword [ebp - 4]
pop esi
add esp, 8
cmp ebp, esp
call fcn.1010ed43
mov esp, ebp
pop ebp
ret

Function at 0x100f6450
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0xcccccccc
mov eax, 1
imul ecx, eax, 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx + ecx]
test eax, eax
je 0x100f64a0
mov ecx, 1
imul edx, ecx, 0
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + edx]
cmp ecx, 0x90
je 0x100f64a0
mov edx, 1
imul eax, edx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + eax]
cmp edx, 0xcc
je 0x100f64a0
xor eax, eax
jmp 0x100f64e1
mov dword [ebp - 4], 1
jmp 0x100f64b2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x100f64dc
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movzx eax, byte [edx]
mov ecx, 1
imul edx, ecx, 0
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + edx]
cmp eax, edx
je 0x100f64da
xor eax, eax
jmp 0x100f64e1
jmp 0x100f64a9
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x1010defb
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call sub.api_ms_win_crt_locale_l1_1_0.dll____lc_locale_name_func
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x1010df3a
sub eax, 1
je 0x1010df35
sub eax, 1
je 0x1010df31
xor eax, eax
leave
ret
push 3
jmp 0x1010df3c
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret