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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x87100004]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x80], ecx
mov ecx, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0x28]
mov dword [ebp - 0x94], ecx
mov ecx, dword [ebp + 0x20]
push esi
mov esi, dword [eax + 0x224]
push edi
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp + 0x24]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp + 0x2c]
mov dword [ebp - 0x88], eax
push 7
xor eax, eax
mov dword [ebp - 0x98], ecx
pop ecx
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x22]
rep stosd dword es:[edi], eax
xor edx, edx
push 0x3c
stosw word es:[edi], ax
push edx
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x78], edx
mov byte [ebp - 0x84], 0xff
mov byte [ebp - 0x72], dl
mov dword [ebp - 0x7c], edx
mov dword [ebp - 0x64], edx
call fcn.837853bf
xor eax, eax
push 0x64
push eax
mov word [ebp - 0x110], ax
lea eax, [ebp - 0x10c]
push eax
call fcn.837853bf
movzx eax, word [esi + 0x14]
and eax, 1
shl eax, 4
movzx eax, word [eax - 0x78ef836e]
add esp, 0x18
push eax
call fcn.8377185d
dec eax
neg eax
sbb al, al
inc al
mov byte [ebp - 0x65], al
test ebx, ebx
jne 0x8376ab5a
test al, al
je 0x8376a811
lea eax, [ebp - 0x110]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x64]
push eax
call fcn.8376197c
mov esi, dword [ebp - 0x88]
lea ebx, [ebp - 0x64]
jmp 0x8376a8b5
push dword [ebp - 0x6c]
mov esi, dword [ebp - 0x88]
push dword [ebp - 0x9c]
push dword [ebp - 0x94]
push dword [ebp - 0x80]
push dword [ebp - 0x8c]
push dword [ebp + 0x10]
push dword [ebp - 0x70]
push esi
call fcn.837c8517
mov ebx, eax
test ebx, ebx
jne 0x8376a8b1
mov dword [ebp - 0x78], 0xc000009a
mov eax, dword [ebp - 0x98]
and dword [eax], 0
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x8376a867
mov ecx, dword [0x8710bb04]
push eax
mov dword [eax + 0x58], ecx
call fcn.83761664
mov cl, byte [ebp - 0x84]
cmp cl, 0xff
je 0x8376a878
call dword [0x870f47c8]
cmp dword [ebp - 0x78], 0x103
je 0x8376a891
cmp byte [ebp - 0x72], 0
je 0x8376a891
test ebx, ebx
je 0x8376a891
push ebx
call fcn.837c8a49
cmp byte [ebp - 0x65], 0
je 0x8376a89d
push ebx
call fcn.8376189b
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.83781dcc
leave
ret 0x28
mov byte [ebp - 0x72], 1
push dword [ebp - 0x94]
lea eax, [ebp - 0x6c]
push dword [ebp - 0x80]
push dword [ebp - 0x8c]
push dword [ebp + 0x10]
push dword [ebp - 0x70]
push eax
push esi
call fcn.837618ec
mov dword [ebp - 0x7c], eax
test eax, eax
je 0x8376ab60
cmp byte [ebp - 0x65], 0
jne 0x8376aa00
lea eax, [ebp - 0x84]
lea ecx, [esi + 0x240]
push eax
lea edx, [ebp - 0x6c]
call fcn.837616fb
mov edi, dword [ebp - 0x7c]
cmp dword [edi + 0x8c], 0
je 0x8376a9d5
mov eax, dword [edi + 0x88]
test eax, eax
je 0x8376a92d
mov ecx, dword [ebx + 0x3c]
add ecx, 0x20
push ecx
push eax
call fcn.8375632f
test eax, eax
jl 0x8376a9d5
xor ecx, ecx
lea eax, [edi + 0x54]
inc ecx
lock xadd dword [eax], ecx
mov eax, dword [0x8710bb04]
mov dword [edi + 0x58], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebx], edi
mov ecx, dword [esi + 4]
mov dword [eax + 8], ecx
mov eax, dword [edi + 0x8c]
xor ecx, ecx
add eax, 4
inc ecx
lock xadd dword [eax], ecx
mov eax, dword [edi + 0x8c]
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x88]
test eax, eax
je 0x8376a977
xor ecx, ecx
add eax, 0x14
inc ecx
lock xadd dword [eax], ecx
mov eax, dword [edi + 0x88]
mov dword [ebx + 8], eax
lea eax, [esi + 0x240]
mov ecx, dword [eax + 4]
and ecx, dword [ebp - 0x6c]
inc ecx
shl ecx, 6
add ecx, eax
or eax, 0xffffffff
lock xadd dword [ecx], eax
cmp byte [ebp - 0x65], 0
jne 0x8376ab03
mov edi, dword [ebp - 0x90]
mov ax, word [edi + 0x14]
mov word [ebp - 0x24], ax
mov eax, dword [esi + 0x224]
mov ecx, dword [ebx + 0x3c]
cmp eax, 0x87100ec0
jne 0x8376aa1a
cmp dword [ebx + 8], 0
je 0x8376aa10
mov eax, dword [ecx + 0x24]
mov dword [ebp - 0x20], eax
mov al, byte [ecx + 0x28]
jmp 0x8376aa57
push dword [ebp - 0x84]
mov edx, dword [ebp - 0x6c]
lea ecx, [esi + 0x240]
call fcn.8376172f
mov eax, dword [0x8710bb04]
push edi
mov dword [edi + 0x58], eax
call fcn.83761664
and dword [ebp - 0x7c], 0
jmp 0x8376ab60
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x98]
mov dword [ecx], eax
jmp 0x8376ad9f
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
jmp 0x8376aa4e
cmp dword [ebx + 8], 0
lea edi, [ebp - 0x1c]
je 0x8376aa3b
lea esi, [ecx + 0x24]
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 al, byte [ecx + 0x34]
mov esi, dword [ebp - 0x88]
mov edi, dword [ebp - 0x90]
jmp 0x8376aa57
mov esi, dword [ebp - 0x70]
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 - 0x88]
mov edi, dword [ebp - 0x90]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 6]
shl al, 3
mov byte [ebp - 8], al
mov eax, dword [ebx + 4]
cmp dword [eax], 0x656e7049
jne 0x8376aa6d
lea ecx, [eax + 0x90]
jmp 0x8376aa72
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x94]
test edx, edx
jne 0x8376aa82
mov edx, dword [edi + 0x306c]
push dword [ebp + 0x10]
cmp dword [ebp - 0x80], 0
push ecx
lea ecx, [ebp - 0x24]
push ecx
setne cl
movzx ecx, cl
push ecx
push dword [eax + 8]
mov dword [ebp - 0x6c], edx
push dword [ebp - 0x70]
call dword [edi + 0x78]
push eax
push dword [ebp - 0x70]
mov eax, dword [ebp - 0x9c]
push dword [edi + 0x10]
neg eax
sbb eax, eax
push ebx
and eax, 0x870dcea5
push eax
push dword [ebp - 0x6c]
call fcn.8373f4da
mov dword [ebp - 0x78], eax
test eax, eax
jge 0x8376aaf8
cmp eax, 0xc0000022
jne 0x8376ad88
mov eax, dword [ebx + 4]
cmp dword [eax], 0x616c7049
jne 0x8376ac1d
cmp dword [eax + 0x10], 1
jne 0x8376ac1d
mov dword [ebp - 0x78], 0xc000023c
jmp 0x8376ad88
cmp eax, 0x103
je 0x8376a851
cmp dword [ebp - 0x7c], 0
jne 0x8376ad88
lea eax, [ebp - 0x71]
push eax
lea eax, [ebx + 0xc]
push eax
push dword [ebp - 0x80]
mov byte [ebp - 0x71], 0
push dword [ebp - 0x8c]
push dword [ebx + 4]
push dword [ebp - 0x70]
call fcn.837647df
cmp byte [ebp - 0x71], 0
mov dword [ebp - 0x6c], eax
je 0x8376acdc
cmp byte [ebp - 0x65], 0
jne 0x8376ab48
push dword [ebx + 0x3c]
call fcn.837425d9
push ebx
call fcn.8376189b
mov eax, dword [ebx + 0x3c]
or byte [eax + 0xc], 2
jmp 0x8376ac23
mov esi, dword [ebp - 0x88]
call dword [0x870f47ec]
mov byte [ebp - 0x84], al
mov eax, dword [ebx + 0x3c]
lea ecx, [eax + 0x10]
cmp dword [ecx], ecx
je 0x8376abbc
mov eax, dword [ecx]
mov edx, dword [eax]
mov dword [ecx], edx
mov dword [edx + 4], ecx
mov ecx, dword [ebx + 0x3c]
dec dword [ecx + 0x18]
mov ecx, dword [eax + 8]
mov dword [ebx + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebx + 4], ecx
test byte [eax + 0x18], 2
jne 0x8376abab
mov edi, dword [ebx + 0x3c]
push 0x12
lea esi, [eax + 0x20]
add edi, 0x20
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x88]
test byte [eax + 0x18], 1
je 0x8376ac04
push 0
push eax
call dword [0x870f434c]
jmp 0x8376ac04
cmp byte [ebp - 0x65], 0
je 0x8376abc8
and dword [ebp - 0x6c], 0
jmp 0x8376abcb
mov dword [ebp - 0x6c], eax
mov al, byte [eax + 0xc]
shr al, 1
lea edi, [ebx + 0xc]
push edi
mov edi, dword [ebp - 0x8c]
lea ecx, [ebx + 8]
push ecx
not al
lea edx, [ebx + 4]
push edx
push dword [ebp - 0x6c]
and al, 1
movzx eax, al
push eax
push dword [ebp - 0x80]
push dword [ebp + 0x10]
push dword [ebp - 0x70]
push edi
push esi
call fcn.83775a58
mov dword [ebp - 0x78], eax
test eax, eax
jl 0x8376ac34
mov eax, dword [ebx]
test eax, eax
je 0x8376a999
mov eax, dword [eax + 0x88]
cmp eax, dword [ebx + 8]
jne 0x8376a999
push ebx
call fcn.8376189b
mov cl, byte [ebp - 0x84]
call dword [0x870f47c8]
jmp 0x8376ab60
cmp dword [ebp - 0x90], 0x87100ec0
jne 0x8376ac8e
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x8376ad88
cmp byte [eax + 0x1d], 4
jb 0x8376ad88
test byte [eax + 0x20], 0x40
je 0x8376ad88
test edi, edi
jne 0x8376ac6d
or edi, 0xffffffff
jmp 0x8376ac70
mov edi, dword [edi + 4]
push edi
push dword [ebp - 0x80]
push dword [ebp - 0x70]
push 0x870f9898
push 0x13
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.837c7650
jmp 0x8376ad88
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x8376ad88
cmp byte [eax + 0x1d], 4
jb 0x8376ad88
test byte [eax + 0x20], 0x40
je 0x8376ad88
test edi, edi
jne 0x8376acbb
or edi, 0xffffffff
jmp 0x8376acbe
mov edi, dword [edi + 4]
push edi
push dword [ebp - 0x80]
push dword [ebp - 0x70]
push 0x870f9898
push 0x14
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.837c7688
jmp 0x8376ad88
test eax, eax
jne 0x8376acec
mov dword [ebp - 0x78], 0xc000023d
jmp 0x8376a848
mov eax, dword [esi + 0x224]
mov eax, dword [eax + 0xc]
movzx eax, word [eax + 6]
push eax
push dword [ebp - 0x70]
push dword [0x87111e24]
call fcn.83771852
mov edi, eax
lea ecx, [esi + 0x240]
lea edx, [ebp - 0xa8]
or edi, 0x80000000
call fcn.83777613
push dword [ebx + 8]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push edi
push esi
call fcn.83761e60
mov edi, eax
mov dword [ebp - 0x7c], edi
test edi, edi
jne 0x8376ad6e
push dword [ebx + 8]
push dword [ebx + 4]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebx + 0xc]
push esi
call fcn.83762c2a
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x8376ad7c
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x78], 0xc000009a
call dword [0x870f4194]
jmp 0x8376a848
push dword [ebp - 0x6c]
call fcn.8376effe
mov eax, dword [esi + 4]
mov dword [edi + 0xc], eax
lea ecx, [ebp - 0xa8]
call dword [0x870f4194]
cmp dword [ebp - 0x78], 0
jl 0x8376a848
cmp dword [ebp - 0x78], 0x103
je 0x8376a851
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x98]
mov dword [ecx], eax
jmp 0x8376a867