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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [ebp + 0x58]
push ebx
push esi
push edi
xor esi, esi
push 0x188
mov dword [eax], esi
lea eax, [ebp - 0x1a4]
push esi
push eax
mov byte [ebp - 1], 0
mov byte [ebp - 9], 0
mov byte [ebp - 0xb], 0
mov byte [ebp - 0xa], 0
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.837853bf
movzx eax, word [ebp + 0xc]
add esp, 0xc
dec eax
dec eax
lea eax, [ebp - 0x10]
push eax
je 0x8376ca54
push dword [0x8710ba58]
call fcn.8377f957
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x8376d03a
lea eax, [ebp - 0x14]
push eax
push dword [0x8710ba58]
call fcn.8377f957
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x8376d03a
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0xc]
mov esi, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov edi, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x20]
mov edi, edx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xb8], 0x10
jmp 0x8376caa7
push dword [0x8710ba54]
call fcn.8377f957
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x8376d03a
lea eax, [ebp - 0x14]
push eax
push dword [0x8710ba54]
call fcn.8377f957
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x8376d03a
mov eax, dword [ebp + 0x18]
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x10]
mov dword [ecx], edx
mov edx, dword [ebp + 0x20]
mov esi, dword [edx]
mov edx, dword [ebp - 0x14]
mov dword [edx], esi
mov dword [ebp - 0xb8], 4
or dword [ebp - 0x194], 2
cmp byte [ebp + 0x34], 0
mov byte [ebp - 0x22], 0
je 0x8376cac2
or dword [ebp - 0x194], 0x100000
mov esi, dword [ebp + 8]
test byte [esi + 0x10], 0x10
je 0x8376cad7
push 0x10
pop edi
lea ebx, [ebp - 0x194]
lock or dword [ebx], edi
mov eax, dword [eax + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0xbc], ecx
mov cl, byte [ebp + 0x4c]
mov byte [ebp - 0xb4], cl
mov cl, byte [ebp + 0x50]
mov byte [ebp - 0xb3], cl
mov cl, byte [ebp + 0x34]
mov byte [ebp - 0x24], cl
mov dword [ebp - 0xb0], esi
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x1a0], edx
mov word [ebp - 0x18c], bx
mov dword [ebp - 0x19c], esi
mov ecx, dword [eax + 8]
mov dword [ebp - 0xc4], ecx
mov eax, dword [eax + 0xc]
xor ecx, ecx
mov dword [ebp - 0xc0], eax
push 2
pop eax
cmp ax, bx
mov eax, dword [ebp + 0x40]
setne cl
mov edx, 0x8000
dec ecx
and ecx, 0xfffffff4
add ecx, 0x10
mov dword [ebp - 0xb8], ecx
test eax, eax
je 0x8376cb7c
push 0x18
lea esi, [eax + 0x58]
pop ecx
lea edi, [ebp - 0x14c]
rep movsd dword es:[edi], dword [esi]
test dword [eax + 0x10], edx
je 0x8376cb69
lea ecx, [ebp - 0x194]
lock or dword [ecx], edx
mov ecx, 0x10000
test dword [eax + 0x10], ecx
je 0x8376cb7c
lea eax, [ebp - 0x194]
lock or dword [eax], ecx
mov eax, dword [ebp + 0x48]
test eax, eax
je 0x8376cb89
mov dword [ebp - 0xe8], eax
push dword [ebp + 0x10]
push ebx
call fcn.8377a76c
test al, al
jne 0x8376cbae
mov ax, word [ebp + 0x1c]
mov word [ebp - 0x18a], ax
mov ax, word [ebp + 0x24]
mov word [ebp - 0x188], ax
jmp 0x8376cbc8
mov eax, dword [ebp + 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0x188], ecx
mov cl, byte [eax + 4]
mov al, byte [eax + 5]
mov byte [ebp - 0x3c], cl
mov byte [ebp - 0x3b], al
mov byte [ebp - 0x3a], cl
lea eax, [ebp - 0x1c]
push eax
push 1
push 0x8710fa00
call dword [0x870f46b0]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.8377a62a
mov ebx, eax
xor esi, esi
mov dword [ebp + 0x1c], ebx
cmp ebx, esi
je 0x8376cc4b
lea eax, [ebx + 0x40]
push eax
call fcn.83773742
test al, al
je 0x8376cc4b
test dword [ebx + 0x10], 0x8000
mov byte [ebp + 0x53], 0
jne 0x8376cc1e
push dword [ebp + 0x44]
lea eax, [ebx + 0xf8]
push esi
push eax
call fcn.8377590e
lea eax, [ebx + 0xa8]
cmp dword [eax], esi
jne 0x8376cef0
mov ecx, dword [ebp - 0xfc]
test ecx, ecx
je 0x8376cef0
mov dword [eax], ecx
mov eax, dword [ebp + 0x40]
and dword [eax + 0xa8], 0
jmp 0x8376cef0
mov eax, dword [ebp + 0x40]
mov dword [eax + 0xa8], esi
mov dword [eax + 0xac], esi
cmp dword [0x8710ba4c], 4
mov byte [ebp + 0x53], 1
jne 0x8376cc77
cmp byte [ebp + 0x34], 0
jne 0x8376cc77
push 0x87110500
call 0x837de89b
lea eax, [ebp + 0x1c]
push eax
push dword [0x8710ba50]
call fcn.8377f957
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 8], eax
cmp eax, esi
jne 0x8376cf99
push 0x188
push 0
push ebx
call fcn.837853bf
add esp, 0xc
push 0x62
pop ecx
lea esi, [ebp - 0x1a4]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x174], eax
lea eax, [ebx + 0x16c]
push eax
push 0x8710f9c0
call fcn.8377f9d2
mov dword [ebp - 8], eax
test eax, eax
jne 0x8376cf99
mov esi, dword [ebp + 8]
lea eax, [esi + 0x40]
push eax
mov byte [ebp - 0xb], 1
call fcn.83773742
test al, al
jne 0x8376cd07
push 1
push 0
push 0xc0000001
push 0x870f71f4
push 0
call fcn.8377aaa5
mov dword [ebp - 8], eax
jmp 0x8376cf8f
lea eax, [ebx + 0x110]
push eax
mov eax, dword [esi + 0x10]
push dword [ebp + 0x30]
xor ecx, ecx
push dword [ebp + 0x2c]
and al, 0x10
cmp al, 0x10
sete cl
mov byte [ebp - 1], 1
push ecx
push dword [esi + 8]
push dword [ebp + 0xc]
call fcn.8377a8e6
mov edi, dword [ebp + 0x40]
lea esi, [ebx + 0x40]
mov dword [esi], 1
mov byte [esi + 4], 0
mov byte [esi + 5], 1
mov dword [esi + 8], ebx
mov dword [esi + 0xc], 0x8707c2d5
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
mov edx, eax
or edx, ecx
je 0x8376cd90
push ecx
push eax
call fcn.83767bb8
push dword [edi + 0x34]
lea eax, [ebx + 0x20]
push dword [edi + 0x30]
push eax
call fcn.8377227d
mov dword [ebp - 8], eax
test eax, eax
jne 0x8376cf99
mov eax, edi
mov ecx, dword [eax + 0x3c]
xor edi, edi
mov dword [ebx + 0x3c], ecx
mov dword [eax + 0x3c], edi
mov dword [eax + 0x30], edi
mov dword [eax + 0x34], edi
jmp 0x8376cdaa
push 0
push 0
lea eax, [ebx + 0x20]
push eax
call fcn.8377227d
mov dword [ebp - 8], eax
test eax, eax
jne 0x8376cf99
xor edi, edi
push esi
call fcn.8377a8c4
mov eax, dword [ebp + 8]
mov dword [ebx], edi
mov ecx, dword [eax + 0x78]
push ebx
and ecx, 0x7000884
or dword [ebx + 0x78], ecx
push eax
mov byte [ebp - 9], 1
mov byte [ebp - 1], 0
mov dword [ebp - 8], edi
call fcn.83767a99
cmp dword [ebp + 0x54], edi
je 0x8376cdec
push dword [ebp + 0x54]
push ebx
call fcn.8376207d
mov dword [ebp - 8], eax
cmp eax, edi
jne 0x8376d091
xor ecx, ecx
mov eax, 0x8710fc10
inc ecx
lock xadd dword [eax], ecx
mov eax, dword [0x8710ba4c]
mov ecx, dword [0x8710fc10]
cmp ecx, dword [eax*4 - 0x78eff69c]
jle 0x8376ce28
cmp eax, 4
jge 0x8376ce28
push dword [eax*4 - 0x78f08e44]
inc eax
push 0x87110500
mov dword [0x8710ba4c], eax
call 0x837de890
cmp byte [ebp + 0x34], 0
je 0x8376ce42
cmp byte [ebp + 0x4c], 1
jne 0x8376ce42
test dword [ebx + 0x10], 0x4000
je 0x8376ce42
xor eax, eax
inc eax
jmp 0x8376ce44
xor eax, eax
lea edi, [ebx + 0x10]
test dword [edi], 0x8000
jne 0x8376ce89
test eax, eax
jne 0x8376ce89
push dword [ebp + 0x44]
push ebx
call fcn.83788fac
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x118]
lea eax, [ebx + 0x178]
add ecx, 0x114
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [ecx + 4], eax
mov byte [ebp - 0xa], 1
mov eax, 0x20000
lock or dword [edi], eax
jmp 0x8376ce92
mov eax, dword [ebp + 0x44]
mov dword [ebx + 0x184], eax
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x8376cee0
movzx eax, byte [ebp + 0x34]
neg eax
sbb eax, eax
and eax, dword [ebp + 0x3c]
push eax
movzx eax, byte [ebp + 0x34]
neg eax
sbb eax, eax
and eax, dword [ebp + 0x38]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push edi
call fcn.8377a586
push eax
xor eax, eax
cmp byte [ebp + 0x34], al
sete al
push eax
push dword [edi + 0xc]
lea eax, [ebx + 0x110]
push dword [edi + 8]
push eax
lea eax, [ebx + 0xc0]
push eax
call fcn.83767b64
push esi
call fcn.8377a8c4
mov eax, dword [ebp + 0x5c]
test eax, eax
je 0x8376cef0
mov byte [eax], 1
mov eax, dword [ebp + 0x58]
mov ecx, dword [ebp + 8]
mov dword [eax], ebx
cmp word [ecx + 0x18], 2
jne 0x8376cf4a
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x8376cf8f
cmp byte [eax + 0x1d], 6
jb 0x8376cf8f
test dword [eax + 0x20], 0x10000
je 0x8376cf8f
push dword [ecx + 8]
movzx edx, word [ebp + 0x24]
movzx ecx, word [ecx + 0x1a]
push edx
push dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 0xc]
push dword [ecx]
push 0x870f71a8
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.837b8b0f
jmp 0x8376cf8f
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x8376cf8f
cmp byte [eax + 0x1d], 6
jb 0x8376cf8f
test dword [eax + 0x20], 0x10000
je 0x8376cf8f
push dword [ecx + 8]
movzx edx, word [ebp + 0x24]
movzx ecx, word [ecx + 0x1a]
push edx
push dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x18]
mov ecx, dword [ecx + 0xc]
push dword [ecx]
push 0x870f71a8
push 0xb
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.837b8b50
cmp dword [ebp - 8], 0
je 0x8376d023
test ebx, ebx
je 0x8376d023
cmp byte [ebp + 0x53], 0
je 0x8376d023
cmp byte [ebp - 0xb], 0
je 0x8376cfbe
lea eax, [ebx + 0x16c]
push eax
push 0x8710f9c0
call fcn.8377ff36
cmp byte [ebp - 0xa], 0
je 0x8376cfd9
lea eax, [ebx + 0xf8]
push eax
call fcn.8373811b
lea eax, [ebx + 0x40]
push eax
call fcn.8377d67d
lea edx, [ebx + 0x10]
test dword [edx], 0x20000
je 0x8376cffc
lea eax, [ebx + 0x178]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov eax, 0xfffdffff
lock and dword [edx], eax
cmp byte [ebp - 9], 0
je 0x8376d011
lea esi, [ebx + 0x40]
push esi
call fcn.83767e47
push esi
call fcn.8377d67d
cmp byte [ebp - 1], 0
je 0x8376d023
mov eax, dword [ebp + 8]
add eax, 0x40
push eax
call fcn.8377d67d
lea eax, [ebp - 0x1c]
push eax
push 0x8710fa00
call dword [0x870f46ac]
xor esi, esi
cmp byte [ebp + 0x53], 0
jne 0x8376d08c
push 2
pop eax
cmp ax, word [ebp + 0xc]
jne 0x8376d066
cmp dword [ebp - 0x10], esi
je 0x8376d056
push dword [ebp - 0x10]
push dword [0x8710ba54]
call fcn.8377feeb
cmp dword [ebp - 0x14], esi
je 0x8376d08c
push dword [ebp - 0x14]
push dword [0x8710ba54]
jmp 0x8376d087
cmp dword [ebp - 0x10], esi
je 0x8376d079
push dword [ebp - 0x10]
push dword [0x8710ba58]
call fcn.8377feeb
cmp dword [ebp - 0x14], esi
je 0x8376d08c
push dword [ebp - 0x14]
push dword [0x8710ba58]
call fcn.8377feeb
cmp dword [ebp - 8], esi
je 0x8376d09e
push 0x870f71f4
push dword [ebp - 8]
call fcn.8377aa64
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 0x58