Function at 0x1008b0f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10119a54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push esi
call fcn.1007ef50
mov eax, dword [0x1033d36c]
mov edx, dword [eax]
mov ecx, dword [0x1033d36c]
mov eax, dword [edx + 0x30]
call eax
mov dword [ebp - 0x34], eax
mov ecx, dword [0x1033d370]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, dword [0x1033d370]
call dword [ebp - 0x68]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x1008b152
jmp 0x1008b783
mov edx, dword [0x1033d36c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x6c], ecx
lea edx, [ebp - 0x22c]
push edx
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [0x1033d36c]
call dword [ebp - 0x6c]
movzx ecx, al
test ecx, ecx
jne 0x1008b180
jmp 0x1008b783
movzx edx, byte [ebp + 8]
test edx, edx
je 0x1008b4d1
mov ecx, dword [ebp - 0x14]
call fcn.1008dbe0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x70], 0x13a4
lea eax, [ebp - 0x70]
push eax
mov ecx, 0x107d079c
call fcn.1008aae0
mov dword [ebp - 0x28], eax
mov ecx, dword [0x107d2068]
mov edx, dword fs:[0x2c]
mov eax, dword [edx + ecx*4]
mov ecx, dword [0x107c9660]
cmp ecx, dword [eax + 4]
jle 0x1008b20a
push 0x107c9660
call fcn.10116c9b
add esp, 4
cmp dword [0x107c9660], 0xffffffff
jne 0x1008b20a
mov dword [ebp - 4], 0
push 0
mov ecx, 0x107c965c
call fcn.10069260
mov dword [ebp - 4], 0xffffffff
push 0x107c9660
call fcn.10116c51
add esp, 4
mov edx, dword [0x1033d370]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x74], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xc0], esp
mov edx, 4
imul eax, edx, 0
add eax, dword [ebp - 0x18]
push eax
call fcn.100807b0
mov ecx, dword [0x1033d370]
call dword [ebp - 0x74]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x1008b29b
mov ecx, dword [0x1033d370]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x78], eax
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
push 0x107c965c
call fcn.100807b0
mov ecx, dword [0x1033d370]
call dword [ebp - 0x78]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x1008b29b
push 0x107c965c
lea ecx, [ebp - 0x7c]
call fcn.10080790
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x7c]
mov dword [eax + edx], ecx
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp - 0x14]
call fcn.10111020
movzx eax, al
test eax, eax
jne 0x1008b2ef
cmp dword [ebp - 0x10], 0
je 0x1008b2ea
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x34]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x40]
mov eax, dword [edx + 4]
call eax
jmp 0x1008b783
cmp dword [ebp - 0x28], 0
je 0x1008b4cc
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0x54], 0
je 0x1008b4cc
cmp dword [ebp - 0x10], 0
jne 0x1008b4ab
mov edx, dword [0x107d2068]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
mov edx, dword [0x107c9668]
cmp edx, dword [ecx + 4]
jle 0x1008b368
push 0x107c9668
call fcn.10116c9b
add esp, 4
cmp dword [0x107c9668], 0xffffffff
jne 0x1008b368
mov dword [ebp - 4], 1
call fcn.1008d650
mov dword [0x107c9664], eax
mov dword [ebp - 4], 0xffffffff
push 0x107c9668
call fcn.10116c51
add esp, 4
mov eax, dword [0x1033d370]
mov edx, dword [eax]
mov ecx, dword [0x1033d370]
mov eax, dword [edx + 0x18]
call eax
add eax, 1
mov dword [ebp - 0x24], eax
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
and eax, 0x80000fff
jns 0x1008b394
dec eax
or eax, 0xfffff000
inc eax
mov dword [ebp - 0x44], eax
mov ecx, dword [0x107c9664]
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x24]
push eax
call dword [ebp - 0x80]
add esp, 8
mov ecx, dword [0x1033d370]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x84], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [0x1033d370]
call dword [ebp - 0x84]
mov dword [ebp - 0x10], eax
mov edx, dword [0x107d2068]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + edx*4]
mov edx, dword [0x107c9670]
cmp edx, dword [ecx + 4]
jle 0x1008b43e
push 0x107c9670
call fcn.10116c9b
add esp, 4
cmp dword [0x107c9670], 0xffffffff
jne 0x1008b43e
mov dword [ebp - 4], 2
push 0x101a105c
push 0x101a1084
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.1009b540
add esp, 8
mov dword [0x107c966c], eax
mov dword [ebp - 4], 0xffffffff
push 0x107c9670
call fcn.10116c51
add esp, 4
mov eax, dword [0x107c966c]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], ecx
push 0x101a11c4
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x8c]
mov edx, 4
imul eax, edx, 0
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x44]
shl ecx, 0x10
or ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x94]
call fcn.10069260
mov edx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x94]
mov dword [edx], eax
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + edx]
mov dword [0x107c965c], ecx
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x10]
call fcn.1008b7a0
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.1008c5d0
add esp, 0xc
jmp 0x1008b5bf
mov ecx, dword [ebp - 0x14]
call fcn.1008db00
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x1c], 0
jmp 0x1008b4ee
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x48]
lea ecx, [ecx + eax*4]
call fcn.1008b090
movzx edx, al
test edx, edx
je 0x1008b5bf
mov eax, dword [0x1033d370]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x98], edx
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x48]
lea eax, [edx + eax*4]
push eax
call fcn.100807b0
mov ecx, dword [0x1033d370]
call dword [ebp - 0x98]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1008b546
jmp 0x1008b4e5
mov ecx, dword [ebp - 0x2c]
call fcn.10061560
mov ecx, eax
call fcn.10084dd0
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
movsx edx, word [ecx]
push edx
call fcn.1008d6f0
add esp, 4
movzx eax, al
test eax, eax
je 0x1008b577
mov dword [ebp - 0x50], 0x2a
jmp 0x1008b580
mov ecx, dword [ebp - 0x4c]
movsx edx, word [ecx]
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, 0x107d079c
call fcn.1008aae0
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0x224]
push edx
mov eax, dword [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.1008c5d0
add esp, 0xc
jmp 0x1008b4e5
mov ecx, dword [ebp - 0x14]
call fcn.1008dcc0
push eax
lea ecx, [ebp - 0x54]
call fcn.10080790
lea ecx, [ebp - 0x54]
call fcn.1008b090
movzx edx, al
test edx, edx
jne 0x1008b5e4
jmp 0x1008b783
mov eax, dword [0x1033d370]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xa4], edx
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
lea eax, [ebp - 0x54]
push eax
call fcn.100807b0
mov ecx, dword [0x1033d370]
call dword [ebp - 0xa4]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1008b620
jmp 0x1008b783
mov ecx, dword [ebp - 0x30]
call fcn.1008dda0
push eax
lea ecx, [ebp - 0x58]
call fcn.10080790
lea ecx, [ebp - 0x58]
call fcn.1008b090
movzx ecx, al
test ecx, ecx
jne 0x1008b645
jmp 0x1008b783
mov edx, dword [0x1033d370]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xa8], ecx
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
lea edx, [ebp - 0x58]
push edx
call fcn.100807b0
mov ecx, dword [0x1033d370]
call dword [ebp - 0xa8]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x1008b682
jmp 0x1008b783
mov ecx, dword [ebp - 0x20]
call fcn.10061560
mov ecx, eax
call fcn.10084dd0
movsx eax, word [eax]
mov dword [ebp - 0xac], eax
lea ecx, [ebp - 0xac]
push ecx
mov ecx, 0x107d0034
call fcn.1008cdb0
test eax, eax
je 0x1008b783
mov ecx, dword [ebp - 0x20]
call fcn.10061560
mov ecx, eax
call fcn.10084dd0
movsx edx, word [eax]
mov dword [ebp - 0xb0], edx
lea eax, [ebp - 0xb0]
push eax
mov ecx, 0x107d0034
call fcn.1008caa0
mov ecx, dword [eax]
mov dword [ebp - 0xb4], ecx
mov edx, dword [0x107c95e0]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xb8], ecx
mov edx, dword [ebp - 0xb4]
push edx
mov ecx, dword [0x107c95e0]
call dword [ebp - 0xb8]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x30]
call fcn.1008e580
mov ecx, dword [ebp - 0x60]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x20]
call fcn.1008de80
push eax
lea ecx, [ebp - 0x5c]
call fcn.10080790
lea ecx, [ebp - 0x5c]
call fcn.1008b090
movzx edx, al
test edx, edx
jne 0x1008b73a
jmp 0x1008b783
mov eax, dword [0x1033d370]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0xbc], edx
push ecx
mov ecx, esp
mov dword [ebp - 0xd4], esp
lea eax, [ebp - 0x5c]
push eax
call fcn.100807b0
mov ecx, dword [0x1033d370]
call dword [ebp - 0xbc]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x1008b773
jmp 0x1008b783
mov esi, dword [ebp - 0x60]
add esi, 1
mov ecx, dword [ebp - 0x64]
call fcn.1008e660
mov dword [eax], esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret