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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
mov eax, dword [0x66d060]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, edx
mov edx, ecx
mov dword [esp + 0x14], eax
push ebx
push esi
lea eax, [eax + eax*8]
mov dword [esp + 0x64], edx
lea eax, [eax + 0x5c]
lea esi, [edx + eax*8]
mov eax, dword [esi + 0x38]
lea ecx, [edx + 0x148]
mov dword [esp + 0x4c], eax
movzx eax, byte [esi + 0x24]
push edi
mov edi, dword [edx]
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], edi
mov dword [esp + 0x34], esi
mov ecx, dword [edi]
mov ebx, dword [edi + 8]
mov dword [esp + 0x74], ecx
lea ecx, [eax + eax*4]
mov eax, dword [edx + 4]
mov edx, dword [edx + 0x44]
add eax, 8
shl ecx, 4
add eax, ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x30]
mov dword [esp + 0x3c], eax
xor eax, eax
test edx, edx
jle 0x5196d8
mov ecx, dword [esp + 0x68]
add ecx, 0x48
jmp 0x5196c0
mov edi, dword [esp + 0x3c]
cmp dword [ecx], edi
mov edi, dword [esp + 0x54]
je 0x519872
inc eax
add ecx, 4
cmp eax, edx
jl 0x5196c0
xorps xmm0, xmm0
movlpd qword [esp + 0x80], xmm0
mov edx, dword [esp + 0x84]
mov ecx, dword [esp + 0x80]
not ecx
not edx
and ecx, dword [ebp + 8]
and edx, dword [ebp + 0xc]
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x68]
mov dword [esi + 0x44], edx
mov eax, dword [ecx + 0x18]
mov edx, dword [ecx + 0x1c]
mov ecx, dword [esp + 0x20]
call fcn.0056ece0
and eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
test byte [eax + 0x24], 0x40
je 0x519738
mov eax, dword [esp + 0x68]
mov dword [esp + 0x30], 1
test byte [eax + 0x22], 0x20
je 0x519740
mov dword [esp + 0x30], 0
mov ecx, ebx
call fcn.004d54f0
mov ecx, ebx
mov dword [esp + 0x18], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
call fcn.004d54f0
cmp byte [esi + 0x24], 0
mov dword [esp + 0x94], eax
mov dword [esi + 0x18], eax
jbe 0x5197d1
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x24], 8
je 0x5197d1
mov eax, dword [edi + 0x48]
inc eax
mov dword [edi + 0x48], eax
mov dword [esi], eax
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x44], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x1c], ecx
cmp dword [eax + 0x54], ecx
jg 0x51979d
mov ecx, ebx
call fcn.004d50b0
test eax, eax
jne 0x5197d1
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 0x28]
mov dword [esp + 0x80], eax
test al, 4
je 0x5198d4
mov eax, dword [edx + 0x1c]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 0x18]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x1c], ecx
cmp dword [eax + 0x54], ecx
jg 0x519813
mov ecx, ebx
call fcn.004d50b0
test eax, eax
jne 0x519847
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x14
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x1c], edx
cmp dword [eax + 0x54], edx
jg 0x519890
mov ecx, ebx
call fcn.004d50b0
test eax, eax
je 0x51988c
mov edx, 1
mov byte [esi + 0x25], 0x10
mov dword [esi + 0x2c], edx
jmp 0x51ab2b
xor ecx, ecx
xor edx, edx
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
cmovae edx, ecx
jmp 0x5196f2
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*4]
inc dword [ebx + 0x20]
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x54]
mov word [eax + ecx*4], 0x16
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [esi + 0x2c], edx
mov byte [esi + 0x25], 0x10
jmp 0x51ab2b
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 0x24]
test eax, 0x400
je 0x519b4f
movzx edx, word [ecx + 0x28]
inc dword [edi + 0x64]
mov dword [esp + 0x18], edx
lea eax, [edx + 2]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x38]
cmp dword [esp + 0x10], eax
jg 0x519920
mov eax, dword [esp + 0x2c]
add eax, 2
add eax, edx
mov dword [edi + 0x3c], eax
mov eax, dword [edi + 0x38]
sub eax, dword [esp + 0x10]
mov dword [edi + 0x38], eax
jmp 0x519936
mov eax, dword [edi + 0x48]
lea ebx, [eax + 1]
mov dword [esp + 0x2c], ebx
lea ebx, [edx + 2]
add eax, ebx
mov ebx, dword [esp + 0x60]
mov dword [edi + 0x48], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x20], eax
test edx, edx
jle 0x519992
xor ebx, ebx
mov eax, dword [ecx + 0x2c]
mov edx, dword [eax + ebx*4]
test edx, edx
je 0x519987
mov eax, dword [esp + 0x2c]
mov ecx, edi
add eax, 2
add eax, ebx
test byte [edx + 0x12], 1
push eax
je 0x519976
push dword [esp + 0x4c]
push ebx
push esi
call fcn.00518990
mov eax, dword [esi + 0x10]
add esp, 0x10
mov dword [esp + 0x20], eax
jmp 0x519983
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.004ea810
add esp, 4
mov ecx, dword [esp + 0x50]
inc ebx
cmp ebx, dword [esp + 0x18]
jl 0x519943
mov ebx, dword [esp + 0x60]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x1c], ecx
cmp dword [eax + 0x54], ecx
jg 0x5199b7
mov ecx, ebx
call fcn.004d50b0
test eax, eax
jne 0x5199eb
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x1c], ecx
cmp dword [eax + 0x54], ecx
jg 0x519a09
mov ecx, ebx
call fcn.004d50b0
test eax, eax
jne 0x519a3d
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
inc dword [ebx + 0x20]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x18]
mov dword [ecx + 0xc], 0
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x2c]
inc eax
mov dword [ecx + 0x10], 0
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x50]
mov edx, 0xfffffff5
mov ecx, 0xfffffffe
cmp byte [eax + 0x1c], 0
mov eax, dword [eax + 0x20]
mov dword [esp + 0x44], eax
cmovne ecx, edx
mov eax, dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], edx
cmp dword [eax + 0x54], edx
jg 0x519a82
mov ecx, ebx
call fcn.004d50b0
test eax, eax
je 0x519a7e
mov edx, 1
jmp 0x519aba
mov edx, dword [esp + 0x1c]
mov eax, dword [ebx + 4]
lea ecx, [edx + edx*4]
inc dword [ebx + 0x20]
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 0xc], esi
mov esi, dword [esp + 0x34]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [esp + 0x30]
mov ecx, ebx
push dword [esp + 0x48]
call fcn.004d58e0
mov eax, dword [esp + 0x58]
add esp, 8
cmp dword [esp + 0x18], 0
mov byte [eax + 0x1c], 0
jle 0x519b0f
xor edi, edi
mov ebx, eax
nop
cmp edi, 0x10
jge 0x519b07
mov ax, word [ebx + 0x1e]
mov cx, di
shr ax, cl
test al, 1
je 0x519b00
mov edx, dword [ebx + 0x2c]
mov ecx, esi
mov edx, dword [edx + edi*4]
call fcn.00518880
inc edi
cmp edi, dword [esp + 0x18]
jl 0x519ae0
mov ebx, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x3c]
mov ecx, edi
push dword [esp + 0x10]
mov byte [esi + 0x25], 0x97
mov dword [esi + 0x28], eax
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x2c], eax
mov esi, dword [esp + 0x30]
mov edx, esi
call fcn.004e9040
mov eax, dword [esp + 0x14]
add esp, 4
cmp eax, dword [edi + 0x38]
jle 0x519b43
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], esi
mov ecx, edi
call fcn.004e90a0
jmp 0x51ab2b
mov edx, eax
and edx, 0x100
je 0x519bf6
test al, 5
je 0x519bf6
mov eax, dword [ecx + 0x2c]
mov ecx, edi
mov edx, dword [eax]
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
push eax
push dword [esp + 0x4c]
mov dword [esp + 0x24], eax
push 0
push esi
call fcn.00518990
mov edx, dword [esp + 0x2c]
add esp, 0x10
mov dword [esp + 0x24], eax
cmp eax, edx
je 0x519b9d
mov ecx, edi
call fcn.004eb960
mov eax, dword [esp + 0x24]
mov esi, dword [esi + 0x10]
mov edx, 0x26
push esi
push eax
mov ecx, ebx
call fcn.004d5260
push dword [esp + 0x2c]
mov edx, 0x43
mov ecx, ebx
push esi
push dword [esp + 0x4c]
call fcn.004d5130
mov esi, dword [esp + 0x38]
add esp, 0x14
mov edx, esi
mov ecx, edi
push 1
call fcn.004e9040
mov edx, dword [esp + 0x40]
add esp, 4
mov ecx, edi
push esi
push 0xffffffffffffffff
call fcn.004e8ef0
mov eax, dword [esp + 0x3c]
add esp, 8
mov byte [eax + 0x25], 0x9c
jmp 0x51ab2b
test edx, edx
je 0x519ddf
test al, 2
je 0x519ddf
xor edx, edx
mov dword [esp + 0x14], 0x9c
mov dword [esp + 0x44], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], edx
test al, 0x20
je 0x519c40
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x20], 1
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0x24]
test al, 0x10
je 0x519c52
mov eax, dword [ecx + 0x2c]
mov edx, dword [esp + 0x20]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x28], edx
mov eax, dword [esp + 0x48]
test eax, eax
je 0x519c6e
mov eax, dword [esp + 0x10]
mov ecx, edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], ecx
jmp 0x519c72
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x519cdd
mov esi, dword [ecx]
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
mov dword [esp + 0x44], 0x3d3b3c3e
mov edx, dword [esi + 0x10]
call fcn.004ea690
add esp, 4
mov edi, eax
movzx eax, byte [esi]
mov ecx, ebx
push edi
push dword [esp + 0x1c]
movzx edx, byte [esp + eax - 8]
push dword [esp + 0x44]
call fcn.004d5130
add esp, 0xc
mov edx, edi
mov edi, dword [esp + 0x54]
mov ecx, edi
push 1
call fcn.004e9040
mov edx, dword [esp + 0x20]
add esp, 4
mov ecx, edi
call fcn.004eb960
mov esi, dword [esp + 0x34]
mov ecx, esi
mov edx, dword [esp + 0x10]
call fcn.00518880
jmp 0x519cfe
push dword [esp + 0x18]
test eax, eax
mov ecx, 0x66
push dword [esp + 0x40]
mov edx, 0x69
cmovne edx, ecx
mov ecx, ebx
call fcn.004d5260
add esp, 8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x519d63
mov esi, dword [eax]
mov ecx, edi
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
push eax
mov edx, dword [esi + 0x10]
mov dword [esp + 0x48], eax
call fcn.004ea810
mov al, byte [esi]
add esp, 4
cmp al, 0x52
je 0x519d3e
cmp al, 0x50
je 0x519d3e
mov ecx, dword [esp + 0x48]
xor eax, eax
test ecx, ecx
setne al
lea eax, [eax*2 + 0x50]
jmp 0x519d50
mov ecx, dword [esp + 0x48]
xor eax, eax
test ecx, ecx
sete al
lea eax, [eax*2 + 0x51]
mov esi, dword [esp + 0x34]
mov ecx, esi
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
call fcn.00518880
cmp dword [esp + 0x48], 0
mov ecx, dword [ebx + 0x20]
sete al
mov dword [esi + 0x2c], ecx
add al, 8
cmp dword [esp + 0x14], 0x9c
mov byte [esi + 0x25], al
mov eax, dword [esp + 0x3c]
mov dword [esi + 0x28], eax
je 0x51ab2b
inc dword [edi + 0x48]
mov edx, 0x64
mov esi, dword [edi + 0x48]
mov ecx, ebx
push esi
push eax
call fcn.004d5260
mov edx, dword [esp + 0x44]
mov ecx, edi
push esi
push 0xffffffffffffffff
call fcn.004e8ef0
mov edx, dword [esp + 0x24]
mov ecx, ebx
push esi
push dword [esp + 0x2c]
push dword [esp + 0x5c]
call fcn.004d5130
mov ecx, dword [ebx + 4]
add esp, 0x1c
test ecx, ecx
je 0x51ab2b
mov eax, dword [ebx + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x6b
jmp 0x51ab2b
test eax, 0x200
je 0x51a370
mov edi, dword [esi + 8]
movzx edx, word [ecx + 0x18]
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x1c]
mov dword [esp + 0x40], 0
test byte [edi + 0x22], 1
mov edi, dword [esp + 0x54]
mov dword [esp + 0x10], 0
mov dword [esp + 0x28], 0
mov byte [esp + 0x3b], 0
mov byte [esp + 0x2c], 0
mov byte [esp + 0x67], 0
mov dword [esp + 0x18], edx
je 0x519e5e
mov esi, dword [esp + 0x68]
cmp byte [esi + 0x24], 0
mov esi, dword [esp + 0x34]
jle 0x519e5e
mov edi, dword [esp + 0x14]
cmp word [edx + 0x32], di
mov edi, dword [esp + 0x54]
jbe 0x519e5e
mov byte [esp + 0x2c], 1
mov dword [esp + 0x28], 1
mov edx, dword [esp + 0x14]
movzx edx, dx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x20], edx
test al, 0x20
je 0x519e8d
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x28], 1
mov eax, dword [eax + edx*4]
mov dword [esp + 0x40], eax
lea eax, [edx + 1]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x24]
test al, 0x10
je 0x519ee8
cmp dword [esp + 0x40], 0
mov eax, dword [ecx + 0x2c]
mov ecx, dword [esp + 0x20]
mov eax, dword [eax + ecx*4]
mov ecx, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], ecx
jne 0x519eec
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
movsx eax, word [eax + edx*2]
test eax, eax
js 0x519eec
mov edx, dword [esp + 0x2c]
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x18]
movzx edx, dl
mov dword [esp + 0x1c], 1
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0x14], 0
cmove edx, dword [esp + 0x1c]
mov dword [esp + 0x2c], edx
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x70]
mov edx, esi
push eax
push ecx
push dword [esp + 0x50]
mov ecx, edi
call fcn.00518bf0
mov edx, dword [esp + 0x58]
add esp, 0xc
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x70]
test eax, eax
je 0x519f19
mov al, byte [edx + eax]
mov byte [esp + 0x3b], al
mov eax, dword [esi + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x18]
movzx ecx, word [eax + 0x32]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
cmp cx, word [esp + 0x20]
jae 0x519f79
mov eax, dword [eax + 0x1c]
xor ecx, ecx
cmp byte [edx + eax], cl
mov eax, dword [esp + 0x48]
sete cl
cmp eax, ecx
je 0x519f59
mov ecx, dword [esp + 0x14]
test eax, eax
je 0x519f7f
cmp word [esp + 0x20], cx
jne 0x519f7f
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], ecx
mov cl, byte [esp + 0x2c]
mov byte [esp + 0x67], cl
xor cl, cl
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ecx
jmp 0x519f87
mov eax, dword [esp + 0x48]
jmp 0x519f4e
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x519f99
test byte [eax + 0x12], 0x28
mov dword [esp + 0x44], 0
je 0x519fa1
mov dword [esp + 0x44], 1
cmp dword [esp + 0x10], 0
mov esi, dword [esp + 0x34]
je 0x519fc2
mov esi, dword [esp + 0x10]
mov dword [esp + 0x20], 0
test byte [esi + 0x12], 0x28
mov esi, dword [esp + 0x34]
je 0x519fca
mov dword [esp + 0x20], 1
test eax, eax
jne 0x51a109
cmp word [esp + 0x14], ax
ja 0x51a109
mov dword [esp + 0x6c], eax
mov dword [esp + 0x14], edx
test cl, cl
je 0x51a019
mov eax, dword [esp + 0x28]
mov ecx, ebx
add eax, edx
mov edx, 0x1c
push eax
push 0
call fcn.004d5260
add esp, 8
mov dword [esp + 0x44], 0
mov dword [esp + 0x6c], 1
mov ecx, dword [esp + 0x2c]
inc dword [esp + 0x14]
push dword [esp + 0x70]
mov edx, dword [esp + 0x2c]
movzx eax, cl
mov ecx, dword [esp + 0x18]
sub ecx, eax
push ecx
mov ecx, edi
call fcn.005188d0
mov ecx, dword [esp + 0x4c]
push dword [esp + 0x1c]
mov eax, dword [esp + 0x78]
push dword [esp + 0x34]
push dword [esp + 0x34]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x5c]
push dword [esp + 0x6c]
movzx edx, byte [ecx + eax*2 + 0x62a5b8]
mov ecx, ebx
call fcn.004d5440
mov eax, dword [esp + 0x28]
add esp, 0x18
test eax, eax
je 0x51a1b8
mov eax, dword [eax]
mov ecx, edi
push 1
mov eax, dword [eax + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x50]
add eax, dword [esp + 0x2c]
mov edx, eax
mov dword [esp + 0x48], eax
call fcn.004e9040
mov edx, dword [esp + 0x18]
add esp, 4
mov ecx, edi
push dword [esp + 0x44]
call fcn.004ea810
mov ecx, dword [esp + 0x18]
add esp, 4
call fcn.004e7cf0
test eax, eax
je 0x51a0c8
push dword [esp + 0x24]
mov edx, 0x4c
mov ecx, ebx
push dword [esp + 0x48]
call fcn.004d5260
add esp, 8
mov dl, byte [esp + 0x3b]
mov ecx, dword [esp + 0x14]
call fcn.004e6370
cmp al, 0x62
je 0x51a1e1
mov dl, byte [esp + 0x3b]
mov ecx, dword [esp + 0x14]
call fcn.004e7d20
test eax, eax
jne 0x51a1e1
mov edx, dword [esp + 0x44]
lea eax, [esp + 0x3b]
push eax
push 1
mov ecx, edi
call fcn.005188d0
jmp 0x51a1de
mov dword [esp + 0x6c], 1
mov dword [esp + 0x14], edx
test eax, eax
je 0x519fe5
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
add ecx, edx
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + 0x10]
mov edx, eax
push ecx
mov ecx, edi
mov dword [esp + 0x90], eax
call fcn.004ea810
mov ecx, dword [esp + 0x90]
add esp, 4
call fcn.004e7cf0
test eax, eax
je 0x51a167
push dword [esp + 0x24]
mov edx, 0x4c
mov ecx, ebx
push dword [esp + 0x20]
call fcn.004d5260
add esp, 8
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x51a011
mov eax, dword [esp + 0x4c]
add eax, ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x7c], eax
mov dl, byte [eax]
call fcn.004e6370
cmp al, 0x62
mov eax, dword [esp + 0x7c]
jne 0x51a196
mov byte [eax], 0x62
mov dl, byte [eax]
mov ecx, dword [esp + 0x8c]
call fcn.004e7d20
test eax, eax
je 0x51a011
mov eax, dword [esp + 0x7c]
mov byte [eax], 0x62
jmp 0x51a011
cmp byte [esp + 0x67], 0
je 0x51a1e5
mov eax, dword [esp + 0x4c]
mov edx, 0x1c
add eax, dword [esp + 0x28]
mov ecx, ebx
push eax
push 0
call fcn.004d5260
mov dword [esp + 0x28], 0
add esp, 8
inc dword [esp + 0x4c]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
call fcn.004b8f10
mov eax, dword [ebx + 0x20]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x51a227
mov ecx, dword [esp + 0x20]
push eax
push dword [esp + 0x2c]
mov eax, dword [esp + 0x50]
push dword [esp + 0x2c]
push dword [esp + 0x64]
movzx edx, byte [ecx + eax*2 + 0x6291f0]
mov ecx, ebx
call fcn.004d5440
add esp, 0x10
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.00518880
mov edx, dword [esp + 0x10]
mov ecx, esi
call fcn.00518880
cmp dword [esp + 0x30], 0
jne 0x51a332
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
test byte [ecx + 0x2c], 0x20
jne 0x51a297
inc dword [edi + 0x48]
mov edx, 0x6d
mov esi, dword [edi + 0x48]
mov ecx, ebx
push esi
push dword [esp + 0x5c]
call fcn.004d5260
mov edx, dword [esp + 0x44]
mov ecx, edi
push esi
push 0xffffffffffffffff
call fcn.004e8ef0
push esi
push dword [esp + 0x50]
mov edx, 0x3f
mov ecx, ebx
call fcn.004d5260
mov esi, dword [esp + 0x4c]
add esp, 0x18
jmp 0x51a332
mov edx, dword [esp + 0x58]
cmp dword [esp + 0x3c], edx
je 0x51a336
call fcn.004effd0
mov ecx, edi
mov dword [esp + 0x20], eax
movzx edx, word [eax + 0x32]
call fcn.004eb9a0
mov ecx, eax
xor edx, edx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
cmp dx, word [eax + 0x32]
jae 0x51a312
xor edi, edi
mov esi, eax
nop
lea eax, [edi + ecx]
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esi + 4]
mov dx, word [eax + edi*2]
call fcn.004efff0
cwde
mov edx, 0x2e
push eax
push dword [esp + 0x60]
mov ecx, ebx
call fcn.004d5130
movzx eax, word [esi + 0x32]
inc edi
mov ecx, dword [esp + 0x3c]
add esp, 0xc
cmp edi, eax
jl 0x51a2d0
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 0x32]
mov edx, 0x41
push eax
push ecx
push dword [esp + 0x9c]
mov ecx, ebx
push dword [esp + 0x48]
call fcn.004d5440
add esp, 0x10
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
test dword [ecx + 0x24], 0x1000
je 0x51a349
mov byte [esi + 0x25], 0x9c
jmp 0x51a356
cmp dword [esp + 0x48], 0
sete al
add al, 8
mov byte [esi + 0x25], al
mov dword [esi + 0x28], edx
mov al, byte [ecx + 0x26]
and al, 1
mov byte [esi + 0x26], al
test byte [ecx + 0x24], 0xf
jne 0x51ab2b
jmp 0x51ab27
test eax, 0x2000
je 0x51aae9
mov eax, dword [edi + 0x44]
mov ecx, ebx
inc dword [edi + 0x48]
mov dword [esp + 0x8c], eax
inc eax
mov dword [edi + 0x44], eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x70], 0
call fcn.004d54f0
mov ecx, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x68]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x7c], 0
mov dword [esp + 0x14], ecx
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
mov byte [esi + 0x25], 0x12
mov dword [esi + 0x28], eax
mov al, byte [edx + 0x29]
cmp al, 1
jbe 0x51a51d
mov ecx, dword [esp + 0x74]
movzx eax, al
sub eax, dword [esp + 0x20]
dec eax
mov dword [esp + 0x30], eax
lea edx, [eax + eax*4]
shl edx, 4
add edx, 0x58
call fcn.004b9150
mov ecx, eax
mov dword [esp + 0x4c], ecx
test ecx, ecx
jne 0x51a440
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.0055337c
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x30]
mov al, dl
inc al
movzx eax, al
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
movdqu xmm0, xmmword [eax]
movdqu xmmword [ecx + 8], xmm0
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [ecx + 0x18], xmm0
movdqu xmm0, xmmword [eax + 0x20]
movdqu xmmword [ecx + 0x28], xmm0
movdqu xmm0, xmmword [eax + 0x30]
movdqu xmmword [ecx + 0x38], xmm0
movdqu xmm0, xmmword [eax + 0x40]
mov eax, dword [esp + 0x68]
movdqu xmmword [ecx + 0x48], xmm0
mov eax, dword [eax + 4]
add eax, 8
mov dword [esp + 0x30], eax
cmp edx, 1
jl 0x51a4eb
add ecx, 0x58
lea ebx, [esi + 0x6c]
mov edi, edi
movzx eax, byte [ebx]
lea ebx, [ebx + 0x48]
lea ecx, [ecx + 0x50]
lea eax, [eax + eax*4]
shl eax, 4
add eax, dword [esp + 0x30]
movdqu xmm0, xmmword [eax]
movdqu xmmword [ecx - 0x50], xmm0
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [ecx - 0x40], xmm0
movdqu xmm0, xmmword [eax + 0x20]
movdqu xmmword [ecx - 0x30], xmm0
movdqu xmm0, xmmword [eax + 0x30]
movdqu xmmword [ecx - 0x20], xmm0
movdqu xmm0, xmmword [eax + 0x40]
movdqu xmmword [ecx - 0x10], xmm0
dec edx
jne 0x51a4a0
mov ebx, dword [esp + 0x60]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x68]
test byte [eax + 0x22], 8
jne 0x51a566
test byte [ecx + 0x2c], 0x20
jne 0x51a526
inc dword [edi + 0x48]
mov edx, 0x1c
mov eax, dword [edi + 0x48]
mov ecx, ebx
push eax
push 0
mov dword [esp + 0x20], eax
call fcn.004d5260
add esp, 8
jmp 0x51a55c
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], eax
jmp 0x51a4ef
call fcn.004effd0
mov esi, eax
mov edx, 0x37
mov eax, dword [edi + 0x44]
mov dword [esp + 0x18], eax
lea ecx, [eax + 1]
mov dword [edi + 0x44], ecx
movzx ecx, word [esi + 0x32]
push ecx
push eax
mov ecx, ebx
call fcn.004d5260
add esp, 8
mov edx, esi
mov ecx, edi
call fcn.004d59b0
mov esi, dword [esp + 0x34]
inc dword [edi + 0x48]
mov eax, dword [edi + 0x48]
mov dword [esp + 0x70], eax
push dword [esp + 0x44]
mov edx, 0x19
mov ecx, ebx
push 0
call fcn.004d5260
mov ecx, dword [esp + 0x64]
add esp, 8
xor edx, edx
mov dword [esp + 0x80], eax
mov ecx, dword [ecx + 0xc]
cmp ecx, 1
jle 0x51a6d3
mov dword [esp + 0x30], edx
test ecx, ecx
jle 0x51a6d1
mov edi, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x6c], ecx
xor esi, esi
lea esp, [esp]
mov eax, dword [edi + 0x14]
add eax, ecx
mov ebx, dword [eax]
mov dword [esp + 0x24], ebx
cmp eax, dword [esp + 0x1c]
je 0x51a602
test byte [ebx + 4], 1
jne 0x51a602
test byte [eax + 0x14], 0x12
jne 0x51a602
mov ebx, 0xfff
test word [eax + 0x12], bx
je 0x51a602
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x74]
push 0
push 0
call fcn.004e6f50
mov ecx, dword [esp + 0x7c]
mov edx, esi
push eax
call fcn.004e6a80
mov ecx, dword [esp + 0x78]
add esp, 0xc
mov edx, dword [esp + 0x30]
mov esi, eax
inc edx
add ecx, 0x30
mov dword [esp + 0x30], edx
mov dword [esp + 0x6c], ecx
cmp edx, dword [edi + 0xc]
jl 0x51a5b0
mov ebx, dword [esp + 0x60]
mov edx, esi
mov edi, dword [esp + 0x54]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x34]
test edx, edx
je 0x51a6d3
mov ecx, dword [edi]
mov edx, 0x30
call fcn.004b9150
mov ecx, eax
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x51a665
push 0x30
push 0
push ecx
call fcn.005594a0
mov ecx, dword [esp + 0x30]
add esp, 0xc
or eax, 0xffffffff
mov byte [ecx], 0x48
mov word [ecx + 0x22], ax
mov dword [ecx + 0x18], 1
mov eax, dword [edi]
mov dword [esp + 0x30], eax
test ecx, ecx
jne 0x51a691
xor edx, edx
mov ecx, eax
call fcn.004e6e10
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
call fcn.004e6e10
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [esp + 0x10], edx
jmp 0x51a6d3
mov edx, dword [esp + 0x10]
mov dword [ecx + 0x10], edx
mov eax, dword [edx + 4]
and eax, 0x100
or dword [ecx + 4], eax
call fcn.004e6640
mov eax, dword [edi]
mov ecx, dword [eax + 0x64]
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x18], ecx
jle 0x51a6c9
push ecx
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.004bb5f0
mov eax, dword [esp + 0x30]
add esp, 0xc
mov edx, eax
mov dword [esp + 0x10], edx
jmp 0x51a6d3
xor edx, edx
mov ecx, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x50], eax
cmp dword [ecx + 0xc], eax
jle 0x51a9e8
mov esi, dword [esp + 0x34]
lea ebx, [ebx]
mov ebx, dword [esp + 0x3c]
lea eax, [eax + eax*2]
shl eax, 4
add eax, dword [ecx + 0x14]
cmp dword [eax + 8], ebx
mov ebx, dword [esp + 0x60]
je 0x51a719
mov ebx, 0x200
test word [eax + 0x12], bx
mov ebx, dword [esp + 0x60]
je 0x51a9d2
mov eax, dword [eax]
xor ecx, ecx
mov dword [esp + 0x6c], ecx
test edx, edx
je 0x51a730
test byte [eax + 4], 1
jne 0x51a730
mov dword [edx + 0xc], eax
mov eax, edx
push dword [esp + 0x8c]
mov edx, dword [esp + 0x50]
mov ecx, edi
push 0xf0
push 0
push 0
push eax
call fcn.0051dc50
add esp, 0x14
mov dword [esp + 0x78], eax
test eax, eax
je 0x51a9ce
movzx ecx, byte [esi + 0x24]
mov edx, dword [esp + 0x4c]
push 0
push ecx
push dword [esp + 0x28]
lea ecx, [eax + 0x2e0]
push ecx
mov ecx, edi
call fcn.005193d0
mov eax, dword [esp + 0x78]
add esp, 0x10
test byte [eax + 0x22], 8
jne 0x51a8ee
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
mov eax, 0xffffffff
cmove ecx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], ecx
test byte [eax + 0x2c], 0x20
jne 0x51a7e5
push 0
push dword [esp + 0x74]
mov edx, eax
mov ecx, edi
push dword [esp + 0x44]
push 0xffffffffffffffff
call fcn.004e9290
push dword [esp + 0x34]
mov edx, 0x7f
mov ecx, ebx
push eax
push 0
push dword [esp + 0x34]
call fcn.004d5440
add esp, 0x20
mov dword [esp + 0x6c], eax
jmp 0x51a8ee
mov ecx, eax
call fcn.004effd0
mov ecx, edi
mov dword [esp + 0x90], eax
movzx edx, word [eax + 0x32]
mov dword [esp + 0x40], edx
call fcn.004eb9a0
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0
test edx, edx
jle 0x51a853
mov esi, dword [esp + 0x30]
mov ebx, edx
mov edx, dword [esp + 0x14]
add eax, esi
push 0
push eax
mov eax, dword [esp + 0x98]
mov ecx, edi
push dword [esp + 0x44]
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
call fcn.004e9290
mov eax, dword [esp + 0x38]
inc esi
add esp, 0x10
cmp esi, ebx
jl 0x51a818
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x34]
mov edx, dword [esp + 0x40]
cmp dword [esp + 0x24], 0
je 0x51a87c
push edx
push eax
push 0
push dword [esp + 0x24]
mov edx, 0x42
mov ecx, ebx
call fcn.004d5440
add esp, 0x10
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x24], 0
jl 0x51a8c9
push dword [esp + 0x70]
mov edx, 0x30
mov ecx, ebx
push dword [esp + 0x44]
push dword [esp + 0x30]
call fcn.004d5130
add esp, 0xc
mov edx, 0x6b
mov ecx, ebx
push 0
push dword [esp + 0x74]
push dword [esp + 0x20]
call fcn.004d5130
add esp, 0xc
cmp dword [esp + 0x24], 0
je 0x51a8c9
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x51a8c9
mov eax, dword [ebx + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 0x10
push dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov ecx, edi
call fcn.004e9040
mov eax, dword [esp + 0x44]
add esp, 4
cmp eax, dword [edi + 0x38]
jle 0x51a8ee
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 0x3c], eax
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x90], ecx
cmp dword [eax + 0x54], ecx
jg 0x51a912
mov ecx, ebx
call fcn.004d50b0
test eax, eax
jne 0x51a946
mov ecx, dword [esp + 0x90]
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x11
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x51a969
mov edx, dword [ebx + 0x20]
cmp edx, eax
jbe 0x51a95f
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
dec ecx
mov dword [eax + 0x58], ecx
mov edx, dword [esp + 0x78]
mov ecx, 1
mov eax, dword [esp + 0x7c]
cmp byte [edx + 0x27], 0
cmovne eax, ecx
mov ecx, dword [edx + 0x318]
mov dword [esp + 0x7c], eax
test dword [ecx + 0x24], 0x200
je 0x51a9bf
cmp dword [esp + 0x50], 0
je 0x51a9a0
mov eax, dword [esp + 0x2c]
cmp dword [ecx + 0x1c], eax
jne 0x51a9bf
mov eax, dword [esp + 0x14]
test byte [eax + 0x2c], 0x20
je 0x51a9b6
mov eax, dword [ecx + 0x1c]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
je 0x51a9bf
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x2c], eax
jmp 0x51a9c7
mov dword [esp + 0x2c], 0
mov ecx, edx
call fcn.0051e570
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
inc eax
mov dword [esp + 0x50], eax
cmp eax, dword [ecx + 0xc]
jl 0x51a6f0
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x30], eax
test eax, eax
je 0x51a9fd
mov eax, dword [esp + 0x8c]
mov dword [esi + 8], eax
mov edx, dword [esp + 0x10]
test edx, edx
je 0x51aa15
mov ecx, dword [esp + 0x74]
mov dword [edx + 0xc], 0
call fcn.004e6e10
mov edx, dword [ebx + 0x20]
mov eax, dword [esp + 0x80]
cmp edx, eax
jbe 0x51aa2d
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov dword [eax + ecx*4 + 4], edx
mov eax, dword [esi + 0xc]
mov ecx, dword [ebx + 0x20]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x80], ecx
cmp dword [eax + 0x54], ecx
jg 0x51aa58
mov ecx, ebx
call fcn.004d50b0
test eax, eax
jne 0x51aa8c
mov ecx, dword [esp + 0x80]
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
inc dword [ebx + 0x20]
mov edx, dword [esp + 0x78]
mov word [eax + ecx*4], 0x10
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x18]
or eax, 0xffffffff
sub eax, dword [esp + 0x48]
mov dword [esp + 0x80], eax
js 0x51aab7
mov ecx, dword [edx + 0x70]
test ecx, ecx
je 0x51aab7
mov edi, dword [esp + 0x80]
mov eax, dword [ebx + 0x20]
mov dword [ecx + edi*4], eax
mov edi, dword [esp + 0x54]
mov eax, dword [ebx + 0x20]
dec eax
mov dword [edx + 0x58], eax
mov eax, dword [esp + 0x68]
cmp byte [eax + 0x29], 1
jbe 0x51aad5
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x74]
call fcn.004b8f10
cmp dword [esp + 0x7c], 0
jne 0x51ab2b
mov edx, dword [esp + 0x1c]
mov ecx, esi
call fcn.00518880
jmp 0x51ab2b
test byte [esp + 0x80], 8
je 0x51aaf9
mov byte [esi + 0x25], 0x9c
jmp 0x51ab2b
mov ecx, dword [esp + 0x48]
push dword [esp + 0x18]
mov al, byte [ecx + 0x627548]
movzx edx, byte [ecx + 0x629218]
mov ecx, ebx
mov byte [esi + 0x25], al
mov eax, dword [esp + 0x40]
push eax
mov dword [esi + 0x28], eax
call fcn.004d5260
add esp, 8
inc eax
mov dword [esi + 0x2c], eax
mov byte [esi + 0x27], 1
mov eax, dword [esp + 0x5c]
mov edx, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
mov dword [esp + 0x1c], edx
test edx, edx
jle 0x51ab9b
mov ebx, dword [esp + 0x34]
test byte [esi + 0x14], 6
jne 0x51ab8b
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebx + 0x40]
and eax, dword [ebx + 0x44]
or ecx, eax
je 0x51ab61
mov eax, dword [esp + 0x68]
mov byte [eax + 0x27], 1
jmp 0x51ab8b
cmp dword [ebx], 0
mov eax, dword [esi]
je 0x51ab6e
test byte [eax + 4], 1
je 0x51ab8b
push 8
push dword [esp + 0x98]
mov edx, eax
mov ecx, edi
call fcn.004eaf40
mov edx, dword [esp + 0x24]
add esp, 8
or byte [esi + 0x14], 4
dec edx
add esi, 0x30
mov dword [esp + 0x1c], edx
test edx, edx
jg 0x51ab41
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
test ecx, ecx
jle 0x51acec
mov ebx, dword [esp + 0x34]
mov edx, 0x402
mov edi, edi
test byte [eax + 0x14], 6
jne 0x51acd4
cmp word [eax + 0x12], dx
jne 0x51acd4
mov edx, dword [esp + 0x3c]
cmp dword [eax + 8], edx
jne 0x51accf
cmp dword [ebx], 0
jne 0x51accf
mov ecx, dword [eax]
xor edi, edi
push edi
push 3
push dword [eax + 0xc]
mov dword [esp + 0x8c], ecx
lea ecx, [esp + 0xa4]
push edx
mov edx, esi
call fcn.00516470
mov esi, eax
add esp, 0x10
test esi, esi
je 0x51ac47
mov edx, dword [esi + 0x20]
mov ecx, edx
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 8]
and eax, dword [ebp + 0xc]
or ecx, eax
jne 0x51ac35
or edx, dword [esi + 0x24]
jne 0x51ac30
test byte [esi + 0x12], 2
jne 0x51ac49
test edi, edi
cmove edi, esi
lea ecx, [esp + 0x98]
call fcn.005161d0
mov esi, eax
test esi, esi
jne 0x51ac13
mov esi, edi
test esi, esi
je 0x51acbf
test byte [esi + 0x14], 4
jne 0x51acbf
mov ecx, dword [esp + 0x74]
mov edx, 0x30
call fcn.004b9150
mov edi, dword [esp + 0x54]
mov edx, eax
mov dword [esp + 0x78], edx
test edx, edx
je 0x51acc3
mov ecx, dword [esi]
mov eax, dword [esp + 0x80]
push 8
push dword [esp + 0x98]
movdqu xmm0, xmmword [ecx]
movdqu xmmword [edx], xmm0
movdqu xmm0, xmmword [ecx + 0x10]
movdqu xmmword [edx + 0x10], xmm0
movdqu xmm0, xmmword [ecx + 0x20]
mov ecx, edi
movdqu xmmword [edx + 0x20], xmm0
mov eax, dword [eax + 0xc]
mov dword [edx + 0xc], eax
call fcn.004eaf40
mov edx, dword [esp + 0x80]
add esp, 8
mov ecx, dword [esp + 0x74]
call fcn.004b8f10
jmp 0x51acc3
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x5c]
mov edx, 0x402
dec ecx
add eax, 0x30
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], eax
test ecx, ecx
jg 0x51abc0
mov ebx, dword [esp + 0x60]
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
mov dword [esp + 0x90], eax
test eax, eax
je 0x51ae1f
mov eax, dword [ebx + 0x20]
mov dword [edx + 0x1c], eax
mov esi, dword [ebx + 0x18]
mov eax, dword [ebx + 0x20]
mov dword [esp + 0x78], eax
cmp dword [esi + 0x54], eax
jg 0x51ad87
mov eax, dword [esi + 0x54]
test eax, eax
je 0x51ad21
add eax, eax
jmp 0x51ad26
mov eax, 0x33
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
mov ecx, dword [esi]
shl eax, 2
push eax
call fcn.004b91d0
add esp, 4
mov dword [esp + 0x80], eax
test eax, eax
je 0x51adbe
mov ecx, dword [esi]
cmp eax, dword [ecx + 0x10c]
jb 0x51ad60
cmp eax, dword [ecx + 0x110]
jae 0x51ad60
movzx ecx, word [ecx + 0xf0]
jmp 0x51ad6c
push eax
call dword [0x67daa0]
add esp, 4
mov ecx, eax
mov eax, 0xcccccccd
mul ecx
mov eax, dword [esp + 0x80]
shr edx, 4
mov dword [esi + 0x54], edx
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x78]
inc dword [ebx + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x90]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, edi
call fcn.004e9340
mov edx, dword [esp + 0x5c]
xor ebx, ebx
mov esi, dword [edx + 0x14]
cmp dword [edx + 0xc], ebx
jle 0x51ae1b
mov eax, edx
test byte [esi + 0x14], 6
mov edx, dword [esp + 0x34]
jne 0x51ae10
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edx + 0x40]
and eax, dword [edx + 0x44]
or ecx, eax
jne 0x51ae0c
mov edx, dword [esi]
mov ecx, edi
push 8
push dword [esp + 0x98]
call fcn.004eaf40
mov edx, dword [esp + 0x3c]
add esp, 8
or byte [esi + 0x14], 4
mov eax, dword [esp + 0x5c]
inc ebx
add esi, 0x30
cmp ebx, dword [eax + 0xc]
jl 0x51add5
jmp 0x51ae1f
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x10c]
mov eax, dword [edx + 0x40]
mov edx, dword [edx + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0055337c
mov esp, ebp
pop ebp
ret