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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x87100004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xe8], esi
test eax, eax
jne 0x8376005e
lea eax, [ebp - 0x108]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebx + 0x48]
mov dword [ebp - 0x108], eax
mov eax, dword [ebx + 0xd0]
mov dword [ebp - 0x104], eax
test eax, eax
je 0x8376005e
mov eax, dword [ebx + 0xd4]
mov dword [ebp - 0x100], eax
mov eax, dword [ebx + 0xd8]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebx + 0xdc]
mov dword [ebp - 0xf8], eax
test byte [ebp + 0x14], 2
mov al, byte [ebx + 0x198]
je 0x837600ad
mov cl, al
shr cl, 5
and cl, 1
movzx ecx, cl
push ecx
mov cl, al
shr al, 6
shr cl, 3
and al, 1
and cl, 1
movzx eax, al
movzx ecx, cl
push ecx
push eax
mov al, byte [ebx + 0x19a]
shr al, 3
and al, 1
movzx eax, al
push eax
call fcn.837396d0
mov byte [ebp - 0xc6], al
mov eax, dword [ebx + 0xf0]
jmp 0x837600c8
and al, 0x20
neg al
sbb al, al
and al, 0xc
add al, 0x14
push ebx
mov byte [ebp - 0xc6], al
call fcn.837578ba
mov cl, byte [ebx + 0x75]
shr eax, cl
mov dl, byte [ebp - 0xc6]
mov ecx, 0xffff
mov dword [ebp - 0xdc], eax
mov byte [edi], dl
cmp eax, ecx
jbe 0x837600e5
mov dword [ebp - 0xdc], ecx
cmp dl, 0x14
je 0x837600ef
push 2
pop eax
jmp 0x837600f1
xor eax, eax
mov word [esi], ax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
sub eax, dword [ebx + 0x4c]
mov edi, 0x80000001
jns 0x8376019e
push ebx
call fcn.837687f9
test al, al
je 0x8376011b
mov ecx, ebx
call fcn.83716d9f
test byte [ebx + 0x198], 0x20
jne 0x8376019e
xor esi, esi
mov dword [ebx + 0x154], esi
cmp dword [0x87107e34], 1
jne 0x837601a0
mov al, byte [0x87107e38]
cmp al, 5
jae 0x83760142
test al, al
jne 0x837601a0
mov ecx, dword [0x87107e24]
and ecx, edi
xor eax, eax
or eax, ecx
je 0x837601a0
mov ecx, dword [0x87107e2c]
mov eax, ecx
xor edx, edx
and eax, edi
cmp edx, dword [0x87107e28]
jne 0x837601a0
cmp eax, ecx
jne 0x837601a0
xor eax, eax
push esi
lea edi, [ebp - 0x94]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
push esi
stosd dword es:[edi], eax
push esi
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x94]
push eax
push 0x870f51b0
push dword [0x87107e0c]
mov dword [ebp - 0x94], ebx
push dword [0x87107e08]
call fcn.83799836
jmp 0x837601a0
xor esi, esi
mov edi, dword [ebp - 0xb0]
cmp edi, esi
je 0x8376027b
test dword [ebx + 0x3c], 0x8000000
je 0x837601c0
mov eax, dword [ebx + 0x1e4]
add dword [eax + 0x20], edi
movzx eax, word [ebx + 0x19e]
cmp ax, si
je 0x8376027b
test al, 2
je 0x837601f9
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x4c]
mov edx, eax
sub edx, ecx
jns 0x837601f9
sub ecx, eax
cmp edi, ecx
jae 0x837601ed
mov ecx, edi
mov eax, dword [ebx + 0x1d0]
mov eax, dword [eax + 8]
add dword [eax + 0x14], ecx
test byte [ebx + 0x19e], 1
je 0x8376020f
mov eax, dword [ebx + 0x1d0]
mov eax, dword [eax]
add dword [eax], edi
adc dword [eax + 4], esi
test byte [ebx + 0x19e], 8
je 0x83760234
mov ecx, dword [ebp - 0xa8]
mov eax, edi
sub eax, dword [ebx + 0x44]
add eax, dword [ecx]
mov ecx, dword [ebx + 0x1d0]
mov ecx, dword [ecx + 0xc]
cmp dword [ecx], eax
jae 0x83760234
mov dword [ecx], eax
test byte [ebx + 0x19e], 0x20
je 0x8376027b
mov eax, dword [ebx + 0x1d0]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebx + 0xf0]
cmp dword [eax + 4], ecx
jbe 0x83760254
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x1d0]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebx + 0xf0]
cmp dword [eax], ecx
jae 0x83760269
mov dword [eax], ecx
mov eax, dword [ebx + 0x1d0]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebx + 0xf0]
mov dword [eax + 0x2c], ecx
lea eax, [ebp - 0xec]
push eax
push dword [ebx + 0x1c]
call fcn.83757890
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebx + 0xc]
imul ecx, ecx, 0x48
add ecx, dword [eax + 0x40]
test byte [ebx + 0x174], 4
mov dword [ebp - 0xe4], ecx
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xd4], esi
mov dword [ebp - 0xb4], ecx
jne 0x837602cf
movzx eax, word [eax + 0xc]
push dword [ebx + 0x194]
push eax
call fcn.8375b2da
test al, al
je 0x837608a9
mov eax, dword [ebx + 0x174]
test al, 8
jne 0x837608a9
mov ecx, dword [ebx + 0x6c]
inc ecx
cmp ecx, edi
ja 0x837608a9
lea ecx, [ebp - 0x108]
cmp dword [ebp - 0xa8], ecx
jne 0x837608a9
mov ecx, dword [ebx + 0x1e4]
cmp ecx, esi
je 0x8376030e
cmp dword [ecx + 0x10], esi
jne 0x837608a9
mov cl, byte [ebp + 0x14]
and cl, 0xfe
cmp cl, 0x10
jne 0x837608a9
test dword [ebx + 0x3c], 0x1000
jne 0x837608a9
cmp dword [ebx + 0x1cc], esi
je 0x837608a9
mov ecx, dword [ebx + 0xc]
cmp byte [ecx + 0x5a], 0
jne 0x837608a9
or eax, 4
mov dword [ebx + 0x174], eax
lea eax, [ebp - 0xc2]
push eax
lea eax, [ebp - 0xc1]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0xf4]
push eax
lea eax, [ebp - 0xd8]
push eax
push ebx
call fcn.8373afff
test eax, eax
jge 0x83760385
and dword [ebx + 0x174], 0xfffffffb
jmp 0x837608a9
mov eax, dword [ebp - 0xd8]
cmp eax, esi
je 0x83760394
cmp eax, 1
jne 0x837603bb
test byte [ebx + 0x198], 0x20
je 0x837603a6
cmp byte [ebp - 0xc1], 0
je 0x83760379
test dword [ebx + 0x174], 0x200000
je 0x837603bb
cmp byte [ebp - 0xc2], 0
je 0x83760379
cmp eax, esi
je 0x837603c4
cmp eax, 1
jne 0x837603d2
mov eax, 0x80
cmp word [ebx + 0x1c0], ax
ja 0x83760379
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebx + 0x44]
sub ecx, dword [ebx + 0x48]
dec eax
imul eax, dword [ebx + 0x6c]
add ecx, dword [ebx + 0xc4]
inc eax
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xbc], ecx
cmp edi, eax
jb 0x837608a9
mov eax, dword [ebp - 0xf4]
mov esi, dword [ebp - 0xb0]
mov ecx, dword [ebx + 0x6c]
xor edx, edx
cmp esi, eax
jbe 0x83760440
div ecx
mov dword [ebp - 0xac], eax
mov eax, 0x4000
cmp dword [ebp - 0xac], eax
jbe 0x8376042e
mov dword [ebp - 0xac], eax
imul ecx, dword [ebp - 0xac]
mov dword [ebp - 0xc0], ecx
jmp 0x83760632
lea eax, [ecx + esi - 1]
div ecx
mov dword [ebp - 0xac], eax
cmp esi, dword [ebp - 0xbc]
jae 0x83760626
test dword [ebx + 0x3c], 0x200000
jne 0x83760626
mov eax, ecx
imul eax, dword [ebp - 0xac]
mov edi, esi
sub edi, eax
jns 0x83760476
add edi, ecx
test edi, edi
je 0x83760626
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0xcc], eax
cdq
sub eax, edx
sar eax, 1
cmp edi, eax
jge 0x83760626
dec dword [ebp - 0xac]
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebp - 0xf0]
jb 0x837608a9
sub esi, edi
cmp dword [ebx + 0x34], 4
mov dword [ebp - 0xb0], esi
jl 0x83760626
or dword [ebx + 0x174], 0x100
cmp dword [0x87107e34], 1
jne 0x8376055f
mov al, byte [0x87107e38]
cmp al, 4
jae 0x837604e2
test al, al
jne 0x8376055f
mov eax, dword [0x87107e20]
mov ecx, dword [0x87107e24]
mov edx, 0x80
mov edi, 0x80000001
and eax, edx
and ecx, edi
or eax, ecx
je 0x8376055f
mov eax, dword [0x87107e28]
mov esi, dword [0x87107e2c]
mov ecx, eax
and ecx, edx
mov edx, esi
and edx, edi
cmp ecx, eax
jne 0x8376055f
cmp edx, esi
jne 0x8376055f
push dword [ebp - 0xcc]
xor eax, eax
push dword [ebx + 0x84]
lea edi, [ebp - 0x34]
push dword [ebx + 0xc4]
stosd dword es:[edi], eax
push dword [ebp - 0xb0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x34], ebx
push dword [eax + 0x6c]
lea eax, [ebp - 0x34]
push ebx
push eax
push 0x870f4eb0
push dword [0x87107e0c]
push dword [0x87107e08]
call fcn.837ad684
cmp dword [ebx + 0x204], 0
je 0x8376058d
push dword [ebp + 0x24]
push 0x81
push ebx
call fcn.8372d826
mov ecx, eax
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x6c]
push 0xa
xor edx, edx
pop esi
div esi
cmp ecx, eax
jle 0x83760626
push dword [ebp + 0x24]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x6c]
push 0xa
pop ecx
xor edx, edx
div ecx
push eax
push 0x81
push ebx
call fcn.837579ae
cmp dword [0x87107e34], 1
jne 0x83760626
mov al, byte [0x87107e38]
cmp al, 5
jae 0x837605bf
test al, al
jne 0x83760626
mov eax, dword [0x87107e20]
mov ecx, dword [0x87107e24]
and eax, 4
and ecx, 0x80000800
or eax, ecx
je 0x83760626
mov eax, dword [0x87107e28]
mov esi, dword [0x87107e2c]
mov ecx, eax
mov edx, esi
and ecx, 4
and edx, 0x80000800
cmp ecx, eax
jne 0x83760626
cmp edx, esi
jne 0x83760626
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x44], ebx
push dword [eax + 0x6c]
lea eax, [ebp - 0x44]
push 6
push ebx
push eax
push 0x870f4c40
push dword [0x87107e0c]
push dword [0x87107e08]
call fcn.837994a1
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc0], eax
movzx eax, byte [ebp - 0xc6]
push 0
push 0x8706e5c6
push 8
push eax
push 0x78
push dword [0x8710e9ec]
call fcn.8376300d
mov ecx, dword [ebp - 0xb4]
mov dword [ecx], eax
test eax, eax
je 0x837608a9
mov ecx, dword [eax + 8]
movzx edx, word [ecx + 6]
mov esi, dword [eax + 4]
lea edi, [edx + ecx + 8]
mov ecx, dword [ebx + 0x1c]
push 1
mov dword [eax + 0x70], ecx
push dword [ebx + 0x194]
call fcn.83757942
mov ecx, dword [ebp - 0xb4]
mov ecx, dword [ecx]
mov dword [ecx + 0x5c], eax
mov eax, dword [esi + 0x10]
test byte [eax + 6], 5
je 0x8376069a
mov eax, dword [eax + 0xc]
jmp 0x837606aa
push 0x10
xor ecx, ecx
push ecx
push ecx
push 1
push ecx
push eax
call dword [0x870f415c]
add eax, 0x78
test byte [ebx + 0x174], 4
mov dword [ebp - 0xcc], eax
je 0x83760714
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xb8]
and eax, 1
and ecx, 0xbff00000
shl eax, 0x1e
or eax, ecx
mov ecx, dword [ebx + 0x6c]
and ecx, 0xfffff
or eax, ecx
cmp dword [ebp - 0xd8], 1
mov dword [ebp - 0xb8], eax
je 0x837606f9
cmp dword [ebp - 0xd8], 0
jne 0x83760703
and dword [ebp - 0xb8], 0xc00fffff
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xb8]
mov dword [eax + 0x58], ecx
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
xor edx, edx
add ecx, 0x10
inc edx
lock xadd dword [ecx], edx
push dword [ebp + 0x24]
mov ecx, dword [eax + 4]
push dword [ebp + 0x14]
mov dword [edi], ecx
push dword [ebp - 0xc6]
mov dword [edi + 4], 1
mov edx, dword [eax]
mov dword [ecx + 0x38], edx
movzx ecx, word [ebx + 0x72]
push ecx
push dword [ebp - 0xdc]
push dword [ebp - 0xc0]
push esi
push dword [ebp - 0xcc]
push eax
push edi
push ebx
call fcn.83759c3d
test eax, eax
jl 0x8376088e
mov eax, dword [0x8710be70]
test eax, eax
je 0x83760794
push edi
call fcn.8379990a
test eax, eax
je 0x83760784
push 0x13
push eax
jmp 0x83760787
push 0x14
push ebx
mov eax, dword [ebp - 0xb4]
push dword [eax]
call fcn.837998af
mov esi, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xe4]
sub dword [ebp - 0xb0], esi
sub dword [ebp - 0xbc], esi
mov ecx, dword [ebp - 0xac]
add dword [eax + 0x20], ecx
adc dword [eax + 0x24], 0
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x837607d4
mov eax, dword [eax]
mov eax, dword [eax + 8]
push ecx
push dword [eax + 4]
push dword [ebp - 0xec]
call fcn.8375f091
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xe8]
or word [eax], 1
movzx eax, word [ebx + 0x19e]
test ax, ax
je 0x8376080c
test al, 1
je 0x8376080c
mov eax, dword [ebx + 0x1d0]
mov eax, dword [eax]
add dword [eax + 0x20], 1
adc dword [eax + 0x24], 0
cmp dword [0x87107e34], 1
jne 0x8376087b
mov al, byte [0x87107e38]
cmp al, 5
jae 0x83760822
test al, al
jne 0x8376087b
mov ecx, dword [0x87107e24]
mov edx, 0x80000001
and ecx, edx
xor eax, eax
or eax, ecx
je 0x8376087b
mov ecx, dword [0x87107e2c]
mov eax, ecx
and eax, edx
xor edx, edx
cmp edx, dword [0x87107e28]
jne 0x8376087b
cmp eax, ecx
jne 0x8376087b
push dword [ebp - 0xbc]
xor eax, eax
lea edi, [ebp - 0x64]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x64]
push eax
push 0x870f4f60
push dword [0x87107e0c]
mov dword [ebp - 0x64], ebx
push dword [0x87107e08]
call fcn.837994a1
mov eax, dword [ebp - 0xb0]
cmp eax, dword [ebp - 0xd0]
jb 0x837608a9
jmp 0x837603fe
mov esi, dword [ebp - 0xb4]
mov eax, dword [esi]
push 1
mov dword [eax + 0x38], 0x12345678
push dword [esi]
call fcn.83773afd
and dword [esi], 0
xor ecx, ecx
cmp dword [ebp - 0xb0], ecx
jne 0x837608bf
cmp dword [ebp - 0xd4], ecx
jne 0x83760f12
movzx eax, byte [ebp - 0xc6]
push ecx
push 0x8706e5c6
push 8
push eax
push 0x78
push dword [0x8710e9ec]
mov dword [ebp - 0xe8], eax
call fcn.8376300d
mov ecx, dword [ebp - 0xb4]
mov dword [ecx], eax
test eax, eax
je 0x83760f12
mov ecx, dword [eax + 8]
movzx edx, word [ecx + 6]
mov edi, dword [eax + 4]
lea esi, [edx + ecx + 8]
mov ecx, dword [ebx + 0x1c]
push 1
mov dword [eax + 0x70], ecx
push dword [ebx + 0x194]
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0xbc], edi
call fcn.83757942
mov ecx, dword [ebp - 0xb4]
mov ecx, dword [ecx]
mov dword [ecx + 0x5c], eax
mov eax, dword [edi + 0x10]
test byte [eax + 6], 5
je 0x83760938
mov eax, dword [eax + 0xc]
jmp 0x83760948
push 0x10
xor ecx, ecx
push ecx
push ecx
push 1
push ecx
push eax
call dword [0x870f415c]
mov edi, dword [ebp - 0xa8]
add eax, 0x78
cmp dword [ebp - 0xb0], 0
mov dword [ebp - 0xcc], eax
jne 0x83760969
and dword [esi], 0
and dword [esi + 4], 0
jmp 0x83760989
mov eax, dword [edi + 4]
add eax, 0x10
mov ecx, eax
xor eax, eax
inc eax
mov edx, eax
lock xadd dword [ecx], edx
mov ecx, dword [edi + 4]
mov dword [esi + 4], eax
mov dword [esi], ecx
mov eax, ecx
mov ecx, dword [edi]
mov dword [eax + 0x38], ecx
mov eax, dword [ebx + 0x1e4]
test eax, eax
jne 0x8376099b
and dword [ebp - 0xe0], eax
jmp 0x837609a4
mov eax, dword [eax + 0x10]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
add eax, 4
mov dword [ebp - 0xb8], eax
mov edx, dword [ebp - 0xb0]
mov esi, dword [ebp - 0xe4]
mov ecx, 0x80000000
test edx, edx
jne 0x837609d2
and dword [ebp - 0xac], edx
jmp 0x83760a12
mov eax, dword [ebx + 0x6c]
cmp edx, eax
jae 0x83760a0c
test dword [ebx + 0x3c], 0x200000
jne 0x83760a04
cmp dword [edi + 4], 0
je 0x83760a04
cmp edx, dword [edi + 8]
jae 0x83760a04
mov eax, dword [ebx + 0x64]
shr eax, 1
cmp edx, eax
jae 0x83760a04
lea eax, [ebp - 0x108]
cmp edi, eax
je 0x83760d2b
mov dword [ebp - 0xac], edx
jmp 0x83760a12
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xe0], 0
je 0x83760af0
lea eax, [ebp - 0x108]
cmp edi, eax
jne 0x83760af0
cmp dword [ebp - 0xac], 0
je 0x83760af0
test dword [ebx + 0x3c], 0x200000
jne 0x83760af0
lea eax, [ebp - 0xe0]
push eax
push dword [edi]
push ebx
call fcn.837a8663
test eax, eax
je 0x83760aeb
mov ecx, dword [edi]
mov edx, dword [ebp - 0xac]
add edx, ecx
push edx
push ecx
push eax
mov dword [ebp - 0xd0], edx
call fcn.8379995b
test al, al
je 0x83760aeb
mov eax, dword [ebp - 0xa8]
push 5
pop ecx
mov esi, eax
lea edi, [ebp - 0x11c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xd0]
mov esi, dword [eax + 4]
push eax
mov dword [eax], ecx
lea eax, [ebp - 0x11c]
push eax
push ebx
call fcn.83728685
mov eax, dword [ebp - 0xac]
sub dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa8]
cmp esi, dword [eax + 4]
je 0x83760d13
mov eax, dword [ebp - 0xc0]
mov esi, dword [esi]
test esi, esi
je 0x83760ada
xor edx, edx
lea ecx, [esi + 0x10]
inc edx
lock xadd dword [ecx], edx
inc dword [eax + 4]
mov ecx, dword [ebp - 0xa8]
cmp esi, dword [ecx + 4]
je 0x83760d13
jmp 0x83760ac7
mov ecx, 0x80000000
mov eax, dword [edi]
sub eax, dword [ebx + 0x4c]
jns 0x83760b9c
inc dword [esi + 0x28]
test dword [ebx + 0x174], 0x400000
jne 0x83760c19
mov eax, dword [ebx + 0x3c]
mov edx, eax
and edx, ecx
cmp edx, ecx
jne 0x83760c19
mov edx, dword [ebx + 0x78]
mov ecx, dword [edi]
mov esi, edx
sub esi, ecx
js 0x83760c19
mov esi, edx
sub esi, ecx
mov ecx, dword [ebp - 0xac]
sub esi, ecx
test esi, esi
jg 0x83760c19
cmp ecx, dword [ebx + 0x6c]
jae 0x83760b50
mov ecx, 0x800
test word [ebx + 0x40], cx
je 0x83760b65
mov cx, word [ebx + 0x40]
mov esi, 0x800
and cx, si
cmp cx, si
jne 0x83760c19
and eax, 0x7fffffff
mov dword [ebx + 0x3c], eax
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x83760c19
cmp byte [eax + 0x1d], 4
jb 0x83760c19
test byte [eax + 0x20], 0x80
je 0x83760c19
push edx
push ebx
push 0x870f5780
push 0x10
jmp 0x83760c0e
add dword [esi + 0x20], 1
adc dword [esi + 0x24], 0
mov eax, dword [ebx + 0xc]
cmp byte [eax + 0x5b], 1
jne 0x83760c19
mov eax, 0x800
test word [ebx + 0x40], ax
jne 0x83760c19
mov eax, dword [ebp - 0xac]
cmp eax, dword [ebx + 0x6c]
jne 0x83760c19
mov eax, dword [ebx + 0x3c]
test ecx, eax
jne 0x83760c19
mov edx, dword [ebx + 0x174]
mov dword [ebp - 0xd0], edx
test edx, 0x400000
jne 0x83760c19
test dl, 0x80
jne 0x83760c19
mov edx, dword [edi]
or eax, ecx
mov dword [ebx + 0x78], edx
mov dword [ebx + 0x3c], eax
mov eax, dword [0x87100000]
cmp eax, 0x87100000
je 0x83760c19
cmp byte [eax + 0x1d], 4
jb 0x83760c19
test byte [eax + 0x20], 0x80
je 0x83760c19
push edx
push ebx
push 0x870f5780
push 0x11
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.837ae3c7
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x83760c35
mov eax, dword [eax]
mov eax, dword [eax + 8]
push 1
push dword [eax + 4]
push dword [ebp - 0xec]
call fcn.8375f091
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
add eax, 4
cmp dword [ebp - 0xb8], eax
je 0x83760c98
push 1
push dword [ebp - 0xe8]
push 0x78
push dword [0x8710e9e8]
call fcn.837394ef
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x83760eb0
mov eax, dword [eax + 0x10]
test byte [eax + 6], 5
je 0x83760c79
mov eax, dword [eax + 0xc]
jmp 0x83760c89
push 0x10
xor ecx, ecx
push ecx
push ecx
push 1
push ecx
push eax
call dword [0x870f415c]
mov edi, dword [ebp - 0xa8]
add eax, 0x78
mov dword [ebp - 0xcc], eax
push dword [ebp + 0x24]
push dword [ebp + 0x14]
push dword [ebp - 0xc6]
push 0
push dword [ebp - 0xdc]
push dword [ebp - 0xac]
push dword [ebp - 0xbc]
push dword [ebp - 0xcc]
push edi
push dword [ebp - 0xc0]
push ebx
call fcn.83759c3d
test eax, eax
jl 0x83760eb0
mov eax, dword [ebp - 0xac]
sub dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0xb8]
mov dword [ecx], eax
mov dword [ebp - 0xb8], eax
movzx eax, word [ebx + 0x19e]
test ax, ax
je 0x83760d13
test al, 1
je 0x83760d13
mov eax, dword [ebx + 0x1d0]
mov eax, dword [eax]
add dword [eax + 0x20], 1
adc dword [eax + 0x24], 0
cmp dword [ebp - 0xb0], 0
je 0x83760eb0
mov edi, dword [ebp - 0xa8]
jmp 0x837609b5
cmp dword [ebx + 0x34], 4
jl 0x83760eb0
or dword [ebx + 0x174], 0x100
cmp dword [0x87107e34], 1
jne 0x83760de0
mov al, byte [0x87107e38]
cmp al, 4
jae 0x83760d5d
test al, al
jne 0x83760de0
mov eax, dword [0x87107e20]
mov ecx, dword [0x87107e24]
mov edx, 0x80
mov esi, 0x80000001
and eax, edx
and ecx, esi
or eax, ecx
je 0x83760de0
mov eax, dword [0x87107e28]
mov edi, dword [0x87107e2c]
mov ecx, eax
and ecx, edx
mov edx, edi
and edx, esi
cmp ecx, eax
jne 0x83760de0
cmp edx, edi
jne 0x83760de0
push dword [ebx + 0x64]
xor eax, eax
push dword [ebx + 0x84]
lea edi, [ebp - 0x84]
push dword [ebx + 0xc4]
stosd dword es:[edi], eax
push dword [ebp - 0xb0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x84], ebx
push dword [eax + 0x6c]
lea eax, [ebp - 0x84]
push ebx
push eax
push 0x870f4eb0
push dword [0x87107e0c]
push dword [0x87107e08]
call fcn.837ad684
cmp dword [ebx + 0x204], 0
je 0x83760e0e
push dword [ebp + 0x24]
push 0x81
push ebx
call fcn.8372d826
mov ecx, eax
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x6c]
push 0xa
xor edx, edx
pop esi
div esi
cmp ecx, eax
jle 0x83760eb0
push dword [ebp + 0x24]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x6c]
push 0xa
pop ecx
xor edx, edx
div ecx
push eax
push 0x81
push ebx
call fcn.837579ae
cmp dword [0x87107e34], 1
jne 0x83760eb0
mov al, byte [0x87107e38]
cmp al, 5
jae 0x83760e40
test al, al
jne 0x83760eb0
mov eax, dword [0x87107e20]
mov ecx, dword [0x87107e24]
and eax, 4
and ecx, 0x80000800
or eax, ecx
je 0x83760eb0
mov eax, dword [0x87107e28]
mov esi, dword [0x87107e2c]
mov ecx, eax
mov edx, esi
and ecx, 4
and edx, 0x80000800
cmp ecx, eax
jne 0x83760eb0
cmp edx, esi
jne 0x83760eb0
xor eax, eax
lea edi, [ebp - 0xa4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xa4], ebx
push dword [eax + 0x6c]
lea eax, [ebp - 0xa4]
push 6
push ebx
push eax
push 0x870f4c40
push dword [0x87107e0c]
push dword [0x87107e08]
call fcn.837994a1
mov esi, dword [ebp - 0xb4]
mov eax, dword [esi]
test eax, eax
je 0x83760eda
lea ecx, [eax + 4]
cmp ecx, dword [ebp - 0xb8]
jne 0x83760eda
push 1
mov dword [eax + 0x38], 0x12345678
push dword [esi]
call fcn.83773afd
and dword [esi], 0
mov eax, dword [0x8710be70]
test eax, eax
je 0x83760f12
mov eax, dword [ebp - 0xb4]
cmp dword [eax], 0
je 0x83760f12
push dword [ebp - 0xc0]
call fcn.8379990a
test eax, eax
je 0x83760f02
push 0x15
push eax
jmp 0x83760f05
push 0x16
push ebx
mov eax, dword [ebp - 0xb4]
push dword [eax]
call fcn.837998af
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax]
sub ecx, dword [ebx + 0x4c]
test ecx, ecx
jle 0x837611eb
push ebx
call fcn.837687f9
test al, al
je 0x83760f39
mov edx, dword [ebx + 0x4c]
mov ecx, ebx
call fcn.8376a192
xor esi, esi
cmp dword [ebx + 0x154], esi
jne 0x83761113
test byte [ebx + 0x198], 0x20
jne 0x83761113
cmp dword [0x87107e34], 1
jne 0x83760fc4
mov al, byte [0x87107e38]
cmp al, 5
jae 0x83760f6a
test al, al
jne 0x83760fc4
mov ecx, dword [0x87107e24]
mov edx, 0x80000001
and ecx, edx
xor eax, eax
or eax, ecx
je 0x83760fc4
mov ecx, dword [0x87107e2c]
mov eax, ecx
and eax, edx
xor edx, edx
cmp edx, dword [0x87107e28]
jne 0x83760fc4
cmp eax, ecx
jne 0x83760fc4
xor eax, eax
push esi
lea edi, [ebp - 0x74]
stosd dword es:[edi], eax
push esi
push dword [ebp + 0x24]
stosd dword es:[edi], eax
push dword [ebx + 0x4c]
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x74]
push eax
push 0x870f5190
push dword [0x87107e0c]
mov dword [ebp - 0x74], ebx
push dword [0x87107e08]
call fcn.83799836
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x154], eax
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x150], eax
movzx eax, word [ebx + 0x40]
mov ecx, eax
and ecx, 0x3000
mov edx, 0x2000
cmp cx, dx
jne 0x83761113
or eax, 0x7000
mov word [ebx + 0x40], ax
lea eax, [ebx + 0x200]
cmp dword [eax], esi
je 0x8376107e
mov dword [eax], esi
cmp dword [0x87107e34], 1
jne 0x8376107e
mov al, byte [0x87107e38]
cmp al, 5
jae 0x8376101b
test al, al
jne 0x8376107e
mov eax, dword [0x87107e20]
mov ecx, dword [0x87107e24]
and eax, 4
and ecx, 0x80000800
or eax, ecx
je 0x8376107e
mov eax, dword [0x87107e28]
mov esi, dword [0x87107e2c]
mov ecx, eax
mov edx, esi
and ecx, 4
and edx, 0x80000800
cmp ecx, eax
jne 0x8376107e
cmp edx, esi
jne 0x8376107e
xor eax, eax
lea edi, [ebp - 0x54]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0
stosd dword es:[edi], eax
push 0
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
push 0x870f4c50
push dword [0x87107e0c]
mov dword [ebp - 0x54], ebx
push dword [0x87107e08]
call fcn.837994a1
push ebx
call fcn.83756bed
push dword [ebp + 0x24]
mov esi, eax
add dword [ebx + 0x164], esi
push esi
push 0
push ebx
call fcn.837579ae
cmp dword [0x87107e34], 1
jne 0x83761113
mov al, byte [0x87107e38]
cmp al, 5
jae 0x837610ae
test al, al
jne 0x83761113
mov eax, dword [0x87107e20]
mov ecx, dword [0x87107e24]
mov edx, 0x80000800
and eax, 4
and ecx, edx
or eax, ecx
je 0x83761113
mov edi, dword [0x87107e28]
mov ecx, dword [0x87107e2c]
mov eax, edi
and eax, 4
and ecx, edx
cmp eax, edi
jne 0x83761113
cmp ecx, dword [0x87107e2c]
jne 0x83761113
xor eax, eax
imul esi, esi, 0xa
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
stosd dword es:[edi], eax
push 0
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push 0x870f4c40
push dword [0x87107e0c]
mov dword [ebp - 0x14], ebx
push dword [0x87107e08]
call fcn.837994a1
mov al, byte [ebx + 0x19b]
and al, 0x38
cmp al, 0x10
jne 0x83761140
test byte [ebx + 0x40], 1
jne 0x83761140
mov eax, dword [ebx + 0x4c]
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx]
push 0
push 0
push eax
sub ecx, eax
push ecx
push 5
push ebx
call fcn.837a88bc
mov eax, dword [0x87107e34]
test eax, eax
je 0x837611da
mov cl, byte [ebx + 0x19b]
and cl, 0x38
cmp cl, 0x10
je 0x837611da
cmp eax, 1
jne 0x837611da
mov al, byte [0x87107e38]
cmp al, 4
jae 0x8376116d
test al, al
jne 0x837611da
mov edx, dword [0x87107e24]
mov ecx, 0x80000001
and edx, ecx
xor eax, eax
or eax, edx
je 0x837611da
mov edx, dword [0x87107e2c]
mov eax, edx
and eax, ecx
xor ecx, ecx
cmp ecx, dword [0x87107e28]
jne 0x837611da
cmp eax, edx
jne 0x837611da
xor eax, eax
mov ecx, dword [ebp - 0xa8]
mov ecx, dword [ecx]
sub ecx, dword [ebx + 0x4c]
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebx + 0x48]
mov dword [ebp - 0x24], ebx
push ecx
push eax
push eax
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x870f4cc0
push dword [0x87107e0c]
push dword [0x87107e08]
call fcn.8379955e
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax]
mov dword [ebx + 0x4c], eax
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0x108]
cmp eax, ecx
jne 0x83761227
mov ecx, dword [eax]
cmp ecx, dword [ebx + 0x48]
je 0x83761227
mov dword [ebx + 0x48], ecx
mov ecx, dword [eax + 4]
mov dword [ebx + 0xd0], ecx
test ecx, ecx
je 0x83761227
mov ecx, dword [eax + 8]
mov dword [ebx + 0xd4], ecx
mov ecx, dword [eax + 0xc]
mov dword [ebx + 0xd8], ecx
mov eax, dword [eax + 0x10]
mov dword [ebx + 0xdc], eax
cmp dword [ebp - 0xd4], 0
je 0x8376128c
test byte [ebp + 0x14], 0x10
je 0x8376128c
mov ecx, dword [ebx + 0x174]
movzx edx, byte [ebx + 0x70]
and dword [ebx + 0x3c], 0xfffd7fff
mov eax, ecx
shr eax, 0x17
and eax, 3
add eax, edx
cmp eax, 2
jb 0x8376126a
and ecx, 0xff7fffff
or ecx, 0x1000000
mov dword [ebx + 0x174], ecx
jmp 0x8376127c
shl eax, 0x17
xor eax, ecx
and eax, 0x1800000
xor eax, ecx
mov dword [ebx + 0x174], eax
mov eax, dword [ebx + 0xe0]
mov byte [ebx + 0x70], 0
mov dword [ebx + 0x160], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xd4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.83781dcc
leave
ret 0x20