Function at 0x821f72
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5d8922
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [0x7626d4]
mov ecx, dword fs:[0x2c]
mov edx, dword [ecx + eax*4]
push ebp
mov ebp, dword [esp + 0x124]
push esi
mov esi, dword [edx + 0xc]
push edi
xor edi, edi
mov eax, 0x75f7e4
lea ecx, [esp + 0x34]
lea edx, [esp + 0x28]
push edi
push esi
mov dword [esp + 0x44], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], edi
call fcn.00781252
add esp, 8
cmp eax, edi
jne 0x82205c
mov edi, dword [ebp + 0x54]
lea eax, [edi + edi*8]
lea ecx, [eax*8 + 4]
push ecx
call fcn.0083d7f2
add esp, 4
mov dword [esp + 0x1c], eax
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x124], ecx
je 0x822032
push 0x43f710
push 0x4a5da0
push edi
mov dword [eax], edi
add eax, 4
push 0x48
push eax
mov dword [esp + 0x20], eax
call fcn.00925dd8
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], edi
jmp 0x822038
mov dword [esp + 0x10], ecx
mov edi, ecx
or eax, 0xffffffff
test edi, edi
mov dword [esp + 0x124], eax
je 0x82242f
mov ecx, dword [ebp]
mov edx, dword [ecx]
push 4
push esi
call dword [edx + 0xac]
test eax, eax
je 0x822077
pop edi
pop esi
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
add esp, 0x11c
ret
mov ecx, dword [ebx]
mov eax, dword [ecx]
push 0x10
call dword [eax + 0x9c]
mov eax, dword [ebx]
mov ecx, dword [ebp]
mov eax, dword [eax + 0x48]
mov edx, dword [ecx]
push eax
call dword [edx + 0xf8]
mov ecx, dword [esi + 0x9a4]
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 4]
mov eax, dword [edi]
test eax, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x130]
je 0x82210f
jmp 0x8220b8
mov ecx, dword [esp + 0x48]
mov ecx, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x48], ecx
mov ecx, dword [edx + 0x4c]
test ecx, ecx
je 0x822105
cmp eax, dword [ebp + 0x148]
jne 0x8220ea
cmp ecx, dword [ebx + 0x14c]
mov dword [esp + 0x20], 1
jne 0x8220ea
or dword [esi + 0x9a4], 0x80000
mov eax, dword [esp + 0x14]
mov edx, dword [edx + 0x4c]
mov ecx, eax
add eax, 0x48
push 0
mov dword [esp + 0x18], eax
mov eax, dword [edi]
push edx
push eax
call fcn.00772c92
mov eax, dword [edi + 4]
add edi, 4
test eax, eax
jne 0x8220b4
mov ecx, dword [esp + 0x140]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], eax
je 0x822219
push 0x28
push 0xa0
call fcn.008415b2
mov edx, dword [esp + 0x144]
mov dword [ebx + 0x1d4], eax
xor eax, eax
mov ecx, 0x1b
lea edi, [esp + 0xb8]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x1a8]
mov ecx, dword [ebx + 0x1a0]
add esp, 8
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], eax
mov ecx, dword [esi + 0x5bc]
push edx
push esi
add ecx, 0x10c
mov edi, 1
call fcn.007f5882
test eax, eax
jne 0x8223e3
mov eax, dword [esp + 0x140]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esi + 0x5bc]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [ecx + 0x1fc]
lea eax, [esp + 0xbc]
push eax
push edx
push esi
call fcn.0080d7d2
add esp, 0x18
test eax, eax
jne 0x8223e3
mov ecx, dword [esp + 0x140]
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.00809a32
add esp, 8
test eax, eax
je 0x8223e3
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x40]
push edx
push 0xffffffffffffffff
push 0
push ecx
push eax
push ebx
push esi
call fcn.00774792
add esp, 0x1c
cmp eax, 0xffffffff
mov dword [ebx + 0x1ec], eax
je 0x8223e3
mov ecx, dword [ebx]
mov edx, dword [ecx]
push 0x1b
call dword [edx + 0xa0]
push 1
push 1
push 0
push ebx
lea eax, [esp + 0x64]
push esi
push eax
call fcn.007c71f2
mov eax, dword [esp + 0x150]
add esp, 0x18
test eax, eax
jne 0x82224f
cmp dword [esp + 0x134], 1
jne 0x82225c
mov ecx, dword [ebp]
mov edx, dword [ecx]
push 0x19
call dword [edx + 0xa0]
lea eax, [esp + 0x54]
push eax
mov dword [esi + 0x12e4], 0
call dword [esp + 0x64]
mov edi, eax
add esp, 4
test edi, edi
jne 0x82234b
lea ebx, [ebx]
mov al, byte [esi + 0x1398]
test al, al
jne 0x82232a
inc dword [esi + 0x12e4]
mov ecx, dword [ebp + 0x148]
test ecx, ecx
je 0x8222b6
mov eax, dword [esp + 0x20]
test eax, eax
je 0x8222b1
mov byte [ebp + 0x147], 1
jmp 0x8222b6
mov edx, dword [ecx]
call dword [edx + 0x34]
mov edi, dword [esp + 0x10]
cmp edi, dword [esp + 0x14]
je 0x8222d4
mov edi, edi
push edi
call dword [edi + 0x40]
mov eax, dword [esp + 0x18]
add edi, 0x48
add esp, 4
cmp edi, eax
jne 0x8222c2
mov ecx, dword [ebp]
mov edx, dword [ebp + 0x44]
mov eax, dword [ecx]
push edx
call dword [eax + 0x40]
mov edi, eax
test edi, edi
je 0x82230e
mov eax, dword [esp + 0x138]
test eax, eax
jne 0x8222fb
cmp dword [esp + 0x134], 1
jne 0x822340
cmp edi, 0x79
je 0x822308
cmp edi, 0x8d
jne 0x822340
inc dword [esp + 0xc]
jmp 0x822312
inc dword [esp + 0x18]
lea eax, [esp + 0x54]
push eax
call dword [esp + 0x64]
mov edi, eax
add esp, 4
test edi, edi
je 0x822282
jmp 0x82234b
push 0
push 0x41d
call fcn.00844652
add esp, 8
mov edi, 1
jmp 0x82234b
mov ecx, dword [ebp]
mov edx, dword [ecx]
push 0
push edi
call dword [edx + 0x14]
lea eax, [esp + 0x54]
push eax
call fcn.007c6ea2
push ebx
call fcn.007e0ba2
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 4]
add esp, 8
push 0x43f710
push ecx
push 0x48
push eax
call fcn.00925d78
mov ecx, dword [ebp]
mov edx, dword [ecx]
call dword [edx + 0xfc]
test eax, eax
je 0x82239c
test edi, edi
jne 0x82239c
call fcn.00844ef2
mov ecx, dword [ebp]
mov eax, dword [eax]
mov edx, dword [ecx]
push edi
push eax
call dword [edx + 0x14]
mov edi, 1
mov ecx, dword [ebp]
mov edx, dword [ecx]
push 0x1a
call dword [edx + 0xa0]
push 1
push esi
call fcn.00781252
lea eax, [esi + 0x11f8]
push eax
push esi
call fcn.00780742
add esp, 0x10
test eax, eax
je 0x8223ca
mov edi, 1
lea ecx, [esi + 0x11e8]
push ecx
push esi
call fcn.00780742
add esp, 8
test eax, eax
je 0x8223e3
mov edi, 1
mov edx, dword [esp + 0x1c]
push ebx
mov dword [esi + 0x9a4], edx
call fcn.007e0ba2
mov eax, dword [esp + 0x148]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14c]
mov dword [eax], ecx
mov eax, dword [esp + 0x10]
add esp, 4
mov dword [edx], eax
mov ecx, dword [ebp]
mov edx, dword [ecx]
push 0
push esi
call dword [edx + 0xac]
test eax, eax
je 0x822427
mov edi, 1
xor eax, eax
test edi, edi
setle al
dec eax
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x11c
ret