joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100019a0
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x100019b5
xor eax, eax
jmp 0x10001a2a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x10000
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x100019e2
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x38d
jae 0x10001a25
mov edx, dword [ebp - 4]
imul edx, edx, 0x48
mov eax, dword [ebp - 8]
cmp dword [eax + edx + 0x40], 0
je 0x10001a23
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0xc]
jb 0x10001a1f
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 0x10]
jb 0x10001a23
xor eax, eax
jmp 0x10001a2a
jmp 0x100019d9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x10001bf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1050be5c]
mov dword [ebp - 4], eax
jmp 0x10001c09
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x10001c26
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10001c00
mov esp, ebp
pop ebp
ret
Function at 0x10002070
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1050be6c], eax
je 0x1000208e
mov eax, 0x10dd
jmp 0x1000216f
mov eax, dword [0x1050be7c]
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.100c1785
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10002096
mov dword [0x1050be7c], 0
call fcn.10001a30
mov ecx, dword [0x1050be78]
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.100c1785
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10002124
mov dword [0x1050be78], 0
mov dword [0x1050be6c], 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 [0x1050be70], 0
je 0x10002679
mov eax, dword [0x1050be70]
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.100c0a62
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.100c1785
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1050be70], eax
mov dword [0x1050be74], 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 [0x1050be78]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1050be78], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10004ad0
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 0x10004aeb
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10004af6
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10004b01
bts eax, 5
shr ecx, 1
test cl, 1
je 0x10004b0c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10004b17
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10004b22
bts eax, 2
shr ecx, 1
test cl, 1
je 0x10004b2d
bts eax, 1
test cl, 2
je 0x10004b36
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 0x10004bd2
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10004bc3
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10004ae0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004c00
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 0x100ed144
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push eax
mov dword [edi], 0xffffffff
mov dword [ebp + 0xc], 0
call fcn.100c4381
add esp, 0xc
test eax, eax
je 0x10004c39
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x400
call fcn.100c43c8
add esp, 4
mov ebx, eax
mov dword [ebp + 8], ebx
push dword [ebp + 0xc]
test ebx, ebx
jne 0x10004c65
call fcn.100c45df
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.100c47e8
add esp, 0x10
test eax, eax
je 0x10004cbb
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 0x10004c82
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x400
push 1
push ebx
call fcn.100c47e8
add esp, 0x10
test eax, eax
jne 0x10004c80
pop esi
push ebx
call fcn.100c4923
push dword [ebp + 0xc]
call fcn.100c45df
not dword [edi]
add esp, 8
mov al, 1
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10005cf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100fa040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100e5640
push 0x64
mov edi, edx
mov esi, ecx
call fcn.100c0a92
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10005ed1
push 0x64
push 0
push ebx
call fcn.100c2c10
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.100bfedb
lea eax, [ebx + 0x34]
push eax
call fcn.100c00b7
add esp, 0xc
mov dword [0x10869ddc], 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.10004d90
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x10816cf4
mov dword [0x10869f74], eax
call fcn.100bfef7
add esp, 4
test eax, eax
jne 0x10005eec
mov eax, dword [0x10816d20]
cmp eax, 0x7fffffff
je 0x10005ef3
test edi, edi
je 0x10005de9
movups xmm0, xmmword [edi]
movups xmmword [0x1088f3c8], xmm0
movq xmm0, qword [edi + 0x10]
jmp 0x10005df3
xorps xmm0, xmm0
movups xmmword [0x1088f3c8], xmm0
movq qword [0x1088f3d8], xmm0
xorps xmm0, xmm0
push 0x10816cf4
movups xmmword [0x1088f5e0], xmm0
movq qword [0x1088f5f0], xmm0
call fcn.100bff1c
add esp, 4
cmp dword [0x10886fbc], 0
jne 0x10005edb
mov dword [0x10893800], 0x100fac88
test esi, esi
je 0x10005e5c
cmp byte [esi], 0
mov ecx, 0x10893810
je 0x10005e59
mov edx, 1
sub edx, esi
lea eax, [esi + edx]
cmp eax, 0x40
jae 0x10005e59
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
cmp byte [esi], 0
jne 0x10005e46
mov byte [ecx], 0
mov esi, dword [0x10869ddc]
mov al, 1
mov dword [0x10886fbc], 0x10893800
mov dword [0x10893808], 0x100062f0
mov dword [0x1089380c], 0x10006300
xchg byte [esi], al
push 4
call fcn.100c0a62
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x100066d0
push 0
push 0
call fcn.100c958a
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x10005f05
cmp dword [esi + 0x60], 0
jne 0x10005f00
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.100c0a54
mov esp, ebp
pop ebp
ret
mov dword [0x10869ddc], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c0a54
mov esp, ebp
pop ebp
ret
push 5
call fcn.100c0563
dec eax
push 6
mov dword [0x10816d20], eax
call fcn.100c0563
call fcn.100c961b
push 6
mov dword [ebp - 0x4c], 0
call fcn.100c0563
int3
Function at 0x10006dd0
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 [0x10886fbc]
push esi
push dword [ebp + 8]
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call fcn.100c2690
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x10006e87
mov eax, dword [edi]
test eax, eax
je 0x10006e40
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x10006e40
test ebx, ebx
je 0x10006e40
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 0x10006e40
cmp dword [ebp + 0xc], esi
je 0x10006e87
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10006e60
mov eax, dword [edi + 4]
cmp eax, 3
je 0x10006e54
cmp eax, 1
jne 0x10006e60
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 0x10014450
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.10014680
test al, al
je 0x100145ac
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 0x10014730
push 0x787070
push 0xe8
call fcn.100bec40
push 0x7870be
push 0x787078
push 0xe9
call fcn.100bec40
push 0x10014860
push 0x786d60
push 0xe8
call fcn.100bec40
push 0x7870be
push 0x786d68
push 0xe9
call fcn.100bec40
add esp, 0x30
pop esi
cmp dword [0x102c7368], 0
jbe 0x10014670
push 0x10014ba0
push 0x5b8619
push 0xe8
call fcn.100bec40
push 0x10014ba0
push 0x786ca4
push 0xe8
call fcn.100bec40
mov eax, dword [0x102c7368]
add esp, 0x18
cmp eax, 2
je 0x100145f3
cmp eax, 4
jne 0x10014602
push 0x1c0f
call fcn.10049c80
mov eax, dword [0x102c7368]
cmp eax, 3
je 0x1001460c
cmp eax, 4
jne 0x10014670
push 0x180f
call fcn.10049c80
push 0x1c0d
call fcn.10049c80
push 0x1c0e
call fcn.10049c80
push 0x1c10
call fcn.10049c80
push 0x1c16
call fcn.10049c80
push 0x1c1f
call fcn.10049c80
push 0x1c29
call fcn.10049c80
push 0x1c2a
call fcn.10049c80
push 0x1c2b
call fcn.10049c80
push 0x1c2c
call fcn.10049c80
mov esp, ebp
pop ebp
ret
Function at 0x10019ea0
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 [0x102a52d8]
cmp byte [0x102a527d], 0
je 0x10019f6e
cmp dword [ebp + 0xc], 0
jne 0x10019f0f
movd xmm1, dword [0x879340c]
movss xmm0, dword [0x102a52c8]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10019f6e
comiss xmm1, dword [0x102a52d0]
ja 0x10019f6e
movd xmm1, dword [0x8793410]
movss xmm0, dword [0x102a52cc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10019f6e
comiss xmm1, dword [0x102a52d4]
ja 0x10019f6e
cmp dword [ebp + 8], 0x201
jne 0x10019f26
mov byte [0x102a52dc], 1
mov al, 1
pop esi
pop ebp
ret 8
mov byte [0x102a52dc], 0
cmp eax, 0x1f4
jb 0x10019f6e
call esi
mov dword [0x102a52d8], eax
mov eax, dword [0x10109c3c]
cmp eax, 6
je 0x10019f5d
cmp eax, 7
je 0x10019f5d
push dword [0x10109c4c]
push eax
call fcn.1001a080
call esi
mov dword [0x10869f70], eax
mov byte [0x102a527d], 0
mov dword [0xe8cb3c], 0
xor al, al
pop esi
pop ebp
ret 8
Function at 0x10024050
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x102a42bd], 1
jne 0x1002406b
mov byte [0x102a42bd], 0
mov dword [0xe8cb3c], 0
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x102a2bd8]
cmp eax, 0x5dc
jae 0x10024086
mov byte [0x102a42bd], 0
ret
mov ecx, 0x102a22b0
call fcn.10071a40
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102a42b8], eax
mov byte [0x102a42bd], 1
mov dword [0xe8cb3c], 1
ret
Function at 0x100256a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x102c71c4], 2
je 0x100257d2
push esi
push edi
push 0x15
mov esi, 0x861110
call esi
mov edi, 0x85ec20
mov ecx, eax
call edi
test al, al
jne 0x100257d0
push 0x21
call esi
mov ecx, eax
call edi
test al, al
jne 0x100257d0
push 1
call esi
mov ecx, eax
call edi
test al, al
jne 0x100257d0
push 0x49
call esi
mov ecx, eax
call edi
test al, al
jne 0x100257d0
push 0x4f
call esi
mov ecx, eax
call edi
test al, al
jne 0x100257d0
push 0xe
call esi
mov ecx, eax
call edi
test al, al
jne 0x100257d0
push 8
call esi
mov ecx, eax
call edi
test al, al
jne 0x100257d0
push 7
call esi
mov ecx, eax
call edi
test al, al
jne 0x100257d0
push 0x41
call esi
mov ecx, eax
call edi
test al, al
jne 0x100257d0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102a34d8]
cmp eax, 0x3e8
jb 0x100257d0
call esi
cmp byte [0x102a34dd], 1
mov dword [0x102a34d8], eax
jne 0x10025782
pop edi
mov byte [0x102a34dd], 0
mov dword [0xe8cb3c], 0
pop esi
ret
mov ecx, 0x102a22b0
call fcn.10071a40
mov eax, 0x10857be8
mov dword [eax], 0xffffffff
add eax, 8
cmp eax, 0x10858228
jl 0x10025791
mov dword [0x10857be0], 0
mov dword [0x10858238], 0
mov dword [0x10858228], 2
mov byte [0x102a34dd], 1
mov dword [0xe8cb3c], 1
pop edi
pop esi
ret
Function at 0x10028ea0
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 [0x102a2c38]
cmp eax, 0x5dc
jb 0x10028f25
cmp byte [0x102a2c3d], 1
jne 0x10028edb
mov byte [0x102a2c3d], 0
mov dword [0xe8cb3c], 0
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [0x10865d14]
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.100b5120
call esi
mov dword [0x10865d18], eax
call esi
mov dword [0x102a2c38], eax
mov byte [0x102a2c3d], 1
mov dword [0xe8cb3c], 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10033ee0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [0x102c7274], 1
push ebx
push esi
push edi
jne 0x100340f7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x102a5abd], 0
mov ebx, eax
mov dword [ebp - 8], ebx
je 0x100340f7
mov edx, dword [0x10869dd8]
imul esi, edx, 0x19
lea ecx, [esi + 0x19]
cmp esi, ecx
jge 0x100340f7
lea ecx, [esi + esi*2]
shl ecx, 5
add ecx, 0x102a8d58
mov dword [ebp - 4], ecx
mov eax, 0x879340c
movd xmm1, dword [eax]
movsx eax, si
add eax, 0x11c
cvtdq2ps xmm1, xmm1
lea eax, [eax + eax*2]
shl eax, 5
movss xmm0, dword [eax + 0x102a22c8]
comiss xmm0, xmm1
ja 0x100340e2
comiss xmm1, dword [eax + 0x102a22d0]
ja 0x100340e2
movd xmm1, dword [0x8793410]
movss xmm0, dword [eax + 0x102a22cc]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x100340e2
comiss xmm1, dword [eax + 0x102a22d4]
ja 0x100340e2
cmp dword [ebp + 8], 0x201
je 0x10034102
mov eax, ebx
mov byte [ecx + 4], 0
sub eax, dword [ecx]
cmp eax, 0x12c
jb 0x100340f7
lea ecx, [esi - 0x2d]
xor edi, edi
or eax, 0xffffffff
cmp ecx, 4
ja 0x10033fc4
lea edi, [eax + 0xa]
mov eax, ecx
lea ecx, [esi - 0x28]
cmp ecx, 4
ja 0x10033fd3
mov edi, 8
mov eax, ecx
lea ecx, [esi - 0x23]
cmp ecx, 4
ja 0x10033fe2
mov edi, 7
mov eax, ecx
lea ecx, [esi - 0x1e]
cmp ecx, 4
ja 0x10033ff1
mov edi, 6
mov eax, ecx
lea ecx, [esi - 0x19]
cmp ecx, 4
ja 0x10034000
mov edi, 5
mov eax, ecx
lea ecx, [esi - 0x14]
cmp ecx, 4
ja 0x1003400f
mov edi, 4
mov eax, ecx
lea ecx, [esi - 0xf]
cmp ecx, 4
ja 0x1003401e
mov edi, 3
mov eax, ecx
lea ecx, [esi - 0xa]
cmp ecx, 4
ja 0x1003402d
mov edi, 2
mov eax, ecx
lea ecx, [esi - 5]
cmp ecx, 4
ja 0x1003403c
mov edi, 1
mov eax, ecx
cmp esi, 4
ja 0x10034045
xor edi, edi
mov eax, esi
xor ebx, ebx
test eax, eax
sete bl
lea ebx, [ebx*2 - 1]
cmp eax, 1
jne 0x1003405d
lea ebx, [eax + 9]
jmp 0x1003407f
cmp eax, 2
jne 0x10034067
lea ebx, [eax + 0x12]
jmp 0x1003407f
cmp eax, 3
jne 0x10034071
lea ebx, [eax + 0x1b]
jmp 0x1003407f
cmp eax, 4
jne 0x1003407b
lea ebx, [eax + 0x5f]
jmp 0x1003407f
test eax, eax
jne 0x100340f7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10869da4]
cmp eax, 0x190
jb 0x100340ce
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x102a5ab8]
cmp eax, 0x190
jb 0x100340ce
test edi, edi
js 0x100340ce
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, 0xc
mov dword [0x10869da4], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], 0xf6f30cc1
call fcn.100b5120
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 4]
mov edx, dword [0x10869dd8]
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 0x10033f31
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 + 0x102a8d5c], 1
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x10037a80
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 0x10037ba7
push 8
call edi
mov ecx, eax
call ebx
test al, al
jne 0x10037ba7
push 0xc
call edi
mov ecx, eax
call ebx
test al, al
jne 0x10037ba7
push 7
call edi
mov ecx, eax
call ebx
test al, al
jne 0x10037ba7
push 0xe
call edi
mov ecx, eax
call ebx
test al, al
jne 0x10037ba7
push 0xf
call edi
mov ecx, eax
call ebx
test al, al
jne 0x10037ba7
push 0x3c
call edi
mov ecx, eax
call ebx
test al, al
jne 0x10037ba7
push 0x3d
call edi
mov ecx, eax
call ebx
test al, al
jne 0x10037ba7
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102a2d58]
cmp eax, 0x5dc
jb 0x10037ba6
cmp byte [0x102a2d5d], 1
jne 0x10037b49
pop esi
pop edi
mov byte [0x102a2d5d], 0
mov dword [0xe8cb3c], 0
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [0x10869de8]
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.100b5120
call esi
mov dword [0x10869df0], eax
call esi
mov dword [0x102a2d58], eax
mov byte [0x102a2d5d], 1
push 0xd
mov dword [0xe8cb3c], 1
call edi
mov ecx, eax
call ebx
test al, al
jne 0x10037ba6
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 0x100393e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push fcn.100397f0
push 0x520ecf
push 0xe8
call fcn.100bec40
push fcn.100397f0
push 0x520f1f
push 0xe8
call fcn.100bec40
push fcn.100397f0
push 0x63e743
push 0xe8
call fcn.100bec40
push fcn.100397f0
push 0x640eb2
push 0xe8
call fcn.100bec40
push fcn.100397f0
push 0x7d2dd9
push 0xe8
call fcn.100bec40
push fcn.100397f0
push 0x7e6c0f
push 0xe8
call fcn.100bec40
add esp, 0x48
push fcn.100397f0
push 0x84aef7
push 0xe8
call fcn.100bec40
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.100c2c10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push 0x83
push 0x47fc85
call esi
push 0x10037bb0
push 0x47fc85
push 0xe9
call fcn.100bec40
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 0x10038fe0
push 0x4dada4
push 0xe8
call fcn.100bec40
push 0x10039660
push 0x542ef0
push 0xe9
call fcn.100bec40
add esp, 0x18
pop esi
mov esp, ebp
pop ebp
ret