joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037a90
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [0x10214570]
push edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov edi, dword [esi + 0x2c64]
mov ecx, dword [esi + 0x2c68]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 0
cmp edi, ecx
jne 0x10037b87
inc edi
test ecx, ecx
je 0x10037af1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10037af6
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x10037b87
test esi, esi
je 0x10037b0d
inc dword [esi + 0x374]
push dword [0x10214578]
lea eax, [edi*8]
sub eax, edi
shl eax, 2
push eax
call dword [0x10188490]
mov ebx, eax
add esp, 8
mov eax, dword [esi + 0x2c6c]
test eax, eax
je 0x10037b7b
mov ecx, dword [esi + 0x2c64]
lea edx, [ecx*8]
sub edx, ecx
shl edx, 2
push edx
push eax
push ebx
call fcn.100d00a0
mov ecx, dword [esi + 0x2c6c]
add esp, 0xc
test ecx, ecx
je 0x10037b6b
mov eax, dword [0x10214570]
test eax, eax
je 0x10037b6b
dec dword [eax + 0x374]
push dword [0x10214578]
push ecx
call dword [0x10188494]
add esp, 8
mov dword [esi + 0x2c6c], ebx
mov dword [esi + 0x2c68], edi
mov eax, dword [esi + 0x2c64]
mov ecx, dword [esi + 0x2c6c]
movups xmm0, xmmword [ebp - 0x1c]
mov edi, dword [ebp + 8]
lea edx, [eax*8]
sub edx, eax
mov eax, dword [ebp - 4]
movups xmmword [ecx + edx*4], xmm0
movq xmm0, qword [ebp - 0xc]
movq qword [ecx + edx*4 + 0x10], xmm0
mov dword [ecx + edx*4 + 0x18], eax
inc dword [esi + 0x2c64]
mov eax, dword [esi + 0x2c64]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + 0x2c6c]
mov esi, edi
lea ebx, [eax + ecx*4]
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x10037be0
mov eax, dword [0x10214570]
sub esi, ecx
test eax, eax
je 0x10037bf8
inc dword [eax + 0x374]
push dword [0x10214578]
inc esi
push esi
call dword [0x10188490]
push esi
push edi
push eax
call fcn.100d00a0
mov dword [ebx - 0x1c], eax
lea esi, [edi + 1]
mov al, byte [edi]
add esp, 0x14
or edx, 0xffffffff
test al, al
je 0x10037c4a
or edi, 0xffffffff
cmp al, 0x23
jne 0x10037c31
cmp byte [esi], al
jne 0x10037c31
cmp byte [esi + 1], al
cmove edx, edi
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x10104d78]
test al, al
jne 0x10037c23
pop edi
not edx
lea eax, [ebx - 0x1c]
pop esi
mov dword [ebx - 0x18], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10038fd0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
or eax, 0xffffffff
push ebx
push esi
push edi
mov bl, byte [ecx]
lea esi, [ecx + 1]
or ecx, 0xffffffff
test bl, bl
je 0x10039015
cmp bl, 0x23
jne 0x10038ff7
cmp byte [esi], bl
jne 0x10038ff7
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x10104d78]
test bl, bl
jne 0x10038fe8
mov ecx, dword [0x10214570]
not eax
mov esi, dword [ecx + 0x1984]
mov edi, dword [ecx + 0x198c]
lea ebx, [edi + esi*8]
test esi, esi
je 0x1003904e
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x10039048
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1003904a
mov esi, edx
test esi, esi
jne 0x10039030
cmp edi, ebx
je 0x1003905e
cmp dword [edi], eax
jne 0x1003905e
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x10039a60
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ecx + 0x1c8]
mov eax, dword [ecx + 0x1d0]
push esi
push edi
lea esi, [ebp + 8]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10104d78]
sub edi, 1
jne 0x10039a80
mov ecx, dword [0x10214570]
not eax
pop edi
pop esi
cmp dword [ecx + 0x19b4], eax
jne 0x10039ab2
mov dword [ecx + 0x19bc], eax
cmp dword [ecx + 0x19b8], eax
jne 0x10039ac1
mov byte [ecx + 0x19c8], 1
pop ebp
ret 4

Function at 0x10039ad0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0x1c8]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [ebp - 0xc], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [ebp - 8], eax
cvttss2si eax, xmm0
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x1d0]
lea esi, [ebp - 0x10]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop word [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x10104d78]
sub edi, 1
jne 0x10039b40
mov eax, dword [0x10214570]
not edx
pop edi
pop esi
cmp dword [eax + 0x19b4], edx
jne 0x10039b71
mov dword [eax + 0x19bc], edx
cmp dword [eax + 0x19b8], edx
jne 0x10039b80
mov byte [eax + 0x19c8], 1
mov eax, edx
mov esp, ebp
pop ebp
ret 4
Function at 0x1003a240
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x1003a252
mov dword [edi], 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1003a340
mov esi, eax
add esp, 8
test esi, esi
jne 0x1003a26a
pop edi
pop esi
pop ebp
ret
push ebx
push 2
push 0
push esi
call fcn.100dbf98
add esp, 0xc
test eax, eax
jne 0x1003a330
push esi
call fcn.100dc6bc
mov ebx, eax
add esp, 4
cmp ebx, 0xffffffff
je 0x1003a330
push 0
push 0
push esi
call fcn.100dbf98
add esp, 0xc
test eax, eax
jne 0x1003a330
mov eax, dword [ebp + 0x14]
add eax, ebx
push eax
call fcn.1003c240
add esp, 4
mov dword [ebp + 0x10], eax
test eax, eax
je 0x1003a330
push esi
push ebx
push 1
push eax
call fcn.100dbb3a
add esp, 0x10
cmp eax, ebx
je 0x1003a301
push esi
call fcn.100db931
mov eax, dword [0x10214570]
add esp, 4
test eax, eax
je 0x1003a2e7
dec dword [eax + 0x374]
push dword [0x10214578]
mov eax, dword [ebp + 0x10]
push eax
call dword [0x10188494]
add esp, 8
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x14]
test eax, eax
jle 0x1003a319
push eax
mov eax, dword [ebp + 0x10]
add eax, ebx
push 0
push eax
call fcn.100d07e0
add esp, 0xc
push esi
call fcn.100db931
add esp, 4
test edi, edi
je 0x1003a328
mov dword [edi], ebx
mov eax, dword [ebp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
ret
push esi
call fcn.100db931
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x1003b320
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
or eax, 0xffffffff
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], str.Window
mov esi, 0x101052cd
mov cl, 0x57
or edi, 0xffffffff
cmp cl, 0x23
jne 0x1003b352
cmp byte [esi], cl
jne 0x1003b352
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10104d78]
test cl, cl
jne 0x1003b343
mov esi, dword [ebp + 8]
not eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 0x10042510
mov dword [ebp - 0xc], 0x10042450
mov edi, dword [esi + 0x2c58]
mov ecx, dword [esi + 0x2c5c]
mov dword [ebp - 8], 0x100425b0
cmp edi, ecx
jne 0x1003b439
inc edi
test ecx, ecx
je 0x1003b3ac
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x1003b3b1
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x1003b439
mov eax, dword [0x10214570]
test eax, eax
je 0x1003b3c9
inc dword [eax + 0x374]
push ebx
push dword [0x10214578]
lea eax, [edi + edi*2]
shl eax, 3
push eax
call dword [0x10188490]
mov ebx, eax
add esp, 8
mov eax, dword [esi + 0x2c60]
test eax, eax
je 0x1003b42c
mov ecx, dword [esi + 0x2c58]
lea ecx, [ecx + ecx*2]
shl ecx, 3
push ecx
push eax
push ebx
call fcn.100d00a0
mov ecx, dword [esi + 0x2c60]
add esp, 0xc
test ecx, ecx
je 0x1003b41c
mov eax, dword [0x10214570]
test eax, eax
je 0x1003b41c
dec dword [eax + 0x374]
push dword [0x10214578]
push ecx
call dword [0x10188494]
add esp, 8
mov dword [esi + 0x2c60], ebx
mov dword [esi + 0x2c5c], edi
pop ebx
mov eax, dword [esi + 0x2c58]
movups xmm0, xmmword [ebp - 0x18]
pop edi
lea ecx, [eax + eax*2]
mov eax, dword [esi + 0x2c60]
movups xmmword [eax + ecx*8], xmm0
movq xmm0, qword [ebp - 8]
movq qword [eax + ecx*8 + 0x10], xmm0
inc dword [esi + 0x2c58]
mov byte [esi], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003be80
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [0x10214570]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], edx
push edi
mov edi, dword [ebp + 8]
test esi, esi
jne 0x1003beaa
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1003bea1
sub esi, ecx
test edx, edx
je 0x1003beb4
inc dword [edx + 0x374]
push dword [0x10214578]
lea eax, [esi + 1]
push eax
call dword [0x10188490]
mov ebx, eax
push esi
push edi
push ebx
lea ecx, [ebx + esi]
mov dword [ebp - 0xc], ebx
mov dword [ebp + 0xc], ecx
call fcn.100d00a0
mov edx, dword [ebp + 0xc]
xor ecx, ecx
add esp, 0x14
mov dword [ebp - 4], ecx
xor esi, esi
mov byte [edx], 0
cmp ebx, edx
jae 0x1003c03a
nop
mov al, byte [ebx]
cmp al, 0xa
je 0x1003c071
cmp al, 0xd
je 0x1003c071
mov edi, ebx
cmp ebx, edx
jae 0x1003bf17
mov al, byte [edi]
cmp al, 0xa
je 0x1003bf17
cmp al, 0xd
je 0x1003bf17
inc edi
cmp edi, edx
jb 0x1003bf08
mov byte [edi], 0
mov al, byte [ebx]
cmp al, 0x3b
je 0x1003c02f
cmp al, 0x5b
jne 0x1003c013
cmp edi, ebx
jbe 0x1003c013
cmp byte [edi - 1], 0x5d
lea eax, [edi - 1]
mov dword [ebp - 0x10], eax
jne 0x1003c013
lea esi, [ebx + 1]
mov byte [eax], 0
sub eax, esi
push eax
push 0x5d
push esi
call fcn.100d0be0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x1003bf81
mov edx, dword [ebp - 0x10]
lea ecx, [eax + 1]
sub edx, ecx
push edx
push 0x5b
push ecx
call fcn.100d0be0
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x1003bf81
mov eax, dword [ebp - 4]
mov byte [eax], 0
jmp 0x1003bf88
mov esi, str.Window
mov ecx, ebx
mov ebx, dword [0x10214570]
lea eax, [ecx + 1]
mov cl, byte [esi]
inc esi
mov dword [ebp - 0x10], eax
or eax, 0xffffffff
test cl, cl
je 0x1003bfcf
or ebx, 0xffffffff
cmp cl, 0x23
jne 0x1003bfb0
cmp byte [esi], cl
jne 0x1003bfb0
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 + 0x10104d78]
test cl, cl
jne 0x1003bfa1
mov ebx, dword [0x10214570]
mov edx, dword [ebx + 0x2c58]
xor ecx, ecx
not eax
test edx, edx
jle 0x1003bff0
mov esi, dword [ebx + 0x2c60]
cmp dword [esi + 4], eax
je 0x1003bff9
inc ecx
add esi, 0x18
cmp ecx, edx
jl 0x1003bfe3
xor esi, esi
xor ecx, ecx
mov dword [ebp - 4], ecx
jmp 0x1003c02c
test esi, esi
je 0x1003bff2
push dword [ebp - 0x10]
mov eax, dword [esi + 8]
push esi
push dword [ebp - 8]
call eax
mov ecx, eax
add esp, 0xc
mov dword [ebp - 4], ecx
jmp 0x1003c02c
test esi, esi
je 0x1003c02f
test ecx, ecx
je 0x1003c02f
mov eax, dword [esi + 0xc]
push ebx
push ecx
push esi
push dword [ebp - 8]
call eax
mov ecx, dword [ebp - 4]
add esp, 0x10
mov edx, dword [ebp + 0xc]
lea ebx, [edi + 1]
cmp ebx, edx
jb 0x1003bef0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x1003c053
mov eax, dword [0x10214570]
test eax, eax
je 0x1003c053
dec dword [eax + 0x374]
push dword [0x10214578]
push ecx
call dword [0x10188494]
mov eax, dword [ebp - 8]
add esp, 8
mov byte [eax + 0x2c44], 1
mov esp, ebp
pop ebp
ret
inc ebx
jmp 0x1003bef0
Function at 0x10040400
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x10214570]
lea edx, [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [eax + 0x1994]
mov esi, 4
mov ebx, dword [eax + 0x1d0]
lea edi, [eax + 0x1c8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [edi]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10104d78]
sub esi, 1
jne 0x10040437
mov eax, dword [ebp - 4]
not ebx
mov esi, dword [edi]
mov ecx, dword [eax + 0x1cc]
cmp esi, ecx
jne 0x10040487
inc esi
test ecx, ecx
je 0x10040472
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10040477
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.100447e0
mov eax, dword [ebp - 4]
mov ecx, dword [edi]
mov eax, dword [eax + 0x1d0]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10066070
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, 0
je 0x100660a8
sub eax, 1
jne 0x100660d2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
push 0
push 0
push dword [ebp + 8]
push 0x100656e0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc
cmp dword [ebp + 0x10], 0
jne 0x100660d2
call fcn.1002c390
push 0x80
push dword [0x10210f94]
call fcn.100ce3f5
add esp, 8
call fcn.1002ba30
mov ecx, eax
call fcn.1006a1b0
mov eax, 1
pop ebp
ret 0xc
Function at 0x1006b0f0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [0x10216e0c]
test eax, eax
je 0x1006b10c
nop dword [eax]
cmp dword [eax + 4], 0
jne 0x1006b162
mov eax, dword [eax]
test eax, eax
jne 0x1006b100
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1006b15f
push esi
push edi
xor edi, edi
mov dword [eax + 8], 0
lea edx, [eax + 0x20]
lea esi, [edi + 0x20]
mov dword [edx], edi
mov ecx, edx
mov dword [eax + 4], edx
add esi, 0x20
add edx, 0x20
mov edi, ecx
cmp esi, 0xfe0
jbe 0x1006b135
mov ecx, dword [0x10216e0c]
mov dword [eax], ecx
mov dword [0x10216e0c], eax
pop edi
pop esi
test eax, eax
jne 0x1006b162
xor eax, eax
ret
mov edx, dword [eax + 4]
mov ecx, dword [edx]
inc dword [eax + 8]
mov dword [eax + 4], ecx
mov eax, edx
ret
Function at 0x1006bb00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
imul esi, dword [ebp + 8], 0x2c
push edi
add esi, dword [0x10216e00]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp + 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1006bb48
pop edi
mov eax, 0xa
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x1006bb6d
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x1006bb8e
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x1006bb8e
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1006bb88
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x1006bb8e
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
shl bl, 2
add cl, cl
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
xor eax, eax
mov byte [esi + 0x14], bl
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1006bc70
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x1006bd5b
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x1006bd54
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x1c], 0x10
jb 0x1006bd3b
call ebx
cmp dword [ebp - 0x10], eax
jne 0x1006bd3b
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x14], eax
je 0x1006bd3b
mov edx, dword [esi]
test edx, edx
jne 0x1006bd04
push 0x200
push edx
mov dword [esi + 4], 0x80
push dword [0x1021470c]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1006bd54
jmp 0x1006bd2f
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1006bd2f
shl eax, 3
push eax
push edx
push 0
push dword [0x1021470c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1006bd54
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x1c
push eax
push edi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x1006bcc3
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x1006bd9f
xor ebx, ebx
cmp dword [esi + 8], ebx
jbe 0x1006bd9f
mov eax, dword [esi]
push dword [eax + ebx*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x1006bd99
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.1006c010
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [esi + 8]
jb 0x1006bd67
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1006c160
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 8]
cmp dword [edi], 0
je 0x1006c1b0
push esi
xor esi, esi
cmp dword [edi + 8], esi
jbe 0x1006c19f
push ebx
mov eax, dword [edi]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1006c198
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [edi + 8]
jb 0x1006c175
pop ebx
push dword [edi]
push 0
push dword [0x1021470c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop edi
pop ebp
ret
Function at 0x1006d0a0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100ff225
push eax
mov dword fs:[0], esp
mov eax, bind
mov edx, dword [ecx + 0x594]
sub esp, 0x34
sub eax, edx
push ebx
push esi
lea esi, [ecx + 0x584]
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ecx + 0x10]
cmp eax, edi
jb 0x1006d1ca
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1006d0e9
mov eax, dword [esi]
cmp dword [ecx + 0x14], 0xf
jbe 0x1006d0f1
mov ecx, dword [ecx]
push edi
push ecx
push edx
push eax
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.1006c950
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 4], 0
jbe 0x1006d110
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.1006c4e0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
call fcn.10073720
mov ecx, dword [ebp - 0x2c]
add esp, 4
mov bl, al
cmp ecx, 7
jbe 0x1006d16f
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d165
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d1cf
push ecx
push edx
call fcn.100ce3f5
add esp, 8
test bl, bl
je 0x1006d187
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.100e3259
add esp, 4
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x1006d1b7
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d1ad
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d1d4
push ecx
push edx
call fcn.100ce3f5
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.100160c0
call fcn.100d3e9f
call fcn.100d3e9f
int3
Function at 0x1006d1e0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ff24d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push esi
push edi
lea eax, [ebp - 0x158]
mov edi, ecx
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
mov ax, word [0x1010b2bc]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0xa
movq xmm0, qword [0x1010b2b4]
mov dword [ebp - 0x10], 0xf
movq qword [ebp - 0x24], xmm0
mov word [ebp - 0x1c], ax
mov byte [ebp - 0x1a], 0
lea ecx, [ebp - 0x158]
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d257
sub ecx, edx
lea eax, [ebp - 0x158]
push ecx
push eax
push 0
lea ecx, [ebp - 0x24]
call fcn.10026f90
lea esi, [edi + 0x584]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x54], xmm0
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x44]
movq qword [ebp - 0x2c], xmm0
movq qword [ebp - 0x34], xmm0
cmp esi, eax
je 0x1006d2cd
mov ecx, esi
call fcn.10016060
movups xmm0, xmmword [ebp - 0x54]
mov ecx, 0xf
mov byte [ebp - 0x44], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [esi + 0x10], xmm0
jmp 0x1006d2d0
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1006d301
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d2f7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d380
push ecx
push edx
call fcn.100ce3f5
add esp, 8
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x1006d338
mov edx, dword [ebp - 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006d32e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006d380
push ecx
push edx
call fcn.100ce3f5
add esp, 8
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
jbe 0x1006d352
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, edi
call fcn.10071be0
mov ecx, edi
call fcn.1006ffb0
mov ecx, edi
call fcn.1006dc50
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.100d3e9f
int3