Function at 0x1003b230
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c26d
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 0x1003b488
call fcn.10028cf0
lea ecx, [ebp - 0x40]
lea edx, [eax + 0x2bc]
call fcn.1001b990
cmp dword [eax + 0x14], 7
jbe 0x1003b282
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 0x1003b2cc
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b2c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b4de
push ecx
push edx
call fcn.10063694
add esp, 8
cmp dword [ebx + 4], 0
je 0x1003b4c0
call fcn.10028cf0
lea ecx, [ebp - 0x58]
lea edx, [eax + 0x2d4]
call fcn.1001b990
mov edi, eax
mov dword [ebp - 4], 0
call fcn.10043f10
mov esi, eax
lea ecx, [ebp - 0x60]
push esi
call fcn.10044500
lea eax, [esi + 0x88]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x40]
call fcn.1001cc30
lea ecx, [ebp - 0x60]
call fcn.10044450
push edi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
push dword [ebp - 0x5c]
lea ecx, [ebp - 0x28]
call fcn.10026590
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 0x1003b386
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b37c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b4e3
push ecx
push edx
call fcn.10063694
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 0x1003b3d4
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b3ca
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b4e3
push ecx
push edx
call fcn.10063694
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x1003b40e
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b404
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b4e3
push ecx
push edx
call fcn.10063694
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 0x1003b437
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 4], edi
jmp 0x1003b4c0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.StartAcc
push edi
call esi
mov dword [ebx + 0xc], eax
test eax, eax
je 0x1003b48c
push str.StopAcc
push edi
call esi
mov dword [ebx + 0x10], eax
test eax, eax
je 0x1003b48c
push 0x10099ba8
push edi
call esi
push 0x10099bb8
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 0x1003b4c2
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.10063337
mov esp, ebp
pop ebp
ret
call fcn.1006dd3f
call fcn.1006dd3f
int3