Function at 0x1003b260
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c15d
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100a70c0]
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 ebx, ecx
cmp dword [ebx + 8], 0
jne 0x1003b4b8
call fcn.10028d30
lea ecx, [ebp - 0x40]
lea edx, [eax + 0x2bc]
call fcn.1001ba00
cmp dword [eax + 0x14], 7
jbe 0x1003b2b2
mov eax, dword [eax]
push eax
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x2c]
mov dword [ebx + 4], eax
cmp ecx, 7
jbe 0x1003b2fc
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b2f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b50e
push ecx
push edx
call fcn.100635d4
add esp, 8
cmp dword [ebx + 4], 0
je 0x1003b4f0
call fcn.10028d30
lea ecx, [ebp - 0x58]
lea edx, [eax + 0x2d4]
call fcn.1001ba00
mov edi, eax
mov dword [ebp - 4], 0
call fcn.10043f40
mov esi, eax
lea ecx, [ebp - 0x60]
push esi
call fcn.10044530
lea eax, [esi + 0x88]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x40]
call fcn.1001cca0
lea ecx, [ebp - 0x60]
call fcn.10044480
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x28]
call fcn.100265f0
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 0xa00
cmova eax, dword [ebp - 0x28]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov ecx, dword [ebp - 0x14]
mov edi, eax
cmp ecx, 7
jbe 0x1003b3b6
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b3ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b513
push ecx
push edx
call fcn.100635d4
add esp, 8
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp ecx, 7
jbe 0x1003b404
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b3fa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b513
push ecx
push edx
call fcn.100635d4
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x1003b43e
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b434
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b513
push ecx
push edx
call fcn.100635d4
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
test edi, edi
jne 0x1003b467
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 4], edi
jmp 0x1003b4f0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.StartAcc
push edi
call esi
mov dword [ebx + 0xc], eax
test eax, eax
je 0x1003b4bc
push str.StopAcc
push edi
call esi
mov dword [ebx + 0x10], eax
test eax, eax
je 0x1003b4bc
push 0x10099b30
push edi
call esi
push 0x10099b40
push edi
mov dword [ebx + 0x14], eax
call esi
push str.SetExtraConfig
push edi
mov dword [ebx + 0x18], eax
call esi
push dword [ebx + 4]
mov dword [ebx + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [ebx + 8], edi
mov al, 1
jmp 0x1003b4f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push dword [ebx + 4]
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
mov dword [ebx + 4], 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
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.10063277
mov esp, ebp
pop ebp
ret
call fcn.1006dc9f
call fcn.1006dc9f
int3