Function at 0x10009060
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 0x1001dfd5
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 esi, dword [0x1003e20c]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
test esi, esi
je 0x100090c5
cmp dword [0x11dd2a5c], 0
lea eax, [ebp - 0x14]
push eax
push 0x40
push 1
push esi
je 0x100090b4
call edi
mov byte [esi], 0xc3
jmp 0x100090b9
call edi
mov byte [esi], 0x55
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 1
push esi
call edi
mov esi, dword [0x1003e100]
test esi, esi
je 0x100090f9
cmp dword [0x1003e6ec], 0
lea eax, [ebp - 0x14]
push eax
push 0x40
push 1
push esi
je 0x100090e8
call edi
mov byte [esi], 0xc3
jmp 0x100090ed
call edi
mov byte [esi], 0x55
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 1
push esi
call edi
mov esi, dword [0x1003e640]
test esi, esi
je 0x10009133
cmp dword [0x1003e720], 0
lea eax, [ebp - 0x14]
push eax
push 0x40
push 4
push esi
je 0x1000911f
call edi
mov dword [esi], 0xd45d0ff3
jmp 0x10009127
call edi
mov dword [esi], 0xd05d0ff3
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 4
push esi
call edi
cmp dword [0x1003e178], 0
mov esi, dword [0x1003e0f4]
je 0x10009160
mov eax, dword [0x1003e658]
cmp dword [eax], 0
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push esi
jbe 0x10009169
call edi
push 5
push 0x100211cc
jmp 0x10009172
lea eax, [ebp - 0x14]
push eax
push 0x40
push 5
push esi
call edi
push 5
push 0x100211d4
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 5
push esi
call edi
cmp dword [0x1003e118], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
je 0x100094c6
mov ecx, 0xa2
xor edx, edx
mov al, byte [edx + 0x100211dc]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x3c], al
and ecx, 0x800000ff
jns 0x100091be
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x15
jl 0x100091a1
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 [0x1003e21c], 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 0x10009200
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xc
jl 0x100091e3
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x34]
mov ecx, dword [0x1003e1e4]
mov eax, dword [0x1003e1e0]
add ecx, 0x12c
push edx
push 0xffffff00
push ecx
add eax, 0x1c2
push eax
push dword [0x1003dfb8]
call fcn.10003b00
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
cmp byte [0x1003dfe6], 0
je 0x10009297
mov word [ebp - 0x14], 0x4e4f
mov byte [ebp - 0x12], 0
mov dword [ebp - 4], 1
lea edx, [ebp - 0x14]
mov ecx, dword [0x1003e1e4]
mov eax, dword [0x1003e1e0]
add ecx, 0x12c
push edx
push 0xfff50000
push ecx
add eax, 0x1fe
push eax
push dword [0x1003dfb8]
call fcn.10003b00
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x1003e21c]
test ecx, ecx
je 0x100094da
cmp dword [0x1003dfc8], 0
jne 0x100092ca
push 6
add ecx, 0xfffffffa
mov edx, 0x100088f0
call fcn.10002080
add esp, 4
mov dword [0x1003dfc8], 0x64
cmp byte [0x1003dfe6], 0
jne 0x100092e7
mov dword [0x1003e1a8], 0
mov dword [0x1003e174], 0
mov eax, dword [0x1003e658]
cmp dword [eax], 0
jbe 0x100094da
mov eax, dword [0x1003e1bc]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [0x1003e614]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [0x11dd2968]
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 [0x1003e278]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + ecx]
call fcn.10004b40
test eax, eax
jle 0x100094da
mov eax, dword [0x1003e274]
test eax, eax
je 0x100094e1
mov ecx, dword [0x1003e174]
test ecx, ecx
jne 0x10009369
mov eax, dword [eax + 0x11c]
mov dword [0x1003e1a8], eax
mov dword [0x1003e174], 0x64
jmp 0x10009377
cmp ecx, 0x64
jne 0x100094e1
mov eax, dword [0x1003e1a8]
test eax, eax
je 0x100094e1
push 0x45
mov dword [0x1003e684], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x100093c2
cmp byte [0x11dd3d18], 0
je 0x100093b4
cmp dword [0x11dd3d1c], 0
je 0x100093c9
call ebx
cmp dword [0x11dd3d1c], eax
ja 0x100093c9
mov byte [0x11dd3d18], 1
mov eax, 1
jmp 0x100093cb
mov byte [0x11dd3d18], 0
xor eax, eax
test eax, eax
je 0x100093e0
cmp byte [0x1003dfe6], 0
sete al
mov byte [0x1003dfe6], al
jmp 0x100093e5
mov al, byte [0x1003dfe6]
test al, al
je 0x100094e1
push 0xa2
mov dword [0x1003e684], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000943d
cmp byte [0x11dd4000], 0
je 0x10009428
cmp dword [0x11dd4004], 0
je 0x10009444
call ebx
mov ecx, dword [0x11dd4004]
inc ecx
cmp ecx, eax
ja 0x10009444
mov byte [0x11dd4000], 1
call ebx
mov dword [0x11dd4004], eax
mov eax, 1
jmp 0x10009446
mov byte [0x11dd4000], 0
xor eax, eax
test eax, eax
je 0x1000945a
imul eax, dword [0x1003da00], 0xffffe4a0
add dword [0x1003e1a8], eax
push 0x20
mov dword [0x1003e684], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x100094a7
cmp byte [0x11dd3bf0], 0
je 0x10009492
cmp dword [0x11dd3bf4], 0
je 0x100094ae
call ebx
mov ecx, dword [0x11dd3bf4]
inc ecx
cmp ecx, eax
ja 0x100094ae
mov byte [0x11dd3bf0], 1
call ebx
mov dword [0x11dd3bf4], eax
mov eax, 1
jmp 0x100094b0
mov byte [0x11dd3bf0], 0
xor eax, eax
test eax, eax
je 0x100094e1
imul eax, dword [0x1003da00], 0x1b60
add dword [0x1003e1a8], eax
jmp 0x100094e1
mov dword [0x1003e1a8], 0
mov dword [0x1003e174], 0
mov byte [0x1003dfe6], 0
cmp dword [0x1003e204], 0
je 0x10009648
mov esi, dword [0x1003dfe0]
test esi, esi
jne 0x1000953d
mov ecx, 0xc2
xor edx, edx
nop
mov al, byte [edx + 0x10021204]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x3c], al
and ecx, 0x800000ff
jns 0x1000951d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x15
jl 0x10009500
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x27], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea esi, [eax + 0xc15c]
mov dword [0x1003dfe0], esi
cmp dword [0x1003dfc4], 0
jne 0x10009591
mov ecx, 0xc2
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x10021204]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x3c], al
and ecx, 0x800000ff
jns 0x1000956d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x15
jl 0x10009550
lea eax, [ebp - 0x3c]
mov byte [ebp - 0x27], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [0x1003dfe0]
add eax, 0xc164
mov dword [0x1003dfc4], eax
mov eax, dword [0x1003e658]
cmp dword [eax], 0
jbe 0x1000961c
push 0x20
mov dword [0x1003e684], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x100095ec
cmp byte [0x11dd3bf0], 0
je 0x100095d7
cmp dword [0x11dd3bf4], 0
je 0x100095f3
call ebx
mov ecx, dword [0x11dd3bf4]
inc ecx
cmp ecx, eax
ja 0x100095f3
mov byte [0x11dd3bf0], 1
call ebx
mov dword [0x11dd3bf4], eax
mov eax, 1
jmp 0x100095f5
mov byte [0x11dd3bf0], 0
xor eax, eax
test eax, eax
je 0x10009616
mov eax, dword [0x1003dfc4]
mov edx, 0x100088e0
mov ecx, dword [0x1003dfe0]
sub eax, ecx
push eax
call fcn.10002080
add esp, 4
jmp 0x10009648
mov esi, dword [0x1003dfe0]
cmp byte [esi], 0xe9
jne 0x10009648
lea eax, [ebp - 0x14]
push eax
push 0x40
push 8
push esi
call edi
push 8
push 0x1002121c
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push 8
push esi
call edi
mov eax, dword [0x1003e658]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x100096b6
cmp dword [eax], 0
jbe 0x100096b6
mov esi, dword [0x1003e5e8]
test esi, esi
jne 0x100096c4
mov eax, dword [0x1003e1cc]
xor edi, edi
mov dword [ebp - 0x18], eax
mov eax, dword [0x1003e1a4]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x11dd272c]
mov dword [ebp - 0x14], eax
push 4
push eax
call ebx
test eax, eax
jne 0x100096a2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [eax]
add eax, edi
add eax, dword [ecx]
mov ecx, dword [ebp - 0x18]
cmp dword [eax + ecx], 0x101
cmove esi, edi
mov eax, dword [ebp - 0x14]
inc edi
cmp edi, 0x96
jle 0x10009680
mov dword [0x1003e5e8], esi
jmp 0x100096bc
mov esi, dword [0x1003e5e8]
test esi, esi
je 0x10009a42
mov eax, dword [0x11dd272c]
mov edi, dword [eax]
mov eax, dword [0x1003e1a4]
add edi, dword [eax]
add edi, dword [0x1003e1cc]
add edi, esi
cmp dword [0x1003e1b0], 0
jne 0x1000972f
cmp dword [0x1003e66c], 0
jne 0x100097f7
cmp dword [0x1003e5d4], 0
jne 0x100098bf
cmp dword [0x11dd2a9c], 0
jne 0x10009987
push 4
push edi
call ebx
test eax, eax
jne 0x10009722
push 4
push edi
call ebx
test eax, eax
jne 0x10009722
mov dword [edi], 0x101
cmp dword [0x1003e1b0], 0
je 0x100097ea
mov eax, dword [0x1003e658]
cmp dword [eax], 0
jbe 0x100097ea
mov eax, dword [0x1003e1bc]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1003e614]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [0x11dd2968]
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 [0x1003e1bc]
mov esi, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x1003e614]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [0x11dd2968]
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 [0x1003e278]
push 4
push edi
mov ecx, dword [eax + ecx]
imul ecx, dword [0x1003e234]
mov eax, dword [0x1003e210]
add ecx, esi
cmp dword [ecx + eax + 0x50], 0
jne 0x100097d5
call ebx
test eax, eax
jne 0x100097ea
push 4
push edi
call ebx
test eax, eax
jne 0x100097ea
mov dword [edi], 0x1100
jmp 0x100097ea
call ebx
test eax, eax
jne 0x100097ea
push 4
push edi
call ebx
test eax, eax
jne 0x100097ea
mov dword [edi], 0x101
cmp dword [0x1003e66c], 0
je 0x100098b2
mov eax, dword [0x1003e658]
cmp dword [eax], 0
jbe 0x100098b2
mov eax, dword [0x1003e1bc]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1003e614]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x11dd2968]
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 [0x1003e1bc]
mov esi, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1003e614]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x11dd2968]
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 [0x1003e278]
push 4
push edi
mov ecx, dword [eax + ecx]
imul ecx, dword [0x1003e234]
mov eax, dword [0x1003e210]
add ecx, esi
cmp dword [ecx + eax + 0x50], 0
jne 0x1000989d
call ebx
test eax, eax
jne 0x100098b2
push 4
push edi
call ebx
test eax, eax
jne 0x100098b2
mov dword [edi], 0x1100
jmp 0x100098b2
call ebx
test eax, eax
jne 0x100098b2
push 4
push edi
call ebx
test eax, eax
jne 0x100098b2
mov dword [edi], 0x101
cmp dword [0x1003e5d4], 0
je 0x1000997a
mov eax, dword [0x1003e658]
cmp dword [eax], 0
jbe 0x1000997a
mov eax, dword [0x1003e1bc]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1003e614]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x11dd2968]
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 [0x1003e1bc]
mov esi, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1003e614]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x11dd2968]
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 [0x1003e278]
push 4
push edi
mov ecx, dword [eax + ecx]
imul ecx, dword [0x1003e234]
mov eax, dword [0x1003e210]
add ecx, esi
cmp dword [ecx + eax + 0x50], 0
jne 0x10009965
call ebx
test eax, eax
jne 0x1000997a
push 4
push edi
call ebx
test eax, eax
jne 0x1000997a
mov dword [edi], 0x1100
jmp 0x1000997a
call ebx
test eax, eax
jne 0x1000997a
push 4
push edi
call ebx
test eax, eax
jne 0x1000997a
mov dword [edi], 0x101
cmp dword [0x11dd2a9c], 0
je 0x10009a42
mov eax, dword [0x1003e658]
cmp dword [eax], 0
jbe 0x10009a42
mov eax, dword [0x1003e1bc]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1003e614]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x11dd2968]
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 [0x1003e1bc]
mov esi, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x1003e614]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x11dd2968]
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 [0x1003e278]
push 4
push edi
mov ecx, dword [eax + ecx]
imul ecx, dword [0x1003e234]
mov eax, dword [0x1003e210]
add ecx, esi
cmp dword [ecx + eax + 0x50], 0
jne 0x10009a2d
call ebx
test eax, eax
jne 0x10009a42
push 4
push edi
call ebx
test eax, eax
jne 0x10009a42
mov dword [edi], 0x1100
jmp 0x10009a42
call ebx
test eax, eax
jne 0x10009a42
push 4
push edi
call ebx
test eax, eax
jne 0x10009a42
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.1001d045
mov esp, ebp
pop ebp
ret