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

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x6f], 0
je 0x10019172
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x6e
jb 0x10019160
mov byte [esi + 0x6f], 0
pop esi
ret

Function at 0x10019180
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
je 0x100191a2
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x2c
jb 0x10019190
mov byte [esi + 0x2d], 0
pop esi
ret

Function at 0x100191b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x3e], 0
je 0x100191d2
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x3d
jb 0x100191c0
mov byte [esi + 0x3e], 0
pop esi
ret

Function at 0x100191e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x37], 0
je 0x10019202
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x36
jb 0x100191f0
mov byte [esi + 0x37], 0
pop esi
ret

Function at 0x10019210
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x5f], 0
je 0x10019232
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x5e
jb 0x10019220
mov byte [esi + 0x5f], 0
pop esi
ret

Function at 0x10019240
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x33], 0
je 0x10019262
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x32
jb 0x10019250
mov byte [esi + 0x33], 0
pop esi
ret

Function at 0x10019270
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xf0], 0
je 0x10019297
xor eax, eax
nop
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0xef
jb 0x10019280
mov byte [esi + 0xf0], 0
pop esi
ret

Function at 0x100192a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x90], 0
je 0x100192c7
xor eax, eax
nop
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x8f
jb 0x100192b0
mov byte [esi + 0x90], 0
pop esi
ret

Function at 0x100192d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x4b], 0
je 0x100192f2
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x4a
jb 0x100192e0
mov byte [esi + 0x4b], 0
pop esi
ret

Function at 0x10019300
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
je 0x10019322
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x23
jb 0x10019310
mov byte [esi + 0x24], 0
pop esi
ret
Function at 0x10019330
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1e], 0
je 0x10019352
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x1d
jb 0x10019340
mov byte [esi + 0x1e], 0
pop esi
ret

Function at 0x10019360
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x39], 0
je 0x10019382
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x38
jb 0x10019370
mov byte [esi + 0x39], 0
pop esi
ret

Function at 0x10019390
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2e], 0
je 0x100193b2
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x2d
jb 0x100193a0
mov byte [esi + 0x2e], 0
pop esi
ret

Function at 0x100193c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x3c], 0
je 0x100193e2
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x3b
jb 0x100193d0
mov byte [esi + 0x3c], 0
pop esi
ret

Function at 0x100193f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x74], 0
je 0x10019412
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x73
jb 0x10019400
mov byte [esi + 0x74], 0
pop esi
ret

Function at 0x10019420
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2d0], 0
je 0x10019447
xor eax, eax
nop
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x2cf
jb 0x10019430
mov byte [esi + 0x2d0], 0
pop esi
ret

Function at 0x10019450
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xbe], 0
je 0x10019477
xor eax, eax
nop
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0xbd
jb 0x10019460
mov byte [esi + 0xbe], 0
pop esi
ret

Function at 0x10019480
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x25], 0
je 0x100194a2
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x24
jb 0x10019490
mov byte [esi + 0x25], 0
pop esi
ret

Function at 0x100194d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x46], 0
je 0x100194f2
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x45
jb 0x100194e0
mov byte [esi + 0x46], 0
pop esi
ret

Function at 0x10019520
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xb], 0
je 0x10019542
xor eax, eax
nop dword [eax + eax]
lea edx, [esi + eax]
lea ecx, [eax + 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0xa
jb 0x10019530
mov byte [esi + 0xb], 0
pop esi
ret
Function at 0x1001c3e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x1001c441
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x1001c424
cmp edi, 2
jb 0x1001c424
cmp byte [esi], cl
jne 0x1001c424
cmp byte [esi + 1], cl
jne 0x1001c424
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10061408]
jmp 0x1001c3f5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10061408]
test edi, edi
jne 0x1001c3f5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x1001c470
cmp cl, 0x23
jne 0x1001c457
cmp byte [esi], cl
jne 0x1001c457
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10061408]
test cl, cl
jne 0x1001c448
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x1001c580
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x1001c594
mov dword [ebx], 0
mov edx, 0x1006641c
call fcn.1001c480
mov esi, eax
test esi, esi
je 0x1001c682
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x1001c678
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1001c678
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x1001c678
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x1001c678
mov eax, dword [0x10127ba4]
test eax, eax
je 0x1001c60c
inc dword [eax + 0xb4]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x1001c678
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x1001c65d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x10127ba4]
add esp, 4
test eax, eax
je 0x1001c64a
dec dword [eax + 0xb4]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x1001c66f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001e770
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x14]
mov edi, 0x10
movss xmm1, dword [edx + 0x100]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x104]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe4]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xec]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 8], xmm0
not edx
nop
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10061408]
sub edi, 1
jne 0x1001e7e0
not edx
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x10021cd0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x10021d0d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10021cf3
cmp byte [esi], bl
jne 0x10021cf3
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x10061408]
test bl, bl
jne 0x10021ce4
pop edi
pop esi
not ecx
pop ebx
jmp fcn.10021c70
Function at 0x10027350
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10127ba4]
lea edx, [ebp - 4]
push ebx
push esi
push edi
mov eax, dword [eax + 0x3e48]
mov esi, 4
mov ebx, dword [eax + 0xec]
lea edi, [eax + 0xe4]
mov dword [ebp - 8], eax
mov eax, dword [edi]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], ecx
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10061408]
sub esi, 1
jne 0x10027390
mov eax, dword [ebp - 8]
not ebx
mov eax, dword [eax]
cmp dword [eax + 0x3e7c], ebx
jne 0x100273ca
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.10031cc0
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x100273f5
inc esi
test ecx, ecx
je 0x100273e3
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x100273e8
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.100324e0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10030730
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5aac], 0
lea esi, [edi + 0x5ab0]
je 0x100307b2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1003076c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10032860
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.1001cbb0
mov edx, dword [esi]
mov ecx, 0x101279e6
push dword [edi + 0x5aac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5ab8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.1001cbb0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10030ba0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x10127ba4]
test bl, bl
je 0x10030be6
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10030bc7
cmp byte [esi], bl
jne 0x10030bc7
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x10061408]
test bl, bl
jne 0x10030bb8
mov edi, dword [0x10127ba4]
mov esi, dword [edi + 0x5a54]
xor ecx, ecx
not eax
test esi, esi
jle 0x10030c0c
mov edi, dword [edi + 0x5a5c]
lea edx, [edi + 4]
nop dword [eax]
cmp dword [edx], eax
je 0x10030c12
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x10030c00
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret
Function at 0x1003ac70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1003acaa
mov eax, dword [0x10127ba4]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1003ac9d
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1003acdb
mov eax, dword [0x10127ba4]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1003acce
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1003ad0c
mov eax, dword [0x10127ba4]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1003acff
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x1003ad59
mov eax, dword [0x10127ba4]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1003ad4c
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1003ad8a
mov eax, dword [0x10127ba4]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1003ad7d
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1003adbb
mov eax, dword [0x10127ba4]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1003adae
dec dword [eax + 0xb4]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1003d980
Function at 0x1005a050
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.1005a220
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1005a12d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1005a09a
mov eax, dword [ebp - 4]
cmp eax, dword [0x1006d004]
ja 0x1005a09a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1005a06a
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 0x1005a0bf
jmp 0x1005a12d
cmp dword [ebp - 0x14], 0x10000
jne 0x1005a113
cmp dword [ebp - 0x18], 0x10000
jb 0x1005a113
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 0x1005a0f6
mov eax, dword [ebp - 8]
jmp 0x1005a12f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1005a106
xor eax, eax
jmp 0x1005a12f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1005a128
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1005a220
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1005a06a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1005a140
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1005a250
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1005a215
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x1005a185
mov eax, dword [ebp - 4]
cmp eax, dword [0x1006d004]
ja 0x1005a185
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1005a155
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 0x1005a1aa
jmp 0x1005a215
cmp dword [ebp - 0x14], 0x10000
jne 0x1005a1fe
cmp dword [ebp - 0x18], 0x10000
jb 0x1005a1fe
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 0x1005a1e1
mov eax, dword [ebp - 8]
jmp 0x1005a217
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1005a1f1
xor eax, eax
jmp 0x1005a217
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1005a210
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1005a250
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1005a155
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1005a280
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.1005a670
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x100b2184], 0
jne 0x1005a2bd
cmp dword [0x100b2180], 0
je 0x1005a2bd
mov eax, dword [0x100b2180]
mov dword [0x100b2184], eax
cmp dword [0x100b2184], 0
je 0x1005a33a
mov ecx, dword [0x100b2184]
cmp dword [ecx + 8], 0
je 0x1005a33a
mov edx, dword [0x100b2184]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1005a33a
mov ecx, dword [0x100b2184]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1005a33a
mov eax, dword [0x100b2184]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1005a309
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1005a310
xor eax, eax
jmp 0x1005a459
mov ecx, dword [0x100b2184]
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 0x1005a459
mov edx, dword [0x100b2180]
mov dword [0x100b2184], edx
jmp 0x1005a356
mov eax, dword [0x100b2184]
mov ecx, dword [eax + 4]
mov dword [0x100b2184], ecx
cmp dword [0x100b2184], 0
je 0x1005a396
cmp dword [0x100b2184], 0
je 0x1005a394
mov edx, dword [0x100b2184]
cmp dword [edx + 8], 0
je 0x1005a394
mov eax, dword [0x100b2184]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1005a394
mov edx, dword [0x100b2184]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1005a394
jmp 0x1005a2ee
jmp 0x1005a348
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.1005a460
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1005a457
mov eax, dword [ebp - 0x18]
mov dword [0x100b2184], eax
mov ecx, dword [0x100b2184]
mov dword [ecx], 0x52727464
mov edx, dword [0x100b2184]
mov dword [edx + 8], 0
mov eax, dword [0x100b2184]
mov ecx, dword [0x100b2180]
mov dword [eax + 4], ecx
mov edx, dword [0x100b2184]
mov dword [0x100b2180], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x100b2184]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1005a427
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1005a447
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 0x1005a41e
mov eax, dword [0x100b2184]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1005a2ee
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1005b1a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100b2180]
mov dword [ebp - 4], eax
jmp 0x1005b1b9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1005b1e0
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 0x1005b1de
call sub.KERNEL32.dll_GetLastError
jmp 0x1005b1e2
jmp 0x1005b1b0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1005b680
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100b2190], eax
je 0x1005b69d
mov eax, 0x10dd
jmp 0x1005b780
mov eax, dword [0x100b21a0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1005b71c
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 0x1005b6f8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1005b6f8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1005a700
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.1005cbd2
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1005b6a5
mov dword [0x100b21a0], 0
call fcn.1005afe0
mov ecx, dword [0x100b219c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1005b76a
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.1005cbd2
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1005b734
mov dword [0x100b219c], 0
mov dword [0x100b2190], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1005bc60
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100b2194], 0
je 0x1005bc79
mov eax, dword [0x100b2194]
jmp 0x1005bd18
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1005bc8a
xor eax, eax
jmp 0x1005bd18
push 8
call fcn.1005cba2
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1005bce2
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1005bccb
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1005cbd2
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100b2194], eax
mov dword [0x100b2198], 0
mov eax, dword [ebp - 8]
jmp 0x1005bd18
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1005bcfa
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1005bcaa
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100b219c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100b219c], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4