Function at 0x10097e50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100efa37
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x1012fdf0]
xor eax, esp
mov dword [esp + 0xec], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1012fdf0]
xor eax, esp
push eax
lea eax, [esp + 0x104]
mov dword fs:[0], eax
mov eax, dword [esp + 0x11c]
mov ebp, dword [esp + 0x114]
mov edi, dword [esp + 0x118]
xor ebx, ebx
mov dword [esp + 0x28], eax
xor eax, eax
xor edx, edx
mov esi, ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
cmp ebp, ebx
je 0x1009840a
push 0xffffffffffffffff
xor ecx, ecx
lea eax, [esi + 0x54]
push ebx
mov word [esp + 0xc0], cx
push eax
lea ecx, [esp + 0xc0]
mov dword [esp + 0xd8], 7
mov dword [esp + 0xd4], ebx
call fcn.1002a740
xor edx, edx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], ebx
mov word [esp + 0x9c], dx
mov byte [esp + 0x10c], 1
cmp ebp, 1
jne 0x10097ff0
lea eax, [esp + 0x3c]
push edi
push eax
call fcn.1008a600
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0xa4]
mov byte [esp + 0x118], 2
call fcn.1002a740
mov ebp, 8
mov byte [esp + 0x10c], 1
cmp dword [esp + 0x54], ebp
jb 0x10097f69
mov ecx, dword [esp + 0x40]
push ecx
call fcn.100b3111
add esp, 4
lea edx, [esp + 0x3c]
push edx
mov ecx, edi
call fcn.100a8ac0
cmp dword [eax + 0x14], ebx
setne bl
cmp dword [esp + 0x54], ebp
jb 0x10097f8e
mov eax, dword [esp + 0x40]
push eax
call fcn.100b3111
add esp, 4
test bl, bl
je 0x10097ff4
lea ecx, [esp + 0x74]
push ecx
mov ecx, edi
call fcn.100a8ac0
push eax
lea edx, [esp + 0x40]
push edx
mov ecx, esi
mov byte [esp + 0x114], 3
call fcn.10087b70
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0xc0]
mov byte [esp + 0x118], 4
call fcn.1002a740
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10c], 3
call fcn.10018940
lea ecx, [esp + 0x74]
mov byte [esp + 0x10c], 1
call fcn.10018940
jmp 0x10097ff4
mov dword [esp + 0x28], ebx
xor ebx, ebx
push ebx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.100a3d20
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add esp, 0xc
mov dword [esp + 0x30], edx
cmp ecx, ebx
je 0x100983ab
cmp ecx, 1
je 0x100983ab
push ebx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x34]
push ecx
call fcn.100a3d20
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add esp, 0xc
mov dword [esp + 0x30], edx
cmp ecx, 3
jne 0x100983ab
lea ecx, [esi + 0x1c]
mov dword [esp + 0x60], ecx
call fcn.10042680
mov eax, dword [esp + 0x28]
mov byte [esp + 0x10c], 5
cmp eax, ebx
je 0x1009806c
mov dword [eax], ebx
lea ecx, [esp + 0x3c]
call fcn.10089630
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x110], 6
call fcn.1008fe40
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov edi, dword [esp + 0x34]
mov byte [esp + 0x10c], 8
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
cmp edi, ebx
je 0x100982a1
xor ecx, ecx
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], ebx
mov word [esp + 0xe4], cx
lea ecx, [esp + 0xe0]
mov byte [esp + 0x10c], 9
call fcn.10077be0
lea edx, [esp + 0xe0]
push edx
push edi
call fcn.100a1140
push ebx
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0xa0]
push ecx
call fcn.100a3d20
mov ecx, dword [eax]
mov edx, dword [eax + 4]
add esp, 0x14
mov dword [esp + 0x68], edx
cmp ecx, 2
jne 0x10098263
mov ecx, dword [esi + 0x70]
mov eax, dword [esi + 0x84]
mov edx, dword [esi + 0x84]
mov edi, dword [esi + 0x70]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0xe0]
push ecx
mov dword [esp + 0x60], eax
mov eax, 0x10081100
push eax
push edx
mov ebp, edx
mov ebp, dword [ebp]
push edi
push ebp
mov ebx, edi
lea edx, [esp + 0x80]
push ebx
push edx
call fcn.1008add0
mov edi, eax
mov eax, dword [edi]
xor ebp, ebp
add esp, 0x1c
cmp eax, ebp
je 0x1009816e
cmp eax, dword [esp + 0x58]
je 0x10098173
call fcn.100b308d
mov eax, dword [esp + 0x5c]
cmp dword [edi + 4], eax
jne 0x10098263
mov edi, 1
mov dword [esp + 0x64], ebp
cmp dword [esp + 0x114], edi
jne 0x100981ce
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0x78]
push edx
call fcn.1008a600
or dword [esp + 0x1c], edi
lea ecx, [esp + 0x6c]
push ecx
lea edx, [esp + 0xa4]
push edx
push eax
mov byte [esp + 0x120], 0xa
call fcn.10091720
add esp, 0x14
test al, al
jne 0x100981ce
xor bl, bl
jmp 0x100981d0
mov bl, 1
test byte [esp + 0x14], 1
mov dword [esp + 0x10c], 9
je 0x100981f0
and dword [esp + 0x14], 0xfffffffe
lea ecx, [esp + 0x74]
call fcn.1002a5c0
test bl, bl
je 0x10098263
lea eax, [esp + 0xe0]
push ebp
push eax
call fcn.100a2bc0
add dword [esp + 0x28], eax
lea ecx, [esp + 0xe8]
push ebp
adc dword [esp + 0x30], edx
push ecx
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], edx
call fcn.100a3090
mov dword [esp + 0xec], edx
add esp, 0x10
lea edx, [esp + 0xd0]
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0xdc], eax
call fcn.10092420
add dword [esp + 0x18], edi
mov eax, dword [esp + 0x28]
adc dword [esp + 0x1c], ebp
cmp eax, ebp
je 0x10098263
mov ecx, dword [esp + 0x64]
cmp ecx, dword [eax]
jb 0x10098263
inc ecx
mov dword [eax], ecx
cmp dword [esp + 0xf8], 8
mov byte [esp + 0x10c], 8
jb 0x10098285
mov eax, dword [esp + 0xe4]
push eax
call fcn.100b3111
add esp, 4
xor ebx, ebx
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.100a4370
mov edi, dword [esp + 0x3c]
add esp, 8
cmp edi, ebx
jne 0x100980b2
mov ebp, dword [esi + 0x84]
mov ebx, dword [esi + 0x70]
lea edi, [esi + 0x70]
lea edx, [esp + 0x3c]
cmp edi, edx
je 0x100982de
cmp dword [esp + 0x54], 0
je 0x100982de
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x3c]
mov edx, dword [eax]
push 0
push dword [esp + 0x58]
push eax
push ecx
push edx
push ecx
lea eax, [esp + 0x54]
push eax
push ebp
push ebx
mov ecx, edi
call fcn.10095060
mov ecx, dword [esp + 0x20]
add dword [esi + 0x90], ecx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x98]
adc dword [esi + 0x94], edx
mov edx, dword [esp + 0x70]
mov esi, dword [esp + 0x70]
mov eax, 8
mov ecx, eax
mov ebp, eax
sub esp, 0x14
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebp
mov ecx, edi
mov dword [eax + 0x10], esi
call fcn.10097750
mov eax, dword [esp + 0x38]
mov byte [esp + 0x10c], 6
test eax, eax
je 0x10098360
mov esi, eax
add eax, 4
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x10098360
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
lea ecx, [esi + 8]
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10098360
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x10c], 5
call fcn.1008f0d0
mov ecx, dword [esp + 0x60]
mov byte [esp + 0x10c], 1
mov eax, 0x80000000
mov edx, ecx
lock xadd dword [edx], eax
test eax, 0x40000000
jne 0x100983ab
cmp eax, 0x80000000
jle 0x100983ab
mov eax, ecx
lock bts dword [eax], 0x1e
jb 0x100983ab
call fcn.100427e0
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov esi, 8
cmp dword [esp + 0xb0], esi
jb 0x100983c9
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.100b3111
add esp, 4
xor edx, edx
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], 0
mov word [esp + 0x9c], dx
cmp dword [esp + 0xcc], esi
jb 0x10098402
mov eax, dword [esp + 0xb8]
push eax
call fcn.100b3111
add esp, 4
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x104]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xec]
xor ecx, esp
call fcn.100b2691
add esp, 0xfc
ret 0xc