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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov eax, dword [ebp + 8]
lea ecx, [eax + 0x50]
mov dword [esp + 0x6c], ecx
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*4]
add ecx, ecx
push ebx
push esi
lea esi, [eax + ecx*8 + 0x2f0]
movzx ecx, byte [esi + 0x2c]
push edi
mov edi, dword [eax]
mov edx, dword [edi]
mov ebx, dword [edi + 8]
mov dword [esp + 0x5c], edx
mov edx, dword [esi + 0x40]
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x4c], edx
mov edx, dword [eax + 4]
add ecx, ecx
lea ecx, [edx + ecx*8 + 8]
mov edx, dword [eax + 0x1ec]
mov dword [esp + 0x38], ecx
mov ecx, dword [ecx + 0x30]
mov dword [esp + 0x68], 0
mov dword [esp + 0xc], edi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x20], esi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], 0
test edx, edx
jle 0x4d47e9
add eax, 0x1f0
mov ecx, dword [esp + 0x40]
cmp dword [eax], ecx
je 0x4d4991
inc dword [esp + 0x3c]
add eax, 4
cmp dword [esp + 0x3c], edx
jl 0x4d47d0
xor eax, eax
xor edx, edx
mov ecx, dword [ebp + 8]
not eax
and eax, dword [ebp + 0x10]
not edx
and edx, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ebp + 0xc]
call fcn.0050f980
mov edx, dword [esp + 0x4c]
and eax, 1
test byte [edx + 0x24], 0x40
mov dword [esp + 0x30], eax
je 0x4d4830
mov eax, dword [ebp + 8]
test byte [eax + 0x2c], 0x20
mov dword [esp + 0x18], 1
je 0x4d4838
mov dword [esp + 0x18], 0
mov eax, dword [ebx + 0xc]
mov ecx, dword [eax + 0x44]
lea edx, [ecx + 1]
mov dword [eax + 0x44], edx
lea edx, [ecx - 1]
mov dword [esp + 0x70], eax
mov dword [esp + 0x14], ecx
test ecx, edx
jne 0x4d4885
mov eax, ecx
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x70]
mov edi, dword [eax + 0x48]
mov esi, dword [eax]
push 0
push ecx
call fcn.0046fde0
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov dword [edx + 0x48], eax
add esp, 8
mov eax, edx
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4d4893
mov dword [eax + ecx*4], 0xffffffff
or eax, 0xffffffff
sub eax, ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx + 0x44]
lea edx, [eax + 1]
mov dword [ecx + 0x44], edx
lea edx, [eax - 1]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x14], eax
test eax, edx
jne 0x4d48ed
lea ecx, [eax*8 + 4]
mov eax, dword [esp + 0x70]
mov edi, dword [eax + 0x48]
mov esi, dword [eax]
push 0
push ecx
call fcn.0046fde0
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mov dword [edx + 0x48], eax
mov eax, dword [esp + 0x1c]
add esp, 8
mov ecx, edx
mov ecx, dword [ecx + 0x48]
test ecx, ecx
je 0x4d48fb
mov dword [ecx + eax*4], 0xffffffff
mov edx, dword [esp + 0x38]
or ecx, 0xffffffff
sub ecx, eax
cmp byte [esi + 0x2c], 0
mov dword [esp + 0x70], ecx
mov dword [esi + 0x18], ecx
jbe 0x4d4934
test byte [edx + 0x24], 8
je 0x4d4934
mov eax, dword [edi + 0x2c]
inc eax
push 0
push eax
push 0
push 0x38
mov dword [edi + 0x2c], eax
push ebx
mov dword [esi], eax
call fcn.0048e3e0
mov edx, dword [esp + 0x4c]
add esp, 0x14
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x4d494d
mov ecx, esi
lea ecx, [ecx]
cmp dword [ecx], 0
jne 0x4d494d
dec eax
sub ecx, 0x50
test eax, eax
jg 0x4d4940
mov ecx, dword [ebp + 8]
lea eax, [eax + eax*4]
add eax, eax
mov eax, dword [ecx + eax*8 + 0x2fc]
mov dword [esp + 0x44], eax
mov eax, dword [edx + 0x28]
test al, 0x10
je 0x4d4a34
mov edi, dword [edx + 0x1c]
mov ecx, dword [edx + 0x18]
mov eax, dword [ebx + 0x88]
mov edx, dword [ebx + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4d49a6
push ecx
push 0
push edi
push 0xf
mov eax, ebx
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d49cf
mov ecx, dword [esp + 0x3c]
mov eax, 1
xor edx, edx
call fcn.0050f790
jmp 0x4d47ed
lea edx, [eax + 1]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov word [eax], 0xf
mov ecx, dword [ebx + 0x88]
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4d49fa
mov ecx, dword [esp + 0x3c]
push 0
push ecx
push edi
push 0x10
mov eax, ebx
call fcn.0048e3a0
add esp, 0x10
mov byte [esi + 0x2d], 0xd
jmp 0x4d64cc
lea edx, [ecx + 1]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], edx
xor edx, edx
mov dword [eax + 4], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x10
mov eax, ecx
mov byte [esi + 0x2d], 0xd
jmp 0x4d64cc
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx + 0x24]
mov dword [esp + 0x24], ecx
test ecx, 0x400
je 0x4d4f5b
movzx ecx, word [edx + 0x28]
inc dword [edi + 0x3c]
lea eax, [ecx + 2]
mov dword [esp + 0x24], ecx
cmp eax, 1
jne 0x4d4a7e
mov al, byte [edi + 0x13]
test al, al
jne 0x4d4a6d
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x4d4aaf
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x15c]
jmp 0x4d4aaf
mov ecx, dword [edi + 0x20]
mov dword [esp + 0x14], ecx
cmp eax, dword [edi + 0x1c]
jg 0x4d4a99
add ecx, eax
mov dword [edi + 0x20], ecx
mov ecx, dword [edi + 0x1c]
sub ecx, eax
mov dword [edi + 0x1c], ecx
jmp 0x4d4aa7
mov ecx, dword [edi + 0x2c]
inc ecx
add eax, dword [edi + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
test ecx, ecx
jle 0x4d4b38
mov ecx, dword [edx + 0x30]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x4d4b29
test byte [ecx + 0xc], 1
je 0x4d4afb
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
lea edx, [edx + eax + 2]
push edx
mov edx, dword [esp + 0x34]
push edx
push eax
push esi
push ecx
push edi
call fcn.004d38b0
mov eax, dword [esi + 0x10]
add esp, 0x18
mov dword [esp + 0x14], eax
jmp 0x4d4b25
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
lea edx, [eax + edx + 2]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
push 1
push edx
mov ebx, edi
call fcn.004d4550
mov esi, dword [esp + 0x28]
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x14]
add esp, 8
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esp + 0x24]
jl 0x4d4ac4
mov ecx, dword [edx + 0x18]
mov eax, dword [ebx + 0x88]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebx + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4d4b6b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
push 0
push edx
push eax
push 0x38
mov eax, ebx
call fcn.0048e3a0
mov edx, dword [esp + 0x5c]
add esp, 0x10
jmp 0x4d4b9e
lea ecx, [eax + 1]
mov dword [ebx + 0x88], ecx
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x38
mov eax, dword [esp + 0x28]
mov ecx, dword [ebx + 0xc]
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x88]
cmp dword [ecx + 0x30], eax
jg 0x4d4bd3
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push 0
push edx
push eax
push 0x38
mov eax, ebx
call fcn.0048e3a0
mov edx, dword [esp + 0x5c]
add esp, 0x10
jmp 0x4d4c06
lea ecx, [eax + 1]
mov dword [ebx + 0x88], ecx
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x38
movzx eax, byte [edx + 0x1c]
mov ecx, dword [ebx + 0xc]
neg eax
sbb eax, eax
and eax, 0xfffffffa
dec eax
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x20]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x88]
mov dword [esp + 0x44], eax
cmp dword [ecx + 0x30], eax
jg 0x4d4c50
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
push 0xb
mov eax, ebx
call fcn.0048e3a0
mov edx, dword [esp + 0x5c]
add esp, 0x10
jmp 0x4d4c8d
lea ecx, [eax + 1]
mov dword [ebx + 0x88], ecx
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0xb
mov eax, dword [esp + 0x44]
mov ecx, dword [ebx]
cmp byte [ecx + 0x45], 0
mov dword [esp + 0x18], eax
je 0x4d4caf
cmp dword [esp + 0x1c], 0xfffffff4
je 0x4d4d18
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x1c]
call fcn.0048ed10
jmp 0x4d4d14
cmp dword [esp + 0x18], 0
jge 0x4d4cbd
mov eax, dword [ebx + 0x88]
dec eax
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x1c]
test eax, eax
jns 0x4d4d02
cmp byte [ecx + 1], 0
jne 0x4d4d02
cmp eax, 0xfffffffd
mov eax, dword [esp + 0x34]
jne 0x4d4ce6
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xfd
jmp 0x4d4d18
test eax, eax
je 0x4d4d18
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x1c]
mov byte [ecx + 1], al
cmp eax, 0xfffffff4
jne 0x4d4d18
mov eax, dword [esp + 0x34]
inc dword [eax + 0xc]
jmp 0x4d4d18
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
push edx
push ebx
call fcn.0048ee80
add esp, 8
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x40]
mov ecx, dword [ebp + 8]
mov byte [edx + 0x1c], 0
mov dword [esi + 0x30], eax
mov al, byte [ecx + 0x31]
neg al
sbb al, al
and al, 0x74
add al, 0x32
mov byte [esi + 0x2d], al
mov ecx, dword [ebx + 0x88]
mov eax, dword [esp + 0x24]
dec eax
mov dword [esi + 0x34], ecx
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x10], eax
js 0x4d4f4f
lea ecx, [ecx + ecx*2]
add ecx, ecx
add ecx, ecx
mov dword [esp + 0x18], ecx
jmp 0x4d4d64
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx + 0x30]
mov ecx, dword [ecx + eax*4]
mov dword [esp + 0x30], ecx
cmp eax, 0x10
jge 0x4d4d92
mov dx, word [edx + 0x1e]
mov cx, ax
shr dx, cl
test dl, 1
je 0x4d4d92
mov eax, dword [esp + 0x30]
mov edi, esi
call fcn.004d3700
jmp 0x4d4f3c
mov ecx, dword [esp + 0x30]
test byte [ecx + 0xc], 1
je 0x4d4f44
mov edx, dword [esp + 0x5c]
cmp byte [edx + 0x45], 0
jne 0x4d4e53
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x3c]
sub eax, 0xc
mov dword [esp + 0x18], eax
mov eax, dword [ecx + eax + 4]
test eax, eax
jns 0x4d4dcb
mov eax, dword [ebx + 0x88]
dec eax
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
je 0x4d4dda
mov eax, 0x573b6c
jmp 0x4d4de3
mov ecx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov edx, dword [eax + 4]
mov edi, dword [eax + 0xc]
mov ecx, dword [eax + 8]
movzx eax, byte [eax]
mov dword [esp + 0x50], edx
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x88]
cmp dword [edx + 0x30], eax
jg 0x4d4e1d
mov eax, dword [esp + 0x50]
push edi
push ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov eax, ebx
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d4e53
lea edx, [eax + 1]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dl, byte [esp + 0x14]
mov byte [eax], dl
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x50]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0
mov byte [eax + 1], 0
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
push 0
push 0x30
call fcn.0046fc10
mov edi, eax
add esp, 8
test edi, edi
je 0x4d4f3c
push 0x30
push 0
push edi
call sub.MSVCR100.dll_memset
or ecx, 0xffffffff
add esp, 0xc
mov ebx, edi
mov byte [edi], 0x4e
mov word [edi + 0x22], cx
call fcn.004a1850
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
cmp dword [edi + 0x18], eax
jle 0x4d4eaa
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.00472420
add esp, 0xc
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov ebx, dword [esp + 0x5c]
push 0
push 0x31
mov eax, ebx
mov dword [edi + 0xc], edx
call fcn.0046fc10
mov esi, eax
add esp, 8
test esi, esi
je 0x4d4ef5
push 0x30
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
or eax, 0xffffffff
mov word [esi + 0x22], ax
lea eax, [esi + 0x30]
mov byte [esi], 0x9d
mov dword [esi + 8], eax
mov byte [eax], 0
mov dword [esi + 0x18], 1
mov dword [edi + 0x10], esi
test esi, esi
je 0x4d4f23
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
lea eax, [ecx + edx + 2]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x1c], eax
mov edx, dword [ecx + 0x18]
mov eax, dword [esp + 0xc]
push 0
push edx
push edi
push eax
call fcn.004a7900
add esp, 0x10
push edi
push ebx
mov dword [edi + 0xc], 0
call fcn.004a1f00
mov ebx, dword [esp + 0x5c]
mov esi, dword [esp + 0x28]
add esp, 8
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
dec eax
mov dword [esp + 0x10], eax
jns 0x4d4d60
mov eax, edi
call fcn.004a5cb0
jmp 0x4d64cf
mov ecx, dword [esp + 0x24]
and ecx, 0x100
je 0x4d4feb
test byte [esp + 0x24], 5
je 0x4d4feb
mov ecx, edx
mov edx, dword [ecx + 0x30]
mov eax, dword [edx]
inc dword [edi + 0x2c]
mov ecx, dword [edi + 0x2c]
push ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x34]
push ecx
push 0
push esi
push eax
push edi
call fcn.004d38b0
mov edi, eax
add esp, 0x18
cmp edi, dword [esp + 0x28]
je 0x4d4faf
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
call fcn.004a8600
mov esi, dword [esp + 0x20]
mov edx, dword [esi + 0x10]
mov eax, dword [esp + 0x40]
push edi
push edx
push eax
push 0x1f
push ebx
call fcn.0048e3e0
mov eax, dword [esp + 0x20]
add esp, 0x14
push 1
call fcn.004a5c20
mov ecx, dword [esp + 0x44]
add esp, 4
push edi
push 0xffffffffffffffff
push ecx
call fcn.004a5b10
add esp, 0xc
mov byte [esi + 0x2d], 0xa6
jmp 0x4d64cf
test ecx, ecx
je 0x4d5276
test byte [esp + 0x24], 2
je 0x4d5276
mov cl, byte [esp + 0x24]
xor eax, eax
mov dword [esp + 0x38], 0xa6
mov dword [esp + 0x50], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x34], eax
test cl, 0x20
je 0x4d502b
mov eax, dword [edx + 0x30]
mov eax, dword [eax]
mov dword [esp + 0x34], eax
mov eax, 1
test cl, 0x10
je 0x4d503a
mov ecx, dword [edx + 0x30]
mov edx, dword [ecx + eax*4]
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x30], 0
je 0x4d5051
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x34], 0
je 0x4d5132
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x10]
mov ecx, eax
mov dword [esp + 0x24], 0x1a18191b
mov dword [esp + 0x44], eax
call fcn.004a11f0
test eax, eax
je 0x4d50d0
mov al, byte [edi + 0x13]
test al, al
jne 0x4d508f
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x4d509e
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x15c]
mov ecx, dword [esp + 0x14]
push 1
mov esi, eax
mov dword [esp + 0x1c], eax
push eax
mov eax, dword [ecx + 0x10]
mov ebx, edi
call fcn.004d4550
mov edx, dword [esp + 0x1c]
movzx eax, byte [edx]
mov ebx, dword [esp + 0x5c]
sub eax, 0x4f
add esp, 8
or eax, 1
movzx eax, byte [esp + eax + 0x24]
jmp 0x4d5104
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x10]
call fcn.004a71a0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x38]
add esp, 4
mov edi, esi
call fcn.004d3700
mov edx, dword [esp + 0x14]
movzx eax, byte [edx]
movzx eax, byte [esp + eax - 0x2b]
mov esi, dword [esp + 0x44]
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
push edi
push ecx
push edx
push eax
push ebx
call fcn.0048e3e0
mov eax, dword [esp + 0x20]
add esp, 0x14
push 1
call fcn.004a5c20
add esp, 4
call fcn.004a8600
jmp 0x4d5158
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
xor edx, edx
cmp dword [esp + 0x30], edx
push 0
sete dl
push eax
push ecx
lea edx, [edx*4 + 0x21]
push edx
push ebx
call fcn.0048e3e0
add esp, 0x14
cmp dword [esp + 0x1c], 0
je 0x4d51dd
mov eax, dword [esp + 0x1c]
mov esi, dword [eax]
mov ebx, dword [esp + 0xc]
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
push 1
mov dword [esp + 0x54], eax
push eax
mov eax, dword [esi + 0x10]
call fcn.004d4550
mov edi, dword [esi + 0x10]
add esp, 8
mov ecx, edi
call fcn.004a11f0
test eax, eax
jne 0x4d51b0
mov al, byte [esi]
cmp al, 0x51
je 0x4d519d
cmp al, 0x4f
jne 0x4d51b0
xor ecx, ecx
cmp dword [esp + 0x30], ecx
sete cl
lea ecx, [ecx + ecx + 0x50]
mov dword [esp + 0x38], ecx
jmp 0x4d51c1
xor edx, edx
cmp dword [esp + 0x30], edx
setne dl
lea edx, [edx + edx + 0x4f]
mov dword [esp + 0x38], edx
mov ecx, edi
call fcn.004a11f0
test eax, eax
jne 0x4d51d9
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
call fcn.004d3700
mov ebx, dword [esp + 0x54]
cmp dword [esp + 0x30], 0
mov eax, dword [ebx + 0x88]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
sete cl
add cl, 6
cmp dword [esp + 0x38], 0xa6
mov byte [esi + 0x2d], cl
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], eax
je 0x4d64cf
mov edi, dword [esp + 0xc]
inc dword [edi + 0x2c]
mov esi, dword [edi + 0x2c]
push 0
push esi
mov eax, edx
push eax
push 0x7b
push ebx
call fcn.0048e3e0
mov ecx, dword [esp + 0x54]
add esp, 0x14
push esi
push 0xffffffffffffffff
push ecx
mov eax, edi
call fcn.004a5b10
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
add esp, 0xc
push esi
push edx
push eax
push ecx
push ebx
call fcn.0048e3e0
mov eax, dword [ebx + 0x88]
add esp, 0x14
test eax, eax
jle 0x4d64cf
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
mov ecx, 0x53
mov word [eax + edx*4 - 0x12], cx
jmp 0x4d64cf
test dword [esp + 0x24], 0x200
je 0x4d5ad9
movzx eax, word [edx + 0x18]
movzx ecx, word [edx + 0x1a]
mov dword [esp + 0x3c], eax
movzx eax, word [edx + 0x1c]
mov dword [esp + 0x44], eax
movzx eax, ax
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov byte [esp + 0x2f], al
mov byte [esp + 0x4b], al
mov eax, dword [esi + 8]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
test byte [eax + 0x2c], 1
mov dword [esp + 0x38], ecx
mov ecx, dword [edx + 0x20]
mov dword [esp + 0x68], ecx
je 0x4d52f2
cmp byte [eax + 0x2f], 0
jle 0x4d52f2
mov cx, word [ecx + 0x32]
cmp cx, word [esp + 0x3c]
jbe 0x4d52f2
mov byte [esp + 0x2f], 1
mov dword [esp + 0x1c], 1
test byte [edx + 0x24], 0x20
movzx eax, word [esp + 0x3c]
mov dword [esp + 0x28], eax
je 0x4d5322
mov ecx, dword [edx + 0x30]
mov ecx, dword [ecx + eax*4]
inc eax
mov dword [esp + 0x10], eax
movzx eax, word [edx + 0x1a]
mov dword [esp + 0x74], ecx
cmp dword [esp + 0x1c], eax
jg 0x4d531e
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
test byte [edx + 0x24], 0x10
je 0x4d53c9
mov edx, dword [edx + 0x30]
mov ecx, dword [edx + eax*4]
movzx eax, word [esp + 0x44]
mov dword [esp + 0x6c], ecx
cmp dword [esp + 0x1c], eax
jg 0x4d5345
mov dword [esp + 0x1c], eax
mov eax, 0x100
test word [ecx + 0xa], ax
je 0x4d5394
mov eax, dword [edi + 0x2c]
inc eax
push 0
push eax
push 1
push 0x38
mov dword [edi + 0x2c], eax
push ebx
mov dword [esi + 0x24], eax
call fcn.0048e3e0
mov ecx, dword [ebx + 0x88]
shl dword [esi + 0x24], 1
mov edx, dword [esp + 0x7c]
mov dword [esi + 0x28], ecx
mov eax, dword [edx + 0x1c]
mov edx, dword [esp + 0x3c]
xor ecx, ecx
add esp, 0x14
cmp byte [edx + eax], 1
sete cl
xor ecx, dword [esp + 0x30]
or ecx, dword [esi + 0x24]
mov dword [esi + 0x24], ecx
cmp dword [esp + 0x74], 0
jne 0x4d53c9
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x28]
movsx eax, word [eax + edx*2]
test eax, eax
js 0x4d53bf
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx + 4]
mov edx, eax
add edx, edx
cmp byte [ecx + edx*8 + 0xc], 0
je 0x4d53c4
cmp eax, 0xfffffffe
jne 0x4d53c9
mov byte [esp + 0x2f], 1
mov ecx, dword [esp + 0x68]
movzx eax, word [ecx + 0x32]
cmp word [esp + 0x3c], ax
jae 0x4d53ed
mov edx, dword [ecx + 0x1c]
mov ecx, dword [esp + 0x28]
xor eax, eax
cmp byte [ecx + edx], al
sete al
cmp dword [esp + 0x30], eax
je 0x4d5403
cmp dword [esp + 0x30], 0
je 0x4d5434
mov edx, dword [esp + 0x68]
movzx eax, word [edx + 0x32]
cmp ax, word [esp + 0x3c]
jne 0x4d5434
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x74]
movzx edx, word [esp + 0x58]
mov dword [esp + 0x74], eax
mov al, byte [esp + 0x2f]
mov byte [esp + 0x4b], al
mov al, byte [esp + 0x38]
mov dword [esp + 0x6c], ecx
movzx ecx, al
mov byte [esp + 0x2f], 0
mov dword [esp + 0x38], edx
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x64]
push edx
push eax
push ecx
push esi
push edi
call fcn.004d40e0
add esp, 0x14
cmp dword [esp + 0x64], 0
mov dword [esp + 0x1c], eax
je 0x4d5484
cmp word [esp + 0x58], 0
je 0x4d5484
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x64]
lea ebx, [edx + eax]
mov eax, dword [esp + 0x5c]
call fcn.0046fe50
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x54]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x74]
mov dl, 0x28
test ecx, ecx
je 0x4d54a2
mov dword [esp + 0x60], 0
test byte [ecx + 0xc], dl
je 0x4d54aa
mov dword [esp + 0x60], 1
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4d54bf
mov dword [esp + 0x50], 0
test byte [eax + 0xc], dl
je 0x4d54c7
mov dword [esp + 0x50], 1
test ecx, ecx
jne 0x4d54d6
cmp word [esp + 0x3c], cx
mov dword [esp + 0x3c], ecx
jbe 0x4d54de
mov dword [esp + 0x3c], 1
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x4d55f0
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
mov esi, dword [ecx + 0x10]
movzx eax, word [esp + 0x38]
mov ecx, edx
add ecx, dword [esp + 0x1c]
push eax
push ecx
mov eax, esi
mov ebx, edi
mov dword [esp + 0x4c], ecx
call fcn.004d4550
mov eax, dword [esp + 0x7c]
mov ebx, dword [esp + 0x5c]
mov edx, 0x100
add esp, 8
test word [eax + 0xa], dx
je 0x4d5561
mov ecx, dword [ebx]
cmp byte [ecx + 0x45], 0
mov eax, dword [ebx + 0x88]
je 0x4d553c
mov eax, 0x573b6c
jmp 0x4d5546
lea edx, [eax + eax*4 - 5]
mov eax, dword [ebx + 0x58]
lea eax, [eax + edx*4]
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0x24]
shr ecx, 1
mov dword [eax + 0xc], ecx
mov dl, byte [edi + 0x24]
and dl, 1
movzx ecx, dl
mov word [eax + 2], cx
jmp 0x4d5565
mov edi, dword [esp + 0x20]
mov eax, esi
call fcn.004a33f0
test eax, eax
je 0x4d5587
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x44]
push 0
push edx
push eax
push 0x4b
push ebx
call fcn.0048e3e0
add esp, 0x14
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4d55a5
mov ecx, dword [esp + 0x28]
add ecx, eax
movzx eax, word [esp + 0x38]
push ecx
push eax
push esi
call fcn.004d37f0
add esp, 0xc
movzx eax, word [esp + 0x38]
add dword [esp + 0x10], eax
mov ecx, esi
call fcn.004a11f0
test eax, eax
jne 0x4d55d5
mov eax, dword [esp + 0x74]
call fcn.004d3700
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0xc]
mov byte [esp + 0x2f], 0
jmp 0x4d5620
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x60], 1
mov byte [esp + 0x2f], 0
jmp 0x4d5620
cmp byte [esp + 0x2f], 0
je 0x4d5620
add edx, dword [esp + 0x1c]
push 0
push edx
push 0
push 0x3b
push ebx
call fcn.0048e3e0
mov eax, 1
add esp, 0x14
add dword [esp + 0x10], eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x3c], eax
movzx edx, byte [esp + 0x2f]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x64]
sub ecx, edx
mov edx, dword [esp + 0x1c]
push edi
call fcn.004d3770
mov eax, dword [esp + 0x50]
movzx eax, word [eax + 0x2a]
add esp, 4
test ax, ax
je 0x4d564f
cmp dword [esp + 0x10], eax
je 0x4d569b
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x3c]
lea ecx, [edx + eax*2]
mov edx, dword [esp + 0x30]
movzx eax, byte [edx + ecx*2 + 0x53caf0]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push ecx
push eax
push ebx
call fcn.0048e3e0
mov edx, dword [ebx]
add esp, 0x14
cmp byte [edx + 0x45], 0
jne 0x4d569b
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x10]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], edx
cmp dword [esp + 0x6c], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
je 0x4d57c8
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx]
mov ebx, dword [edx + 0x10]
mov edi, eax
add edi, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
push 1
mov dword [esp + 0x64], ebx
call fcn.004a5c20
movzx esi, word [esp + 0x5c]
add esp, 4
push esi
mov eax, ebx
mov ebx, dword [esp + 0x10]
push edi
call fcn.004d4550
mov eax, dword [esp + 0x74]
mov edx, 0x100
add esp, 8
test word [eax + 0xa], dx
je 0x4d5731
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
cmp byte [edx + 0x45], 0
mov eax, dword [ecx + 0x88]
je 0x4d570c
mov eax, 0x573b6c
jmp 0x4d5716
mov ecx, dword [ecx + 0x58]
lea eax, [eax + eax*4 - 5]
lea eax, [ecx + eax*4]
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx + 0x24]
shr edx, 1
mov dword [eax + 0xc], edx
mov cl, byte [ebx + 0x24]
and cl, 1
movzx edx, cl
mov word [eax + 2], dx
jmp 0x4d5735
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x60]
call fcn.004a33f0
test eax, eax
je 0x4d5759
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
push 0
push eax
push edi
push 0x4b
push ecx
call fcn.0048e3e0
add esp, 0x14
cmp dword [esp + 0x24], 0
je 0x4d5788
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x60]
push edx
push esi
push eax
call fcn.004d37f0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x30]
add esp, 0xc
push ecx
mov ecx, esi
mov edx, edi
call fcn.004d3770
add esp, 4
mov ecx, dword [esp + 0x60]
add dword [esp + 0x10], esi
call fcn.004a11f0
test eax, eax
jne 0x4d57b2
mov eax, dword [esp + 0x6c]
mov edi, ebx
call fcn.004d3700
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0xc]
jmp 0x4d57f1
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x50], 1
jmp 0x4d57f1
cmp byte [esp + 0x4b], 0
je 0x4d57f1
mov edx, eax
add edx, dword [esp + 0x1c]
push 0
push edx
push 0
push 0x3b
push ebx
call fcn.0048e3e0
add esp, 0x14
inc dword [esp + 0x10]
mov dword [esp + 0x50], 0
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
test ecx, ecx
je 0x4d584e
test eax, eax
je 0x4d583d
cmp dword [eax + 0x1c8], 0
je 0x4d5817
mov eax, ecx
mov ecx, dword [esp + 0x5c]
call fcn.0046f850
jmp 0x4d584a
cmp ecx, dword [eax + 0x120]
jb 0x4d583d
cmp ecx, dword [eax + 0x124]
jae 0x4d583d
mov edx, dword [eax + 0x11c]
mov dword [ecx], edx
dec dword [eax + 0x108]
mov dword [eax + 0x11c], ecx
jmp 0x4d584e
mov eax, dword [esp + 0x64]
push eax
call fcn.0046f7e0
add esp, 4
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4d58a3
test eax, eax
je 0x4d5896
cmp dword [eax + 0x1c8], 0
je 0x4d5870
mov eax, ecx
mov ecx, dword [esp + 0x5c]
call fcn.0046f850
jmp 0x4d58a3
cmp ecx, dword [eax + 0x120]
jb 0x4d5896
cmp ecx, dword [eax + 0x124]
jae 0x4d5896
mov edx, dword [eax + 0x11c]
mov dword [ecx], edx
dec dword [eax + 0x108]
mov dword [eax + 0x11c], ecx
jmp 0x4d58a3
mov eax, dword [esp + 0x24]
push eax
call fcn.0046f7e0
add esp, 4
cmp dword [esp + 0x10], 0
mov ecx, dword [ebx + 0x88]
mov dword [esi + 0x34], ecx
je 0x4d58f8
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x30]
movzx eax, byte [edx + eax*2 + str.___a]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push ecx
push eax
push ebx
call fcn.0048e3e0
mov edx, dword [ebx]
add esp, 0x14
cmp byte [edx + 0x45], 0
jne 0x4d58f8
mov ecx, dword [ebx + 0x58]
mov edx, dword [esp + 0x10]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], edx
cmp dword [esp + 0x18], 0
jne 0x4d5a68
mov eax, dword [esp + 0x68]
mov eax, dword [eax + 0xc]
test byte [eax + 0x24], 0x20
jne 0x4d599a
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 0x2c]
test eax, 0x400
jne 0x4d5948
test eax, 0x1000
je 0x4d592f
cmp byte [ecx + 0x31], 1
je 0x4d5948
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x68]
mov eax, dword [ebp + 8]
call fcn.004d4450
jmp 0x4d5a68
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x34]
push 0
push eax
push ecx
push 0x81
push ebx
mov dword [esp + 0x3c], eax
call fcn.0048e3e0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x54]
add esp, 0x14
push edx
push 0xffffffffffffffff
push eax
mov eax, edi
call fcn.004a5b10
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x4c]
add esp, 0xc
push ecx
push 0
push edx
push 0x20
push ebx
call fcn.0048e3e0
add esp, 0x14
jmp 0x4d5a68
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x40], ecx
je 0x4d5a68
call fcn.004ad070
mov ecx, dword [esp + 0xc]
mov edi, eax
movzx esi, word [edi + 0x32]
call fcn.004a8640
xor edx, edx
xor esi, esi
mov dword [esp + 0x14], eax
cmp dx, word [edi + 0x32]
jae 0x4d5a2e
lea ebx, [ebx]
mov ecx, dword [esp + 0x68]
movzx edx, word [ecx + 0x34]
xor eax, eax
mov dword [esp + 0x7c], edx
test edx, edx
jle 0x4d5a08
mov edx, dword [edi + 4]
movzx edx, word [edx + esi*2]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x44], edx
mov dx, word [esp + 0x44]
cmp dx, word [ecx]
je 0x4d5a95
inc eax
add ecx, 2
cmp eax, dword [esp + 0x7c]
jl 0x4d59f0
or eax, 0xffffffff
mov ecx, dword [esp + 0x14]
lea edx, [esi + ecx]
mov ecx, dword [esp + 0x34]
push edx
cwde
push eax
push ecx
push 0x60
push ebx
call fcn.0048e3e0
movzx edx, word [edi + 0x32]
inc esi
add esp, 0x14
cmp esi, edx
jl 0x4d59d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x40]
movzx esi, word [edi + 0x32]
push eax
push ecx
push edx
push 0x1d
push ebx
call fcn.0048e3e0
mov ecx, dword [ebx]
add esp, 0x14
cmp byte [ecx + 0x45], 0
jne 0x4d5a64
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], esi
mov esi, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
mov edi, dword [esp + 0x34]
mov edx, dword [esp + 0x68]
push ecx
push edi
push edx
mov edx, dword [esp + 0x4c]
call fcn.004d4640
mov eax, dword [esp + 0x58]
add esp, 0xc
test dword [eax + 0x24], 0x1000
je 0x4d5a9d
mov byte [esi + 0x2d], 0xa6
jmp 0x4d5aab
movzx eax, ax
jmp 0x4d5a0b
cmp dword [esp + 0x30], 0
sete cl
add cl, 6
mov byte [esi + 0x2d], cl
mov dword [esi + 0x30], edi
mov dl, byte [eax + 0x26]
and dl, 1
mov byte [esi + 0x2e], dl
test byte [eax + 0x24], 0xf
jne 0x4d5ac1
mov byte [esi + 0x2f], 1
cmp dword [esp + 0x18], 0
je 0x4d64cf
mov dword [esp + 0x68], 0
jmp 0x4d64cf
test dword [esp + 0x24], 0x2000
je 0x4d6490
mov eax, dword [edi + 0x28]
inc dword [edi + 0x2c]
xor ecx, ecx
mov dword [esp + 0x7c], eax
inc eax
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x44]
lea edi, [eax + 1]
mov dword [ecx + 0x44], edi
lea edi, [eax - 1]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x50], eax
test eax, edi
jne 0x4d5b55
mov ecx, eax
mov eax, dword [esp + 0x18]
mov edi, dword [eax + 0x48]
mov esi, dword [eax]
lea edx, [ecx*8 + 4]
push 0
push edx
call fcn.0046fde0
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x54]
mov dword [ecx + 0x48], eax
mov eax, dword [esp + 0x58]
add esp, 8
mov ecx, dword [ecx + 0x48]
xor edi, edi
cmp ecx, edi
je 0x4d5b65
mov dword [ecx + eax*4], 0xffffffff
mov edx, dword [edx + 0x30]
or ecx, 0xffffffff
sub ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + 0x10]
mov eax, dword [edx]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x30], ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov byte [esi + 0x2d], 0x34
mov al, byte [ecx + 0x2e]
mov dword [esp + 0x44], edi
mov dword [esp + 0x24], edi
cmp al, 1
jbe 0x4d5c5f
movzx eax, al
sub eax, dword [ebp + 0xc]
push 0
dec eax
lea edx, [eax + eax*4]
shl edx, 4
add edx, 0x58
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x60]
push edx
call fcn.0046fbd0
add esp, 8
mov dword [esp + 0x64], eax
test eax, eax
jne 0x4d5be2
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esp + 0x18]
mov esi, dword [esp + 0x38]
inc al
movzx ecx, al
mov eax, dword [esp + 0x64]
mov dword [eax + 4], ecx
mov dword [eax], ecx
lea edi, [eax + 8]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
add edx, 8
cmp dword [esp + 0x18], 1
jl 0x4d5c66
mov ecx, dword [esp + 0x18]
add eax, 0x58
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
add eax, 0x7c
mov dword [esp + 0x58], eax
mov dword [esp + 0x18], ecx
lea esp, [esp]
mov eax, dword [esp + 0x58]
movzx eax, byte [eax]
mov edi, dword [esp + 0x38]
lea esi, [eax + eax*4]
shl esi, 4
mov eax, 0x50
add dword [esp + 0x58], eax
add dword [esp + 0x38], eax
add esi, edx
dec dword [esp + 0x18]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
jne 0x4d5c30
jmp 0x4d5c66
mov ecx, dword [ecx + 4]
mov dword [esp + 0x64], ecx
mov edx, dword [ebp + 8]
test byte [edx + 0x2c], 0x10
jne 0x4d5cd9
mov eax, dword [esp + 0x3c]
test byte [eax + 0x24], 0x20
jne 0x4d5c99
mov esi, dword [esp + 0xc]
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
push 0
push eax
push 0
push 0x3b
push ebx
mov dword [esp + 0x48], eax
call fcn.0048e3e0
add esp, 0x14
jmp 0x4d5ccf
call fcn.004ad070
mov edi, dword [esp + 0xc]
mov esi, eax
mov eax, dword [edi + 0x28]
lea ecx, [eax + 1]
mov dword [edi + 0x28], ecx
movzx edx, word [esi + 0x32]
push 0
push edx
push eax
push 0x6c
push ebx
mov dword [esp + 0x48], eax
call fcn.0048e3e0
add esp, 0x14
mov ecx, esi
mov eax, edi
call fcn.0048f020
mov esi, edi
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x28]
xor esi, esi
push esi
push ecx
push esi
push 0x38
push ebx
call fcn.0048e3e0
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x94], eax
mov eax, dword [edx + 0xc]
add esp, 0x14
cmp eax, 1
jle 0x4d5e12
mov dword [esp + 0x18], esi
cmp eax, esi
jle 0x4d5e12
mov edi, esi
mov ecx, edx
mov eax, dword [ecx + 0x14]
mov edx, dword [eax + esi]
add eax, esi
mov dword [esp + 0x58], edx
cmp eax, dword [esp + 0x30]
je 0x4d5d6e
test byte [edx + 4], 1
jne 0x4d5d6e
mov eax, dword [ecx + 0x14]
test byte [eax + esi + 0xa], 6
jne 0x4d5d6e
mov edx, 0x1fff
test word [eax + esi + 0xc], dx
je 0x4d5d6e
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
push 0
push 0
push eax
push ecx
call fcn.004a20e0
mov ecx, dword [esp + 0x6c]
push edi
call fcn.004a1c60
mov ecx, dword [esp + 0x8c]
add esp, 0x14
mov edi, eax
mov eax, dword [esp + 0x18]
inc eax
add esi, 0x30
mov dword [esp + 0x18], eax
cmp eax, dword [ecx + 0xc]
jl 0x4d5d17
mov dword [esp + 0x24], edi
test edi, edi
je 0x4d5e14
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
push 0
push 0x30
call fcn.0046fc10
mov esi, eax
add esp, 8
test esi, esi
je 0x4d5dfa
push 0x30
push 0
push esi
call sub.MSVCR100.dll_memset
or eax, 0xffffffff
mov word [esi + 0x22], ax
mov byte [esi], 0x47
mov dword [esi + 0x10], edi
mov eax, dword [edi + 4]
and eax, 0x200100
or dword [esi + 4], eax
add esp, 0xc
mov ebx, esi
call fcn.004a1850
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx + 0x6c]
cmp dword [esi + 0x18], eax
jle 0x4d5dee
push eax
mov eax, ecx
push str.Expression_tree_is_too_large__maximum_depth__d_
push eax
call fcn.00472420
add esp, 0xc
mov ebx, dword [esp + 0x54]
mov edi, esi
mov dword [esp + 0x24], edi
jmp 0x4d5e14
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
push edi
push edx
call fcn.004a1f00
mov edi, esi
add esp, 8
mov dword [esp + 0x24], edi
jmp 0x4d5e14
mov edi, esi
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 0x2c]
mov esi, dword [esp + 0x50]
mov eax, 0x400
and dx, ax
or dx, 0x20
movzx ecx, dx
xor edx, edx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], edx
cmp dword [esi + 0xc], edx
jle 0x4d6357
mov dword [esp + 0x4c], edx
mov eax, dword [esi + 0x14]
add eax, dword [esp + 0x4c]
mov ecx, dword [eax + 0x14]
cmp ecx, dword [esp + 0x40]
je 0x4d5e64
mov ecx, 0x400
test word [eax + 0xc], cx
je 0x4d6340
mov eax, dword [eax]
mov dword [esp + 0x74], edx
cmp edi, edx
je 0x4d5e79
test byte [eax + 4], 1
jne 0x4d5e79
mov dword [edi + 0xc], eax
mov eax, edi
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x68]
push ecx
push 0
push 0
push eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.004ddc70
add esp, 0x1c
mov dword [esp + 0x84], eax
test eax, eax
je 0x4d633e
mov ecx, dword [esp + 0x20]
movzx edx, byte [ecx + 0x2c]
mov ecx, dword [ebp + 0xc]
push 0
push edx
mov edx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x18]
add eax, 0x2f0
push edx
call fcn.004d33d0
mov eax, dword [ebp + 8]
add esp, 0x10
test byte [eax + 0x2c], 0x10
jne 0x4d624b
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 0xc]
mov edi, dword [esp + 0x58]
dec edx
cmp edi, edx
jne 0x4d5eee
or edi, 0xffffffff
mov eax, dword [esp + 0x3c]
test byte [eax + 0x24], 0x20
mov dword [esp + 0x6c], edi
jne 0x4d5f4b
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0xc]
push 0
push ecx
push edx
push 0xffffffffffffffff
push eax
call fcn.004a5e70
add esp, 0x14
push eax
mov eax, dword [esp + 0x38]
push 0
push eax
push 0x2b
push ebx
call fcn.0048e3e0
mov ecx, dword [ebx]
add esp, 0x14
cmp byte [ecx + 0x45], 0
jne 0x4d5f42
mov ecx, dword [ebx + 0x58]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov byte [ecx + 1], 0xfd
mov dword [ecx + 0x10], edi
mov dword [esp + 0x74], eax
jmp 0x4d624b
call fcn.004ad070
mov esi, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
movzx eax, word [eax + 0x32]
mov dword [esp + 0x1c], eax
cmp eax, 1
jne 0x4d5f90
mov cl, byte [esi + 0x13]
test cl, cl
jne 0x4d5f7b
inc dword [esi + 0x2c]
mov ecx, dword [esi + 0x2c]
mov dword [esp + 0x38], ecx
jmp 0x4d5fb6
dec cl
movzx edx, cl
mov byte [esi + 0x13], cl
mov ecx, dword [esi + edx*4 + 0x15c]
mov dword [esp + 0x38], ecx
jmp 0x4d5fb6
mov ecx, dword [esi + 0x1c]
mov edx, dword [esi + 0x20]
cmp eax, ecx
jg 0x4d5fa7
lea edi, [eax + edx]
sub ecx, eax
mov dword [esi + 0x20], edi
mov dword [esi + 0x1c], ecx
jmp 0x4d5fb2
mov ecx, dword [esi + 0x2c]
lea edx, [ecx + 1]
add ecx, eax
mov dword [esi + 0x2c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], 0
test eax, eax
jle 0x4d605d
mov edi, dword [esp + 0x38]
lea ebx, [ebx]
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x18]
movsx eax, word [eax + ecx*2]
mov edx, dword [esp + 0x40]
push 0
push edi
push edx
push eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.004a5e70
add esp, 0x14
cmp eax, edi
je 0x4d6049
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x88]
mov esi, dword [ecx + 0xc]
cmp dword [esi + 0x30], edx
jg 0x4d601f
push 0
push edi
push eax
push 0x41
mov eax, ecx
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d6045
lea esi, [edx + 1]
mov dword [ecx + 0x88], esi
mov ecx, dword [ecx + 0x58]
lea edx, [edx + edx*4]
lea ecx, [ecx + edx*4]
mov dword [ecx + 4], eax
xor eax, eax
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x41
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
inc eax
inc edi
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jl 0x4d5fd0
mov esi, dword [esp + 0x6c]
xor edx, edx
cmp esi, edx
je 0x4d60e7
mov ecx, dword [ebx + 0x88]
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4d6092
mov edi, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push edi
push edx
push ecx
push 0x1e
mov eax, ebx
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d60c5
mov edi, dword [ebx + 0x58]
lea eax, [ecx + 1]
mov dword [ebx + 0x88], eax
lea eax, [ecx + ecx*4]
lea eax, [edi + eax*4]
xor edi, edi
mov word [eax + 2], di
mov edi, dword [esp + 0x34]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x38]
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edx
mov word [eax], 0x1e
mov eax, ecx
mov ecx, dword [ebx]
cmp byte [ecx + 0x45], 0
jne 0x4d60e1
mov ecx, dword [ebx + 0x58]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x1c]
mov byte [ecx + 1], 0xfd
mov dword [ecx + 0x10], edx
mov dword [esp + 0x74], eax
jmp 0x4d60eb
mov edi, dword [esp + 0x38]
test esi, esi
js 0x4d61d9
mov eax, dword [ebx + 0x88]
mov ecx, dword [ebx + 0xc]
mov esi, dword [esp + 0x14]
cmp dword [ecx + 0x30], eax
jg 0x4d611a
mov edx, dword [esp + 0x1c]
push esi
push edx
push edi
push 0x63
mov eax, ebx
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d6146
lea ecx, [eax + 1]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x1c]
mov dword [ebx + 0x88], ecx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], 0
mov dword [eax], 0x63
mov ecx, dword [ebx + 0x88]
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0x30], ecx
jg 0x4d6169
mov ecx, dword [esp + 0x34]
push edi
push esi
push ecx
push 0x7e
mov eax, ebx
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d619c
lea edx, [ecx + 1]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0x58]
lea eax, [ecx + ecx*4]
lea eax, [edx + eax*4]
xor edx, edx
mov word [eax + 2], dx
mov edx, dword [esp + 0x34]
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], 0
mov word [eax], 0x7e
mov eax, ecx
mov ecx, dword [ebx]
cmp byte [ecx + 0x45], 0
jne 0x4d61b8
mov ecx, dword [esp + 0x1c]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + edx*4]
mov byte [eax + 1], 0xfd
mov dword [eax + 0x10], ecx
cmp dword [esp + 0x6c], 0
je 0x4d61d9
mov eax, dword [ebx + 0x88]
test eax, eax
jle 0x4d61d9
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
mov ecx, 0x10
mov word [eax + edx*4 - 0x12], cx
cmp dword [esp + 0x1c], 1
jne 0x4d622f
test edi, edi
je 0x4d624b
mov edx, dword [esp + 0xc]
mov dl, byte [edx + 0x13]
mov byte [esp + 0x4b], dl
cmp dl, 8
jae 0x4d624b
mov ecx, dword [esp + 0xc]
xor eax, eax
lea esi, [ecx + 0x94]
cmp byte [ecx + 0x19], al
jbe 0x4d621a
cmp dword [esi + 0xc], edi
je 0x4d6229
movzx edx, byte [ecx + 0x19]
inc eax
add esi, 0x14
cmp eax, edx
jl 0x4d6205
mov dl, byte [esp + 0x4b]
movzx eax, dl
mov dword [ecx + eax*4 + 0x15c], edi
inc byte [ecx + 0x13]
jmp 0x4d624b
mov byte [esi + 6], 1
jmp 0x4d624b
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0xc]
push esi
call fcn.004a5c20
add esp, 4
cmp esi, dword [eax + 0x1c]
jle 0x4d624b
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], edi
mov eax, dword [ebx + 0x88]
mov ecx, dword [ebx + 0xc]
cmp dword [ecx + 0x30], eax
jg 0x4d6274
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
xor edi, edi
push edi
push edx
push eax
push 0xe
mov eax, ebx
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d62a7
lea ecx, [eax + 1]
mov dword [ebx + 0x88], ecx
lea edx, [eax + eax*4]
mov eax, dword [ebx + 0x58]
lea eax, [eax + edx*4]
mov edx, dword [esp + 0x28]
xor ecx, ecx
mov word [eax + 2], cx
mov ecx, dword [esp + 0x10]
xor edi, edi
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov word [eax], 0xe
mov eax, dword [esp + 0x74]
cmp eax, edi
je 0x4d62d5
mov ecx, dword [ebx + 0x88]
jge 0x4d62ba
lea eax, [ecx - 1]
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
je 0x4d62c9
mov eax, 0x573b6c
jmp 0x4d62d2
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x84]
cmp byte [eax + 0x32], 0
je 0x4d62ea
mov dword [esp + 0x44], 1
mov esi, dword [eax + 0x330]
test dword [esi + 0x24], 0x200
je 0x4d6329
cmp dword [esp + 0x58], edi
je 0x4d6308
mov ecx, dword [esp + 0x60]
cmp dword [esi + 0x20], ecx
jne 0x4d6329
mov edx, dword [esp + 0x3c]
test byte [edx + 0x24], 0x20
je 0x4d6320
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + 0x38]
and dl, 3
cmp dl, 2
je 0x4d6329
mov ecx, dword [esi + 0x20]
mov dword [esp + 0x60], ecx
jmp 0x4d632d
mov dword [esp + 0x60], edi
push eax
call fcn.004de700
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x54]
add esp, 4
xor edx, edx
mov eax, dword [esp + 0x58]
add dword [esp + 0x4c], 0x30
inc eax
mov dword [esp + 0x58], eax
cmp eax, dword [esi + 0xc]
jl 0x4d5e45
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x20]
mov dword [ecx + 0x38], eax
cmp eax, edx
je 0x4d636d
mov eax, dword [esp + 0x7c]
mov dword [ecx + 8], eax
cmp edi, edx
je 0x4d6388
mov ecx, dword [esp + 0x5c]
push edi
push ecx
mov dword [edi + 0xc], 0
call fcn.004a1f00
add esp, 8
xor edx, edx
mov eax, dword [esp + 0x80]
mov ecx, dword [ebx + 0x88]
cmp eax, edx
jge 0x4d639c
lea eax, [ecx - 1]
mov esi, dword [ebx]
cmp byte [esi + 0x45], 0
je 0x4d63ab
mov eax, 0x573b6c
jmp 0x4d63b4
mov esi, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [eax + 4], ecx
mov eax, dword [ebx + 0x88]
mov esi, dword [ebx + 0xc]
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0xc]
cmp dword [esi + 0x30], eax
jg 0x4d63df
push 0
push ecx
push 0
push 0xd
mov eax, ebx
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d6403
lea esi, [eax + 1]
mov dword [ebx + 0x88], esi
mov esi, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax], 0xd
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x48]
test eax, eax
je 0x4d6422
mov ecx, dword [esp + 0x10]
lea edx, [ecx*4 + 4]
mov ecx, dword [ebx + 0x88]
sub eax, edx
mov dword [eax], ecx
mov edx, dword [ebp + 8]
cmp byte [edx + 0x2e], 1
jbe 0x4d647a
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4d647a
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x4d6471
cmp dword [ecx + 0x1c8], 0
je 0x4d644b
call fcn.0046f850
jmp 0x4d647a
cmp eax, dword [ecx + 0x120]
jb 0x4d6471
cmp eax, dword [ecx + 0x124]
jae 0x4d6471
mov edx, dword [ecx + 0x11c]
mov dword [eax], edx
dec dword [ecx + 0x108]
mov dword [ecx + 0x11c], eax
jmp 0x4d647a
push eax
call fcn.0046f7e0
add esp, 4
cmp dword [esp + 0x44], 0
jne 0x4d64cf
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
call fcn.004d3700
jmp 0x4d64cf
test al, 0x20
je 0x4d649a
mov byte [esi + 0x2d], 0xa6
jmp 0x4d64cf
mov eax, dword [esp + 0x30]
mov cl, byte [eax + 0x53cafc]
mov edx, dword [esp + 0x40]
mov byte [esi + 0x2d], cl
mov ecx, dword [esp + 0x44]
push 0
push ecx
mov dword [esi + 0x30], edx
movzx eax, byte [eax + 0x53cb00]
push edx
push eax
push ebx
call fcn.0048e3e0
add esp, 0x14
inc eax
mov byte [esi + 0x2f], 1
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x68]
neg eax
sbb eax, eax
add eax, 2
mov dword [esp + 0x44], eax
mov edi, edi
mov edx, dword [esp + 0x78]
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0xc]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x10], edx
test edx, edx
jle 0x4d66f4
movzx edx, word [ecx + 0xa]
mov edi, dword [esp + 0x20]
xor esi, esi
test dl, 6
jne 0x4d66d4
mov eax, dword [ecx + 0x28]
mov ecx, dword [ecx + 0x2c]
and eax, dword [edi + 0x48]
and ecx, dword [edi + 0x4c]
or eax, ecx
je 0x4d652f
mov edx, dword [ebp + 8]
mov byte [edx + 0x32], 1
jmp 0x4d66d4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
mov edi, dword [eax]
mov dword [esp + 0x80], edi
cmp dword [ecx], esi
je 0x4d654e
test byte [edi + 4], 1
je 0x4d66d4
mov eax, dword [esp + 0x44]
cmp eax, 1
jne 0x4d65ea
xor eax, eax
mov edx, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x94], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov eax, dword [edx + 4]
lea edx, [esp + 0x84]
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x94], 0x4a8120
mov dword [esp + 0xa8], edx
test edi, edi
je 0x4d65d3
lea eax, [esp + 0x90]
push edi
push eax
call fcn.0049ec60
add esp, 8
cmp byte [esp + 0xa4], 0
je 0x4d65ef
mov dword [esp + 0x14], 2
jmp 0x4d66d4
cmp eax, 3
jge 0x4d6616
mov ecx, dword [esp + 0x30]
movzx edx, word [ecx + 0xa]
test edx, 0x1000
je 0x4d6616
cmp dword [esp + 0x14], esi
jne 0x4d66d4
mov dword [esp + 0x14], 3
jmp 0x4d66d4
test edx, 0x200
je 0x4d668a
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 0x24]
mov edx, dword [ebx + 0x88]
mov esi, eax
shr esi, 1
test al, 1
mov eax, dword [ebx + 0xc]
mov ecx, 0
setne cl
add ecx, 0x15
cmp dword [eax + 0x30], edx
jg 0x4d6656
push 0
push 0
push esi
push ecx
mov eax, ebx
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d6688
mov edi, dword [ebx + 0x58]
lea eax, [edx + 1]
mov dword [ebx + 0x88], eax
lea eax, [edx + edx*4]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x80]
mov byte [eax], cl
xor ecx, ecx
mov word [eax + 2], cx
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov byte [eax + 1], cl
mov eax, edx
mov esi, eax
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0xc]
push 0x10
push edx
push edi
push eax
call fcn.004a7900
add esp, 0x10
test esi, esi
je 0x4d66cb
mov ecx, dword [ebx + 0x88]
mov eax, esi
jns 0x4d66b0
lea eax, [ecx - 1]
mov edx, dword [ebx]
cmp byte [edx + 0x45], 0
je 0x4d66bf
mov eax, 0x573b6c
jmp 0x4d66c8
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x30]
or word [eax + 0xa], 4
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
dec eax
add ecx, 0x30
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], ecx
test eax, eax
jg 0x4d6500
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], eax
test eax, eax
jg 0x4d64e0
mov eax, dword [esp + 0x78]
mov edi, dword [eax + 0xc]
mov esi, dword [eax + 0x14]
mov dword [esp + 0x30], esi
mov dword [esp + 0x10], edi
test edi, edi
jle 0x4d67ec
lea ebx, [ebx]
test byte [esi + 0xa], 6
jne 0x4d67d8
movzx eax, word [esi + 0xc]
test al, 0x82
je 0x4d67d8
test eax, 0x800
je 0x4d67d8
mov eax, dword [esi + 0x14]
cmp eax, dword [esp + 0x40]
jne 0x4d67d8
mov ecx, dword [esp + 0x20]
cmp dword [ecx], 0
jne 0x4d67d8
mov eax, dword [ebp + 0x14]
mov edx, dword [esi]
mov ecx, dword [ebp + 0x10]
push 0
push 0x83
push eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x84]
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.004d8f90
add esp, 0x10
test eax, eax
je 0x4d67d8
test byte [eax + 0xa], 4
jne 0x4d67d8
mov esi, dword [eax]
mov edx, dword [esp + 0x80]
mov ecx, 0xc
lea edi, [esp + 0x90]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x70]
push 0x10
push ecx
lea edx, [esp + 0x98]
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x14]
push edx
push eax
call fcn.004a7900
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x20]
add esp, 0x10
dec edi
add esi, 0x30
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], esi
test edi, edi
jg 0x4d6720
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4d68e3
mov edx, dword [ebx + 0x88]
mov dword [eax + 0x1c], edx
mov eax, dword [ebx + 0x88]
mov edx, dword [ebx + 0xc]
cmp dword [edx + 0x30], eax
jg 0x4d6824
push 0
push ecx
push 1
push 0x38
mov eax, ebx
call fcn.0048e3a0
add esp, 0x10
jmp 0x4d6854
lea edx, [eax + 1]
mov dword [ebx + 0x88], edx
mov edx, dword [ebx + 0x58]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], 1
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax], 0x38
mov ebx, dword [esp + 0xc]
xor edx, edx
cmp byte [ebx + 0x19], dl
jbe 0x4d688e
lea eax, [ebx + 0xa0]
cmp byte [eax - 6], 0
je 0x4d6882
mov cl, byte [ebx + 0x13]
cmp cl, 8
jae 0x4d6882
mov esi, dword [eax]
movzx ecx, cl
mov dword [ebx + ecx*4 + 0x15c], esi
inc byte [ebx + 0x13]
movzx ecx, byte [ebx + 0x19]
inc edx
add eax, 0x14
cmp edx, ecx
jl 0x4d6865
mov eax, dword [esp + 0x78]
mov byte [ebx + 0x19], 0
mov esi, dword [eax + 0x14]
xor edi, edi
cmp dword [eax + 0xc], edi
jle 0x4d68e3
mov edx, dword [esp + 0x20]
test byte [esi + 0xa], 6
jne 0x4d68d6
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
and eax, dword [edx + 0x48]
and ecx, dword [edx + 0x4c]
or eax, ecx
jne 0x4d68d6
mov edx, dword [esp + 0x70]
mov eax, dword [esi]
push 0x10
push edx
push eax
push ebx
call fcn.004a7900
mov edx, dword [esp + 0x30]
add esp, 0x10
or word [esi + 0xa], 4
mov ecx, dword [esp + 0x78]
inc edi
add esi, 0x30
cmp edi, dword [ecx + 0xc]
jl 0x4d68a4
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret