Function at 0x10008b10
Capabilities:
Allocate or change rwx memory
Check for time delay via gettickcount
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001d785
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100250c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [0x1003e1f4]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
test edi, edi
je 0x10008b75
cmp dword [0x11dd2a2c], 0
lea eax, [ebp - 0x14]
push eax
push 0x40
push 1
push edi
je 0x10008b64
call esi
mov byte [edi], 0xc3
jmp 0x10008b69
call esi
mov byte [edi], 0x55
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 1
push edi
call esi
mov edi, dword [0x1003e0f4]
test edi, edi
je 0x10008ba9
cmp dword [0x1003e6d0], 0
lea eax, [ebp - 0x14]
push eax
push 0x40
push 1
push edi
je 0x10008b98
call esi
mov byte [edi], 0xc3
jmp 0x10008b9d
call esi
mov byte [edi], 0x55
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 1
push edi
call esi
mov edi, dword [0x1003e624]
test edi, edi
je 0x10008be3
cmp dword [0x1003e704], 0
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push edi
je 0x10008bcf
call esi
mov dword [edi], 0xd45d0ff3
jmp 0x10008bd7
call esi
mov dword [edi], 0xd05d0ff3
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 4
push edi
call esi
cmp dword [0x1003e110], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x10008f25
mov ecx, 0xa2
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x100210a4]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x3c], al
and ecx, 0x800000ff
jns 0x10008c1d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x15
jl 0x10008c00
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x27], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add eax, 0xcdbe
mov ecx, 0xd
mov dword [0x1003e204], eax
xor edx, edx
mov al, byte [edx + str.ZNDDA3V_Q7_]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x34], al
and ecx, 0x800000ff
jns 0x10008c5f
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x10008c42
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x34]
mov ecx, dword [0x1003e1cc]
mov eax, dword [0x1003e1c8]
add ecx, 0x12c
push edx
push 0xffffff00
push ecx
add eax, 0x1c2
push eax
push dword [0x1003dfb4]
call fcn.100039e0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
cmp byte [0x1003e18b], 0
je 0x10008cf6
mov word [ebp - 0x14], 0x4e4f
mov byte [ebp - 0x12], 0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x14]
mov ecx, dword [0x1003e1cc]
mov eax, dword [0x1003e1c8]
add ecx, 0x12c
push edx
push 0xfff50000
push ecx
add eax, 0x1fe
push eax
push dword [0x1003dfb4]
call fcn.100039e0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x1003e204]
test ecx, ecx
je 0x10008f39
cmp dword [0x1003dfc4], 0
jne 0x10008d29
push 6
add ecx, 0xfffffffa
mov edx, 0x100083a0
call fcn.10002050
add esp, 4
mov dword [0x1003dfc4], 0x64
cmp byte [0x1003e18b], 0
jne 0x10008d46
mov dword [0x1003e190], 0
mov dword [0x1003e15c], 0
mov eax, dword [0x1003e63c]
cmp dword [eax], 0
jbe 0x10008f39
mov eax, dword [0x1003e1a4]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [0x1003e5fc]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [0x11dd2938]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x18]
lea ecx, [eax + edx]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [0x1003e260]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + ecx]
call fcn.100045d0
test eax, eax
jle 0x10008f39
mov eax, dword [0x1003e25c]
test eax, eax
je 0x10008f40
mov ecx, dword [0x1003e15c]
test ecx, ecx
jne 0x10008dc8
mov eax, dword [eax + 0x11c]
mov dword [0x1003e190], eax
mov dword [0x1003e15c], 0x64
jmp 0x10008dd6
cmp ecx, 0x64
jne 0x10008f40
mov eax, dword [0x1003e190]
test eax, eax
je 0x10008f40
push 0x45
mov dword [0x1003e668], 0x10002400
call fcn.10002400
cwde
shr eax, 0x10
test eax, eax
je 0x10008e21
cmp byte [0x11dd3ce0], 0
je 0x10008e13
cmp dword [0x11dd3ce4], 0
je 0x10008e28
call ebx
cmp dword [0x11dd3ce4], eax
ja 0x10008e28
mov byte [0x11dd3ce0], 1
mov eax, 1
jmp 0x10008e2a
mov byte [0x11dd3ce0], 0
xor eax, eax
test eax, eax
je 0x10008e3f
cmp byte [0x1003e18b], 0
sete al
mov byte [0x1003e18b], al
jmp 0x10008e44
mov al, byte [0x1003e18b]
test al, al
je 0x10008f40
push 0xa2
mov dword [0x1003e668], 0x10002400
call fcn.10002400
cwde
shr eax, 0x10
test eax, eax
je 0x10008e9c
cmp byte [0x11dd3fc8], 0
je 0x10008e87
cmp dword [0x11dd3fcc], 0
je 0x10008ea3
call ebx
mov ecx, dword [0x11dd3fcc]
inc ecx
cmp ecx, eax
ja 0x10008ea3
mov byte [0x11dd3fc8], 1
call ebx
mov dword [0x11dd3fcc], eax
mov eax, 1
jmp 0x10008ea5
mov byte [0x11dd3fc8], 0
xor eax, eax
test eax, eax
je 0x10008eb9
imul eax, dword [0x1003da00], 0xffffe4a0
add dword [0x1003e190], eax
push 0x20
mov dword [0x1003e668], 0x10002400
call fcn.10002400
cwde
shr eax, 0x10
test eax, eax
je 0x10008f06
cmp byte [0x11dd3bb8], 0
je 0x10008ef1
cmp dword [0x11dd3bbc], 0
je 0x10008f0d
call ebx
mov ecx, dword [0x11dd3bbc]
inc ecx
cmp ecx, eax
ja 0x10008f0d
mov byte [0x11dd3bb8], 1
call ebx
mov dword [0x11dd3bbc], eax
mov eax, 1
jmp 0x10008f0f
mov byte [0x11dd3bb8], 0
xor eax, eax
test eax, eax
je 0x10008f40
imul eax, dword [0x1003da00], 0x1b60
add dword [0x1003e190], eax
jmp 0x10008f40
mov dword [0x1003e190], 0
mov dword [0x1003e15c], 0
mov byte [0x1003e18b], 0
cmp dword [0x1003e1ec], 0
je 0x100090a8
mov edi, dword [0x1003dfdc]
test edi, edi
jne 0x10008f9d
mov ecx, 0xc2
xor edx, edx
nop
mov al, byte [edx + 0x100210cc]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x3c], al
and ecx, 0x800000ff
jns 0x10008f7d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x15
jl 0x10008f60
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x27], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea edi, [eax + 0xc15c]
mov dword [0x1003dfdc], edi
cmp dword [0x1003dfc0], 0
jne 0x10008ff1
mov ecx, 0xc2
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x100210cc]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x3c], al
and ecx, 0x800000ff
jns 0x10008fcd
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x15
jl 0x10008fb0
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x27], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, dword [0x1003dfdc]
add eax, 0xc164
mov dword [0x1003dfc0], eax
mov eax, dword [0x1003e63c]
cmp dword [eax], 0
jbe 0x1000907c
push 0x20
mov dword [0x1003e668], 0x10002400
call fcn.10002400
cwde
shr eax, 0x10
test eax, eax
je 0x1000904c
cmp byte [0x11dd3bb8], 0
je 0x10009037
cmp dword [0x11dd3bbc], 0
je 0x10009053
call ebx
mov ecx, dword [0x11dd3bbc]
inc ecx
cmp ecx, eax
ja 0x10009053
mov byte [0x11dd3bb8], 1
call ebx
mov dword [0x11dd3bbc], eax
mov eax, 1
jmp 0x10009055
mov byte [0x11dd3bb8], 0
xor eax, eax
test eax, eax
je 0x10009076
mov eax, dword [0x1003dfc0]
mov edx, 0x10008390
mov ecx, dword [0x1003dfdc]
sub eax, ecx
push eax
call fcn.10002050
add esp, 4
jmp 0x100090a8
mov edi, dword [0x1003dfdc]
cmp byte [edi], 0xe9
jne 0x100090a8
lea eax, [ebp - 0x14]
push eax
push 0x40
push 8
push edi
call esi
push 8
push 0x100210e4
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 8
push edi
call esi
mov eax, dword [0x1003e63c]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x10009116
cmp dword [eax], 0
jbe 0x10009116
mov esi, dword [0x1003e5d0]
test esi, esi
jne 0x10009124
mov eax, dword [0x1003e1b4]
xor edi, edi
mov dword [ebp - 0x18], eax
mov eax, dword [0x1003e18c]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x11dd2710]
mov dword [ebp - 0x14], eax
push 4
push eax
call ebx
test eax, eax
jne 0x10009102
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
add eax, edi
add eax, dword [ebp - 0x18]
cmp dword [eax + ecx], 0x101
cmove esi, edi
mov eax, dword [ebp - 0x14]
inc edi
cmp edi, 0x96
jle 0x100090e0
mov dword [0x1003e5d0], esi
jmp 0x1000911c
mov esi, dword [0x1003e5d0]
test esi, esi
je 0x100094a2
mov eax, dword [0x11dd2710]
mov edi, dword [eax]
mov eax, dword [0x1003e18c]
add edi, dword [eax]
add edi, dword [0x1003e1b4]
add edi, esi
cmp dword [0x1003e198], 0
jne 0x1000918f
cmp dword [0x1003e650], 0
jne 0x10009257
cmp dword [0x1003e5bc], 0
jne 0x1000931f
cmp dword [0x11dd2a68], 0
jne 0x100093e7
push 4
push edi
call ebx
test eax, eax
jne 0x10009182
push 4
push edi
call ebx
test eax, eax
jne 0x10009182
mov dword [edi], 0x101
cmp dword [0x1003e198], 0
je 0x1000924a
mov eax, dword [0x1003e63c]
cmp dword [eax], 0
jbe 0x1000924a
mov eax, dword [0x1003e1a4]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1003e5fc]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [0x11dd2938]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
lea ecx, [eax + edx]
mov dword [ebp - 0x14], ecx
mov eax, dword [0x1003e1a4]
mov esi, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1003e5fc]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [0x11dd2938]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x24]
lea ecx, [eax + edx]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
mov ecx, dword [0x1003e260]
push 4
push edi
mov ecx, dword [eax + ecx]
imul ecx, dword [0x1003e21c]
mov eax, dword [0x1003e1f8]
add ecx, esi
cmp dword [ecx + eax + 0x50], 0
jne 0x10009235
call ebx
test eax, eax
jne 0x1000924a
push 4
push edi
call ebx
test eax, eax
jne 0x1000924a
mov dword [edi], 0x1100
jmp 0x1000924a
call ebx
test eax, eax
jne 0x1000924a
push 4
push edi
call ebx
test eax, eax
jne 0x1000924a
mov dword [edi], 0x101
cmp dword [0x1003e650], 0
je 0x10009312
mov eax, dword [0x1003e63c]
cmp dword [eax], 0
jbe 0x10009312
mov eax, dword [0x1003e1a4]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1003e5fc]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x11dd2938]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
lea ecx, [eax + edx]
mov dword [ebp - 0x24], ecx
mov eax, dword [0x1003e1a4]
mov esi, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1003e5fc]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x11dd2938]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
lea ecx, [eax + edx]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x1003e260]
push 4
push edi
mov ecx, dword [eax + ecx]
imul ecx, dword [0x1003e21c]
mov eax, dword [0x1003e1f8]
add ecx, esi
cmp dword [ecx + eax + 0x50], 0
jne 0x100092fd
call ebx
test eax, eax
jne 0x10009312
push 4
push edi
call ebx
test eax, eax
jne 0x10009312
mov dword [edi], 0x1100
jmp 0x10009312
call ebx
test eax, eax
jne 0x10009312
push 4
push edi
call ebx
test eax, eax
jne 0x10009312
mov dword [edi], 0x101
cmp dword [0x1003e5bc], 0
je 0x100093da
mov eax, dword [0x1003e63c]
cmp dword [eax], 0
jbe 0x100093da
mov eax, dword [0x1003e1a4]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1003e5fc]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x11dd2938]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
lea ecx, [eax + edx]
mov dword [ebp - 0x24], ecx
mov eax, dword [0x1003e1a4]
mov esi, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1003e5fc]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x11dd2938]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
lea ecx, [eax + edx]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [0x1003e260]
push 4
push edi
mov ecx, dword [eax + ecx]
imul ecx, dword [0x1003e21c]
mov eax, dword [0x1003e1f8]
add ecx, esi
cmp dword [ecx + eax + 0x50], 0
jne 0x100093c5
call ebx
test eax, eax
jne 0x100093da
push 4
push edi
call ebx
test eax, eax
jne 0x100093da
mov dword [edi], 0x1100
jmp 0x100093da
call ebx
test eax, eax
jne 0x100093da
push 4
push edi
call ebx
test eax, eax
jne 0x100093da
mov dword [edi], 0x101
cmp dword [0x11dd2a68], 0
je 0x100094a2
mov eax, dword [0x1003e63c]
cmp dword [eax], 0
jbe 0x100094a2
mov eax, dword [0x1003e1a4]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1003e5fc]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x11dd2938]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
lea ecx, [eax + edx]
mov dword [ebp - 0x40], ecx
mov eax, dword [0x1003e1a4]
mov esi, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1003e5fc]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x11dd2938]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
lea ecx, [eax + edx]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [0x1003e260]
push 4
push edi
mov ecx, dword [eax + ecx]
imul ecx, dword [0x1003e21c]
mov eax, dword [0x1003e1f8]
add ecx, esi
cmp dword [ecx + eax + 0x50], 0
jne 0x1000948d
call ebx
test eax, eax
jne 0x100094a2
push 4
push edi
call ebx
test eax, eax
jne 0x100094a2
mov dword [edi], 0x1100
jmp 0x100094a2
call ebx
test eax, eax
jne 0x100094a2
push 4
push edi
call ebx
test eax, eax
jne 0x100094a2
mov dword [edi], 0x101
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001c7f5
mov esp, ebp
pop ebp
ret