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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x87100004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x24]
push ebx
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x28]
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 0x224]
mov dword [ebp - 0x94], eax
lea eax, [esi + 0x80]
mov dword [ebp - 0x50], eax
mov eax, dword [eax + 0x140]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebx + 0xc]
movzx eax, word [eax + 6]
push edi
push ecx
mov dword [ebp - 0xac], esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0xa4], eax
call dword [ebx + 0x78]
xor edi, edi
push edi
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0xc4], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x8c], edi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x88], edi
mov dword [ebp - 0xa8], 0xffff
call dword [0x870f4184]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x90]
mov dword [eax], edi
mov eax, dword [ebp - 0xb0]
mov dword [eax], edi
cmp dword [ebp - 0x94], edi
je 0x8376f17e
mov eax, dword [ebp - 0x94]
mov dword [eax], edi
cmp dword [ebp - 0x5c], 5
je 0x8376fe10
push dword [ebp - 0x3c]
call dword [ebx + 0x74]
cmp dword [ebp - 0x5c], 3
mov dword [ebp - 0x78], eax
jne 0x8376f1fb
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x8376f1a4
test byte [eax + 0xc], 8
jne 0x8376f1fb
cmp dword [ebp - 0x48], edi
je 0x8376f1b6
push dword [ebp - 0x3c]
push dword [ebp - 0x48]
call fcn.83773b3b
jmp 0x8376f1d5
cmp eax, edi
je 0x8376f1c9
push dword [ebp + 0x18]
push dword [ebp - 0x3c]
push eax
push esi
call fcn.837c7e7f
jmp 0x8376f1d5
push dword [ebp - 0x3c]
push dword [ebp + 0x18]
push esi
call fcn.83762e3c
mov dword [ebp - 0x60], eax
cmp eax, edi
je 0x8376f1fb
mov ecx, dword [ebp - 0xb0]
mov dword [ecx], eax
cmp dword [ebp - 0x48], edi
je 0x8376f1f4
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x8376f1f4
or byte [eax + 0xc], 8
xor eax, eax
jmp 0x8376fe15
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x8376f227
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x3c]
mov esi, dword [edx + ecx - 4]
and esi, dword [ecx + eax - 4]
imul esi, esi, 0x41c64e6d
add esi, 0x3039
mov dword [ebp - 0xc0], esi
jmp 0x8376f24b
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xa4]
mov eax, dword [ecx + eax - 4]
mov ecx, dword [ebp - 0xa4]
imul eax, eax, 0x41c64e6d
add eax, 0x3039
mov dword [ebp - 0xc0], eax
cmp dword [ebp - 0x5c], 3
jne 0x8376f256
mov eax, dword [ebx + 0x40]
jmp 0x8376f25f
cmp dword [ebp - 0x78], 2
jne 0x8376f267
mov eax, dword [ebx + 0x3c]
mov dword [ebp - 0x9c], eax
jmp 0x8376f26d
mov dword [ebp - 0x9c], edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
shl cl, 3
movzx eax, cl
push edi
push eax
push dword [ebp - 0x3c]
call dword [ebx + 0x7c]
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
call fcn.83771868
mov esi, dword [ebp - 0x28]
cmp esi, edi
je 0x8376f2de
mov al, byte [esi + 0xc]
test al, 1
je 0x8376f2b8
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 4]
and ecx, dword [ebp - 0x54]
inc ecx
shl ecx, 6
add ecx, eax
or eax, 0xffffffff
lock xadd dword [ecx], eax
jmp 0x8376fe10
test al, 4
jne 0x8376f2c7
movzx eax, word [esi]
mov dword [ebp - 0xa8], eax
jmp 0x8376f2de
and al, 0xfb
cmp dword [esi + 8], 0xffffffff
mov byte [esi + 0xc], al
jne 0x8376f2de
mov eax, dword [ebp - 0xac]
mov eax, dword [eax + 4]
mov dword [esi + 8], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xb4]
call fcn.83775903
jmp 0x8376f7f9
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xd4]
push eax
push dword [ebp - 0x4c]
call fcn.83775a4d
movzx eax, word [ebp - 0x2c]
cmp eax, dword [ebp - 0x9c]
jb 0x8376f810
mov esi, dword [ebp - 0x4c]
mov eax, dword [esi + 4]
mov cx, word [ebp - 0x2c]
sub eax, 4
mov dword [ebp - 0x98], eax
cmp cx, word [ebp - 0xa8]
jae 0x8376f7d4
mov ecx, dword [ebp - 0x28]
cmp ecx, edi
je 0x8376f359
mov edx, dword [esi + 0x24]
cmp edx, dword [ecx + 8]
jle 0x8376f359
mov ecx, dword [ebp - 0x90]
or byte [ecx + 1], 8
mov esi, eax
jmp 0x8376f7ca
mov ecx, dword [esi + 0x20]
test byte [ecx + 0xd3], 1
je 0x8376f372
cmp word [ebp - 0x2c], di
jne 0x8376f372
mov esi, eax
jmp 0x8376f7ca
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x80], edi
cmp dword [esi + 0x3c], edi
jbe 0x8376f7c0
mov edi, dword [esi + 0x20]
cmp dword [edi + 0x14], 0
jne 0x8376f397
cmp dword [ebp - 0xd8], 4
je 0x8376f7c0
mov eax, dword [esi + 0x5c]
test eax, eax
jne 0x8376f46a
push dword [ebp - 0x3c]
push ebx
call fcn.8374d8a9
test al, al
je 0x8376f43a
lea eax, [ebp - 0x60]
push eax
push edi
push dword [ebp - 0x3c]
call fcn.837c9967
test eax, eax
jl 0x8376f44f
mov dword [ebp - 0x44], 2
mov eax, dword [ebp - 0xa4]
mov ecx, dword [esi + eax + 0x5c]
xor ecx, dword [ebp - 0xc0]
mov eax, 0x3039
imul ecx, ecx, 0x3e39b193
sub eax, ecx
and eax, 0x7fffffff
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x80]
test eax, eax
jne 0x8376f3fe
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x48]
test eax, eax
jne 0x8376f4ab
mov edi, 0xfffffff
test dword [ebp + 0x18], edi
je 0x8376f4bd
push dword [ebp - 0x78]
push dword [esi + 0x20]
call fcn.837717cf
mov ecx, dword [ebp + 0x18]
and ecx, edi
cmp ecx, eax
je 0x8376f4bd
jmp 0x8376f6ce
push dword [ebp - 0x5c]
push dword [ebp - 0x3c]
push 0
push edi
call fcn.83767a4d
mov dword [ebp - 0x80], eax
test eax, eax
jne 0x8376f491
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 4]
and ecx, dword [ebp - 0x54]
inc ecx
shl ecx, 6
add ecx, eax
or eax, 0xffffffff
lock xadd dword [ecx], eax
jmp 0x8376fd24
xor ecx, ecx
inc ecx
test byte [esi + 0x10], cl
jne 0x8376f47e
mov dword [ebp - 0x80], eax
add eax, 4
lock xadd dword [eax], ecx
jmp 0x8376f491
mov dword [ebp - 0x60], eax
add eax, 4
lock xadd dword [eax], ecx
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x80], 0
je 0x8376f3c8
push dword [ebp - 0x80]
call fcn.83761ef6
mov dword [ebp - 0x44], eax
jmp 0x8376f3cf
xor ecx, ecx
cmp eax, dword [esi + 0x20]
sete cl
mov eax, ecx
test eax, eax
je 0x8376f5ed
cmp dword [esi + 0x5c], 0
jne 0x8376f4cd
mov dword [ebp - 0x88], 1
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0xdc], ecx
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xd0], ecx
test eax, eax
je 0x8376f552
push ecx
push dword [ebp - 0x58]
push dword [ebp - 0x30]
push dword [ebp - 0x7c]
push dword [ebp - 0x44]
push esi
call fcn.83761fc5
mov edi, eax
test edi, edi
jle 0x8376f579
cmp dword [ebp - 0x70], 0
jne 0x8376f53a
cmp dword [ebp - 0x58], 1
jne 0x8376f53a
push 0
push 2
push dword [ebp - 0x30]
push 0
push dword [ebp - 0x44]
push esi
call fcn.83761fc5
cmp eax, edi
jge 0x8376f53a
mov dword [ebp - 0x70], 1
mov eax, dword [ebp - 0x34]
cmp dword [eax], 0x616c7049
push eax
je 0x8376f54d
call fcn.83789f00
jmp 0x8376f552
call fcn.8376effe
mov eax, dword [ebp - 0xa0]
xor edx, edx
lea ecx, [eax + 4]
inc edx
lock xadd dword [ecx], edx
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0xb8], eax
jmp 0x8376f5a2
cmp dword [ebp - 0x70], 0
jne 0x8376f5a2
cmp dword [ebp - 0x44], 1
jne 0x8376f5a2
push 0
push dword [ebp - 0x58]
push dword [ebp - 0x30]
push 0
push 2
push esi
call fcn.83761fc5
cmp eax, edi
jle 0x8376f5a2
mov dword [ebp - 0x70], 1
cmp dword [ebp - 0x28], 0
je 0x8376f5ed
cmp dword [ebp - 0x30], esi
je 0x8376f5bc
push dword [ebp - 0x7c]
push dword [ebp - 0x44]
push dword [ebp - 0xa0]
push esi
jmp 0x8376f5dd
cmp dword [ebp - 0xc8], 0
je 0x8376f5ed
push dword [ebp - 0xd0]
push dword [ebp - 0xdc]
push dword [ebp - 0xcc]
push dword [ebp - 0xc8]
push dword [ebp - 0x28]
call fcn.8372e8f0
test eax, eax
jl 0x8376f44f
cmp dword [ebp - 0x48], 0
je 0x8376f6ce
mov edi, 0xfffffff
test dword [ebp + 0x18], edi
je 0x8376f619
push dword [ebp - 0x78]
push dword [esi + 0x20]
call fcn.837717cf
mov ecx, dword [ebp + 0x18]
and ecx, edi
cmp ecx, eax
jne 0x8376f6ce
cmp dword [ebp - 0x40], 0
je 0x8376f67e
push dword [ebp - 0xc4]
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
push dword [ebp - 0x7c]
push dword [ebp - 0x44]
push esi
call fcn.83761fc5
mov edi, eax
test edi, edi
jle 0x8376f6a5
cmp dword [ebp - 0x64], 0
jne 0x8376f666
cmp dword [ebp - 0x74], 1
jne 0x8376f666
push 0
push 2
push dword [ebp - 0x6c]
push 0
push dword [ebp - 0x44]
push esi
call fcn.83761fc5
cmp eax, edi
jge 0x8376f666
mov dword [ebp - 0x64], 1
mov eax, dword [ebp - 0x40]
cmp dword [eax], 0x616c7049
push eax
je 0x8376f679
call fcn.83789f00
jmp 0x8376f67e
call fcn.8376effe
mov eax, dword [ebp - 0xa0]
xor edx, edx
lea ecx, [eax + 4]
inc edx
lock xadd dword [ecx], edx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0xc4], eax
jmp 0x8376f6ce
cmp dword [ebp - 0x64], 0
jne 0x8376f6ce
cmp dword [ebp - 0x44], 1
jne 0x8376f6ce
push 0
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
push 0
push 2
push esi
call fcn.83761fc5
cmp eax, edi
jle 0x8376f6ce
mov dword [ebp - 0x64], 1
test dword [ebp + 0x18], 0xfffffff
je 0x8376f7a8
cmp dword [ebp - 0x38], 0
je 0x8376f74c
push dword [ebp - 0xbc]
push dword [ebp - 0x84]
push dword [ebp - 0x8c]
push dword [ebp - 0x7c]
push dword [ebp - 0x44]
push esi
call fcn.83761fc5
mov edi, eax
test edi, edi
jle 0x8376f779
cmp dword [ebp - 0x68], 0
jne 0x8376f734
cmp dword [ebp - 0x84], 1
jne 0x8376f734
push 0
push 2
push dword [ebp - 0x8c]
push 0
push dword [ebp - 0x44]
push esi
call fcn.83761fc5
cmp eax, edi
jge 0x8376f734
mov dword [ebp - 0x68], 1
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0x616c7049
push eax
je 0x8376f747
call fcn.83789f00
jmp 0x8376f74c
call fcn.8376effe
mov eax, dword [ebp - 0xa0]
xor edx, edx
lea ecx, [eax + 4]
inc edx
lock xadd dword [ecx], edx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0xbc], eax
jmp 0x8376f7a8
cmp dword [ebp - 0x68], 0
jne 0x8376f7a8
cmp dword [ebp - 0x44], 1
jne 0x8376f7a8
push 0
push dword [ebp - 0x84]
push dword [ebp - 0x8c]
push 0
push 2
push esi
call fcn.83761fc5
cmp eax, edi
jle 0x8376f7a8
mov dword [ebp - 0x68], 1
cmp dword [ebp - 0x80], 0
je 0x8376f7b8
push dword [ebp - 0x80]
call fcn.83789f00
jmp 0x8376f7c0
push dword [ebp - 0x60]
call fcn.8376effe
mov esi, dword [ebp - 0x98]
xor edi, edi
mov eax, esi
cmp dword [ebp - 0x4c], eax
je 0x8376f7de
jmp 0x8376f31c
mov eax, dword [ebp - 0x90]
or byte [eax + 1], 8
cmp dword [ebp - 0x58], 2
jge 0x8376f803
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
push dword [ebp - 0xb4]
call fcn.8371bb76
mov esi, dword [ebp - 0x28]
test eax, eax
jge 0x8376f2f6
jmp 0x8376f810
movzx eax, word [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x48], edi
jne 0x8376f83d
mov eax, dword [ebp - 0x34]
cmp eax, edi
je 0x8376f83d
xor edx, edx
lea ecx, [eax + 4]
inc edx
lock xadd dword [ecx], edx
mov ecx, dword [ebp - 0x58]
mov ebx, dword [ebp - 0x30]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x64], ecx
jmp 0x8376f843
mov eax, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x30]
test dword [ebp + 0x18], 0xfffffff
jne 0x8376f875
cmp eax, edi
je 0x8376f875
xor edx, edx
lea ecx, [eax + 4]
inc edx
lock xadd dword [ecx], edx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x88], edi
je 0x8376f88e
cmp dword [ebx + 0x5c], edi
je 0x8376f888
test byte [ebx + 0x10], 1
je 0x8376f88e
mov dword [ebp - 0x88], edi
cmp dword [ebp - 0x70], edi
jne 0x8376f8a9
cmp dword [ebp - 0x64], edi
jne 0x8376f8a9
cmp dword [ebp - 0x68], edi
jne 0x8376f8a9
cmp dword [ebp - 0x88], edi
je 0x8376fbef
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xb4]
call fcn.83775903
test eax, eax
jl 0x8376fbef
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xd4]
push eax
push dword [ebp - 0x4c]
call fcn.83775a4d
movzx eax, word [ebp - 0x2c]
cmp eax, dword [ebp - 0x9c]
jb 0x8376fbe9
mov esi, dword [ebp - 0x4c]
mov ebx, 0xfffffff
mov eax, dword [esi + 4]
mov cx, word [ebp - 0x2c]
sub eax, 4
mov dword [ebp - 0x98], eax
cmp cx, word [ebp - 0xa8]
jb 0x8376f90f
mov esi, eax
jmp 0x8376fbc9
mov ecx, dword [ebp - 0x28]
cmp ecx, edi
je 0x8376f91e
mov edx, dword [esi + 0x24]
cmp edx, dword [ecx + 8]
jg 0x8376f908
mov ecx, dword [esi + 0x20]
test byte [ecx + 0xd3], 1
je 0x8376f930
cmp word [ebp - 0x2c], di
je 0x8376f908
cmp dword [esi + 0x3c], edi
jbe 0x8376fbc1
cmp dword [ebp - 0x68], edi
je 0x8376f95c
push edi
push dword [ebp - 0x84]
push dword [ebp - 0x8c]
push edi
push 2
push esi
call fcn.83761fc5
test eax, eax
jg 0x8376f9e2
test dword [ebp + 0x18], ebx
je 0x8376f975
push dword [ebp - 0x78]
push dword [esi + 0x20]
call fcn.837717cf
mov ecx, dword [ebp + 0x18]
and ecx, ebx
cmp ecx, eax
jne 0x8376f98e
cmp dword [ebp - 0x64], edi
je 0x8376f98e
push edi
push dword [ebp - 0x74]
push dword [ebp - 0x6c]
push edi
push 2
push esi
call fcn.83761fc5
test eax, eax
jg 0x8376f9e2
mov eax, dword [ebp - 0x48]
cmp eax, edi
jne 0x8376f9b3
test dword [ebp + 0x18], ebx
je 0x8376f9c5
push dword [ebp - 0x78]
push dword [esi + 0x20]
call fcn.837717cf
mov ecx, dword [ebp + 0x18]
and ecx, ebx
cmp ecx, eax
je 0x8376f9c5
jmp 0x8376fa5e
xor ecx, ecx
cmp eax, dword [esi + 0x20]
sete cl
mov eax, ecx
cmp eax, edi
je 0x8376fa59
cmp dword [ebp - 0x70], edi
je 0x8376fa59
push edi
push dword [ebp - 0x58]
push dword [ebp - 0x30]
push edi
push 2
push esi
call fcn.83761fc5
test eax, eax
jle 0x8376fa52
mov edi, dword [esi + 0x5c]
test edi, edi
jne 0x8376f9fc
push dword [ebp - 0x5c]
push dword [ebp - 0x3c]
push edi
push dword [esi + 0x20]
call fcn.83767a4d
mov edi, eax
jmp 0x8376fa10
test byte [esi + 0x10], 1
jne 0x8376fa0e
xor ecx, ecx
lea eax, [edi + 4]
inc ecx
lock xadd dword [eax], ecx
jmp 0x8376fa10
xor edi, edi
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x8376fa42
cmp byte [eax + 0x1d], 5
jb 0x8376fa42
test byte [eax + 0x20], 0x40
je 0x8376fa42
push edi
push esi
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push 0x870f9898
push 0x10
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.837cd2cd
test edi, edi
je 0x8376fa52
push edi
call fcn.837ca48a
push edi
call fcn.83789f00
mov ebx, 0xfffffff
xor edi, edi
cmp dword [ebp - 0x48], edi
jne 0x8376fa7c
test dword [ebp + 0x18], ebx
je 0x8376fa8f
push dword [ebp - 0x78]
push dword [esi + 0x20]
call fcn.837717cf
mov ecx, dword [ebp + 0x18]
and ecx, ebx
cmp ecx, eax
je 0x8376fa8f
jmp 0x8376fbc1
mov ecx, dword [ebp - 0x48]
xor eax, eax
cmp ecx, dword [esi + 0x20]
sete al
cmp eax, edi
je 0x8376fbc1
cmp dword [ebp - 0x88], edi
je 0x8376fbc1
cmp dword [esi + 0x5c], edi
jne 0x8376fbc1
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp - 0x30]
cmp eax, dword [ecx + 0x20]
jne 0x8376fbc1
mov cx, word [ebp - 0xa8]
cmp word [ebp - 0x2c], cx
jae 0x8376fbc1
push dword [ebp - 0x5c]
xor ebx, ebx
push dword [ebp - 0x3c]
push ebx
push eax
call fcn.83767a4d
mov edi, eax
cmp edi, ebx
je 0x8376f44f
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x8376fb0f
cmp byte [eax + 0x1d], 5
jb 0x8376fb0f
test byte [eax + 0x20], 0x40
je 0x8376fb0f
push edi
push esi
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push 0x870f9898
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.837cd2cd
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x34]
jne 0x8376fb3d
cmp eax, ebx
je 0x8376fb30
cmp dword [eax], 0x616c7049
push eax
je 0x8376fb2b
call fcn.83789f00
jmp 0x8376fb30
call fcn.8376effe
xor ecx, ecx
lea eax, [edi + 4]
inc ecx
lock xadd dword [eax], ecx
mov dword [ebp - 0x38], edi
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x34]
jne 0x8376fb6b
cmp eax, ebx
je 0x8376fb5e
cmp dword [eax], 0x616c7049
push eax
je 0x8376fb59
call fcn.83789f00
jmp 0x8376fb5e
call fcn.8376effe
xor ecx, ecx
lea eax, [edi + 4]
inc ecx
lock xadd dword [eax], ecx
mov dword [ebp - 0x40], edi
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x8376fb87
cmp dword [eax], 0x616c7049
push eax
je 0x8376fb82
call fcn.83789f00
jmp 0x8376fb87
call fcn.8376effe
cmp dword [ebp - 0x28], ebx
je 0x8376fbae
push esi
push dword [ebp - 0x28]
call fcn.837c76e9
push ebx
push 2
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x28]
call fcn.8372e8f0
test eax, eax
jl 0x8376f44f
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x30], esi
xor edi, edi
mov ebx, 0xfffffff
mov esi, dword [ebp - 0x98]
mov eax, esi
cmp dword [ebp - 0x4c], eax
jne 0x8376f8ef
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call fcn.8371bb76
test eax, eax
jge 0x8376f8c4
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x28]
cmp esi, edi
je 0x8376fc0f
cmp ebx, edi
je 0x8376fc0f
lea eax, [esi + 0x20]
push eax
push ebx
call fcn.8375d5fc
push esi
lea eax, [ebp - 0xcc]
push eax
push ebx
call fcn.83775a4d
cmp dword [ebp - 0x94], edi
je 0x8376fc25
cmp ebx, edi
je 0x8376fc25
xor eax, eax
add ebx, 0x14
inc eax
lock xadd dword [ebx], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax + 4]
and ecx, dword [ebp - 0x54]
inc ecx
shl ecx, 6
add ecx, eax
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp dword [ebp - 0x78], 2
je 0x8376fc4b
cmp dword [ebp - 0x5c], 3
jne 0x8376fd98
cmp dword [ebp - 0x38], edi
jne 0x8376fc8e
mov eax, dword [0x870fed28]
xor eax, dword [ebp + 0x18]
and eax, 0xfffffff
xor eax, dword [ebp + 0x18]
push eax
push dword [ebp - 0xac]
call fcn.837274ba
mov esi, eax
cmp esi, edi
je 0x8376fc8e
push dword [ebp - 0x3c]
push edi
push esi
call fcn.83767bc3
push esi
mov dword [ebp - 0x38], eax
call fcn.83778442
cmp dword [ebp - 0x38], edi
je 0x8376fd0e
mov ebx, dword [ebp - 0x40]
cmp ebx, edi
jne 0x8376fce3
test dword [ebp + 0x18], 0xfffffff
je 0x8376fccd
push dword [ebp + 0x18]
push dword [ebp - 0xac]
call fcn.837274ba
mov esi, eax
cmp esi, edi
je 0x8376fce3
push dword [ebp - 0x3c]
push edi
push esi
call fcn.83767bc3
mov ebx, eax
push esi
mov dword [ebp - 0x40], ebx
call fcn.83778442
cmp ebx, edi
jne 0x8376fce3
jmp 0x8376fd0e
mov eax, dword [ebp - 0x38]
cmp eax, edi
je 0x8376fce3
xor edx, edx
lea ecx, [eax + 4]
inc edx
lock xadd dword [ecx], edx
mov ebx, eax
mov dword [ebp - 0x40], ebx
mov esi, dword [ebp - 0x34]
cmp esi, edi
jne 0x8376fd9e
cmp dword [ebp - 0x48], edi
je 0x8376fd86
push dword [ebp - 0x3c]
push edi
push dword [ebp - 0x48]
call fcn.83767bc3
mov dword [ebp - 0x34], eax
cmp eax, edi
jne 0x8376fd98
cmp dword [ebp - 0x94], edi
je 0x8376fd24
cmp dword [ebp - 0x30], 0
je 0x8376fd24
push dword [ebp - 0x30]
call fcn.83761610
mov eax, dword [ebp - 0x34]
mov esi, 0x616c7049
test eax, eax
je 0x8376fd41
push eax
cmp dword [eax], esi
je 0x8376fd3c
call fcn.83789f00
jmp 0x8376fd41
call fcn.8376effe
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x8376fd59
push eax
cmp dword [eax], esi
je 0x8376fd54
call fcn.83789f00
jmp 0x8376fd59
call fcn.8376effe
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x8376fd71
push eax
cmp dword [eax], esi
je 0x8376fd6c
call fcn.83789f00
jmp 0x8376fd71
call fcn.8376effe
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x8376fd7c
or byte [eax + 0xc], 1
mov eax, 0xc000009a
jmp 0x8376fe15
cmp ebx, edi
je 0x8376fd9e
xor ecx, ecx
lea eax, [ebx + 4]
inc ecx
lock xadd dword [eax], ecx
mov esi, ebx
jmp 0x8376fd9e
mov ebx, dword [ebp - 0x40]
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
cmp eax, edi
je 0x8376fdba
cmp dword [eax], 0x616c7049
push eax
je 0x8376fdb5
call fcn.83789f00
jmp 0x8376fdba
call fcn.8376effe
cmp ebx, edi
je 0x8376fdd3
cmp dword [ebx], 0x616c7049
push ebx
je 0x8376fdce
call fcn.83789f00
jmp 0x8376fdd3
call fcn.8376effe
cmp esi, dword [ebp - 0x38]
je 0x8376fdea
mov eax, dword [ebp - 0x90]
cmp esi, ebx
jne 0x8376fde7
or byte [eax], 4
jmp 0x8376fdea
or byte [eax], 2
cmp esi, edi
jne 0x8376fe26
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x8376fdf9
or byte [eax + 0xc], 1
test dword [ebp + 0x18], 0xfffffff
je 0x8376fe10
cmp ebx, edi
jne 0x8376fe10
mov eax, 0xc0000207
cmp dword [ebp - 0x48], edi
jne 0x8376fe15
mov eax, 0xc0000225
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.83781dcc
leave
ret 0x24
mov eax, dword [ebp - 0xb0]
mov dword [eax], esi
mov eax, dword [ebp - 0x28]
cmp eax, edi
je 0x8376fe3e
cmp dword [ebp - 0x30], edi
jne 0x8376fe3e
or byte [eax + 0xc], 1
mov eax, dword [ebp - 0x94]
cmp eax, edi
je 0x8376f1f4
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
jmp 0x8376f1f4