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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x2b88
call fcn.037136ca
mov eax, dword [ebp + 0x44]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, ecx
mov dword [eax], 0
mov ecx, esi
mov dword [esp + 0x18], edi
call fcn.036a67a0
mov dword [esp + 0x74], eax
test eax, eax
je 0x36893f9
jmp 0x3688f30
mov eax, dword [esi]
mov ecx, esi
mov edi, dword [edi + 0x138]
mov eax, dword [eax + 0xc]
call eax
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
mov edx, dword [edx + 0xc]
call edx
mov edi, dword [esp + 0x18]
cmp esi, eax
jne 0x3688f6a
mov ecx, dword [edi + 0x138]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
test eax, eax
je 0x3688f6a
mov eax, 1
jmp 0x3688f6c
xor eax, eax
mov ecx, dword [ebp + 0x14]
test al, al
jne 0x3689b56
xor eax, eax
cmp dword [esp + 0x74], 3
je 0x3689a36
mov dword [esp + 0x4fc], eax
lea edx, [esp + 0x1f60]
mov dword [esp + 0x4f8], eax
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x1c]
call eax
mov edx, dword [ebp + 0x18]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x15c], eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x158], ecx
cmp eax, 0xffffffff
je 0x3688fe1
mov ecx, dword [edx + 0x14]
inc eax
cmp ecx, eax
jne 0x3688fe1
mov eax, dword [edx]
lea eax, [eax + ecx*2]
add eax, 0xfffffffe
mov dword [esp + 0x98], eax
mov ax, word [edx + 8]
sub ax, cx
inc ax
jmp 0x3688ff7
mov ecx, dword [edx + 0x14]
mov eax, dword [edx]
lea eax, [eax + ecx*2]
mov dword [esp + 0x98], eax
mov ax, word [edx + 8]
sub ax, cx
add ax, ax
lea edx, [esp + 0x94]
mov word [esp + 0x96], ax
lea ecx, [esp + 0x158]
mov word [esp + 0x94], ax
lea eax, [esp + 0x4f8]
push eax
call fcn.036a6050
mov esi, dword [esp + 0x1f68]
lea eax, [esp + 0x1f6c]
add esp, 4
cmp eax, esi
je 0x3689129
test esi, esi
je 0x3689129
lea eax, [esp + 0x1f0]
mov dword [esp + 0x214], 0
mov dword [esp + 0x208], eax
lea eax, [esp + 0x17]
push ecx
mov dword [esp + 0x220], 0
lea ecx, [esp + 0x1f4]
mov dword [esp + 0x214], 0x1011f690
mov dword [esp + 0x21c], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x214]
mov dword [esp + 0x1f4], 0
push eax
mov dword [esp + 0x1fc], 0xffffffff
movdqu xmmword [esp + 0x200], xmm0
call fcn.037039a0
test al, al
je 0x36890c9
mov eax, dword [esp + 0x200]
inc dword [eax]
mov al, 1
push esi
push 1
push dword [0x1011f2ec]
mov byte [esp + 0x218], al
call dword [0x100f5100]
cmp byte [esp + 0x20c], 0
je 0x3689129
mov esi, dword [esp + 0x208]
mov eax, dword [esi + 0x10]
dec dword [eax]
jne 0x3689129
mov eax, dword [esi + 0x10]
push 0
mov dword [eax], 0
push dword [esi + 8]
call dword [0x100f528c]
cmp dword [esi + 0xc], 0
lea eax, [esi + 0xc]
jle 0x3689129
push eax
call dword [0x100f5290]
mov eax, dword [esi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
mov eax, dword [esp + 0x4f8]
mov ecx, edi
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x4fc]
mov dword [esp + 0x114], eax
lea eax, [esp + 0x110]
push eax
call fcn.0369d850
test eax, eax
jne 0x3689a01
mov ecx, dword [edi + 0x128]
lea edx, [esp + 0x2e0]
push 0
push dword [ebp + 0x28]
mov dword [esp + 0x18], eax
push dword [ebp + 0x1c]
mov dword [esp + 0x2f0], eax
lea eax, [esp + 0x504]
mov dword [esp + 0x2f4], eax
push edx
push dword [ebp + 0xc]
mov dword [esp + 0x2f4], 0x18
lea edx, [esp + 0x24]
mov dword [esp + 0x300], 0x40
mov dword [esp + 0x304], 0
mov dword [esp + 0x308], 0
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x80]
call eax
mov edx, dword [esp + 0x10]
mov esi, eax
test edx, edx
je 0x3689212
cmp edx, 0xffffffff
je 0x3689212
mov ecx, dword [0x1011f340]
push edx
test ecx, ecx
je 0x36891fd
mov eax, dword [ecx + 0x72c]
add ecx, 0x72c
mov eax, dword [eax + 0x24]
call eax
call eax
neg eax
sbb eax, eax
inc eax
jmp 0x3689203
call dword [0x100f5250]
mov edx, dword [esp + 0x10]
xor ecx, ecx
test eax, eax
cmovne edx, ecx
mov dword [esp + 0x10], edx
test esi, esi
je 0x36898b0
cmp esi, 0xc0000034
je 0x3689391
cmp esi, 0xc000003a
je 0x3689391
test edx, edx
je 0x3689275
cmp edx, 0xffffffff
je 0x3689275
mov ecx, dword [0x1011f340]
push edx
test ecx, ecx
je 0x3689260
mov eax, dword [ecx + 0x72c]
add ecx, 0x72c
mov eax, dword [eax + 0x24]
call eax
call eax
neg eax
sbb eax, eax
inc eax
jmp 0x3689266
call dword [0x100f5250]
mov ecx, dword [esp + 0x10]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x4fc]
lea eax, [esp + 0x500]
cmp eax, esi
je 0x3689379
test esi, esi
je 0x3689379
lea eax, [esp + 0x220]
mov dword [esp + 0x244], 0
mov dword [esp + 0x238], eax
lea eax, [esp + 0x8f]
push ecx
mov dword [esp + 0x250], 0
lea ecx, [esp + 0x224]
mov dword [esp + 0x244], 0x1011f690
mov dword [esp + 0x24c], 0x1011f68c
movdqa xmm0, xmmword [esp + 0x244]
mov dword [esp + 0x224], 0
push eax
mov dword [esp + 0x22c], 0xffffffff
movdqu xmmword [esp + 0x230], xmm0
call fcn.037039a0
test al, al
je 0x3689319
mov eax, dword [esp + 0x230]
inc dword [eax]
mov al, 1
push esi
push 1
push dword [0x1011f2ec]
mov byte [esp + 0x248], al
call dword [0x100f5100]
cmp byte [esp + 0x23c], 0
je 0x3689379
mov esi, dword [esp + 0x238]
mov eax, dword [esi + 0x10]
dec dword [eax]
jne 0x3689379
mov eax, dword [esi + 0x10]
push 0
mov dword [eax], 0
push dword [esi + 8]
call dword [0x100f528c]
cmp dword [esi + 0xc], 0
lea eax, [esi + 0xc]
jle 0x3689379
push eax
call dword [0x100f5290]
mov eax, dword [esi + 0x14]
push 0
push 1
push eax
call dword [0x100f5288]
mov esi, dword [ebp + 0x14]
mov ecx, esi
call fcn.036a67a0
mov dword [esp + 0x74], eax
test eax, eax
jne 0x3688f30
jmp 0x36893f9
mov ecx, dword [edi + 0x128]
lea edx, [esp + 0x38]
push 0
push dword [ebp + 0x28]
mov dword [esp + 0x40], 0
push dword [ebp + 0x1c]
mov eax, dword [ecx]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
mov eax, dword [eax + 0x80]
push edx
call eax
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.0362f180
cmp dword [esp + 0x74], 1
jne 0x3689472
test esi, esi
jne 0x3689455
lea ecx, [esp + 0x10]
call fcn.0362f180
mov ecx, dword [esp + 0x4fc]
lea eax, [esp + 0x500]
cmp eax, ecx
je 0x36893f6
call fcn.03707920
mov esi, dword [ebp + 0x14]
cmp dword [edi + 0x130], 1
jne 0x368b8f3
mov eax, dword [ebp + 0x30]
mov ecx, eax
and ecx, 1
mov dword [esp + 0x24], ecx
je 0x3689418
test al, 0x40
jne 0x368943b
mov edx, eax
and edx, 0x10
mov dword [esp + 0x88], edx
jne 0x368942e
test al, 0x20
je 0x368a449
test dword [ebp + 0xc], 0x100000
jne 0x368a449
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc000000d
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x40
cmp esi, 0xc0000034
je 0x3689769
cmp esi, 0xc000003a
je 0x3689769
jmp 0x368999b
test esi, esi
jne 0x3689755
test dword [ebp + 0xc], 0x52010102
je 0x36893d6
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x2370]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [ebp + 0x18]
mov edx, dword [eax]
mov dword [esp + 0x1e8], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x1ec], eax
lea eax, [esp + 0x448]
push eax
call fcn.03681fe0
push eax
lea eax, [esp + 0x1ec]
mov ecx, edi
push eax
call fcn.0369d460
mov ecx, dword [esp + 0x2374]
lea eax, [esp + 0x2378]
cmp eax, ecx
je 0x36894e3
call fcn.03707920
push dword [ebp + 0x38]
mov ecx, dword [edi + 0x128]
lea eax, [esp + 0x4fc]
push dword [ebp + 0x34]
mov dword [esp + 0x290], eax
mov eax, dword [ebp + 0x30]
or eax, 0x20
mov dword [esp + 0x288], 0x18
push eax
push 5
push dword [ebp + 0x28]
lea eax, [esp + 0x294]
mov dword [esp + 0x298], 0
push dword [ebp + 0x24]
mov dword [esp + 0x2a4], 0x40
push dword [ebp + 0x20]
mov dword [esp + 0x2ac], 0
push dword [ebp + 0x1c]
mov dword [esp + 0x2b4], 0
mov edx, dword [ecx]
push eax
push 0x100082
push dword [ebp + 8]
mov eax, dword [edx + 0x84]
mov dword [esp + 0x4c], 0
call eax
test eax, eax
je 0x368958b
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x20]
call fcn.0362f180
jmp 0x36899a9
mov eax, dword [ebp + 0x2c]
cmp eax, 1
je 0x368959c
cmp eax, 3
jne 0x3689631
mov esi, dword [edi + 0x128]
lea eax, [esp + 0x3d0]
push 0x100f7c80
push eax
call dword [0x1011f448]
lea eax, [esp + 0x3d0]
mov dword [esp + 0x310], 0x18
mov dword [esp + 0x318], eax
lea ecx, [esp + 0x4d0]
mov dword [esp + 0x314], 0
mov dword [esp + 0x31c], 0x40
mov dword [esp + 0x320], 0
mov dword [esp + 0x324], 0
mov eax, dword [esi]
push ecx
lea ecx, [esp + 0x314]
push ecx
mov eax, dword [eax + 0xc0]
mov ecx, esi
call eax
test eax, eax
jne 0x3689631
test dword [esp + 0x4f0], 0x10
jne 0x3689631
mov ecx, dword [ebp + 0x10]
xor edx, edx
call fcn.036a6610
lea ecx, [esp + 0x20]
call fcn.0362f180
push dword [ebp + 0x30]
mov ecx, dword [edi + 0x128]
lea eax, [esp + 0x4fc]
push dword [ebp + 0x28]
mov esi, dword [ebp + 8]
lea edx, [esp + 0x2b8]
push dword [ebp + 0x1c]
mov dword [esp + 0x2c4], eax
mov dword [esp + 0x2bc], 0x18
mov dword [esp + 0x2c0], 0
mov dword [esp + 0x2c8], 0x40
mov dword [esp + 0x2cc], 0
mov dword [esp + 0x2d0], 0
mov eax, dword [ecx]
push edx
push dword [ebp + 0xc]
mov eax, dword [eax + 0x80]
push esi
call eax
test eax, eax
je 0x36896c7
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x20]
call fcn.0362f180
jmp 0x36899a9
xor eax, eax
mov dword [esp + 0x1744], 0
mov dword [esp + 0x1740], eax
mov ecx, edi
lea eax, [esp + 0x1740]
push eax
push dword [ebp + 0x10]
call fcn.036975d0
test eax, eax
je 0x368971e
lea eax, [esp + 0x1740]
push eax
push esi
lea eax, [esp + 0xf0]
push eax
lea ecx, [edi + 0xfc]
call fcn.03629560
mov eax, dword [esp + 0xe8]
test eax, eax
je 0x368971e
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 0x40]
mov ecx, dword [esp + 0x1744]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0
lea eax, [esp + 0x1748]
cmp eax, ecx
je 0x3689747
call fcn.03707920
lea ecx, [esp + 0x20]
call fcn.0362f180
jmp 0x36899a9
cmp esi, 0xc0000034
je 0x3689769
cmp esi, 0xc000003a
jne 0x368999b
mov ecx, dword [ebp + 0x14]
lea edx, [esp + 0x2780]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [eax]
mov dword [esp + 0x1d0], ecx
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0x1d4], eax
lea eax, [esp + 0x438]
push eax
call fcn.03681fe0
push eax
lea eax, [esp + 0x1d4]
mov ecx, edi
push eax
call fcn.0369d460
mov ecx, dword [esp + 0x2784]
lea eax, [esp + 0x2788]
cmp eax, ecx
je 0x36897c5
call fcn.03707920
push dword [ebp + 0x38]
mov ecx, dword [edi + 0x128]
lea eax, [esp + 0x4fc]
push dword [ebp + 0x34]
lea edx, [esp + 0x378]
mov dword [esp + 0x380], eax
push dword [ebp + 0x30]
mov dword [esp + 0x37c], 0x18
push dword [ebp + 0x2c]
mov dword [esp + 0x384], 0
push dword [ebp + 0x28]
mov dword [esp + 0x390], 0x40
push dword [ebp + 0x24]
mov dword [esp + 0x398], 0
push dword [ebp + 0x20]
mov dword [esp + 0x3a0], 0
push dword [ebp + 0x1c]
mov eax, dword [ecx]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [eax + 0x84]
call eax
mov esi, eax
test esi, esi
jne 0x368999b
mov dword [esp + 0x1b54], eax
mov ecx, edi
mov dword [esp + 0x1b50], eax
lea eax, [esp + 0x1b50]
push eax
push dword [ebp + 0x10]
call fcn.036975d0
test eax, eax
je 0x368989d
lea eax, [esp + 0x1b50]
push eax
push dword [ebp + 8]
lea eax, [esp + 0xfc]
push eax
lea ecx, [edi + 0xfc]
call fcn.03629560
mov eax, dword [esp + 0xf4]
test eax, eax
je 0x368989d
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ecx, dword [esp + 0x1b54]
lea eax, [esp + 0x1b58]
jmp 0x3689992
push dword [ebp + 0x38]
mov ecx, dword [edi + 0x128]
lea eax, [esp + 0x4fc]
push dword [ebp + 0x34]
lea edx, [esp + 0x258]
mov dword [esp + 0x260], eax
push dword [ebp + 0x30]
mov dword [esp + 0x25c], 0x18
push dword [ebp + 0x2c]
mov dword [esp + 0x264], 0
push dword [ebp + 0x28]
mov dword [esp + 0x270], 0x40
push dword [ebp + 0x24]
mov dword [esp + 0x278], 0
push dword [ebp + 0x20]
mov dword [esp + 0x280], 0
push dword [ebp + 0x1c]
mov eax, dword [ecx]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [eax + 0x84]
call eax
mov esi, eax
test esi, esi
jne 0x368999b
mov dword [esp + 0x153c], eax
mov ecx, edi
mov dword [esp + 0x1538], eax
lea eax, [esp + 0x1538]
push eax
push dword [ebp + 0x10]
call fcn.036975d0
test eax, eax
je 0x3689984
lea eax, [esp + 0x1538]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x90]
push eax
lea ecx, [edi + 0xfc]
call fcn.03629560
mov eax, dword [esp + 0x88]
test eax, eax
je 0x3689984
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ecx, dword [esp + 0x153c]
lea eax, [esp + 0x1540]
cmp eax, ecx
je 0x368999b
call fcn.03707920
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x3689a13
cmp eax, 0xffffffff
je 0x3689a13
mov ecx, dword [0x1011f340]
push eax
test ecx, ecx
je 0x36899ea
mov eax, dword [ecx + 0x72c]
add ecx, 0x72c
mov eax, dword [eax + 0x24]
call eax
call eax
mov ecx, dword [esp + 0x10]
neg eax
sbb eax, eax
xor edx, edx
inc eax
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x10], ecx
jmp 0x3689a13
call dword [0x100f5250]
mov ecx, dword [esp + 0x10]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x10], ecx
jmp 0x3689a13
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000034
mov ecx, dword [esp + 0x4fc]
lea eax, [esp + 0x500]
cmp eax, ecx
je 0x368b8fc
call fcn.03707920
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x40
mov dword [esp + 0x1948], eax
lea edx, [esp + 0x2168]
mov eax, dword [ecx]
push edx
mov dword [esp + 0x1950], 0
mov eax, dword [eax + 0x1c]
call eax
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x1dc], eax
lea eax, [esp + 0x1948]
push eax
lea eax, [esp + 0x41c]
mov dword [esp + 0x1dc], ecx
mov ecx, dword [ebp + 0x18]
push eax
call fcn.03681fe0
mov edx, eax
lea ecx, [esp + 0x1dc]
call fcn.036a6050
mov ecx, dword [esp + 0x2170]
lea eax, [esp + 0x2174]
add esp, 4
cmp eax, ecx
je 0x3689aaa
call fcn.03707920
push dword [ebp + 0x38]
mov ecx, dword [edi + 0x128]
lea eax, [esp + 0x194c]
push dword [ebp + 0x34]
lea edx, [esp + 0x348]
mov dword [esp + 0x350], eax
push dword [ebp + 0x30]
mov dword [esp + 0x34c], 0x18
push dword [ebp + 0x2c]
mov dword [esp + 0x354], 0
push dword [ebp + 0x28]
mov dword [esp + 0x360], 0x40
push dword [ebp + 0x24]
mov dword [esp + 0x368], 0
push dword [ebp + 0x20]
mov dword [esp + 0x370], 0
push dword [ebp + 0x1c]
mov eax, dword [ecx]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [eax + 0x84]
call eax
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea eax, [esp + 0x1950]
mov ecx, dword [esp + 0x194c]
cmp eax, ecx
je 0x368b8fc
call fcn.03707920
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x40
mov eax, dword [ecx]
lea edx, [esp + 0x1330]
push edx
call dword [eax + 0x1c]
mov esi, dword [ebp + 0x18]
xor eax, eax
mov dword [esp + 0xd18], eax
mov dword [esp + 0xd1c], 0
movzx eax, word [esi + 8]
mov ecx, dword [esi]
add eax, eax
mov word [esp + 0x1c8], ax
mov word [esp + 0x1ca], ax
mov eax, dword [esp + 0x1c8]
mov dword [esp + 0x1a8], eax
lea eax, [esp + 0x1a8]
mov dword [esp + 0x1ac], ecx
lea ecx, [esp + 0x1128]
push eax
call fcn.036c0140
xor eax, eax
mov dword [esp + 0x704], 0
mov dword [esp + 0x700], eax
lea eax, [esp + 0x1330]
push eax
push ecx
lea ecx, [esp + 0x1130]
call fcn.036c0600
test eax, eax
jne 0x3689c8f
movzx eax, word [esi + 8]
mov ecx, dword [esi]
add eax, eax
mov word [esp + 0x130], ax
mov word [esp + 0x132], ax
mov eax, dword [esp + 0x130]
mov dword [esp + 0x190], eax
lea eax, [esp + 0xd18]
push eax
lea eax, [esp + 0x194]
mov dword [esp + 0x198], ecx
push eax
mov ecx, edi
call fcn.03683ea0
xor eax, eax
mov dword [esp + 0x1d5c], 0
mov dword [esp + 0x1d58], eax
lea edx, [esp + 0xd18]
lea eax, [esp + 0x1d58]
push eax
lea ecx, [esp + 0x1334]
call fcn.036a6050
add esp, 4
lea eax, [esp + 0x1d58]
lea ecx, [esp + 0x700]
push eax
call fcn.036c02e0
mov ecx, dword [esp + 0x1d5c]
lea eax, [esp + 0x1d60]
cmp eax, ecx
je 0x3689ca3
call fcn.03707920
jmp 0x3689ca3
lea eax, [esp + 0x1128]
push eax
lea ecx, [esp + 0x704]
call fcn.036c02e0
movzx eax, word [esi + 8]
lea edx, [esp + 0x1c0]
mov ecx, dword [esi]
add eax, eax
mov word [esp + 0x140], ax
mov word [esp + 0x142], ax
mov eax, dword [esp + 0x140]
mov dword [esp + 0x1c4], ecx
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x1c0], eax
call fcn.036a5620
mov dword [esp + 0x20], eax
test eax, eax
jne 0x3689d28
movzx ecx, word [esi + 8]
mov edx, dword [esi]
add ecx, ecx
mov word [esp + 0x150], cx
mov word [esp + 0x152], cx
lea ecx, [esp + 0x1a0]
mov eax, dword [esp + 0x150]
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1a4], edx
call fcn.036a54f0
test eax, eax
jne 0x3689d28
xor esi, esi
jmp 0x3689d2d
mov esi, 1
mov ecx, dword [edi + 0xc]
lea edx, [esp + 0x700]
call fcn.036a5620
mov edx, dword [ebp + 0x2c]
mov ecx, eax
mov eax, dword [esp + 0x74]
cmp eax, 3
jne 0x3689eae
test ecx, ecx
jne 0x3689d70
test esi, esi
je 0x3689d70
lea eax, [esp + 0xd18]
mov ecx, edi
push eax
lea eax, [esp + 0x1334]
push eax
call fcn.0369d460
mov edx, dword [ebp + 0x2c]
push dword [ebp + 0x38]
mov ecx, dword [edi + 0x128]
lea eax, [esp + 0x704]
push dword [ebp + 0x34]
mov dword [esp + 0x278], eax
push dword [ebp + 0x30]
mov dword [esp + 0x274], 0x18
push edx
push dword [ebp + 0x28]
lea edx, [esp + 0x27c]
mov dword [esp + 0x280], 0
push dword [ebp + 0x24]
mov dword [esp + 0x28c], 0x40
push dword [ebp + 0x20]
mov dword [esp + 0x294], 0
push dword [ebp + 0x1c]
mov dword [esp + 0x29c], 0
mov eax, dword [ecx]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [eax + 0x84]
call eax
mov ecx, dword [0x1011f360]
mov esi, eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xf8]
call edx
test eax, eax
je 0x368a3a6
mov ecx, dword [esp + 0x700]
mov eax, dword [esp + 0x704]
push 0x10102b84
push ecx
push esi
push ecx
push 0x10108f0c
push ecx
mov dword [esp + 0x17c], eax
lea eax, [esp + 0x178]
push eax
push ecx
push 0x10108f00
push ecx
push 0x10108eb8
push ecx
push 0x10108ea8
push 0x100f7c84
mov dword [esp + 0x198], ecx
lea ecx, [esp + 0x424]
push 2
call fcn.0363b9e0
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c140
add esp, 4
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c1b0
add esp, 4
mov ecx, eax
call fcn.0363c0c0
lea ecx, [esp + 0x3ec]
call fcn.0363bfe0
jmp 0x368a3a6
cmp eax, 1
jne 0x368a06c
cmp dword [esp + 0x20], 0
je 0x3689ecf
test ecx, ecx
jne 0x3689ecf
mov byte [esp + 0x17], cl
lea eax, [esp + 0x1128]
jmp 0x3689efd
mov byte [esp + 0x17], 1
test ecx, ecx
jne 0x3689ef6
test esi, esi
je 0x3689ef6
lea eax, [esp + 0xd18]
mov ecx, edi
push eax
lea eax, [esp + 0x1334]
push eax
call fcn.0369d460
mov edx, dword [ebp + 0x2c]
lea eax, [esp + 0x700]
push dword [ebp + 0x38]
mov ecx, dword [edi + 0x128]
push dword [ebp + 0x34]
mov dword [esp + 0x2a8], eax
push dword [ebp + 0x30]
mov dword [esp + 0x2a4], 0x18
push edx
push dword [ebp + 0x28]
lea edx, [esp + 0x2ac]
mov dword [esp + 0x2b0], 0
push dword [ebp + 0x24]
mov dword [esp + 0x2bc], 0x40
push dword [ebp + 0x20]
mov dword [esp + 0x2c4], 0
push dword [ebp + 0x1c]
mov dword [esp + 0x2cc], 0
mov eax, dword [ecx]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [eax + 0x84]
call eax
mov ecx, dword [0x1011f360]
mov esi, eax
mov dword [esp + 0x20], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0xf8]
call eax
test eax, eax
je 0x368a3a6
cmp byte [esp + 0x17], 0
lea eax, [esp + 0x1128]
push 0x10102b84
push ecx
push dword [esp + 0x28]
lea esi, [esp + 0x70c]
lea ecx, [esp + 0x434]
cmove esi, eax
call fcn.0363c230
push eax
movzx eax, byte [esp + 0x23]
push ecx
push 0x10108f28
push ecx
push esi
push ecx
push 0x10108f00
push ecx
push eax
push ecx
push 0x10108f18
push ecx
push 0x10108eb8
push ecx
push 0x10108ea8
push 0x100f7c84
push 2
lea ecx, [esp + 0x450]
call fcn.0363b9e0
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c1b0
add esp, 4
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c140
add esp, 4
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c1f0
add esp, 4
mov ecx, eax
call fcn.0363c0c0
lea ecx, [esp + 0x404]
call fcn.0363bfe0
lea ecx, [esp + 0x428]
call fcn.03624240
mov esi, dword [esp + 0x20]
jmp 0x368a3a6
cmp eax, 2
jne 0x368a39f
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x18]
and eax, 0x52010102
neg eax
sbb eax, eax
neg eax
jne 0x368a09d
test ecx, ecx
jne 0x368a09d
mov dword [esp + 0x38], ecx
lea eax, [esp + 0x1128]
jmp 0x368a25b
mov dword [esp + 0x38], 1
test eax, eax
je 0x368a0bd
test ecx, ecx
jne 0x368a0bd
cmp dword [esp + 0x20], ecx
je 0x368a0bd
mov dword [esp + 0x20], 1
jmp 0x368a0cd
mov dword [esp + 0x20], 0
test ecx, ecx
jne 0x368a251
test esi, esi
je 0x368a0e8
lea eax, [esp + 0xd18]
mov ecx, edi
push eax
lea eax, [esp + 0x1334]
push eax
call fcn.0369d460
cmp dword [esp + 0x20], 0
je 0x368a251
push dword [ebp + 0x38]
mov ecx, dword [edi + 0x128]
lea eax, [esp + 0x704]
push dword [ebp + 0x34]
mov dword [esp + 0x2d8], eax
mov eax, dword [ebp + 0x30]
or eax, 0x20
mov dword [esp + 0x2c], 0
push eax
push 2
push dword [ebp + 0x28]
lea eax, [esp + 0x2dc]
mov dword [esp + 0x2dc], 0x18
push dword [ebp + 0x24]
mov dword [esp + 0x2e4], 0
push dword [ebp + 0x20]
mov dword [esp + 0x2f0], 0x40
push dword [ebp + 0x1c]
mov dword [esp + 0x2f8], 0
push eax
mov dword [esp + 0x300], 0
lea eax, [esp + 0x48]
mov edx, dword [ecx]
push 0x100082
push eax
mov eax, dword [edx + 0x84]
call eax
test eax, eax
je 0x368a19d
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x24]
call fcn.0362f180
jmp 0x368a3e1
mov eax, dword [ebp + 0x2c]
cmp eax, 1
je 0x368a1ae
cmp eax, 3
jne 0x368a248
mov esi, dword [edi + 0x128]
lea eax, [esp + 0xec]
push 0x100f7c80
push eax
call dword [0x1011f448]
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x480]
mov dword [esp + 0x2fc], eax
lea eax, [esp + 0xec]
mov dword [esp + 0x300], eax
mov dword [esp + 0x2f8], 0x18
mov dword [esp + 0x304], 0x40
mov dword [esp + 0x308], 0
mov dword [esp + 0x30c], 0
mov eax, dword [esi]
push ecx
lea ecx, [esp + 0x2fc]
push ecx
mov eax, dword [eax + 0xc0]
mov ecx, esi
call eax
test eax, eax
jne 0x368a248
mov eax, dword [esp + 0x4a0]
shr eax, 4
not al
test al, 1
je 0x368a248
mov edx, dword [esp + 0x24]
mov ecx, dword [ebp + 0x10]
call fcn.036a6610
lea ecx, [esp + 0x24]
call fcn.0362f180
mov edx, dword [ebp + 0x2c]
lea eax, [esp + 0x700]
push dword [ebp + 0x38]
mov ecx, dword [edi + 0x128]
push dword [ebp + 0x34]
mov dword [esp + 0x338], eax
push dword [ebp + 0x30]
mov dword [esp + 0x334], 0x18
push edx
push dword [ebp + 0x28]
lea edx, [esp + 0x33c]
mov dword [esp + 0x340], 0
push dword [ebp + 0x24]
mov dword [esp + 0x34c], 0x40
push dword [ebp + 0x20]
mov dword [esp + 0x354], 0
push dword [ebp + 0x1c]
mov dword [esp + 0x35c], 0
mov eax, dword [ecx]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov eax, dword [eax + 0x84]
call eax
mov ecx, dword [0x1011f360]
mov esi, eax
mov eax, dword [ecx]
mov eax, dword [eax + 0xf8]
call eax
test eax, eax
je 0x368a3a6
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x1128]
push 0x10102b84
push ecx
push esi
push ecx
push 0x10108f0c
push ecx
test ecx, ecx
lea eax, [esp + 0x718]
cmove eax, edx
push eax
push ecx
push 0x10108f00
push ecx
push ecx
push ecx
push 0x10108f18
push ecx
push 0x10108eb8
push ecx
push 0x10108ea8
push 0x100f7c84
push 2
lea ecx, [esp + 0x444]
call fcn.0363b9e0
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c1b0
add esp, 4
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c140
add esp, 4
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c1b0
add esp, 4
mov ecx, eax
call fcn.0363c0c0
lea ecx, [esp + 0x3f8]
call fcn.0363bfe0
jmp 0x368a3a6
mov esi, dword [esp + 0xb0]
lea eax, [esp + 0x700]
mov ecx, edi
push eax
call fcn.0369d850
test esi, esi
jne 0x368a3d3
test eax, eax
je 0x368a3d3
mov eax, dword [ebp + 0x2c]
test al, 6
je 0x368a3d3
lea eax, [esp + 0x700]
mov ecx, edi
push eax
call fcn.0369d9a0
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], esi
mov ecx, dword [esp + 0x704]
lea eax, [esp + 0x708]
cmp eax, ecx
je 0x368a3f8
call fcn.03707920
mov ecx, dword [esp + 0x112c]
lea eax, [esp + 0x1130]
cmp eax, ecx
je 0x368a40f
call fcn.03707920
mov ecx, dword [esp + 0xd1c]
lea eax, [esp + 0xd20]
cmp eax, ecx
je 0x368a426
call fcn.03707920
mov ecx, dword [esp + 0x1334]
lea eax, [esp + 0x1338]
cmp eax, ecx
je 0x368b8fc
call fcn.03707920
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x40
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x368a477
cmp eax, 2
je 0x368a46d
cmp eax, 1
je 0x368a46d
cmp eax, 3
je 0x368a46d
cmp eax, 4
je 0x368a477
cmp eax, 5
jne 0x368943b
cmp eax, 4
je 0x368a477
cmp eax, 5
jne 0x368a47f
test ecx, ecx
jne 0x368943b
mov edi, esi
mov dword [esp + 0xa8], edi
test esi, esi
je 0x368a492
mov eax, dword [esi]
push esi
call dword [eax + 4]
xor eax, eax
mov dword [esp + 0x78], 0
xor esi, esi
mov dword [esp + 0x7c], 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0xb14], eax
mov dword [esp + 0xb10], eax
mov dword [esp + 0x90c], eax
mov dword [esp + 0x908], eax
call fcn.03682220
mov eax, dword [esp + 0xf0]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x10], 1
mov dword [esp + 0x38], eax
mov esi, dword [ebp + 0x18]
lea eax, [esp + 0x58]
push eax
mov ecx, esi
call fcn.03681ed0
test eax, eax
je 0x368abb7
cmp dword [esp + 0x58], 0
je 0x368a626
lea ecx, [esp + 0x5c]
call fcn.036a64a0
test eax, eax
je 0x368a566
push dword [esp + 0x60]
lea ecx, [esp + 0x90c]
mov dword [esp + 0x14], 1
push dword [esp + 0x60]
mov dword [esp + 0x34], 0x10
call fcn.036c0280
push eax
lea ecx, [esp + 0xb14]
call fcn.036c02e0
jmp 0x368a76f
xor esi, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x48], esi
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x28]
call eax
cmp eax, 1
jne 0x368a58d
cmp dword [esp + 0x64], 0
je 0x368ac0a
push 0x100f7c80
lea eax, [esp + 0x124]
push eax
call dword [0x1011f448]
mov eax, dword [esp + 0x120]
mov ecx, dword [ebp + 0x18]
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x124]
mov dword [esp + 0x100], eax
lea eax, [esp + 0xf8]
push eax
mov dword [esp + 0x108], 0
call fcn.03681ed0
test eax, eax
je 0x368a8bd
mov eax, dword [esp + 0x104]
test eax, eax
je 0x368ac0a
cmp eax, 1
mov eax, dword [ebp + 0x2c]
jne 0x368a8c0
cmp eax, 1
je 0x368ac61
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x100]
mov dword [esp + 0x20], 1
mov dword [esp + 0x44], ecx
jmp 0x368a8c0
lea ecx, [esp + 0x5c]
call fcn.036a5680
test eax, eax
je 0x368ac8f
mov eax, dword [esp + 0x64]
cmp eax, 1
jne 0x368a71f
mov eax, dword [ebp + 0x18]
mov ecx, dword [esp + 0x60]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x358], 0x18
mov eax, dword [eax]
sub ecx, eax
mov dword [esp + 0xdc], eax
mov ax, word [esp + 0x5c]
mov edx, dword [esi + 0x128]
sar ecx, 1
shr ax, 1
add cx, ax
mov dword [esp + 0x35c], 0
add cx, cx
mov dword [esp + 0x364], 0x40
mov word [esp + 0xd8], cx
lea eax, [esp + 0xd8]
mov word [esp + 0xda], cx
lea ecx, [esp + 0x4a8]
mov dword [esp + 0x360], eax
mov dword [esp + 0x368], 0
mov dword [esp + 0x36c], 0
mov eax, dword [edx]
push ecx
lea ecx, [esp + 0x35c]
push ecx
mov eax, dword [eax + 0xc0]
mov ecx, edx
call eax
test eax, eax
jne 0x368a566
push dword [esp + 0x60]
mov eax, dword [esp + 0x4cc]
lea ecx, [esp + 0x90c]
push dword [esp + 0x60]
mov dword [esp + 0x18], 1
mov dword [esp + 0x34], eax
call fcn.036c0280
push eax
lea ecx, [esp + 0xb14]
call fcn.036c02e0
jmp 0x368a773
test eax, eax
jne 0x368ac78
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
lea eax, [esp + 0x90c]
push eax
lea eax, [esp + 0xb18]
push eax
push dword [esp + 0x6c]
lea eax, [esp + 0x430]
push eax
call fcn.03682040
lea edx, [esp + 0x68]
mov ecx, eax
call fcn.036a5770
xor esi, esi
mov dword [esp + 0x1c], eax
add esp, 0xc
mov dword [esp + 0x48], esi
test eax, eax
je 0x368a574
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x64]
sub ecx, 0
je 0x368a81a
dec ecx
jne 0x368ac78
mov eax, dword [esp + 0x908]
lea edx, [esp + 0x1e0]
mov ecx, dword [esi + 0x138]
mov dword [esp + 0x1e0], eax
mov eax, dword [esp + 0x90c]
mov dword [esp + 0x1e4], eax
mov eax, dword [esp + 0xb10]
mov dword [esp + 0x170], eax
mov eax, dword [esp + 0xb14]
push 3
push edx
mov dword [esp + 0x17c], eax
lea edx, [esp + 0x178]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0xd8]
push edx
mov eax, dword [eax + 0xac]
call eax
mov esi, dword [eax]
test esi, esi
je 0x368a7f5
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x368ab78
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xcc], 0
jmp 0x368ab78
mov eax, dword [esp + 0x908]
test dword [esp + 0x2c], 0x10
mov ecx, dword [esi + 0x138]
mov dword [esp + 0x1b0], eax
mov eax, dword [esp + 0x90c]
mov dword [esp + 0x1b4], eax
mov eax, dword [esp + 0xb10]
mov dword [esp + 0x180], eax
mov eax, dword [esp + 0xb14]
mov dword [esp + 0x184], eax
mov eax, 0
mov edx, dword [ecx]
setne al
inc eax
push eax
lea eax, [esp + 0x1b4]
push eax
lea eax, [esp + 0x188]
push eax
lea eax, [esp + 0xc0]
push eax
mov eax, dword [edx + 0xac]
call eax
mov esi, dword [eax]
test esi, esi
je 0x368a898
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x368ab78
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xb4], 0
jmp 0x368ab78
mov eax, dword [ebp + 0x2c]
cmp eax, 1
je 0x368ac3a
cmp eax, 4
je 0x368ac3a
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x368a98a
mov edx, dword [ebp + 0x24]
mov esi, dword [esp + 0x24]
and edx, 0xffffff7f
test esi, esi
jne 0x368a8f5
and edx, 0xffffffef
or edx, 0x20
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.03681310
mov ecx, eax
add esp, 4
test ecx, ecx
jne 0x368ac21
mov eax, dword [esp + 0x18]
push dword [esp + 0x28]
mov ecx, dword [eax + 0x138]
xor eax, eax
test esi, esi
setne al
mov edx, dword [ecx]
inc eax
push eax
lea eax, [esp + 0x64]
push eax
push eax
lea eax, [esp + 0xd4]
push eax
mov eax, dword [edx + 0xa8]
call eax
mov esi, dword [eax]
test esi, esi
je 0x368a949
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x368a965
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xc4], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x368a973
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x1c], esi
test esi, esi
je 0x368ab78
mov eax, dword [esi]
push esi
call dword [eax + 4]
jmp 0x368ab78
cmp eax, 1
jne 0x368ab78
lea ecx, [esp + 0x34]
call fcn.03682d60
mov ecx, eax
test ecx, ecx
jne 0x368ac21
push dword [esp + 0x60]
mov ecx, dword [ebp + 0x18]
lea eax, [esp + 0x444]
push eax
call fcn.03682040
push 8
mov ecx, dword [eax]
mov dword [esp + 0x12c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x130], eax
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0x3a8]
push eax
call dword [0x1011f348]
mov eax, dword [esp + 0x18]
push 8
mov dword [esp + 0x34], 0
mov esi, dword [eax + 0x128]
lea eax, [esp + 0x3c4]
push eax
call dword [0x1011f44c]
push 0
push 3
lea ecx, [esp + 0x3c8]
mov dword [esp + 0x390], 0x18
push ecx
lea eax, [esp + 0x3ac]
mov dword [esp + 0x398], 0
mov dword [esp + 0x39c], eax
lea ecx, [esp + 0x394]
push ecx
mov dword [esp + 0x3a4], 0x40
lea ecx, [esp + 0x40]
mov dword [esp + 0x3a8], 0
mov dword [esp + 0x3ac], 0
mov eax, dword [esi]
push 0x180
push ecx
mov ecx, esi
mov eax, dword [eax + 0x80]
call eax
test eax, eax
jne 0x368ab11
mov eax, dword [esp + 0x18]
push 8
mov esi, dword [eax + 0x128]
lea eax, [esp + 0x3ac]
push eax
call dword [0x1011f44c]
mov eax, dword [esi]
lea ecx, [esp + 0x458]
push 4
push 0x28
push ecx
mov eax, dword [eax + 0x98]
lea ecx, [esp + 0x3b4]
push ecx
push dword [esp + 0x40]
mov ecx, esi
call eax
test eax, eax
jne 0x368ab11
mov eax, dword [esp + 0x478]
test al, 0x20
jne 0x368ab11
or eax, 0x20
mov dword [esp + 0x478], eax
mov eax, dword [esp + 0x18]
push 8
mov esi, dword [eax + 0x128]
lea eax, [esp + 0x3bc]
push eax
call dword [0x1011f44c]
mov eax, dword [esi]
lea ecx, [esp + 0x458]
push 4
push 0x28
push ecx
lea ecx, [esp + 0x3c4]
push ecx
push dword [esp + 0x40]
mov ecx, esi
call dword [eax + 0x94]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x138]
mov eax, dword [esp + 0x34]
push eax
lea eax, [esp + 0x60]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0xac]
push eax
mov eax, dword [edx + 0xa4]
call eax
push eax
lea ecx, [esp + 0x4c]
call fcn.0364c320
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x368ab5d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xa4], 0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x20]
call fcn.0364c320
lea ecx, [esp + 0x30]
call fcn.0362f180
mov esi, dword [esp + 0x48]
push esi
push edi
lea ecx, [esp + 0x80]
call fcn.036a0160
test edi, edi
je 0x368ab90
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov edi, esi
mov dword [esp + 0xa8], edi
test esi, esi
je 0x368aba9
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [esi]
push esi
call dword [eax + 8]
cmp dword [esp + 0x10], 0
jne 0x368a501
mov esi, dword [ebp + 0x18]
cmp dword [esp + 0x10], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], 0xffffffff
je 0x368b3ff
mov edx, dword [ebp + 0x2c]
cmp edx, 2
jne 0x368ad4f
cmp dword [esp + 0x24], 0
je 0x368ad25
cmp dword [esi + 0xc], 0xffffffff
je 0x368ad25
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000103
jmp 0x368b884
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc000003a
jmp 0x368b88d
mov eax, dword [ebp + 0x40]
and ecx, 0xefffffff
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], ecx
jmp 0x368b88d
cmp dword [esp + 0x24], 0
je 0x368ac61
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0xc], 0xffffffff
je 0x368ac61
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000103
jmp 0x368b88d
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000034
jmp 0x368b88d
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000229
jmp 0x368b88d
mov ecx, dword [0x1011f360]
mov eax, dword [ecx]
mov eax, dword [eax + 0xf8]
call eax
test eax, eax
je 0x368ad0e
push 0x10102b84
push ecx
push 0x10108f34
push ecx
lea eax, [esp + 0x6c]
push eax
push ecx
push 0x10108c94
push ecx
push 0x10108eb8
push 0x100f7c84
push 2
lea ecx, [esp + 0x40c]
call fcn.0363b9e0
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c140
add esp, 4
mov ecx, eax
call fcn.0363c0c0
add esp, 4
mov ecx, eax
call fcn.0363c0c0
lea ecx, [esp + 0x3e0]
call fcn.0363bfe0
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000033
jmp 0x368b88d
test dword [ebp + 0x30], 0x40
je 0x368ad9b
test dword [esp + 0x2c], 0x10
je 0x368ad9b
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc00000ba
jmp 0x368b884
cmp edx, 1
je 0x368afea
cmp edx, 3
je 0x368afea
test edx, edx
je 0x368ad73
cmp edx, 4
je 0x368ad73
cmp edx, 5
jne 0x368b407
mov eax, dword [ebp + 0x30]
mov ecx, dword [esp + 0x2c]
and eax, 0x40
je 0x368ad87
test ecx, 0x10
jne 0x368ad38
test eax, eax
mov eax, dword [esp + 0x24]
jne 0x368adb2
test eax, eax
jne 0x368adb2
test ecx, 0x10
je 0x368adb2
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000035
jmp 0x368b884
test edx, edx
jne 0x368add5
test ecx, 0x10
je 0x368add5
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc000000d
jmp 0x368b884
test eax, eax
je 0x368addf
cmp dword [esi + 0xc], 0xffffffff
jne 0x368adbe
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x28]
call eax
cmp eax, 3
jne 0x368ae84
lea ecx, [esp + 0x34]
call fcn.03682d60
test eax, eax
je 0x368ae16
mov ecx, dword [ebp + 0x40]
and eax, 0xefffffff
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
jmp 0x368b884
mov eax, dword [edi]
lea ecx, [esp + 0x2988]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x2c]
call eax
mov ecx, dword [eax]
mov dword [esp + 0x138], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x13c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x138]
mov eax, dword [esp + 0x34]
push eax
lea eax, [esp + 0x13c]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x58]
push eax
mov eax, dword [edx + 0xa4]
call eax
push eax
lea ecx, [esp + 0x20]
call fcn.0364c320
lea ecx, [esp + 0x50]
call fcn.0366a320
lea ecx, [esp + 0x2988]
call fcn.036c0350
jmp 0x368af4e
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x28]
call eax
xor ecx, ecx
cmp eax, 2
lea eax, [esp + 0x28]
sete cl
mov dword [esp + 0x50], ecx
mov edx, ecx
mov ecx, dword [ebp + 0x24]
push eax
call fcn.036a6340
mov ecx, dword [esp + 0x54]
mov edx, eax
call fcn.03681310
add esp, 4
test eax, eax
jne 0x368adfe
mov eax, dword [esp + 0x908]
mov ecx, edi
push dword [esp + 0x28]
mov dword [esp + 0x14c], eax
mov eax, dword [esp + 0x910]
mov dword [esp + 0x150], eax
mov eax, dword [esp + 0xb14]
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0xb18]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x138]
mov dword [esp + 0x54], eax
mov esi, dword [eax]
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [esp + 0x54]
push eax
lea eax, [esp + 0x150]
push eax
lea eax, [esp + 0x114]
push eax
lea eax, [esp + 0x94]
push eax
mov eax, dword [esi + 0xa8]
call eax
push eax
lea ecx, [esp + 0x20]
call fcn.0364c320
lea ecx, [esp + 0x84]
call fcn.0366a320
mov eax, dword [edi]
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
xor ecx, ecx
cmp dword [eax], ecx
setne cl
mov dword [esp + 0x84], ecx
lea ecx, [esp + 0x54]
call fcn.0366a320
cmp dword [esp + 0x84], 0
je 0x368afb9
mov eax, dword [edi]
lea ecx, [esp + 0xe0]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
mov esi, dword [esp + 0x1c]
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x48]
lea ecx, [esp + 0xe0]
call fcn.0366a320
mov eax, dword [ebp + 0x2c]
neg eax
sbb eax, eax
and eax, 3
mov dword [esp + 0x30], eax
jmp 0x368b40b
lea ecx, [esp + 0x78]
call fcn.036a0210
mov esi, dword [esp + 0x1c]
mov ecx, dword [ebp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x80]
call fcn.036a0160
mov eax, dword [ebp + 0x2c]
neg eax
sbb eax, eax
and eax, 3
mov dword [esp + 0x30], eax
jmp 0x368b40b
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xffffffff
je 0x368b00a
test cl, 0x10
je 0x368b147
mov eax, dword [ebp + 0x40]
mov dword [eax], 1
jmp 0x368b884
mov eax, dword [esp + 0x18]
push 8
mov dword [esp + 0x6c], 0
mov esi, dword [eax + 0x128]
lea eax, [esp + 0x3cc]
push eax
call dword [0x1011f44c]
push dword [ebp + 0x38]
mov eax, dword [ebp + 0x30]
mov ecx, esi
push dword [ebp + 0x34]
mov edx, dword [esi]
and eax, 0xffffefff
push eax
push dword [ebp + 0x2c]
lea eax, [esp + 0x3d8]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push dword [ebp + 0x10]
lea eax, [esp + 0x8c]
push 0x100001
push eax
mov eax, dword [edx + 0x84]
call eax
test eax, eax
je 0x368b08b
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x68]
call fcn.03629f00
jmp 0x368b884
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0xf20]
xor eax, eax
mov dword [esp + 0xf24], 0
mov dword [esp + 0xf20], eax
push ecx
mov eax, dword [esi]
mov ecx, esi
push dword [esp + 0x6c]
mov eax, dword [eax + 0x14]
call eax
test eax, eax
jne 0x368b0d0
lea edx, [esp + 0x2c]
lea ecx, [esp + 0xf20]
call fcn.036a5db0
test eax, eax
je 0x368b103
mov ecx, dword [ebp + 0x40]
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea eax, [esp + 0xf28]
mov ecx, dword [esp + 0xf24]
cmp eax, ecx
je 0x368b0f5
call fcn.03707920
lea ecx, [esp + 0x68]
call fcn.03629f00
jmp 0x368b884
test byte [esp + 0x2c], 0x10
mov ecx, 1
mov eax, 0
cmovne eax, ecx
mov ecx, dword [esp + 0xf24]
mov dword [esp + 0x54], eax
lea eax, [esp + 0xf28]
cmp eax, ecx
je 0x368b130
call fcn.03707920
lea ecx, [esp + 0x68]
call fcn.03629f00
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x368affc
jmp 0x368b14b
mov esi, dword [esp + 0x18]
test dword [ebp + 0xc], 0x52010002
je 0x368affc
mov esi, dword [esi + 0x128]
lea eax, [esp + 0x3d8]
push 8
push eax
call dword [0x1011f44c]
push dword [ebp + 0x38]
mov eax, dword [ebp + 0x30]
mov ecx, esi
push dword [ebp + 0x34]
mov edx, dword [esi]
and eax, 0xffffefff
push eax
push dword [ebp + 0x2c]
lea eax, [esp + 0x3e8]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push dword [ebp + 0x10]
lea eax, [esp + 0x60]
push 0x100001
push eax
mov eax, dword [edx + 0x84]
call eax
mov ecx, eax
test ecx, ecx
jne 0x368b3ec
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x28]
call eax
cmp eax, 3
jne 0x368b26a
lea ecx, [esp + 0x34]
call fcn.03682d60
test eax, eax
jne 0x368adfe
mov eax, dword [edi]
lea ecx, [esp + 0x2578]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x2c]
call eax
mov ecx, dword [eax]
mov dword [esp + 0x168], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x16c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x138]
mov eax, dword [esp + 0x34]
push eax
lea eax, [esp + 0x16c]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0xc4]
push eax
mov eax, dword [edx + 0xa4]
call eax
push eax
lea ecx, [esp + 0x20]
call fcn.0364c320
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x368b24a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xbc], 0
mov ecx, dword [esp + 0x257c]
lea eax, [esp + 0x2580]
cmp eax, ecx
je 0x368b338
call fcn.03707920
jmp 0x368b338
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [ebp + 0x24]
xor ecx, ecx
cmp eax, 2
sete cl
and edx, 0xffffff7f
test ecx, ecx
jne 0x368b28e
and edx, 0xffffffef
or edx, 0x20
lea eax, [esp + 0x28]
push eax
call fcn.03681310
add esp, 4
test eax, eax
jne 0x368adfe
mov eax, dword [esp + 0x908]
mov ecx, edi
push dword [esp + 0x28]
mov dword [esp + 0x17c], eax
mov eax, dword [esp + 0x910]
mov dword [esp + 0x180], eax
mov eax, dword [esp + 0xb14]
mov dword [esp + 0x18c], eax
mov eax, dword [esp + 0xb18]
mov dword [esp + 0x190], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x138]
mov dword [esp + 0x58], eax
mov esi, dword [eax]
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [esp + 0x58]
push eax
lea eax, [esp + 0x180]
push eax
lea eax, [esp + 0x194]
push eax
lea eax, [esp + 0xa0]
push eax
mov eax, dword [esi + 0xa8]
call eax
push eax
lea ecx, [esp + 0x20]
call fcn.0364c320
mov eax, dword [esp + 0x90]
test eax, eax
je 0x368b338
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
test dword [ebp + 0x30], 0x1000
mov esi, dword [esp + 0x1c]
je 0x368b34e
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x54]
mov eax, dword [edi]
lea ecx, [esp + 0xd4]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
xor ecx, ecx
cmp dword [eax], ecx
mov eax, dword [esp + 0xd4]
setne cl
mov dword [esp + 0x90], ecx
test eax, eax
je 0x368b385
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x368b3c8
mov eax, dword [edi]
lea ecx, [esp + 0xb8]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x38]
call eax
push esi
mov ecx, dword [eax]
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x368b3e2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0xb8], 0
mov dword [esp + 0x30], 1
jmp 0x368b40b
lea ecx, [esp + 0x78]
call fcn.036a0210
mov ecx, dword [ebp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x80]
call fcn.036a0160
mov dword [esp + 0x30], 1
jmp 0x368b40b
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], ecx
jmp 0x368b884
mov dword [esp + 0x30], 2
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x70], 0
test edi, edi
je 0x368b69b
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], 0
test eax, eax
je 0x368b561
cmp dword [esp + 0x24], 0
je 0x368b45a
mov eax, dword [ebp + 0x40]
lea ecx, [esp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000103
call fcn.0366a320
jmp 0x368b87b
mov eax, dword [esp + 0x38]
xor edx, edx
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x9c], eax
add eax, 2
mov word [esp + 0x9c], ax
mov eax, dword [esp + 0x44]
sub eax, 2
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x30]
push dword [ebp + 0x28]
call fcn.036a6340
push eax
push dword [ebp + 0xc]
lea eax, [esp + 0xb0]
mov ecx, edi
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
test edi, edi
jne 0x368b5c9
mov eax, dword [ebp + 0x18]
cmp dword [eax + 0xc], 0xffffffff
je 0x368b5c9
lea ecx, [esp + 0x450]
push ecx
mov ecx, eax
call fcn.036821d0
mov ecx, dword [ebp + 0x18]
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x414]
push eax
call fcn.03682040
push 8
mov ecx, dword [eax]
mov dword [esp + 0x19c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x1a0], eax
lea eax, [esp + 0x19c]
push eax
lea eax, [esp + 0x120]
push eax
call dword [0x1011f348]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0xc0]
push edx
lea edx, [esp + 0x11c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x18]
call eax
test eax, eax
jne 0x368b5c9
mov edx, dword [esp + 0xc0]
test edx, 0x20
jne 0x368b5c9
mov ecx, dword [esp + 0x28]
or edx, 0x20
mov dword [esp + 0xc0], edx
push edx
lea edx, [esp + 0x11c]
mov eax, dword [ecx]
push edx
call dword [eax + 0x1c]
jmp 0x368b5c9
push 0x100f7c80
lea eax, [esp + 0x1bc]
push eax
call dword [0x1011f448]
mov eax, dword [esp + 0x1b8]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x1bc]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x3b0]
push 0x100f7c80
push eax
call dword [0x1011f448]
mov eax, dword [edi]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [ebp + 0x30]
push ecx
push dword [ebp + 0x28]
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x3bc]
push dword [ebp + 0xc]
push ecx
mov ecx, edi
call eax
mov edi, eax
cmp dword [esp + 0x3c], 0
je 0x368b608
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x80]
mov dword [esp + 0x80], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x3c]
call fcn.036a6560
lea ecx, [esp + 0x80]
call fcn.0366a320
test edi, edi
je 0x368b62e
mov eax, dword [ebp + 0x40]
lea ecx, [esp + 0x40]
and edi, 0xefffffff
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], edi
call fcn.0366a320
jmp 0x368b87b
push dword [ebp + 0x30]
lea eax, [esp + 0xa0]
mov edx, esi
push dword [ebp + 0xc]
lea ecx, [esp + 0xec]
push dword [esp + 0x48]
push eax
call fcn.036b4370
add esp, 0x10
mov eax, dword [eax]
mov dword [esp + 0xc8], eax
test eax, eax
je 0x368b664
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0x74]
call fcn.0364c320
lea ecx, [esp + 0xc8]
call fcn.0366a320
lea ecx, [esp + 0xe4]
call fcn.0366a320
lea ecx, [esp + 0x40]
call fcn.0366a320
jmp 0x368b793
mov eax, dword [esp + 0x34]
test eax, eax
je 0x368b793
cmp dword [esp + 0x24], 0
je 0x368b6c5
mov eax, dword [ebp + 0x40]
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0xc0000103
jmp 0x368b87b
mov dword [esp + 0x4c], 0
lea ecx, [esp + 0x4c]
mov edx, dword [eax]
push ecx
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
test eax, eax
je 0x368b700
mov ecx, dword [ebp + 0x40]
and eax, 0xefffffff
mov dword [ecx], 0
mov ecx, dword [ebp + 0x3c]
mov dword [ecx], eax
lea ecx, [esp + 0x4c]
call fcn.0366a320
jmp 0x368b87b
push dword [ebp + 0x30]
mov edx, esi
lea ecx, [esp + 0xb4]
push dword [ebp + 0xc]
push dword [esp + 0x54]
call fcn.036b5480
add esp, 0xc
mov eax, dword [eax]
mov dword [esp + 0xd0], eax
test eax, eax
je 0x368b72e
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
lea eax, [esp + 0xd0]
push eax
lea ecx, [esp + 0x74]
call fcn.0364c320
lea ecx, [esp + 0xd0]
call fcn.0366a320
lea ecx, [esp + 0xb0]
call fcn.0366a320
cmp dword [esp + 0x3c], 0
je 0x368b78a
mov ecx, dword [esp + 0x4c]
lea edx, [esp + 0x44]
mov dword [esp + 0x44], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
call fcn.036a6560
lea ecx, [esp + 0x44]
call fcn.0366a320
lea ecx, [esp + 0x4c]
call fcn.0366a320
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0xac]
push dword [edi + 0x138]
call fcn.036a5490
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], 0
push eax
push dword [ebp + 0x10]
mov ecx, edi
call fcn.03686ef0
test eax, eax
jne 0x368b85d
mov ecx, dword [esp + 0x6c]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
mov eax, dword [ebp + 0x14]
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 0xc]
call edx
cmp eax, esi
jne 0x368b85d
lea ecx, [esp + 0x78]
call fcn.036a01f0
lea ecx, [esp + 0x6c]
call fcn.0366a320
lea ecx, [esp + 0xac]
call fcn.036a54c0
test dword [ebp + 0xc], 0x100000
je 0x368b826
test dword [ebp + 0x30], 0x20
jne 0x368b826
cmp dword [esp + 0x88], 0
jne 0x368b826
mov eax, 1
jmp 0x368b828
xor eax, eax
push eax
push dword [esp + 0x74]
mov ecx, edi
call fcn.03686a80
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x30]
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0x40]
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp + 0x3c]
mov dword [eax], 0
jmp 0x368b87b
mov eax, dword [ebp + 0x44]
lea ecx, [esp + 0x6c]
mov dword [eax], 1
call fcn.0366a320
lea ecx, [esp + 0xac]
call fcn.036a54c0
lea ecx, [esp + 0x70]
call fcn.0366a320
lea ecx, [esp + 0x3c]
call fcn.03629f00
mov ecx, dword [esp + 0x90c]
lea eax, [esp + 0x910]
cmp eax, ecx
je 0x368b8a4
call fcn.03707920
mov ecx, dword [esp + 0xb14]
lea eax, [esp + 0xb18]
cmp eax, ecx
je 0x368b8bb
call fcn.03707920
lea ecx, [esp + 0x1c]
call fcn.0366a320
lea ecx, [esp + 0x34]
call fcn.0366a320
lea ecx, [esp + 0x28]
call fcn.0366a320
lea ecx, [esp + 0x78]
call fcn.03641d60
lea ecx, [esp + 0xa8]
call fcn.0366a320
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x40
mov eax, dword [ebp + 0x40]
mov dword [eax], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x40