Function at 0x1003b200
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008c24d
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 0x1003b458
call fcn.10028cd0
lea ecx, [ebp - 0x40]
lea edx, [eax + 0x2bc]
call fcn.1001b990
cmp dword [eax + 0x14], 7
jbe 0x1003b252
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 0x1003b29c
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b292
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b4ae
push ecx
push edx
call fcn.10063674
add esp, 8
cmp dword [ebx + 4], 0
je 0x1003b490
call fcn.10028cd0
lea ecx, [ebp - 0x58]
lea edx, [eax + 0x2d4]
call fcn.1001b990
mov edi, eax
mov dword [ebp - 4], 0
call fcn.10043ee0
mov esi, eax
lea ecx, [ebp - 0x60]
push esi
call fcn.100444d0
lea eax, [esi + 0x88]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x40]
call fcn.1001cc30
lea ecx, [ebp - 0x60]
call fcn.10044420
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 0x1003b356
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b34c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b4b3
push ecx
push edx
call fcn.10063674
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 0x1003b3a4
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b39a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b4b3
push ecx
push edx
call fcn.10063674
add esp, 8
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x1003b3de
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1003b3d4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003b4b3
push ecx
push edx
call fcn.10063674
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 0x1003b407
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 4], edi
jmp 0x1003b490
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.StartAcc
push edi
call esi
mov dword [ebx + 0xc], eax
test eax, eax
je 0x1003b45c
push str.StopAcc
push edi
call esi
mov dword [ebx + 0x10], eax
test eax, eax
je 0x1003b45c
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 0x1003b492
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.10063317
mov esp, ebp
pop ebp
ret
call fcn.1006dd1f
call fcn.1006dd1f
int3