joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002070
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1054a070], eax
je 0x1000208e
mov eax, 0x10dd
jmp 0x1000216f
mov eax, dword [0x1054a080]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000210c
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 dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x100020ea
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x100020ea
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10001710
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
mov edx, dword [ebp - 0xc]
push edx
call fcn.100d3017
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10002096
mov dword [0x1054a080], 0
call fcn.10001a30
mov ecx, dword [0x1054a07c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10002159
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.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
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100d3017
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10002124
mov dword [0x1054a07c], 0
mov dword [0x1054a070], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10002660
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1054a074], 0
je 0x10002679
mov eax, dword [0x1054a074]
jmp 0x10002719
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1000268b
xor eax, eax
jmp 0x10002719
push 8
call fcn.100d22ee
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100026e1
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x100026ca
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.100d3017
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1054a074], eax
mov dword [0x1054a078], 0
mov eax, dword [ebp - 8]
jmp 0x10002719
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100026fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x100026ab
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1054a07c]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1054a07c], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10004da0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
nop
xor eax, eax
test cl, 1
je 0x10004dbb
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10004dc6
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10004dd1
bts eax, 5
shr ecx, 1
test cl, 1
je 0x10004ddc
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10004de7
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10004df2
bts eax, 2
shr ecx, 1
test cl, 1
je 0x10004dfd
bts eax, 1
test cl, 2
je 0x10004e06
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
test bl, 1
je 0x10004ea2
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10004e93
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10004db0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004ed0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push 0x100fe174
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push eax
mov dword [edi], 0xffffffff
mov dword [ebp + 0xc], 0
call fcn.100d5c11
add esp, 0xc
test eax, eax
je 0x10004f09
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x400
call fcn.100d5c58
add esp, 4
mov ebx, eax
mov dword [ebp + 8], ebx
push dword [ebp + 0xc]
test ebx, ebx
jne 0x10004f35
call fcn.100d5e6f
add esp, 4
xor al, al
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
push 0x400
push 1
push ebx
call fcn.100d6078
add esp, 0x10
test eax, eax
je 0x10004f8b
push esi
nop word [eax + eax]
mov esi, ebx
mov ebx, dword [edi]
lea esi, [esi + 1]
movzx ecx, byte [esi - 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
mov ecx, dword [ebp - 4]
xor ebx, dword [ecx + edx*4]
mov dword [edi], ebx
sub eax, 1
jne 0x10004f52
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x400
push 1
push ebx
call fcn.100d6078
add esp, 0x10
test eax, eax
jne 0x10004f50
pop esi
push ebx
call fcn.100d61b3
push dword [ebp + 0xc]
call fcn.100d5e6f
not dword [edi]
add esp, 8
mov al, 1
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100063c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x1010b040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100f6670
push 0x64
mov edi, edx
mov esi, ecx
call fcn.100d231e
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100065a1
push 0x64
push 0
push ebx
call fcn.100d44a0
lea eax, [ebx + 4]
mov byte [ebx], 1
add esp, 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], 0
xorps xmm0, xmm0
movups xmmword [eax + 0xc], xmm0
movq qword [eax + 0x1c], xmm0
mov dword [eax + 0x24], 0
push 2
push eax
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
call fcn.100d1ee5
lea eax, [ebx + 0x34]
push eax
call fcn.100d173c
add esp, 0xc
mov dword [0x114eca3c], ebx
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [ebx + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.10005060
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x114a7404
mov dword [0x114ecbd4], eax
call fcn.100d1f01
add esp, 4
test eax, eax
jne 0x100065bc
mov eax, dword [0x114a7430]
cmp eax, 0x7fffffff
je 0x100065c3
test edi, edi
je 0x100064b9
movups xmm0, xmmword [edi]
movups xmmword [0x114f54c0], xmm0
movq xmm0, qword [edi + 0x10]
jmp 0x100064c3
xorps xmm0, xmm0
movups xmmword [0x114f54c0], xmm0
movq qword [0x114f54d0], xmm0
xorps xmm0, xmm0
push 0x114a7404
movups xmmword [0x114f56d8], xmm0
movq qword [0x114f56e8], xmm0
call fcn.100d1f12
add esp, 4
cmp dword [0x114ece24], 0
jne 0x100065ab
mov dword [0x114f98f8], 0x1010bbc0
test esi, esi
je 0x1000652c
cmp byte [esi], 0
mov ecx, 0x114f9908
je 0x10006529
mov edx, 1
sub edx, esi
lea eax, [esi + edx]
cmp eax, 0x40
jae 0x10006529
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
cmp byte [esi], 0
jne 0x10006516
mov byte [ecx], 0
mov esi, dword [0x114eca3c]
mov al, 1
mov dword [0x114ece24], 0x114f98f8
mov dword [0x114f9900], 0x100069c0
mov dword [0x114f9904], 0x100069d0
xchg byte [esi], al
push 4
call fcn.100d22ee
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x10006e10
push 0
push 0
call fcn.100dae1a
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x100065d5
cmp dword [esi + 0x60], 0
jne 0x100065d0
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d22e0
mov esp, ebp
pop ebp
ret
mov dword [0x114eca3c], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100d22e0
mov esp, ebp
pop ebp
ret
push 5
call fcn.100d1d93
dec eax
push 6
mov dword [0x114a7430], eax
call fcn.100d1d93
call fcn.100daeab
push 6
mov dword [ebp - 0x4c], 0
call fcn.100d1d93
int3
Function at 0x10007600
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x114ece24]
push esi
push dword [ebp + 8]
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call fcn.100d3f20
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x100076b7
mov eax, dword [edi]
test eax, eax
je 0x10007670
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x10007670
test ebx, ebx
je 0x10007670
push 0
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x10007670
cmp dword [ebp + 0xc], esi
je 0x100076b7
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10007690
mov eax, dword [edi + 4]
cmp eax, 3
je 0x10007684
cmp eax, 1
jne 0x10007690
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
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10013f40
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.10014170
test al, al
je 0x1001409c
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958d4f
call esi
lea eax, [ebp - 4]
mov dword [0x958d4f], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958d4f
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958d88
call esi
lea eax, [ebp - 4]
mov dword [0x958d88], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958d88
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958dbe
call esi
lea eax, [ebp - 4]
mov dword [0x958dbe], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958dbe
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958dda
call esi
lea eax, [ebp - 4]
mov dword [0x958dda], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958dda
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5be217
call esi
lea eax, [ebp - 4]
mov byte [0x5be217], 0x8d
push eax
push dword [ebp - 4]
push 1
push 0x5be217
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5be237
call esi
lea eax, [ebp - 4]
mov byte [0x5be237], 0x8d
push eax
push dword [ebp - 4]
push 1
push 0x5be237
call esi
push 0x10014220
push 0x787070
push 0xe8
call fcn.100d0480
push 0x7870be
push 0x787078
push 0xe9
call fcn.100d0480
push 0x10014350
push 0x786d60
push 0xe8
call fcn.100d0480
push 0x7870be
push 0x786d68
push 0xe9
call fcn.100d0480
add esp, 0x30
pop esi
cmp dword [0x102e081c], 0
jbe 0x10014160
push 0x10014690
push 0x5b8619
push 0xe8
call fcn.100d0480
push 0x10014690
push 0x786ca4
push 0xe8
call fcn.100d0480
mov eax, dword [0x102e081c]
add esp, 0x18
cmp eax, 2
je 0x100140e3
cmp eax, 4
jne 0x100140f2
push 0x1c0f
call fcn.1004bcc0
mov eax, dword [0x102e081c]
cmp eax, 3
je 0x100140fc
cmp eax, 4
jne 0x10014160
push 0x180f
call fcn.1004bcc0
push 0x1c0d
call fcn.1004bcc0
push 0x1c0e
call fcn.1004bcc0
push 0x1c10
call fcn.1004bcc0
push 0x1c16
call fcn.1004bcc0
push 0x1c1f
call fcn.1004bcc0
push 0x1c29
call fcn.1004bcc0
push 0x1c2a
call fcn.1004bcc0
push 0x1c2b
call fcn.1004bcc0
push 0x1c2c
call fcn.1004bcc0
mov esp, ebp
pop ebp
ret
Function at 0x1001a070
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102be738]
cmp byte [0x102be6dd], 0
je 0x1001a13e
cmp dword [ebp + 0xc], 0
jne 0x1001a0df
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102be728]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1001a13e
comiss xmm1, dword [0x102be730]
ja 0x1001a13e
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102be72c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1001a13e
comiss xmm1, dword [0x102be734]
ja 0x1001a13e
cmp dword [ebp + 8], 0x201
jne 0x1001a0f6
mov byte [0x102be73c], 1
mov al, 1
pop esi
pop ebp
ret 8
mov byte [0x102be73c], 0
cmp eax, 0x1f4
jb 0x1001a13e
call esi
mov dword [0x102be738], eax
mov eax, dword [0x1011ab7c]
cmp eax, 6
je 0x1001a12d
cmp eax, 7
je 0x1001a12d
push dword [0x1011ab8c]
push eax
call fcn.1001a250
call esi
mov dword [0x114ecbd0], eax
mov byte [0x102be6dd], 0
mov dword [0xe8cb3c], 0
xor al, al
pop esi
pop ebp
ret 8
Function at 0x1001e0e0
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1010b040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
mov edi, ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push esi
push 0
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
pop edi
pop esi
cmp eax, 1
jne 0x1001e14c
mov ax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d22e0
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.100d22e0
mov esp, ebp
pop ebp
ret
Function at 0x100242a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x102bd71d], 1
jne 0x100242bb
mov byte [0x102bd71d], 0
mov dword [0xe8cb3c], 0
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x102bbfd8]
cmp eax, 0x5dc
jae 0x100242d6
mov byte [0x102bd71d], 0
ret
mov ecx, 0x102bb6b0
call fcn.1007ec90
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102bd718], eax
mov byte [0x102bd71d], 1
mov dword [0xe8cb3c], 1
ret
Function at 0x100261b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x102e0674], 2
je 0x100262e2
push esi
push edi
push 0x15
mov esi, 0x861110
call esi
mov edi, 0x85ec20
mov ecx, eax
call edi
test al, al
jne 0x100262e0
push 0x21
call esi
mov ecx, eax
call edi
test al, al
jne 0x100262e0
push 1
call esi
mov ecx, eax
call edi
test al, al
jne 0x100262e0
push 0x49
call esi
mov ecx, eax
call edi
test al, al
jne 0x100262e0
push 0x4f
call esi
mov ecx, eax
call edi
test al, al
jne 0x100262e0
push 0xe
call esi
mov ecx, eax
call edi
test al, al
jne 0x100262e0
push 8
call esi
mov ecx, eax
call edi
test al, al
jne 0x100262e0
push 7
call esi
mov ecx, eax
call edi
test al, al
jne 0x100262e0
push 0x41
call esi
mov ecx, eax
call edi
test al, al
jne 0x100262e0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102bc8d8]
cmp eax, 0x3e8
jb 0x100262e0
call esi
cmp byte [0x102bc8dd], 1
mov dword [0x102bc8d8], eax
jne 0x10026292
pop edi
mov byte [0x102bc8dd], 0
mov dword [0xe8cb3c], 0
pop esi
ret
mov ecx, 0x102bb6b0
call fcn.1007ec90
mov eax, 0x114e8300
mov dword [eax], 0xffffffff
add eax, 8
cmp eax, 0x114e8940
jl 0x100262a1
mov dword [0x114e82f8], 0
mov dword [0x114e8950], 0
mov dword [0x114e8940], 2
mov byte [0x102bc8dd], 1
mov dword [0xe8cb3c], 1
pop edi
pop esi
ret
Function at 0x10029b80
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102bc038]
cmp eax, 0x5dc
jb 0x10029c05
cmp byte [0x102bc03d], 1
jne 0x10029bbb
mov byte [0x102bc03d], 0
mov dword [0xe8cb3c], 0
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [0x114e8974]
lea ecx, [ebp - 8]
mov dword [ebp - 7], 0
mov edx, 6
mov byte [ebp - 3], 0
mov dword [ebp - 8], 0xd0f306c1
mov byte [ebp - 4], al
mov byte [ebp - 3], 0
call fcn.100c6710
call esi
mov dword [0x114e8978], eax
call esi
mov dword [0x102bc038], eax
mov byte [0x102bc03d], 1
mov dword [0xe8cb3c], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10034ee0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x102e0728], 1
push ebx
push esi
push edi
jne 0x100350f7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x102bef1d], 0
mov ebx, eax
mov dword [ebp - 8], ebx
je 0x100350f7
mov edx, dword [0x114eca38]
imul esi, edx, 0x19
lea ecx, [esi + 0x19]
cmp esi, ecx
jge 0x100350f7
lea ecx, [esi + esi*2]
shl ecx, 5
add ecx, 0x102c2218
mov dword [ebp - 4], ecx
mov eax, 0x879340c
movd xmm1, dword [eax]
movsx eax, si
add eax, 0x11e
cvtdq2ps xmm1, xmm1
lea eax, [eax + eax*2]
shl eax, 5
movss xmm0, dword [eax + 0x102bb6c8]
comiss xmm0, xmm1
ja 0x100350e2
comiss xmm1, dword [eax + 0x102bb6d0]
ja 0x100350e2
movd xmm1, dword [0x8793410]
movss xmm0, dword [eax + 0x102bb6cc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100350e2
comiss xmm1, dword [eax + 0x102bb6d4]
ja 0x100350e2
cmp dword [ebp + 8], 0x201
je 0x10035102
mov eax, ebx
mov byte [ecx + 4], 0
sub eax, dword [ecx]
cmp eax, 0x12c
jb 0x100350f7
lea ecx, [esi - 0x2d]
xor edi, edi
or eax, 0xffffffff
cmp ecx, 4
ja 0x10034fc4
lea edi, [eax + 0xa]
mov eax, ecx
lea ecx, [esi - 0x28]
cmp ecx, 4
ja 0x10034fd3
mov edi, 8
mov eax, ecx
lea ecx, [esi - 0x23]
cmp ecx, 4
ja 0x10034fe2
mov edi, 7
mov eax, ecx
lea ecx, [esi - 0x1e]
cmp ecx, 4
ja 0x10034ff1
mov edi, 6
mov eax, ecx
lea ecx, [esi - 0x19]
cmp ecx, 4
ja 0x10035000
mov edi, 5
mov eax, ecx
lea ecx, [esi - 0x14]
cmp ecx, 4
ja 0x1003500f
mov edi, 4
mov eax, ecx
lea ecx, [esi - 0xf]
cmp ecx, 4
ja 0x1003501e
mov edi, 3
mov eax, ecx
lea ecx, [esi - 0xa]
cmp ecx, 4
ja 0x1003502d
mov edi, 2
mov eax, ecx
lea ecx, [esi - 5]
cmp ecx, 4
ja 0x1003503c
mov edi, 1
mov eax, ecx
cmp esi, 4
ja 0x10035045
xor edi, edi
mov eax, esi
xor ebx, ebx
test eax, eax
sete bl
lea ebx, [ebx*2 - 1]
cmp eax, 1
jne 0x1003505d
lea ebx, [eax + 9]
jmp 0x1003507f
cmp eax, 2
jne 0x10035067
lea ebx, [eax + 0x12]
jmp 0x1003507f
cmp eax, 3
jne 0x10035071
lea ebx, [eax + 0x1b]
jmp 0x1003507f
cmp eax, 4
jne 0x1003507b
lea ebx, [eax + 0x5f]
jmp 0x1003507f
test eax, eax
jne 0x100350f7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x114eca04]
cmp eax, 0x190
jb 0x100350ce
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x102bef18]
cmp eax, 0x190
jb 0x100350ce
test edi, edi
js 0x100350ce
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 0xc
mov dword [0x114eca04], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], 0xf6f30cc1
call fcn.100c6710
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov edx, dword [0x114eca38]
mov ebx, dword [ebp - 8]
mov dword [ecx], eax
lea eax, [edx + 1]
inc esi
imul eax, eax, 0x19
add ecx, 0x60
mov dword [ebp - 4], ecx
cmp esi, eax
jl 0x10034f31
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [esi + esi*2]
shl eax, 5
pop edi
pop esi
pop ebx
mov byte [eax + 0x102c221c], 1
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x100387e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push edi
push 9
mov edi, 0x861110
call edi
mov ebx, 0x85ec20
mov ecx, eax
call ebx
test al, al
jne 0x10038907
push 8
call edi
mov ecx, eax
call ebx
test al, al
jne 0x10038907
push 0xc
call edi
mov ecx, eax
call ebx
test al, al
jne 0x10038907
push 7
call edi
mov ecx, eax
call ebx
test al, al
jne 0x10038907
push 0xe
call edi
mov ecx, eax
call ebx
test al, al
jne 0x10038907
push 0xf
call edi
mov ecx, eax
call ebx
test al, al
jne 0x10038907
push 0x3c
call edi
mov ecx, eax
call ebx
test al, al
jne 0x10038907
push 0x3d
call edi
mov ecx, eax
call ebx
test al, al
jne 0x10038907
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102bc158]
cmp eax, 0x5dc
jb 0x10038906
cmp byte [0x102bc15d], 1
jne 0x100388a9
pop esi
pop edi
mov byte [0x102bc15d], 0
mov dword [0xe8cb3c], 0
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [0x114eca4c]
lea ecx, [ebp - 8]
mov dword [ebp - 7], 0
add al, 5
mov edx, 5
mov dword [ebp - 8], 0xe8f305c1
mov byte [ebp - 4], al
call fcn.100c6710
call esi
mov dword [0x114eca54], eax
call esi
mov dword [0x102bc158], eax
mov byte [0x102bc15d], 1
push 0xd
mov dword [0xe8cb3c], 1
call edi
mov ecx, eax
call ebx
test al, al
jne 0x10038906
push 0xd
call edi
mov edx, 0x85ec50
mov ecx, eax
call edx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003a140
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push fcn.1003a550
push 0x520ecf
push 0xe8
call fcn.100d0480
push fcn.1003a550
push 0x520f1f
push 0xe8
call fcn.100d0480
push fcn.1003a550
push 0x63e743
push 0xe8
call fcn.100d0480
push fcn.1003a550
push 0x640eb2
push 0xe8
call fcn.100d0480
push fcn.1003a550
push 0x7d2dd9
push 0xe8
call fcn.100d0480
push fcn.1003a550
push 0x7e6c0f
push 0xe8
call fcn.100d0480
add esp, 0x48
push fcn.1003a550
push 0x84aef7
push 0xe8
call fcn.100d0480
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
add esp, 0xc
push eax
push 0x40
push 0x83
push 0x47fc85
call esi
push 0x83
push 0x90
push 0x47fc85
call fcn.100d44a0
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x83
push 0x47fc85
call esi
push 0x10038910
push 0x47fc85
push 0xe9
call fcn.100d0480
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ebf8
call esi
lea eax, [ebp - 4]
mov byte [0x62ebf8], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62ebf8
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ebfe
call esi
lea eax, [ebp - 4]
mov byte [0x62ebfe], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62ebfe
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ee42
call esi
lea eax, [ebp - 4]
mov byte [0x62ee42], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62ee42
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ee48
call esi
lea eax, [ebp - 4]
mov byte [0x62ee48], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62ee48
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62eee5
call esi
lea eax, [ebp - 4]
mov byte [0x62eee5], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62eee5
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62eeeb
call esi
lea eax, [ebp - 4]
mov byte [0x62eeeb], 0xeb
push eax
push dword [ebp - 4]
push 1
push 0x62eeeb
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ebf7
call esi
lea eax, [ebp - 4]
mov byte [0x62ebf7], 0x77
push eax
push dword [ebp - 4]
push 1
push 0x62ebf7
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62ee41
call esi
lea eax, [ebp - 4]
mov byte [0x62ee41], 0x77
push eax
push dword [ebp - 4]
push 1
push 0x62ee41
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x62eee4
call esi
lea eax, [ebp - 4]
mov byte [0x62eee4], 0x77
push eax
push dword [ebp - 4]
push 1
push 0x62eee4
call esi
push 0x10039d40
push 0x4dada4
push 0xe8
call fcn.100d0480
push 0x1003a3c0
push 0x542ef0
push 0xe9
call fcn.100d0480
add esp, 0x18
pop esi
mov esp, ebp
pop ebp
ret