Function at 0x10008a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1007f3e3
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push edi
mov eax, dword [0x10097060]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [0x10099194]
mov edx, dword [eax + 0xc]
mov ecx, 0x10099194
mov dword [esp + 0x2c], 0
call edx
add eax, 0x10
mov dword [esp + 0x48], eax
mov eax, dword [0x10099194]
mov edx, dword [eax + 0xc]
mov ecx, 0x10099194
call edx
add eax, 0x10
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x104]
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
mov dword [esp + 0x108], 0
call fcn.100082e0
mov eax, dword [esp + 0x2c]
test eax, eax
mov ebx, 1
mov dword [esi + 0x200], ebx
mov dword [esi + 0x4c0], eax
je 0x10008aff
lea edi, [esi + 0x4c8]
lea eax, [esp + 0x4c]
call fcn.100038f0
mov edx, dword [esp + 0x30]
mov dword [esi + 0x4ac], edx
call fcn.10002380
mov dword [esp + 0x18], eax
mov byte [eax + 0x15], bl
mov eax, dword [esp + 0x18]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x18]
mov dword [eax], eax
mov eax, dword [esp + 0x18]
mov dword [eax + 8], eax
mov dword [esp + 0x1c], 0
mov byte [esp + 0xfc], bl
mov eax, dword [esi + 0x18]
cmp eax, 9
ja case.default.0x10008b44
jmp dword [eax*4 + 0x10009190]
cmp dword [esi + 0x4ac], 0
je case.default.0x10008b44
lea eax, [esp + 0x14]
call fcn.10015060
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
lea ebx, [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 4
call fcn.10014f80
lea ebx, [esi + 0x4b4]
mov eax, ebx
call fcn.10014de0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0xb8]
push edx
call fcn.10015090
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x104], 2
call fcn.10014cd0
lea ecx, [esp + 0xb0]
jmp 0x1000910a
cmp dword [esi + 0x4ac], 0
je case.default.0x10008b44
lea eax, [esp + 0x14]
call fcn.10015060
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ebx, [esp + 0x1c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 4
call fcn.10014f80
lea ebx, [esi + 0x4b4]
mov eax, ebx
call fcn.10014de0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0xe8]
push ecx
call fcn.10015090
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x104], 3
call fcn.10014cd0
lea eax, [esp + 0xe0]
push eax
jmp 0x1000910b
cmp dword [esi + 0x4ac], 0
je case.default.0x10008b44
lea eax, [esp + 0x14]
call fcn.10015060
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x24]
push eax
lea ebx, [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 4
call fcn.10014f80
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 4
call fcn.10014f80
lea ebx, [esi + 0x4b4]
mov eax, ebx
call fcn.10014de0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x78]
push eax
call fcn.10015090
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x104], 4
call fcn.10014cd0
lea edx, [esp + 0x70]
push edx
jmp 0x1000910b
cmp dword [esi + 0x4ac], 0
je case.default.0x10008b44
lea eax, [esp + 0x14]
call fcn.10015060
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
lea ebx, [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 4
call fcn.10014f80
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 8
call fcn.10014f80
lea ebx, [esi + 0x4b4]
mov eax, ebx
call fcn.10014de0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x58]
push edx
call fcn.10015090
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x104], 5
call fcn.10014cd0
lea ecx, [esp + 0x50]
jmp 0x1000910a
cmp dword [esi + 0x4ac], 0
je case.default.0x10008b44
lea eax, [esp + 0x14]
call fcn.10015060
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ebx, [esp + 0x1c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 4
call fcn.10014f80
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 4
call fcn.10014f80
lea ebx, [esi + 0x4b4]
mov eax, ebx
call fcn.10014de0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x98]
push ecx
call fcn.10015090
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x104], 6
call fcn.10014cd0
lea eax, [esp + 0x90]
push eax
jmp 0x1000910b
cmp dword [esi + 0x4ac], 0
je case.default.0x10008b44
lea eax, [esp + 0x14]
call fcn.10015060
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x24]
push eax
lea ebx, [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 4
call fcn.10014f80
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 8
call fcn.10014f80
lea ebx, [esi + 0x4b4]
mov eax, ebx
call fcn.10014de0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0xd8]
push eax
call fcn.10015090
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x104], 7
call fcn.10014cd0
lea edx, [esp + 0xd0]
push edx
jmp 0x1000910b
cmp dword [esi + 0x4ac], 0
je case.default.0x10008b44
lea eax, [esp + 0x14]
call fcn.10015060
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
lea ebx, [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 4
call fcn.10014f80
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 8
call fcn.10014f80
lea ebx, [esi + 0x4b4]
mov eax, ebx
call fcn.10014de0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x68]
push edx
call fcn.10015090
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x104], 8
call fcn.10014cd0
lea ecx, [esp + 0x60]
jmp 0x1000910a
cmp dword [esi + 0x4ac], 0
je case.default.0x10008b44
lea eax, [esp + 0x14]
call fcn.10015060
mov edx, dword [esp + 0x3c]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ebx, [esp + 0x1c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 4
call fcn.10014f80
mov edx, dword [esp + 0x38]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 8
call fcn.10014f80
lea ebx, [esi + 0x4b4]
mov eax, ebx
call fcn.10014de0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x88]
push ecx
call fcn.10015090
push eax
lea edx, [esp + 0x24]
push edx
mov byte [esp + 0x104], 9
call fcn.10014cd0
lea eax, [esp + 0x80]
push eax
jmp 0x1000910b
cmp dword [esi + 0x4ac], 0
je case.default.0x10008b44
lea eax, [esp + 0x14]
call fcn.10015060
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x24]
push eax
lea ebx, [esp + 0x1c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 4
call fcn.10014f80
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 4
call fcn.10014f80
lea ebx, [esi + 0x4b4]
mov eax, ebx
call fcn.10014de0
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0xa8]
push eax
call fcn.10015090
push eax
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x104], 0xa
call fcn.10014cd0
lea edx, [esp + 0xa0]
push edx
jmp 0x1000910b
cmp dword [esi + 0x4ac], 0
je case.default.0x10008b44
lea eax, [esp + 0x14]
call fcn.10015060
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
lea ebx, [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 4
call fcn.10014f80
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 4
call fcn.10014f80
lea ebx, [esi + 0x4b4]
mov eax, ebx
call fcn.10014de0
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0xc8]
push edx
call fcn.10015090
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x104], 0xb
call fcn.10014cd0
lea ecx, [esp + 0xc0]
push ecx
mov byte [esp + 0x100], 1
call fcn.10009210
lea eax, [esp + 0x14]
mov byte [esp + 0xfc], 0
call fcn.10015dd0
mov dword [esp + 0xfc], 0xffffffff
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10009154
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10009174
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0xf4
ret 4