joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004950
Capabilities:
Check for time delay via gettickcount
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
mov edi, ecx
cmp dword [edi + 0x64], 0
je 0x10004968
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [edi + 0x30]
push ebx
push esi
push dword [edi + 0x38]
mov eax, dword [ecx]
call dword [eax + 0x20]
cmp dword [ebp + 8], 0
je 0x10004a25
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov cx, word [edi + 4]
add cx, 7
mov dword [ebp + 8], eax
push 0x32
movzx esi, cx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 1
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test byte [ebp - 0xc], 0x88
je 0x10004a25
mov esi, dword [ebp + 8]
cmp dword [edi + 0x5c], 0
jne 0x10004a3e
call ebx
sub eax, esi
cmp eax, dword [edi + 0x1c]
ja 0x10004a30
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
xorps xmm0, xmm0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
test byte [ebp - 0xc], 0x88
jne 0x100049d8
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
pop esi
pop ebx
mov eax, 2
pop edi
mov esp, ebp
pop ebp
ret 4
pop esi
pop ebx
mov eax, 1
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x10004a70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a767
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x1000f014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x2c]
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ax, word [edi + 4]
xorps xmm0, xmm0
add ax, 7
mov dword [ebp - 0x28], 0
movzx eax, ax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 4], 0
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x1c]
mov al, byte [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10004b00
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a797
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x1000f014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x2c]
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ax, word [edi + 4]
xorps xmm0, xmm0
add ax, 7
mov dword [ebp - 0x30], 0
movzx eax, ax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x30]
push eax
push 0
push 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test byte [ebp - 0x14], 1
je 0x10004bb4
mov ax, word [edi + 4]
xorps xmm0, xmm0
inc ax
mov dword [ebp - 0x30], 0
movzx eax, ax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x30]
push eax
push 0
push 8
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 1
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x2c], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
mov al, byte [ebp - 0x1c]
mov byte [ecx], al
jmp 0x10004bba
mov ecx, dword [ebp + 8]
mov byte [ecx], 0
mov dword [ebp - 4], 0
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x1c]
mov al, byte [ebp - 0x14]
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 0x10004be0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x38], 1
jne 0x10004c0d
mov eax, dword [esi + 0x30]
cmp dword [eax + 0x64], 1
jne 0x10004c0d
add eax, 0xc0
mov edi, 1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x10004c0f
xor edi, edi
mov ax, word [esi + 4]
xorps xmm0, xmm0
add ax, 7
mov dword [ebp - 0x1c], 0
movzx eax, ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 8
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push dword [esi + 0x50]
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, dword [ebp - 8]
test bl, 1
je 0x10004c8f
mov ax, word [esi + 4]
xorps xmm0, xmm0
inc ax
mov dword [ebp - 0x1c], 0
movzx eax, ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
push 0
push 8
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push dword [esi + 0x50]
movups xmmword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
mov al, byte [ebp - 8]
mov byte [ecx], al
jmp 0x10004c95
mov eax, dword [ebp + 8]
mov byte [eax], 0
test edi, edi
je 0x10004ca7
mov ecx, dword [esi + 0x30]
add ecx, 0xb8
mov edx, dword [ecx]
call dword [edx + 0x1c]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100050b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a767
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x1000f014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x2c]
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp + 8], 0
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
je 0x10005134
mov ax, word [edi + 4]
xorps xmm0, xmm0
add ax, 2
mov dword [ebp - 0x28], 0
movzx eax, ax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x24], xmm0
call ecx
mov ecx, dword [ebp + 8]
mov al, byte [ebp - 0x14]
mov byte [ecx], al
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp + 0xc], 0
je 0x10005176
mov ax, word [edi + 4]
xorps xmm0, xmm0
add ax, 3
mov dword [ebp - 0x28], 0
movzx eax, ax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x24], xmm0
call ecx
mov ecx, dword [ebp + 0xc]
mov al, byte [ebp - 0x14]
mov byte [ecx], al
cmp dword [ebp + 0x10], 0
je 0x100051bc
mov ax, word [edi + 4]
xorps xmm0, xmm0
add ax, 4
mov dword [ebp - 0x28], 0
movzx eax, ax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x10]
mov al, byte [ebp - 0x14]
mov byte [ecx], al
cmp dword [ebp + 0x14], 0
je 0x10005202
mov ax, word [edi + 4]
xorps xmm0, xmm0
add ax, 5
mov dword [ebp - 0x28], 0
movzx eax, ax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x14]
mov al, byte [ebp - 0x14]
mov byte [ecx], al
cmp dword [ebp + 0x18], 0
je 0x10005248
mov ax, word [edi + 4]
xorps xmm0, xmm0
add ax, 6
mov dword [ebp - 0x28], 0
movzx eax, ax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
push 0
push 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 0x18]
mov al, byte [ebp - 0x14]
mov byte [ecx], al
mov dword [ebp - 4], 0
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100056b0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a847
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x1000f014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x20], edi
mov esi, dword [edi + 0x2c]
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
movzx eax, word [edi + 8]
xorps xmm0, xmm0
mov ecx, eax
mov dword [ebp - 0x34], 0
add eax, 2
mov dword [ebp - 0x1c], 1
movzx edi, ax
mov eax, ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x14], 0
push eax
mov eax, dword [ebp - 0x20]
movups xmmword [ebp - 0x30], xmm0
push dword [eax + 0x50]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0
push 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 1
push eax
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 6
push dword [eax + 0x50]
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x34]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x20]
xorps xmm0, xmm0
push eax
push 0
push 8
lea eax, [ebp - 0x18]
mov dword [ebp - 0x34], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_ReadFile]
test byte [ebp - 0x18], 0x1f
je 0x100057a5
xor edi, edi
jmp 0x10005824
mov ax, word [edi + 8]
xorps xmm0, xmm0
add ax, 4
mov dword [ebp - 0x34], 0
movzx eax, ax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 4
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x38]
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
mov al, byte [ebp + 0xc]
shl al, 3
movzx eax, al
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x34], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 1
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, 1
mov dword [ebp - 4], 1
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x1c]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100091f8
mov esp, ebp
pop ebp
ret 8
Function at 0x10005860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a87f
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1000f014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x2c]
mov dword [ebp - 0x20], esi
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
mov dword [ebp - 4], 0
call fcn.10002f30
test eax, eax
je 0x100058b2
mov edi, eax
jmp 0x100058ec
movzx eax, word [edi + 4]
xorps xmm0, xmm0
mov dword [ebp - 0x18], eax
movzx eax, word [ebp + 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x34], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x1c], 2
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor edi, edi
mov dword [ebp - 4], 2
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x1c]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100091f8
mov esp, ebp
pop ebp
ret 4
Function at 0x100066e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
shr dword [ebp + 0xc], 1
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 0
movzx eax, word [edi + 4]
mov dword [ebp - 4], eax
je 0x10006763
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
test bl, bl
jne 0x10006718
mov ecx, edi
call fcn.10003190
test eax, eax
jne 0x100067a4
mov eax, dword [ebp - 4]
movzx eax, ax
xorps xmm0, xmm0
mov dword [ebp - 8], eax
lea eax, [ebp - 0x20]
push eax
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 0xc], 2
call esi
mov ecx, dword [ebp + 8]
inc ebx
mov ax, word [ebp - 0xc]
mov word [ecx], ax
add ecx, 2
mov eax, dword [ebp + 0x10]
mov dword [ebp + 8], ecx
add dword [eax], 2
mov eax, dword [ebp - 4]
cmp ebx, dword [ebp + 0xc]
jb 0x10006702
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x100067a2
movzx ebx, ax
nop dword [eax]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0
push 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 2
push eax
push dword [edi + 0x50]
xorps xmm0, xmm0
mov dword [ebp - 8], ebx
movups xmmword [ebp - 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esi, 1
jne 0x10006770
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100067b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1000f014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
xorps xmm0, xmm0
push edi
mov edi, ecx
mov dword [ebp - 0x24], 0
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 1
mov dword [ebp - 8], 0
movzx eax, word [edi + 4]
inc ax
movzx eax, ax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x50]
call esi
movzx eax, word [edi + 4]
xorps xmm0, xmm0
add ax, 2
mov dword [ebp - 0x24], 0
movzx eax, ax
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 1
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x20], xmm0
call esi
movzx eax, word [edi + 4]
xorps xmm0, xmm0
mov ebx, dword [ebp + 0x10]
add ax, 3
movzx eax, ax
mov dword [ebp - 0xc], eax
movzx eax, bl
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x24], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 1
call esi
movzx eax, word [edi + 4]
xorps xmm0, xmm0
add ax, 4
mov dword [ebp - 0x24], 0
movzx eax, ax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, 8
movzx eax, al
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 1
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x20], xmm0
call esi
mov dword [ebp - 0x24], 0
xorps xmm0, xmm0
movzx eax, word [edi + 4]
add ax, 5
mov dword [ebp - 0x10], 1
movzx eax, ax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x20], xmm0
call esi
movzx eax, word [edi + 4]
mov ecx, 0xe0
add ax, 6
shr ebx, 0x18
movzx eax, ax
and bl, 0xf
cmp byte [edi + 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0xc], eax
mov eax, 0xf0
cmovne ecx, eax
mov dword [ebp - 0x24], 0
movzx eax, bl
or ecx, eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x24]
mov dword [ebp - 8], ecx
push eax
push 0
push 0xc
lea eax, [ebp - 0x10]
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x20], xmm0
call esi
movzx eax, word [edi + 4]
xorps xmm0, xmm0
add ax, 7
mov dword [ebp - 0x24], 0
movzx eax, ax
mov dword [ebp - 0xc], eax
movzx eax, byte [ebp + 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x24]
push eax
push 0
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 1
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x20], xmm0
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100091f8
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10006ce0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a947
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1000f014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov esi, dword [edi + 0x2c]
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
shr dword [ebp + 0xc], 1
movzx eax, word [edi + 4]
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x18], eax
mov eax, 0
mov dword [ebp - 0x10], eax
je 0x10006da2
test al, al
jne 0x10006d51
mov ecx, edi
call fcn.100030a0
mov edi, eax
test edi, edi
jne 0x10006de0
mov edi, dword [ebp - 0x14]
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
movzx eax, ax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x34], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 2
call ecx
mov ecx, dword [ebp + 8]
mov ax, word [ebp - 0x20]
mov word [ecx], ax
add ecx, 2
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp + 8], ecx
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp + 0xc]
jb 0x10006d33
mov ax, word [edi + 4]
xorps xmm0, xmm0
add ax, 7
mov dword [ebp - 0x34], 0
movzx eax, ax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 8
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 1
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x30], xmm0
call ecx
movzx edi, byte [ebp - 0x20]
and edi, 1
shl edi, 2
mov dword [ebp - 4], 1
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x1c]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10006e10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a977
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push esi
push edi
mov eax, dword [0x1000f014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov esi, dword [edi + 0x2c]
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
shr dword [ebp + 0xc], 1
movzx eax, word [edi + 4]
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x1c], eax
mov eax, 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], eax
je 0x10006ee3
nop word [eax + eax]
test al, al
jne 0x10006e8e
mov ecx, edi
call fcn.10003190
mov edi, eax
test edi, edi
jne 0x10006f21
mov edi, dword [ebp - 0x18]
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x1c]
xorps xmm0, xmm0
movzx eax, ax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
push 0
push 8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x38], 0
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x24], 2
call ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov ax, word [ebp - 0x24]
mov word [ecx + edx], ax
add ecx, 2
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp + 0xc]
jb 0x10006e70
mov ax, word [edi + 4]
xorps xmm0, xmm0
add ax, 7
mov dword [ebp - 0x38], 0
movzx eax, ax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x38]
push eax
push 0
push 8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 1
push eax
push dword [edi + 0x50]
movups xmmword [ebp - 0x34], xmm0
call ecx
movzx edi, byte [ebp - 0x24]
and edi, 1
shl edi, 2
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10006f2d
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
mov dword [ebp - 4], 1
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x1c]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10006f50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1000a9a7
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x1000f014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x28], edi
mov esi, dword [edi + 0x2c]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
shr dword [ebp + 0xc], 1
movzx eax, word [edi + 4]
mov dword [ebp - 0x2c], eax
mov eax, 0
mov dword [ebp - 0x24], eax
je 0x10007008
test al, al
jne 0x10006fba
mov ecx, edi
call fcn.10003190
mov edi, eax
test edi, edi
jne 0x1000700a
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x1c], 2
movzx ecx, word [eax]
mov eax, dword [ebp - 0x2c]
movzx eax, ax
mov dword [ebp - 0x18], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x40]
push eax
push 0
push 0xc
lea eax, [ebp - 0x1c]
push eax
push dword [edi + 0x50]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x20], 2
inc eax
mov dword [ebp - 0x24], eax
cmp eax, dword [ebp + 0xc]
jb 0x10006fa6
xor edi, edi
mov dword [ebp - 4], 1
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 0x1c]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100091f8
mov esp, ebp
pop ebp
ret 8

Function at 0x100071a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
call edi
mov ebx, eax
nop
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x68]
call edx
cmp dword [esi + 0x60], 0
je 0x100071c5
cmp dword [esi + 0x5c], 0
jne 0x100071e3
test al, al
js 0x100071cd
cmp al, 0x7f
jne 0x100071ec
cmp al, 0xd8
je 0x100071ec
call edi
sub eax, ebx
cmp eax, dword [esi + 0xc]
jbe 0x100071b0
pop edi
pop esi
mov eax, 2
pop ebx
ret
pop edi
pop esi
mov eax, 1
pop ebx
ret
mov eax, dword [esi]
mov ecx, esi
xor edi, edi
mov eax, dword [eax + 0x68]
call eax
test al, 8
je 0x10007215
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x50]
mov edi, eax
test edi, edi
je 0x10007215
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x54]
mov edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x10007220
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov esi, ecx
call ebx
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 4], eax
mov edx, dword [edx + 0x68]
call edx
test al, al
jns 0x10007268
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x14
call edi
cmp dword [esi + 0x5c], 0
jne 0x10007291
call ebx
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 8]
ja 0x10007283
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x68]
call eax
test al, al
js 0x10007247
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x68]
call eax
movzx eax, al
pop edi
and eax, 1
pop esi
shl eax, 2
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100072a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push edi
mov esi, ecx
call ebx
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp - 4], eax
mov edx, dword [edx + 0x68]
call edx
test al, al
jns 0x100072e0
mov edi, dword [ebp + 8]
cmp dword [esi + 0x5c], 0
jne 0x10007309
call ebx
sub eax, dword [ebp - 4]
cmp eax, edi
ja 0x100072fb
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x68]
call eax
test al, al
js 0x100072c4
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x68]
call eax
movzx eax, al
pop edi
and eax, 1
pop esi
shl eax, 2
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4