Function at 0x10087550
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010f1b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 0
push eax
push str.StartYear
mov edx, str.Misc
mov ecx, str.._sfall.ini
call fcn.100052a0
mov dword [0x10154e3c], eax
cmp eax, 1
je 0x100875cd
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100875c8
mov ecx, dword [ebp - 0x2c]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
or esi, 0xffffffff
jmp 0x10087601
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
or edx, 0xffffffff
call fcn.10005410
mov dword [ebp - 4], 0xffffffff
mov esi, eax
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100875fc
mov ecx, dword [ebp - 0x2c]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
cmp byte [0x10153f67], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
je 0x10087639
cmp eax, 1
je 0x10087639
push str..ddraw.ini
push 0xffffffffffffffff
mov edx, str.StartYear
mov ecx, str.Misc
call fcn.10005480
mov esi, eax
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
test esi, esi
js 0x10087668
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push 0x4be44c
call edi
lea eax, [ebp - 0x10]
mov dword [0x4be44c], esi
push eax
push dword [ebp - 0x10]
push 4
push 0x4be44c
call edi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 1
push eax
push str.StartMonth
mov edx, str.Misc
mov ecx, str.._sfall.ini
call fcn.100052a0
mov dword [0x10154e3c], eax
cmp eax, 1
je 0x100876ca
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100876c2
mov ecx, dword [ebp - 0x2c]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
or ebx, 0xffffffff
mov dword [ebp - 0x10], ebx
jmp 0x10087701
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
or edx, 0xffffffff
call fcn.10005410
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], ebx
cmp edx, 0x10
jb 0x100876fc
mov ecx, dword [ebp - 0x2c]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
cmp byte [0x10153f67], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
je 0x1008773c
cmp eax, 1
je 0x1008773c
push str..ddraw.ini
push 0xffffffffffffffff
mov edx, str.StartMonth
mov ecx, str.Misc
call fcn.10005480
mov ebx, eax
mov dword [ebp - 0x10], ebx
test ebx, ebx
js 0x10087772
mov eax, 0xb
cmp ebx, eax
cmovg ebx, eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 1
push 0x4be462
mov dword [ebp - 0x10], ebx
call edi
lea eax, [ebp - 0x14]
mov byte [0x4be462], bl
push eax
push dword [ebp - 0x14]
push 1
push 0x4be462
call edi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
mov dword [ebp - 4], 2
push eax
push str.StartDay
mov edx, str.Misc
mov ecx, str.._sfall.ini
call fcn.100052a0
mov dword [0x10154e3c], eax
cmp eax, 1
je 0x100877d1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x100877cc
mov ecx, dword [ebp - 0x2c]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
or ebx, 0xffffffff
jmp 0x10087805
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0x2c]
or edx, 0xffffffff
call fcn.10005410
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x10087800
mov ecx, dword [ebp - 0x2c]
inc edx
push 1
call fcn.1000d8e0
mov eax, dword [0x10154e3c]
cmp byte [0x10153f67], 0
mov byte [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
je 0x1008783d
cmp eax, 1
je 0x1008783d
push str..ddraw.ini
push 0xffffffffffffffff
mov edx, str.StartDay
mov ecx, str.Misc
call fcn.10005480
mov ebx, eax
test ebx, ebx
js 0x10087882
cmp dword [ebp - 0x10], 1
jne 0x10087853
cmp ebx, 0x1c
jle 0x10087853
mov ebx, 0x1c
jmp 0x1008785d
mov eax, 0x1e
cmp ebx, eax
cmovg ebx, eax
lea eax, [ebp - 0x14]
push eax
push 0x40
push 1
push 0x4be436
call edi
lea eax, [ebp - 0x14]
mov byte [0x4be436], bl
push eax
push dword [ebp - 0x14]
push 1
push 0x4be436
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret