joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b6ce
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x1001b73e
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x101a8558
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1001b735
cmp dword [ebp - 0xc], 4
jne 0x1001b735
cmp dword [ebp - 0x10], edi
je 0x1001b735
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x101edcd0], edi
xor eax, eax
jmp 0x1001b77d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x101edcd0], edi
jge 0x1001b778
lea eax, [ebp - 0x34]
push eax
mov dword [0x101edcd0], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x1001b778
cmp word [ebp - 0x14], 5
jb 0x1001b778
call fcn.1001b6a6
test eax, eax
je 0x1001b778
emms
mov dword [0x101edcd0], 1
mov eax, dword [0x101edcd0]
pop edi
leave
ret

Function at 0x1001b930
Capabilities:
Check for software breakpoints

Disassembly:
cmp dword [esi + 0x14], 0xcc
je 0x1001b953
mov eax, dword [esi + 0x1a8]
push esi
call dword [eax]
mov dword [esi + 0x8c], 0
mov dword [esi + 0x14], 0xcc
mov ecx, dword [esi + 0x1a8]
mov eax, dword [ecx + 8]
test eax, eax
je 0x1001b979
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x30
call dword [eax]
mov edx, dword [esi + 0x1a8]
mov eax, dword [edx + 8]
test eax, eax
jne 0x1001b960
mov edx, dword [esi + 0x44]
xor eax, eax
test edx, edx
setne al
add eax, 0xcd
mov dword [esi + 0x14], eax
mov eax, 1
ret

Function at 0x1001ba30
Capabilities:
Check for software breakpoints

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x1001ba67
push esi
call fcn.10022f90
mov eax, dword [esi + 0x40]
test eax, eax
je 0x1001ba60
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
pop ebp
ret 4
mov dword [esi + 0x14], 0xcb
mov ecx, dword [esi + 0x14]
cmp ecx, 0xcb
jne 0x1001bae6
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x1001bad0
nop
mov eax, dword [esi + 8]
test eax, eax
je 0x1001ba8a
push esi
call dword [eax]
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
test eax, eax
je 0x1001bac9
cmp eax, 2
je 0x1001bad0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1001ba80
cmp eax, 3
je 0x1001baad
cmp eax, 1
jne 0x1001ba80
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
cmp eax, dword [ecx + 8]
jl 0x1001ba80
mov eax, dword [ecx + 8]
mov edx, dword [esi + 0x144]
add eax, edx
mov dword [ecx + 8], eax
jmp 0x1001ba80
xor eax, eax
pop esi
pop ebp
ret 4
mov eax, dword [esi + 0x94]
mov dword [esi + 0x9c], eax
call fcn.1001b930
pop esi
pop ebp
ret 4
cmp ecx, 0xcc
je 0x1001bafd
mov eax, dword [esi]
mov dword [eax + 0x14], 0x14
push esi
mov dword [eax + 0x18], ecx
call dword [eax]
call fcn.1001b930
pop esi
pop ebp
ret 4
Function at 0x10024416
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x10024425
xor eax, eax
jmp 0x10024508
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jb 0x100244e8
push edi
mov edi, eax
shr edi, 3
xor ebx, ebx
mov bl, byte [edx]
sub eax, 8
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101aa4c8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101aa4c8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101aa4c8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101aa4c8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101aa4c8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101aa4c8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101aa4c8]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101aa4c8]
inc edx
dec edi
jne 0x10024445
pop edi
test eax, eax
je 0x10024502
xor ebx, ebx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x101aa4c8]
inc edx
dec eax
jne 0x100244ec
mov eax, esi
pop esi
not eax
pop ebx
ret 0xc
Function at 0x10045ae0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
je 0x10045bd8
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
test esi, esi
jl 0x10045bc7
jg 0x10045b1d
test edx, edx
je 0x10045bc7
lea edx, [ecx + 0x30]
mov eax, dword [ecx + 0x20]
mov dword [esp + 0x1c], edx
mov eax, dword [eax]
mov dword [esp + 0x18], eax
test eax, eax
je 0x10045b37
mov eax, dword [edx]
mov eax, dword [eax]
jmp 0x10045b39
xor eax, eax
cdq
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x10045b87
jg 0x10045b4c
test esi, esi
je 0x10045b87
cmp ebx, eax
jg 0x10045b5c
jl 0x10045b56
cmp edi, esi
jae 0x10045b5c
mov esi, edi
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0xc]
push esi
push eax
push dword [esp + 0x20]
call fcn.1013f190
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [esp + 0x10]
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [edx]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x10045bab
mov eax, dword [esp + 0xc]
mov edx, dword [ecx]
movzx eax, byte [eax]
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x10045bc1
mov ecx, dword [esp + 0x10]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
lea edx, [ecx + 0x30]
add dword [esp + 0xc], esi
test ebx, ebx
jg 0x10045b20
jl 0x10045bc1
test edi, edi
jne 0x10045b20
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov edx, dword [eax]
lea eax, [ecx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
test edx, edx
je 0x10045c00
mov eax, dword [eax]
mov edx, dword [eax]
jmp 0x10045c06
xor edx, edx
mov dword [esp + 0x18], eax
mov eax, edx
cdq
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], edx
test edi, edi
jl 0x10045c6e
jg 0x10045c1b
test esi, esi
je 0x10045c6e
test edx, edx
jl 0x10045c69
jg 0x10045c25
test eax, eax
je 0x10045c69
cmp edi, edx
jg 0x10045c39
jl 0x10045c2f
cmp esi, eax
jae 0x10045c39
mov eax, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], edi
mov ebx, dword [ebp + 8]
push eax
push ebx
push dword [esp + 0x24]
call fcn.1013f190
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x14]
add ebx, edx
mov ecx, dword [esp + 0x10]
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0xc]
sub dword [eax], edx
mov eax, dword [ecx + 0x20]
add dword [eax], edx
jmp 0x10045c71
mov ebx, dword [ebp + 8]
jmp 0x10045c7b
mov ebx, dword [ebp + 8]
test edi, edi
jl 0x10045c94
jg 0x10045c7b
test esi, esi
je 0x10045c94
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x10045c94
push eax
push esi
push 1
push ebx
call fcn.101543f0
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10046270
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x30
mov eax, dword [0x101f6e00]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x100462a0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1013c8c0
add esp, 0x30
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x100462dd
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x100462dd
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1013c8c0
add esp, 0x30
ret 4
cmp dword [esi + 0x4c], 0
je 0x100463e7
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x10046305
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10046339
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.10144060
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1013c8c0
add esp, 0x30
ret 4
lea eax, [esp + 0x10]
mov byte [esp + 0xf], bl
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x23]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x100463a2
sub eax, 1
je 0x100463a2
sub eax, 2
jne 0x100463e7
push dword [esi + 0x4c]
movsx eax, byte [esp + 0x13]
push eax
call fcn.10144060
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1013c8c0
add esp, 0x30
ret 4
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x18]
sub edi, eax
je 0x100463c1
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.101543f0
add esp, 0x10
cmp edi, eax
jne 0x100463e7
lea ecx, [esp + 0xf]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [esp + 0x14], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1013c8c0
add esp, 0x30
ret 4
mov ecx, dword [esp + 0x38]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1013c8c0
add esp, 0x30
ret 4
Function at 0x10047b90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10195c80
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x101f6e00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2b
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807includexlocale
push 2
lea edi, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
lea ebx, [esi + 8]
mov dword [edi], 0
push 8
mov dword [ebx], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.101565d0
add esp, 0x10
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10047ca2
push 1
mov dword [ebp - 4], 0
call fcn.10139c50
mov ecx, dword [ebp - 0x10]
lea edx, [esi + 0x24]
add esp, 4
mov dword [ecx + 4], eax
lea eax, [esi + 0x14]
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x18]
mov dword [esi + 0xc], edi
lea edi, [esi + 0x28]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], edi
mov dword [ebx], 0
mov dword [ecx], 0
mov dword [esi + 0x28], 0
mov dword [esi + 4], 0
mov dword [eax], 0
mov eax, esi
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10139680
int3
Function at 0x10056a50
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
or eax, 0xffffffff
xor esi, esi
push edi
mov edi, ecx
test edx, edx
je 0x10056a78
nop dword [eax]
movzx ecx, byte [edi + esi]
inc esi
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101d5f58]
cmp esi, edx
jb 0x10056a60
pop edi
pop esi
ret
Function at 0x1005a750
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [0x102ceb44]
push esi
push dword [esp + 0x18]
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call fcn.1013f190
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x1005a837
mov eax, dword [edi]
test eax, eax
jne 0x1005a7ad
push 0x4f
push 0x101d6560
push str.self
call fcn.101598d0
add esp, 0xc
jmp 0x1005a7f2
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x1005a7f2
test ebx, ebx
jne 0x1005a7cf
push 0x56
push 0x101d6560
push 0x101d6674
call fcn.101598d0
add esp, 0xc
jmp 0x1005a7f2
push 0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x1005a7f2
cmp dword [esp + 0x18], esi
je 0x1005a837
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x1005a812
mov eax, dword [edi + 4]
cmp eax, 3
je 0x1005a806
cmp eax, 1
jne 0x1005a812
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
pop ecx
ret 8
pop edi
pop esi
mov al, 1
pop ebx
pop ecx
ret 8
Function at 0x100646e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x101f6e00]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, ecx
push ebx
push esi
mov dword [esp + 0xc], eax
xor ebx, ebx
mov esi, dword [eax + 8]
mov ecx, esi
push edi
mov edi, dword [eax + 4]
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10064832
mov dword [esp + 0xc], ebx
sub esi, edi
mov eax, 0x66666667
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x1006477f
push str.vector_subscript_out_of_range
push 0x101d467c
push 0
push 0x762
push 0x101d5190
push 2
call fcn.10143d00
add esp, 0x18
cmp eax, 1
jne 0x10064761
int3
push 0
push 0x762
push str.C:Program_FilesMicrosoft_Visual_Studio2022CommunityVCToolsMSVC14.40.33807include_vector
push 0x101d47ac
push str._vector_subscript_out_of_range_
call fcn.10152640
add esp, 0x14
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov ecx, dword [ecx + 4]
add ecx, edi
mov eax, dword [ecx]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 8]
mov dword [esp + 0x1c], eax
lea eax, [ecx + 0xc]
push eax
lea ecx, [esp + 0x24]
call fcn.10046cb0
mov esi, dword [esp + 0x18]
or eax, 0xffffffff
xor edx, edx
test esi, esi
je 0x100647dd
mov edi, dword [esp + 0x14]
nop
movzx ecx, byte [edi + edx - 0x20]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x101d5f58]
cmp edx, esi
jb 0x100647c0
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x20]
cmp eax, dword [esp + 0x1c]
jne 0x10064846
call fcn.100477d0
mov eax, dword [esp + 0x20]
push 8
push eax
mov dword [esp + 0x28], 0
call fcn.1013c8d0
mov eax, dword [esp + 0x18]
add edi, 0x28
mov dword [esp + 0x14], edi
inc ebx
add esp, 8
mov esi, dword [eax + 8]
mov ecx, esi
mov edi, dword [eax + 4]
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x10064724
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1013c8c0
mov esp, ebp
pop ebp
ret
call fcn.100477d0
mov eax, dword [esp + 0x20]
push 8
push eax
mov dword [esp + 0x28], 0
call fcn.1013c8d0
mov ecx, dword [esp + 0x44]
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1013c8c0
mov esp, ebp
pop ebp
ret
Function at 0x1006abf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov ecx, dword [esp + 0x18]
push ebp
push esi
mov esi, edx
mov dword [esp + 0xc], ebx
lea eax, [ecx - 1]
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], eax
mov ebp, esi
sar eax, 1
mov dword [esp + 0x14], eax
push edi
cmp esi, eax
jge 0x1006ac97
nop word [eax + eax]
lea edx, [ebp*2]
mov ecx, edx
shl ecx, 6
mov eax, dword [ecx + ebx + 0xb8]
cmp eax, dword [ecx + ebx + 0x78]
sbb eax, eax
shl esi, 6
add esi, ebx
lea ebp, [eax + 2]
add ebp, edx
mov edi, ebp
shl edi, 6
add edi, ebx
cmp esi, edi
je 0x1006ac5d
mov ecx, esi
call fcn.100477d0
push edi
mov ecx, esi
call fcn.10047a50
lea eax, [edi + 0x1c]
lea ebx, [esi + 0x1c]
cmp ebx, eax
je 0x1006ac79
mov ecx, ebx
call fcn.100477d0
lea eax, [edi + 0x1c]
mov ecx, ebx
push eax
call fcn.10047a50
mov eax, dword [edi + 0x38]
mov ebx, dword [esp + 0x10]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov esi, ebp
mov eax, dword [esp + 0x18]
cmp ebp, eax
jl 0x1006ac20
mov ecx, dword [esp + 0x24]
cmp ebp, eax
jne 0x1006ace9
test cl, 1
jne 0x1006ace9
shl ecx, 6
shl esi, 6
add esi, ebx
lea edi, [ecx - 0x40]
add edi, ebx
cmp esi, edi
je 0x1006acc0
mov ecx, esi
call fcn.100477d0
push edi
mov ecx, esi
call fcn.10047a50
lea ebp, [edi + 0x1c]
lea ebx, [esi + 0x1c]
cmp ebx, ebp
je 0x1006acd9
mov ecx, ebx
call fcn.100477d0
push ebp
mov ecx, ebx
call fcn.10047a50
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov esi, dword [esp + 0x1c]
cmp dword [esp + 0x14], esi
jge 0x1006ad54
nop
mov ecx, dword [esp + 0x10]
lea ebx, [esi - 1]
mov edx, dword [esp + 0x28]
sar ebx, 1
mov edi, ebx
shl edi, 6
add edi, ecx
mov eax, dword [edi + 0x38]
cmp eax, dword [edx + 0x38]
jae 0x1006ad54
shl esi, 6
add esi, ecx
cmp esi, edi
je 0x1006ad24
mov ecx, esi
call fcn.100477d0
push edi
mov ecx, esi
call fcn.10047a50
lea eax, [edi + 0x1c]
lea ebp, [esi + 0x1c]
cmp ebp, eax
je 0x1006ad40
mov ecx, ebp
call fcn.100477d0
lea eax, [edi + 0x1c]
mov ecx, ebp
push eax
call fcn.10047a50
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov esi, ebx
cmp dword [esp + 0x14], ebx
jl 0x1006acf0
mov ebx, dword [esp + 0x28]
shl esi, 6
add esi, dword [esp + 0x10]
cmp esi, ebx
je 0x1006ad72
mov ecx, esi
call fcn.100477d0
push ebx
mov ecx, esi
call fcn.10047a50
lea ebp, [ebx + 0x1c]
lea edi, [esi + 0x1c]
cmp edi, ebp
je 0x1006ad8b
mov ecx, edi
call fcn.100477d0
push ebp
mov ecx, edi
call fcn.10047a50
mov eax, dword [ebx + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [ebx + 0x3c]
pop edi
mov dword [esi + 0x3c], eax
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x10070a40
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10196400
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x101f6e00]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov edi, dword [ebp + 8]
lea esi, [ecx + 8]
movzx eax, byte [edi]
mov byte [ecx], al
mov ax, word [edi + 2]
mov word [ecx + 2], ax
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [esi], 0
movups xmmword [esi + 4], xmm0
push 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call fcn.1013ca30
add esp, 4
mov ecx, esi
mov dword [eax + 4], 0
mov dword [esi], eax
mov dword [eax], esi
lea eax, [edi + 8]
push eax
call fcn.10047a50
mov ecx, dword [ebp - 0x10]
mov eax, dword [edi + 0x24]
mov dword [ecx + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [ecx + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [ecx + 0x2c], eax
movzx eax, byte [edi + 0x30]
mov byte [ecx + 0x30], al
mov eax, dword [edi + 0x34]
mov dword [ecx + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [ecx + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [ecx + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [ecx + 0x40], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1008c7a0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [0x102c9540], 0
je 0x1008c8dc
cmp dword [esp + 8], 0
je 0x1008c8dc
push ebx
push esi
push 0x102ced90
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [0x102ced9c]
push eax
movzx eax, word [0x102ced9a]
push eax
movzx eax, word [0x102ced98]
push eax
push str.______.2d:_.2d:_.2d_
push 0x102cf1a0
mov byte [0x102cf1a0], 0
mov dword [esp + 0x1c], 0
call fcn.10052ea0
lea eax, [esp + 0x28]
mov byte [0x102ceda0], 0
push eax
push 0
push dword [esp + 0x2c]
push 0xffffffffffffffff
push 0x102ceda0
call fcn.100493d0
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
add esp, 0x28
push 0x102ceda0
push 0x102cf1a0
call esi
push 0x101d97c0
push 0x102cf1a0
call esi
push 0x102cf1a0
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp dword [0x102c9544], 0xf
mov ecx, 0x102c9530
push 0
cmova ecx, dword [0x102c9530]
mov ebx, eax
push 0x80
push 3
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1008c8ae
cmp dword [0x102c9544], 0xf
mov eax, 0x102c9530
push 0
cmova eax, dword [0x102c9530]
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x1008c8da
test esi, esi
je 0x1008c8da
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0xc]
push eax
push ebx
push 0x102cf1a0
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
pop ecx
ret

Function at 0x1008ca40
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 8
cmp byte [0x102ced71], 0
jne 0x1008ca85
push 0x102cf5a8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
cmp eax, 1
jne 0x1008ca75
push 0x102cf5a0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov al, 1
mov byte [0x102ced70], al
mov byte [0x102ced71], al
jmp 0x1008ca8a
xor al, al
mov byte [0x102ced71], 1
mov byte [0x102ced70], al
jmp 0x1008ca8a
mov al, byte [0x102ced70]
test al, al
je 0x1008cad1
push 0x102cf5a8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [0x102cf5ac]
mov ecx, dword [0x102cf5a8]
call fcn.101956a0
mov edx, dword [0x102cf5a4]
mov ecx, dword [0x102cf5a0]
movsd qword [esp], xmm0
call fcn.101956a0
movsd xmm1, qword [esp]
divsd xmm1, xmm0
cvtpd2ps xmm0, xmm1
add esp, 8
ret
call dword [sym.imp.WINMM.dll_timeGetTime]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101de670]
cvtpd2ps xmm0, xmm0
add esp, 8
ret
Function at 0x1008e050
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 8], 0
push 0
mov eax, dword [esi + 0x1c]
mov dword [esp + 8], eax
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 4]
test ecx, ecx
jle 0x1008e0a3
cmp dword [esi + 0x20], 0xf
lea eax, [esi + 0xc]
jbe 0x1008e090
mov eax, dword [eax]
push 0
lea edx, [esp + 0xc]
push edx
push ecx
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 1
pop esi
add esp, 8
ret 4
Function at 0x1008f5d0
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push esi
push dword [esp + 0x10]
mov esi, ecx
call fcn.10090d70
test al, al
jne 0x1008f5ea
pop esi
add esp, 8
ret 4
push 0
lea eax, [esp + 0xc]
push eax
push 4
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [esp + 4]
mov dword [esi + 0x120], eax
mov al, 1
pop esi
add esp, 8
ret 4