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

Disassembly:
sub esp, 0xb0
push ebx
mov ebx, dword [esp + 0xc0]
push ebp
mov ebp, dword [esp + 0xbc]
push esi
mov edx, dword [ebx + 0x1ec]
lea eax, [ebx + 0x50]
mov dword [esp + 0x64], eax
mov eax, dword [ebp]
push edi
mov edi, dword [esp + 0xd4]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x48], 0
mov eax, dword [edi + 0x48]
mov dword [esp + 0x24], eax
movzx eax, byte [edi + 0x34]
lea ecx, [eax + eax*8]
mov eax, dword [ebx + 4]
lea eax, [eax + ecx*8]
xor ecx, ecx
add eax, 8
mov dword [esp + 0x74], eax
mov esi, dword [eax + 0x2c]
mov dword [esp + 0x30], esi
test edx, edx
jle 0x4c7300
lea eax, [ebx + 0x1f0]
lea esp, [esp]
cmp dword [eax], esi
je 0x4c73f1
inc ecx
add eax, 4
cmp ecx, edx
jl 0x4c72f0
xor eax, eax
xor edx, edx
mov esi, dword [esp + 0xd0]
not eax
and eax, dword [esp + 0xd8]
not edx
and edx, dword [esp + 0xdc]
mov ecx, esi
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], edx
mov eax, dword [ebx + 0x48]
mov edx, dword [ebx + 0x4c]
call fcn.0040b6a0
mov ebx, dword [esp + 0xc8]
and eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x38]
dec eax
mov dword [ebp + 0x38], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], eax
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x38]
dec eax
mov dword [ebp + 0x38], eax
cmp byte [edi + 0x34], 0
mov dword [esp + 0x7c], eax
mov dword [edi + 0x18], eax
jbe 0x4c7384
mov ecx, dword [esp + 0x74]
test byte [ecx + 0x24], 8
je 0x4c7384
mov eax, dword [ebp + 0x2c]
inc eax
push eax
push 0
push 0x45
mov dword [ebp + 0x2c], eax
push ebx
mov dword [edi], eax
call fcn.004b89e0
add esp, 0x10
mov ecx, esi
test esi, esi
jle 0x4c73ad
mov edx, dword [esp + 0xcc]
imul eax, esi, 0x58
add edx, 0x2f0
add eax, edx
lea esp, [esp]
cmp dword [eax], 0
jne 0x4c73ad
dec ecx
sub eax, 0x58
test ecx, ecx
jg 0x4c73a0
imul eax, ecx, 0x58
mov ecx, dword [esp + 0xcc]
mov eax, dword [eax + ecx + 0x2fc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov edx, dword [eax + 0x28]
test dl, 0x10
je 0x4c74ea
mov ecx, dword [ebx + 0x6c]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x18]
cmp dword [ebx + 0x70], ecx
jg 0x4c7402
push edx
push 0
push esi
push 0xd
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x4c742d
mov eax, 1
xor edx, edx
call fcn.0040b590
jmp 0x4c7304
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], edx
jg 0x4c744b
push 0
push dword [esp + 0x38]
push esi
push 0xe
push ebx
call fcn.004752f0
add esp, 0x14
mov edx, eax
jmp 0x4c747a
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov dword [edi + 0x3c], edx
mov byte [edi + 0x35], 0xb
xor ecx, ecx
mov esi, dword [esp + 0x68]
neg ecx
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x70], ecx
mov ecx, dword [esi + 0xc]
xor eax, eax
mov edi, dword [esi + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], ecx
test ecx, ecx
jle 0x4c8f4f
lea ebx, [ebx]
movzx edx, word [edi + 0xa]
xor esi, esi
test dl, 6
jne 0x4c8f37
mov ebp, dword [esp + 0xd4]
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x2c]
and ecx, dword [ebp + 0x50]
and eax, dword [ebp + 0x54]
or ecx, eax
je 0x4c8d94
mov eax, dword [esp + 0xcc]
or dword [eax + 0x30], 2
jmp 0x4c8f33
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x24]
test ecx, 0x400
je 0x4c79b2
mov edx, eax
movzx eax, word [edx + 0x28]
mov dword [esp + 0x10], eax
lea ecx, [eax + 2]
cmp ecx, 1
jne 0x4c7537
mov al, byte [ebp + 0x13]
test al, al
jne 0x4c7522
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x20], eax
jmp 0x4c7565
dec al
mov byte [ebp + 0x13], al
movzx eax, al
mov eax, dword [ebp + eax*4 + 0x94]
mov dword [esp + 0x20], eax
jmp 0x4c7565
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x20]
mov dword [esp + 0x20], esi
cmp ecx, edx
jg 0x4c7552
lea eax, [ecx + esi]
sub edx, ecx
mov dword [ebp + 0x20], eax
mov dword [ebp + 0x1c], edx
jmp 0x4c7561
mov eax, dword [ebp + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x20], edx
mov dword [ebp + 0x2c], eax
mov edx, dword [esp + 0x24]
mov eax, dword [edi + 0xc]
xor esi, esi
mov dword [esp + 0x28], eax
cmp dword [esp + 0x10], esi
jle 0x4c75cc
mov ebx, dword [esp + 0x10]
mov eax, dword [edx + 0x30]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x4c75c0
mov eax, dword [esp + 0x20]
add eax, 2
add eax, esi
test byte [ecx + 0xc], 1
je 0x4c75ab
push eax
push dword [esp + 0x3c]
push esi
push edi
push ecx
push ebp
call fcn.00457650
mov eax, dword [edi + 0x10]
add esp, 0x18
mov dword [esp + 0x28], eax
jmp 0x4c75bc
push 1
push eax
mov eax, dword [ecx]
push dword [eax + 0x10]
push ebp
call fcn.00457c30
add esp, 0x10
mov edx, dword [esp + 0x24]
inc esi
cmp esi, ebx
jl 0x4c7578
mov ebx, dword [esp + 0xc8]
mov ecx, dword [ebx + 0x6c]
mov edx, dword [edx + 0x18]
cmp dword [ebx + 0x70], ecx
jg 0x4c75eb
push 0
push dword [esp + 0x24]
push edx
push 0x45
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x4c761a
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [esp + 0x20]
mov ecx, dword [ebx + 0x6c]
inc esi
cmp dword [ebx + 0x70], ecx
jg 0x4c763b
push 0
push esi
push dword [esp + 0x18]
push 0x45
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x4c766a
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x24]
mov esi, dword [ebx + 0x6c]
movzx edx, byte [eax + 0x1c]
mov eax, dword [eax + 0x20]
neg edx
mov dword [esp + 0x34], eax
sbb edx, edx
and edx, 0xfffffffa
dec edx
mov dword [esp + 0x18], edx
cmp dword [ebx + 0x70], esi
jg 0x4c76ac
push dword [esp + 0x20]
push dword [esp + 0x2c]
push dword [esp + 0x38]
push 9
push ebx
call fcn.004752f0
mov edx, dword [esp + 0x2c]
add esp, 0x14
mov esi, eax
jmp 0x4c76e6
mov ebp, dword [esp + 0x30]
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0x28]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0x20]
mov dword [eax + ecx*4 + 0xc], ebp
mov ebp, dword [esp + 0xc4]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
cmp byte [ecx + 0x51], 0
je 0x4c7704
cmp edx, 0xfffffff4
je 0x4c7754
mov eax, dword [esp + 0x34]
push eax
push edx
push ecx
call fcn.00462150
add esp, 0xc
jmp 0x4c7754
test esi, esi
jns 0x4c770c
mov esi, dword [ebx + 0x6c]
dec esi
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
lea ecx, [eax + ecx*4]
test edx, edx
jns 0x4c7744
cmp byte [ecx + 1], 0
jne 0x4c7744
mov eax, dword [esp + 0x34]
cmp edx, 0xfffffffd
jne 0x4c7730
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], dl
jmp 0x4c7754
test eax, eax
je 0x4c7754
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], dl
cmp edx, 0xfffffff4
jne 0x4c7754
inc dword [eax + 0xc]
jmp 0x4c7754
mov eax, dword [esp + 0x34]
push edx
push eax
push ecx
push ebx
call fcn.004d0560
add esp, 0x10
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov byte [esi + 0x1c], 0
mov edx, dword [edi + 0x40]
mov dword [edi + 0x38], eax
mov eax, dword [esp + 0xcc]
mov al, byte [eax + 0x2e]
neg al
sbb al, al
and al, 0x70
add al, 0x3d
dec ecx
mov byte [edi + 0x35], al
mov eax, dword [ebx + 0x6c]
mov dword [edi + 0x3c], eax
mov dword [esp + 0x2c], ecx
js 0x4c7481
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x28], eax
lea ebx, [ebx]
mov eax, dword [esi + 0x30]
mov esi, dword [eax + ecx*4]
mov dword [esp + 0x70], esi
mov dx, word [esi + 0xc]
and dx, 1
je 0x4c77b9
sub dword [esp + 0x28], 0x14
cmp ecx, 0x10
jge 0x4c77dd
mov eax, dword [esp + 0x24]
mov ax, word [eax + 0x1e]
shr ax, cl
test al, 1
je 0x4c77d9
push esi
push edi
call fcn.0045bec0
jmp 0x4c7997
mov ecx, dword [esp + 0x2c]
test dx, dx
je 0x4c799e
mov eax, dword [esi]
mov ecx, dword [eax + 0xc]
mov al, byte [ecx]
cmp al, 0xad
jne 0x4c77f4
mov al, byte [ecx + 2]
cmp al, 0xae
jne 0x4c77fd
mov eax, dword [ecx + 0x14]
jmp 0x4c7807
cmp al, 0x88
jne 0x4c7812
mov eax, dword [ecx + 0x14]
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
cmp eax, 1
jne 0x4c799a
mov eax, dword [esp + 0x6c]
cmp byte [eax + 0x51], 0
jne 0x4c78b9
mov eax, dword [edi + 0x44]
mov ecx, dword [esp + 0x28]
mov ecx, dword [eax + ecx + 4]
test ecx, ecx
jns 0x4c7833
mov ecx, dword [ebx + 0x6c]
dec ecx
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4c7842
mov eax, 0x50e22c
jmp 0x4c784b
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 0xc]
mov esi, dword [eax + 8]
movzx eax, byte [eax]
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebx + 0x6c]
mov dword [esp + 0x18], eax
cmp dword [ebx + 0x70], ecx
jg 0x4c7879
push edx
push esi
push dword [esp + 0x24]
push eax
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x4c78b9
mov ebp, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x18]
mov byte [eax + ecx*4], bl
xor ebx, ebx
mov word [eax + ecx*4 + 2], bx
mov dword [eax + ecx*4 + 4], ebp
mov ebp, dword [esp + 0xc4]
mov dword [eax + ecx*4 + 0x10], ebx
mov byte [eax + ecx*4 + 1], bl
mov ebx, dword [esp + 0xc8]
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
push 0
push 0x34
push dword [ebp]
call fcn.00491d60
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4c799a
push 0x34
push 0
push esi
call sub.MSVCRT.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x35
push esi
mov word [esi + 0x22], ax
call fcn.0045f7c0
mov eax, dword [ebp]
add esp, 0x10
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4c7909
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebp
call fcn.00493e20
add esp, 0xc
mov eax, dword [esp + 0x70]
push 0
push 0x35
push dword [esp + 0x74]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
call fcn.00491d60
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4c7952
push 0x34
push 0
push edi
call sub.MSVCRT.dll_memset
add esp, 0xc
mov byte [edi], 0xad
or eax, 0xffffffff
mov word [edi + 0x22], ax
lea eax, [edi + 0x34]
mov dword [edi + 8], eax
mov byte [eax], 0
mov dword [edi + 0x18], 1
mov dword [esi + 0x10], edi
test edi, edi
je 0x4c797f
mov eax, dword [esp + 0x2c]
add eax, 2
add eax, dword [esp + 0x20]
mov dword [edi + 0x1c], eax
mov edi, dword [esp + 0xd4]
push 0
push dword [edi + 0x18]
push esi
push ebp
call fcn.00497630
add esp, 0x10
jmp 0x4c7986
mov edi, dword [esp + 0xd4]
push esi
push dword [esp + 0x70]
mov dword [esi + 0xc], 0
call fcn.00497330
add esp, 8
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
dec ecx
mov dword [esp + 0x2c], ecx
jns 0x4c77a0
jmp 0x4c7481
mov eax, ecx
and eax, 0x100
je 0x4c7a81
test cl, 5
je 0x4c7a81
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
push eax
push dword [esp + 0x3c]
mov dword [esp + 0x20], eax
push 0
push edi
push esi
push ebp
call fcn.00457650
mov ecx, dword [esp + 0x30]
mov edx, eax
add esp, 0x18
cmp edx, ecx
je 0x4c7a0f
test ecx, ecx
je 0x4c7a0f
mov al, byte [ebp + 0x13]
cmp al, 8
jae 0x4c7a0f
movzx eax, al
mov dword [ebp + eax*4 + 0x94], ecx
inc byte [ebp + 0x13]
mov ecx, dword [ebx + 0x6c]
mov ebp, dword [edi + 0x10]
cmp dword [ebx + 0x70], ecx
jg 0x4c7a2d
push edx
push ebp
push dword [esp + 0x38]
push 0x1f
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x4c7a5f
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0xc8]
mov dword [eax + ecx*4], 0x1f
mov dword [eax + ecx*4 + 8], ebp
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x35], 0xad
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edi + 0x50]
and eax, dword [edi + 0x54]
or ecx, eax
jne 0x4c7481
or word [esi + 0xa], 4
jmp 0x4c7481
test eax, eax
je 0x4c7cd5
test cl, 2
je 0x4c7cd5
xor edx, edx
mov dword [esp + 0x58], 0xad
xor esi, esi
mov dword [esp + 0x60], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x28], edx
test cl, 0x20
je 0x4c7ac8
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], 1
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
test cl, 0x10
je 0x4c7adf
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + edx*4]
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4c7aed
mov dword [esp + 0x28], esi
mov esi, edx
test esi, esi
je 0x4c7bba
mov edx, dword [esi]
mov dword [esp + 0x10], 0x18161719
mov dword [esp + 0x1c], edx
mov eax, dword [edx + 0x10]
push eax
mov dword [esp + 0x1c], eax
call fcn.00498150
add esp, 4
test eax, eax
je 0x4c7b5d
mov al, byte [ebp + 0x13]
test al, al
jne 0x4c7b26
inc dword [ebp + 0x2c]
mov esi, dword [ebp + 0x2c]
jmp 0x4c7b35
dec al
mov byte [ebp + 0x13], al
movzx eax, al
mov esi, dword [ebp + eax*4 + 0x94]
push 1
push esi
push dword [edx + 0x10]
mov dword [esp + 0x4c], esi
push ebp
call fcn.00457c30
mov eax, dword [esp + 0x2c]
add esp, 0x10
movzx eax, byte [eax]
inc eax
and eax, 2
or eax, 1
movzx eax, byte [esp + eax + 0x10]
jmp 0x4c7b8a
lea eax, [esp + 0x70]
push eax
push dword [esp + 0x1c]
push ebp
call fcn.00496d00
push esi
push edi
mov dword [esp + 0x54], eax
call fcn.0045bec0
mov eax, dword [esp + 0x30]
add esp, 0x14
mov esi, dword [esp + 0x70]
movzx ecx, byte [eax]
movzx eax, byte [esp + ecx - 0x26]
push dword [esp + 0x40]
push dword [esp + 0x38]
push dword [esp + 0x38]
push eax
push ebx
call fcn.004b8a40
add esp, 0x14
test esi, esi
je 0x4c7bda
mov al, byte [ebp + 0x13]
cmp al, 8
jae 0x4c7bda
movzx eax, al
mov dword [ebp + eax*4 + 0x94], esi
inc byte [ebp + 0x13]
jmp 0x4c7bda
push dword [esp + 0x18]
xor eax, eax
test ecx, ecx
push dword [esp + 0x34]
sete al
lea eax, [eax*4 + 0x21]
push eax
push ebx
call fcn.004b89e0
add esp, 0x10
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4c7c68
mov eax, dword [esi]
inc dword [ebp + 0x2c]
mov ecx, dword [ebp + 0x2c]
push 1
push ecx
push dword [eax + 0x10]
mov dword [esp + 0x24], eax
push ebp
mov dword [esp + 0x70], ecx
call fcn.00457c30
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0x10]
push eax
mov dword [esp + 0x2c], eax
call fcn.00498150
add esp, 0x14
test eax, eax
jne 0x4c7c3a
mov al, byte [edx]
cmp al, 0x38
je 0x4c7c24
cmp al, 0x36
jne 0x4c7c3a
xor edx, edx
cmp dword [esp + 0x38], edx
sete dl
lea edx, [edx*2 + 0x37]
mov dword [esp + 0x58], edx
jmp 0x4c7c4e
xor eax, eax
cmp dword [esp + 0x38], eax
setne al
lea eax, [eax*2 + 0x36]
mov dword [esp + 0x58], eax
push dword [esp + 0x18]
call fcn.00498150
add esp, 4
test eax, eax
jne 0x4c7c68
push esi
push edi
call fcn.0045bec0
add esp, 8
cmp dword [esp + 0x38], 0
mov ecx, dword [ebx + 0x6c]
sete al
mov dword [edi + 0x3c], ecx
add al, 4
mov byte [edi + 0x35], al
mov eax, dword [esp + 0x30]
mov dword [edi + 0x38], eax
mov edi, dword [esp + 0x58]
cmp edi, 0xad
je 0x4c7481
inc dword [ebp + 0x2c]
mov esi, dword [ebp + 0x2c]
push esi
push eax
push 0x7f
push ebx
call fcn.004b89e0
push esi
push dword [esp + 0x48]
push dword [esp + 0x78]
push edi
push ebx
call fcn.004b8a40
mov eax, dword [ebx + 0x6c]
add esp, 0x24
test eax, eax
jle 0x4c7481
lea ecx, [eax + eax*4]
mov edx, 0x53
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4c7481
test ecx, 0x200
je 0x4c8540
mov esi, dword [esp + 0x24]
mov dword [esp + 0x44], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x10], 0
movzx eax, word [esi + 0x1a]
movzx edx, word [esi + 0x18]
mov dword [esp + 0x40], eax
movzx eax, word [esi + 0x1c]
mov dword [esp + 0x50], eax
xor eax, eax
mov dword [esp + 0x58], eax
mov byte [esp + 0x17], al
mov byte [esp + 0x67], al
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x48], eax
mov eax, dword [edi + 8]
movzx esi, dx
mov dword [esp + 0x5c], edx
mov edx, esi
mov dword [esp + 0x20], eax
test cl, 0x20
je 0x4c7d65
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x24]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + edx*4]
inc edx
mov dword [esp + 0x44], eax
movzx eax, word [ebx + 0x1a]
mov ebx, dword [esp + 0xc8]
test eax, eax
js 0x4c7d65
mov dword [esp + 0x10], eax
test cl, 0x10
je 0x4c7e02
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + edx*4]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
movzx eax, word [edx + 0x1c]
cmp dword [esp + 0x10], eax
jg 0x4c7d8e
mov dword [esp + 0x10], eax
mov eax, 0x100
test word [ecx + 0xa], ax
je 0x4c7dd1
mov eax, dword [ebp + 0x2c]
inc eax
push eax
push 1
push 0x45
mov dword [ebp + 0x2c], eax
push ebx
mov dword [edi + 0x2c], eax
call fcn.004b89e0
mov ecx, dword [esp + 0x58]
add esp, 0x10
mov eax, dword [ebx + 0x6c]
shl dword [edi + 0x2c], 1
mov dword [edi + 0x30], eax
mov eax, dword [ecx + 0x1c]
xor ecx, ecx
cmp byte [esi + eax], 1
sete cl
xor ecx, dword [esp + 0x38]
or dword [edi + 0x2c], ecx
mov edx, dword [esp + 0x44]
test edx, edx
jne 0x4c7e06
mov ecx, dword [esp + 0x48]
mov eax, dword [ecx + 4]
movsx edx, word [eax + esi*2]
test edx, edx
js 0x4c7df8
mov eax, dword [ecx + 0xc]
lea ecx, [edx + edx*4]
mov eax, dword [eax + 4]
cmp byte [eax + ecx*4 + 0xc], 0
je 0x4c7dfd
cmp edx, 0xfffffffe
jne 0x4c7e02
mov byte [esp + 0x17], 1
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0x24]
test al, 0x30
jne 0x4c7e3b
test eax, 0x80000
je 0x4c7e3b
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [edi + 0x24], eax
dec dword [ebp + 0x38]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x10], 1
mov byte [esp + 0x17], 1
mov dword [edi + 0x28], eax
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x5c]
movzx eax, word [eax + 0x32]
mov dword [esp + 0x18], eax
cmp cx, ax
jae 0x4c7e6d
mov eax, dword [esp + 0x48]
xor ecx, ecx
mov eax, dword [eax + 0x1c]
cmp byte [esi + eax], cl
sete cl
cmp dword [esp + 0x38], ecx
je 0x4c7e79
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
cmp dword [esp + 0x38], 0
je 0x4c7ea8
cmp ax, cx
jne 0x4c7ea8
mov eax, dword [esp + 0x54]
mov cl, byte [esp + 0x17]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x50]
mov byte [esp + 0x67], cl
movzx ecx, dx
movzx eax, al
mov byte [esp + 0x17], 0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x14]
push dword [esp + 0x40]
push edi
push ebp
call fcn.00456d20
mov ecx, eax
add esp, 0x14
mov eax, dword [esp + 0x60]
mov dword [esp + 0x3c], ecx
test eax, eax
je 0x4c7eee
mov edx, dword [esp + 0x50]
test dx, dx
je 0x4c7eee
lea ecx, [esi + eax]
push ecx
push dword [esp + 0x70]
call fcn.00492030
mov ecx, dword [esp + 0x44]
add esp, 8
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4c7efb
mov eax, dword [edi + 0x28]
jmp 0x4c7efe
mov eax, dword [edi + 0x10]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4c7f18
test byte [eax + 0xc], 0x28
mov dword [esp + 0x34], 0
je 0x4c7f20
mov dword [esp + 0x34], 1
cmp dword [esp + 0x54], 0
mov ebx, dword [esp + 0xc8]
je 0x4c7f47
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x28], 0
test byte [ebp + 0xc], 0x28
mov ebp, dword [esp + 0xc4]
je 0x4c7f4f
mov dword [esp + 0x28], 1
test eax, eax
jne 0x4c7f9a
cmp word [esp + 0x5c], ax
ja 0x4c7f9a
mov dword [esp + 0x5c], eax
mov dword [esp + 0x4c], esi
cmp byte [esp + 0x17], 0
je 0x4c805b
mov dword [esp + 0x34], 0
lea eax, [esi + ecx]
push eax
push 0
push 0x48
push ebx
call fcn.004b89e0
lea eax, [esi + 1]
mov dword [esp + 0x6c], 1
add esp, 0x10
mov dword [esp + 0x4c], eax
jmp 0x4c8065
mov dword [esp + 0x5c], 1
mov dword [esp + 0x4c], esi
test eax, eax
je 0x4c7f62
mov edx, dword [esp + 0x40]
add ecx, esi
mov eax, dword [eax]
movzx edx, dx
push edx
push ecx
mov eax, dword [eax + 0x10]
push eax
push ebp
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x28], ecx
call fcn.00457c30
push dword [esp + 0x54]
push edi
push ebx
call fcn.004d78c0
push dword [esp + 0x38]
call fcn.00494660
add esp, 0x20
test eax, eax
je 0x4c7ffb
push dword [esp + 0x10]
push dword [esp + 0x1c]
push 0x32
push ebx
call fcn.004b89e0
add esp, 0x10
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4c8016
add eax, esi
push eax
push dword [esp + 0x44]
push dword [esp + 0x24]
call fcn.004cf7e0
add esp, 0xc
push dword [esp + 0x1c]
mov eax, esi
add eax, dword [esp + 0x44]
mov dword [esp + 0x50], eax
call fcn.00498150
add esp, 4
test eax, eax
jne 0x4c8048
push dword [esp + 0x44]
push edi
call fcn.0045bec0
mov eax, dword [esp + 0x54]
add esp, 8
mov byte [esp + 0x17], 0
jmp 0x4c8065
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x34], 1
mov byte [esp + 0x17], 0
jmp 0x4c8065
test edx, edx
jne 0x4c7f75
mov eax, esi
movzx ecx, byte [esp + 0x17]
push dword [esp + 0x60]
sub eax, ecx
mov dword [esp + 0x1c], ecx
push eax
push dword [esp + 0x44]
push ebp
call fcn.00457120
mov ecx, dword [esp + 0x34]
add esp, 0x10
movzx eax, word [ecx + 0x2a]
test ax, ax
je 0x4c8099
cmp dword [esp + 0x4c], eax
je 0x4c8146
test dword [ecx + 0x24], 0x40000
je 0x4c80b1
push dword [esp + 0x20]
push 0x76
push ebx
call fcn.004b8980
add esp, 0xc
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4c80c7
push eax
push 1
push 0x45
push ebx
call fcn.004b89e0
add esp, 0x10
push dword [esp + 0x4c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x60]
push dword [esp + 0x40]
push dword [esp + 0x18]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x44]
push dword [esp + 0x2c]
movzx eax, byte [ecx + eax*2 + 0x4ea8c4]
push eax
push ebx
call fcn.004b8b70
mov eax, dword [esp + 0x44]
add esp, 0x18
test eax, eax
je 0x4c814a
mov eax, dword [ebx + 0x6c]
add eax, 2
push eax
push 0
push 0xb
push ebx
call fcn.004b89e0
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
push eax
push dword [esp + 0x50]
xor eax, eax
cmp dword [esp + 0x64], 1
push dword [esp + 0x28]
setg al
push dword [esp + 0x3c]
movzx eax, byte [ecx + eax*4 + 0x4ea8c6]
push eax
push ebx
call fcn.004b8b70
add esp, 0x28
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x4c820f
mov eax, dword [ecx]
mov edx, dword [esp + 0x3c]
add edx, esi
mov ecx, dword [eax + 0x10]
mov eax, dword [esp + 0x50]
movzx eax, ax
push eax
push edx
push ecx
push ebp
mov dword [esp + 0x2c], ecx
call fcn.00457c30
push dword [esp + 0x64]
push edi
push ebx
call fcn.004d78c0
push dword [esp + 0x38]
call fcn.00494660
add esp, 0x20
test eax, eax
je 0x4c81a6
push dword [esp + 0x10]
mov eax, dword [esp + 0x40]
add eax, esi
push eax
push 0x32
push ebx
call fcn.004b89e0
add esp, 0x10
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4c81dd
mov edx, dword [esp + 0x50]
push eax
movzx eax, dx
push eax
push dword [esp + 0x24]
call fcn.004cf7e0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x5c]
push eax
movzx eax, cx
push eax
mov eax, dword [esp + 0x50]
add eax, esi
push eax
push ebp
call fcn.00457120
add esp, 0x1c
mov ecx, dword [esp + 0x50]
push dword [esp + 0x1c]
movzx eax, cx
add esi, eax
call fcn.00498150
add esp, 4
test eax, eax
jne 0x4c8205
push dword [esp + 0x54]
push edi
call fcn.0045bec0
add esp, 8
jmp 0x4c8237
mov dword [esp + 0x28], 1
jmp 0x4c8237
cmp byte [esp + 0x67], 0
je 0x4c8237
test eax, eax
jne 0x4c8236
mov eax, dword [esp + 0x3c]
add eax, esi
push eax
push 0
push 0x48
push ebx
call fcn.004b89e0
add esp, 0x10
mov dword [esp + 0x28], 0
inc esi
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4c824c
push eax
push dword [esp + 0x70]
call fcn.00491cd0
add esp, 8
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4c8261
push eax
push dword [esp + 0x70]
call fcn.00491cd0
add esp, 8
mov eax, dword [ebx + 0x6c]
mov dword [edi + 0x3c], eax
test esi, esi
je 0x4c82ad
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x4c8286
mov eax, dword [ebx + 0x6c]
add eax, 3
push eax
push edx
push 0x14
push ebx
call fcn.004b89e0
add esp, 0x10
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
push esi
push dword [esp + 0x40]
push dword [esp + 0x18]
movzx eax, byte [eax + ecx*2 + str.__A]
push dword [esp + 0x2c]
push eax
push ebx
call fcn.004b8b70
add esp, 0x18
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4c82f2
mov eax, dword [ebx + 0x6c]
add eax, 2
push eax
push ecx
push 0x12
push ebx
call fcn.004b89e0
mov ecx, dword [esp + 0x28]
lea eax, [ecx + esi]
mov esi, dword [esp + 0x30]
push eax
push dword [esp + 0x50]
mov eax, dword [esp + 0x50]
push dword [esp + 0x28]
push esi
movzx eax, byte [ecx + eax*2 + str.__A]
push eax
push ebx
call fcn.004b8b70
add esp, 0x28
jmp 0x4c82f6
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
test dword [ecx + 0x24], 0x40000
je 0x4c8315
push 1
push esi
push 0x76
push ebx
call fcn.004b89e0
mov ecx, dword [esp + 0x34]
add esp, 0x10
test byte [ecx + 0x24], 0x40
mov edx, dword [esp + 0xcc]
je 0x4c838c
test byte [edx + 0x28], 0x20
jne 0x4c838c
mov dword [esp + 0x28], 1
mov esi, dword [esp + 0x30]
mov ebp, dword [esp + 0x20]
cmp dword [edi], 0
jne 0x4c8372
mov eax, dword [esp + 0xcc]
test byte [eax + 0x28], 0x20
jne 0x4c8359
push eax
push ebp
push esi
push dword [esp + 0x54]
call fcn.004d71f0
add esp, 0x10
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x4c8372
push dword [esp + 0x68]
push esi
push eax
call fcn.004d6c70
add esp, 0xc
mov ecx, dword [esp + 0x24]
test dword [ecx + 0x24], 0x1000
je 0x4c8508
mov byte [edi + 0x35], 0xad
jmp 0x4c8515
mov eax, dword [esp + 0x48]
mov dword [esp + 0x28], 0
mov eax, dword [eax + 0xc]
test byte [eax + 0x24], 0x80
jne 0x4c8407
movzx eax, word [edx + 0x28]
test eax, 0x400
jne 0x4c83d8
test eax, 0x1000
je 0x4c83c0
cmp byte [edx + 0x2e], 1
je 0x4c83d8
cmp word [ecx + 0x28], 0
je 0x4c83d8
push esi
mov esi, dword [esp + 0x34]
push esi
push dword [esp + 0x50]
push edx
call fcn.00457400
add esp, 0x10
jmp 0x4c8334
inc dword [ebp + 0x2c]
mov esi, dword [ebp + 0x2c]
mov ebp, dword [esp + 0x20]
push esi
push ebp
push 0x86
push ebx
call fcn.004b89e0
push esi
mov esi, dword [esp + 0x44]
push 0
push esi
push 0x20
push ebx
call fcn.004b8a40
add esp, 0x24
jmp 0x4c8338
cmp dword [esp + 0x30], esi
je 0x4c8330
push eax
call fcn.004ae020
mov esi, eax
mov dword [esp + 0x44], esi
movzx ecx, word [esi + 0x32]
push ecx
push ebp
call fcn.004a2cd0
xor ecx, ecx
mov dword [esp + 0x24], eax
add esp, 0xc
xor ebp, ebp
cmp cx, word [esi + 0x32]
jae 0x4c84e3
mov dword [esp + 0x1c], eax
mov edi, esi
mov eax, dword [esp + 0x48]
xor ecx, ecx
movzx edx, word [eax + 0x34]
test edx, edx
jle 0x4c846d
mov eax, dword [edi + 4]
movzx esi, word [eax + ebp*2]
mov eax, dword [esp + 0x48]
mov eax, dword [eax + 4]
nop
cmp si, word [eax]
je 0x4c8492
inc ecx
add eax, 2
cmp ecx, edx
jl 0x4c8460
or eax, 0xffffffff
mov ecx, dword [ebx + 0x6c]
movsx edx, ax
cmp dword [ebx + 0x70], ecx
jg 0x4c8497
mov esi, dword [esp + 0x1c]
push esi
push edx
push dword [esp + 0x28]
push 0x59
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x4c84c6
movzx eax, cx
jmp 0x4c8470
mov esi, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x59
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
movzx eax, word [edi + 0x32]
inc ebp
inc esi
mov dword [esp + 0x1c], esi
cmp ebp, eax
jl 0x4c8443
mov edi, dword [esp + 0xd4]
mov esi, dword [esp + 0x40]
movzx eax, word [esi + 0x32]
mov esi, dword [esp + 0x30]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x84]
push esi
push 0x1d
push ebx
call fcn.004b8b70
add esp, 0x18
jmp 0x4c8334
cmp dword [esp + 0x38], 0
sete al
add al, 4
mov byte [edi + 0x35], al
mov dword [edi + 0x38], ebp
mov al, byte [ecx + 0x26]
and al, 1
mov byte [edi + 0x36], al
test byte [ecx + 0x24], 0xf
jne 0x4c852a
mov byte [edi + 0x37], 1
cmp dword [esp + 0x28], 0
je 0x4c8d8b
xor ecx, ecx
mov dword [esp + 0x48], ecx
jmp 0x4c7483
test ecx, 0x2000
je 0x4c8d46
mov eax, dword [ebp + 0x28]
dec dword [ebp + 0x38]
inc dword [ebp + 0x2c]
mov dword [esp + 0x70], eax
inc eax
mov ecx, dword [esp + 0x74]
mov dword [ebp + 0x28], eax
mov eax, dword [ebp + 0x38]
mov edx, dword [ebp + 0x2c]
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], edx
mov dword [esp + 0x54], 0
mov eax, dword [eax + 0x30]
mov dword [esp + 0x34], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x4c], ecx
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xcc]
mov byte [edi + 0x35], 0x41
mov dword [edi + 0x38], edx
mov al, byte [eax + 0x2c]
cmp al, 1
jbe 0x4c86d6
mov ecx, dword [esp + 0x6c]
movzx eax, al
sub eax, esi
dec eax
mov dword [esp + 0x1c], eax
push 0
lea eax, [eax + eax*8]
lea eax, [eax*8 + 0x50]
push eax
test ecx, ecx
je 0x4c85f9
push ecx
call fcn.00491d60
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x2c], ecx
jmp 0x4c8607
call fcn.004a73f0
add esp, 8
mov dword [esp + 0x2c], eax
mov ecx, eax
test ecx, ecx
jne 0x4c8624
mov eax, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret
mov edx, dword [esp + 0x1c]
lea edi, [ecx + 8]
mov esi, dword [esp + 0x74]
lea eax, [edx + 1]
movzx eax, al
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov ecx, 0x12
mov eax, dword [esp + 0xcc]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 4]
add ecx, 8
mov dword [esp + 0x1c], ecx
cmp edx, 1
jl 0x4c869e
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0xd4]
add ebx, 0x50
add ebp, 0x8c
jmp 0x4c8670
movzx eax, byte [ebp]
lea ebp, [ebp + 0x58]
mov edi, ebx
add ebx, 0x48
lea eax, [eax + eax*8]
lea esi, [ecx + eax*8]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x1c]
dec edx
jne 0x4c8670
mov ebx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xc4]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0xd4]
mov edx, dword [esp + 0xcc]
test byte [edx + 0x28], 0x10
jne 0x4c871d
test byte [ecx + 0x24], 0x80
jne 0x4c86e6
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
push eax
push 0
push 0x48
push ebx
mov dword [esp + 0x64], eax
call fcn.004b89e0
add esp, 0x10
jmp 0x4c8713
mov eax, dword [esp + 0xcc]
mov eax, dword [eax + 4]
mov dword [esp + 0x2c], eax
jmp 0x4c86a9
push ecx
call fcn.004ae020
mov esi, eax
mov eax, dword [ebp + 0x28]
mov dword [esp + 0x58], eax
lea ecx, [eax + 1]
mov dword [ebp + 0x28], ecx
movzx ecx, word [esi + 0x32]
push ecx
push eax
push 0x64
push ebx
call fcn.004b89e0
push esi
push ebp
call fcn.004c3470
add esp, 0x1c
inc dword [ebp + 0x2c]
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x34], eax
push dword [esp + 0x60]
push 0
push 0x45
push ebx
call fcn.004b89e0
mov dword [esp + 0x88], eax
add esp, 0x10
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 0xc]
cmp ecx, 1
jle 0x4c87ec
xor edx, edx
mov dword [esp + 0x1c], edx
test ecx, ecx
jle 0x4c87ec
mov edi, dword [esp + 0x6c]
xor esi, esi
xor ebx, ebx
jmp 0x4c8760
mov eax, dword [eax + 0x14]
add eax, esi
mov ecx, dword [eax]
cmp eax, dword [esp + 0x24]
je 0x4c87ac
test byte [eax + 0xa], 6
jne 0x4c87ac
mov ebp, 0x1fff
test word [eax + 0xc], bp
mov ebp, dword [esp + 0xc4]
je 0x4c87ac
test ecx, ecx
je 0x4c8799
push 0
push 0
push ecx
push edi
call fcn.0045e990
add esp, 0x10
jmp 0x4c879b
xor eax, eax
push eax
push ebx
push ebp
call fcn.00494410
mov edx, dword [esp + 0x28]
add esp, 0xc
mov ebx, eax
mov eax, dword [esp + 0x68]
inc edx
add esi, 0x30
mov dword [esp + 0x1c], edx
cmp edx, dword [eax + 0xc]
jl 0x4c8760
mov edi, dword [esp + 0xd4]
test ebx, ebx
mov dword [esp + 0x3c], ebx
mov ebx, dword [esp + 0xc8]
je 0x4c87ec
mov eax, dword [esp + 0x3c]
push eax
push 0
push 0x1002c
push ebp
call fcn.004a8800
add esp, 0x10
mov dword [esp + 0x3c], eax
mov esi, dword [esp + 0xcc]
mov ecx, 0x400
push str.MULTI_INDEX_OR
push 1
push ebp
mov ax, word [esi + 0x28]
and ax, cx
or ax, 0x20
movzx eax, ax
mov dword [esp + 0x94], eax
call fcn.004bfdb0
mov eax, dword [esp + 0x2c]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x44], ecx
cmp dword [eax + 0xc], ecx
jle 0x4c8bb5
mov esi, dword [esp + 0x30]
xor edx, edx
mov dword [esp + 0x5c], edx
lea ebx, [ebx]
mov eax, dword [eax + 0x14]
cmp dword [eax + edx + 0x14], esi
je 0x4c8859
mov edi, 0x400
test word [eax + edx + 0xc], di
je 0x4c8b8e
mov esi, dword [eax + edx]
xor edi, edi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], edi
test eax, eax
je 0x4c886f
mov dword [eax + 0xc], esi
mov esi, eax
lea eax, [ecx + 1]
push eax
push str.INDEX__d
push 1
push ebp
call fcn.004bfdb0
push dword [esp + 0x80]
push dword [esp + 0x9c]
push 0
push 0
push esi
push dword [esp + 0x50]
push ebp
call fcn.004c6710
mov esi, eax
add esp, 0x2c
mov dword [esp + 0x50], esi
test esi, esi
je 0x4c8b82
push 0
lea ecx, [esi + 0x2f0]
push ecx
push dword [esp + 0x34]
push ebp
call fcn.004c9b40
mov eax, dword [esp + 0xdc]
add esp, 0x10
test byte [eax + 0x28], 0x10
jne 0x4c8a72
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
jne 0x4c88ee
or esi, 0xffffffff
mov dword [esp + 0x28], esi
jmp 0x4c88f4
mov esi, ecx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x4c]
test byte [eax + 0x24], 0x80
jne 0x4c8929
mov edi, dword [esp + 0x34]
push edi
push dword [esp + 0x34]
push 0x7f
push ebx
call fcn.004b89e0
push esi
push edi
push 0
push dword [esp + 0x70]
push 0x2d
push ebx
call fcn.004b8b70
add esp, 0x28
mov edi, eax
jmp 0x4c8a6e
push eax
call fcn.004ae020
mov dword [esp + 0x84], eax
movzx eax, word [eax + 0x32]
push eax
push ebp
mov dword [esp + 0x28], eax
call fcn.004a2cd0
mov edi, dword [esp + 0x28]
add esp, 0xc
xor esi, esi
mov dword [esp + 0x40], eax
test edi, edi
jle 0x4c8990
mov ebp, eax
jmp 0x4c8960
mov eax, dword [esp + 0x80]
lea ecx, [esi + ebp]
push ecx
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x38]
push dword [esp + 0x58]
push ebx
call fcn.00494ce0
inc esi
add esp, 0x14
cmp esi, edi
jl 0x4c8960
mov ebp, dword [esp + 0xc4]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x40]
test eax, eax
je 0x4c89bd
push esi
push edi
push 0
push dword [esp + 0x60]
push 0x1e
push ebx
call fcn.004b8b70
mov dword [esp + 0x28], eax
add esp, 0x18
mov eax, dword [esp + 0x28]
test eax, eax
js 0x4c8a38
mov ecx, dword [ebx + 0x6c]
mov edx, dword [esp + 0x34]
cmp dword [ebx + 0x70], ecx
jg 0x4c89db
push edx
push esi
push edi
push 0x5b
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x4c8a02
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x5b
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
push esi
push edi
push dword [esp + 0x3c]
push dword [esp + 0x60]
push 0x83
push ebx
call fcn.004b8b70
add esp, 0x18
cmp dword [esp + 0x28], 0
je 0x4c8a38
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x4c8a38
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
cmp esi, 1
jne 0x4c8a5f
test edi, edi
je 0x4c8a6a
mov al, byte [ebp + 0x13]
mov esi, dword [esp + 0x50]
cmp al, 8
jae 0x4c8a59
movzx eax, al
mov dword [ebp + eax*4 + 0x94], edi
inc byte [ebp + 0x13]
mov edi, dword [esp + 0x10]
jmp 0x4c8a72
cmp esi, dword [ebp + 0x1c]
jle 0x4c8a6a
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x20], edi
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x50]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4c8a91
push 0
push dword [esp + 0x3c]
push dword [esp + 0x68]
push 0xc
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x4c8ac4
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test edi, edi
je 0x4c8aeb
mov edx, dword [ebx + 0x6c]
jns 0x4c8ad0
lea edi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4c8adf
mov eax, 0x50e22c
jmp 0x4c8ae8
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
test byte [esi + 0x30], 2
je 0x4c8af9
mov dword [esp + 0x18], 1
mov ecx, dword [esi + 0x338]
test dword [ecx + 0x24], 0x200
je 0x4c8b37
cmp dword [esp + 0x44], 0
je 0x4c8b18
mov eax, dword [esp + 0x58]
cmp dword [ecx + 0x20], eax
jne 0x4c8b37
mov eax, dword [esp + 0x4c]
test byte [eax + 0x24], 0x80
je 0x4c8b2e
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
je 0x4c8b37
mov edi, dword [ecx + 0x20]
mov dword [esp + 0x58], edi
jmp 0x4c8b3f
mov dword [esp + 0x58], 0
push esi
call fcn.004c9130
mov ecx, dword [ebp + 0xd4]
add esp, 4
test ecx, ecx
jne 0x4c8b56
xor eax, eax
jmp 0x4c8b7c
mov edx, dword [ebp + 8]
test ecx, ecx
jns 0x4c8b61
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x4c8b70
mov eax, 0x50e22c
jmp 0x4c8b79
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebp + 0xd4], eax
mov esi, dword [esp + 0x30]
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x20]
inc ecx
add edx, 0x30
mov dword [esp + 0x44], ecx
mov dword [esp + 0x5c], edx
cmp ecx, dword [eax + 0xc]
jl 0x4c8840
mov edi, dword [esp + 0xd4]
mov esi, dword [esp + 0xcc]
mov ecx, dword [ebp + 0xd4]
test ecx, ecx
jne 0x4c8bc3
xor eax, eax
jmp 0x4c8be9
mov edx, dword [ebp + 8]
test ecx, ecx
jns 0x4c8bce
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x4c8bdd
mov eax, 0x50e22c
jmp 0x4c8be6
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [ebp + 0xd4], eax
mov eax, dword [esp + 0x58]
mov dword [edi + 0x40], eax
test eax, eax
je 0x4c8c01
mov eax, dword [esp + 0x70]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x6c]
test eax, eax
je 0x4c8c1e
push eax
push ebp
mov dword [eax + 0xc], 0
call fcn.00497330
add esp, 8
mov ecx, dword [esp + 0x78]
mov edx, dword [ebx + 0x6c]
test ecx, ecx
jns 0x4c8c2c
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4c8c3b
mov eax, 0x50e22c
jmp 0x4c8c44
mov eax, dword [ebx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 4], edx
mov ecx, dword [ebx + 0x6c]
mov edx, dword [edi + 0xc]
cmp dword [ebx + 0x70], ecx
jg 0x4c8c64
push 0
push edx
push 0
push 0xb
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x4c8c9a
mov esi, dword [esp + 0xcc]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0xb
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 ecx, dword [ebx + 0xc]
mov edx, dword [esp + 0x38]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4c8cb8
push edx
push ebx
push ecx
call fcn.00483c50
add esp, 0xc
jmp 0x4c8cc1
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
cmp byte [esi + 0x2c], 1
jbe 0x4c8d29
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4c8d29
test ebp, ebp
je 0x4c8d20
cmp dword [ebp + 0x1f8], 0
je 0x4c8ce8
push ecx
push ebp
call fcn.00478920
add esp, 8
jmp 0x4c8d29
cmp ecx, dword [ebp + 0x14c]
jae 0x4c8d20
cmp ecx, dword [ebp + 0x144]
jb 0x4c8d08
mov eax, dword [ebp + 0x140]
mov dword [ecx], eax
mov dword [ebp + 0x140], ecx
jmp 0x4c8d29
cmp ecx, dword [ebp + 0x148]
jb 0x4c8d20
mov eax, dword [ebp + 0x138]
mov dword [ecx], eax
mov dword [ebp + 0x138], ecx
jmp 0x4c8d29
push ecx
call fcn.00443690
add esp, 4
cmp dword [esp + 0x18], 0
jne 0x4c7481
push dword [esp + 0x24]
push edi
call fcn.0045bec0
add esp, 8
jmp 0x4c7481
test dl, 0x20
je 0x4c8d54
mov byte [edi + 0x35], 0xad
jmp 0x4c7481
mov ecx, dword [esp + 0x38]
push dword [esp + 0x18]
mov al, byte [ecx + 0x4e817c]
mov byte [edi + 0x35], al
mov eax, dword [esp + 0x34]
push eax
mov dword [edi + 0x38], eax
movzx eax, byte [ecx + 0x4e8180]
push eax
push ebx
call fcn.004b89e0
add esp, 0x10
mov byte [edi + 0x37], 1
inc eax
mov dword [edi + 0x3c], eax
jmp 0x4c7481
mov ecx, dword [esp + 0x48]
jmp 0x4c7483
mov eax, dword [esp + 0x74]
mov ebp, dword [edi]
mov dword [esp + 0x78], ebp
test byte [eax + 0x24], 8
je 0x4c8dae
test byte [ebp + 4], 1
je 0x4c8f33
mov eax, dword [esp + 0x70]
cmp eax, 1
jne 0x4c8e52
mov eax, dword [esp + 0xd4]
xor ecx, ecx
mov dword [esp + 0x90], ecx
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x8c], ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x80], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
mov dword [esp + 0x90], 0x45eda0
mov dword [esp + 0xa4], eax
test ebp, ebp
je 0x4c8e3f
lea eax, [esp + 0x8c]
push ebp
push eax
call fcn.004d6ac0
mov ecx, dword [esp + 0xa8]
add esp, 8
test cx, cx
je 0x4c8e57
mov eax, 2
mov dword [esp + 0x10], eax
jmp 0x4c8f37
cmp eax, 3
jge 0x4c8e7d
movzx edx, word [edi + 0xa]
test edx, 0x1000
je 0x4c8e7d
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x4c8f37
mov eax, 3
mov dword [esp + 0x10], eax
jmp 0x4c8f37
test edx, 0x200
je 0x4c8eee
mov eax, dword [esp + 0xd4]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x4c8eee
mov ebp, eax
mov edx, esi
mov esi, dword [ebx + 0x6c]
shr ebp, 1
test al, 1
setne dl
lea edx, [edx*2 + 0x12]
cmp dword [ebx + 0x70], esi
jg 0x4c8ec0
push 0
push 0
push ebp
push edx
push ebx
call fcn.004752f0
add esp, 0x14
mov esi, eax
jmp 0x4c8eea
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov dword [eax + ecx*4 + 4], ebp
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
mov ebp, dword [esp + 0x78]
push 0x10
push dword [esp + 0x80]
push ebp
push dword [esp + 0xd0]
call fcn.00497630
add esp, 0x10
test esi, esi
je 0x4c8f2e
mov edx, dword [ebx + 0x6c]
jns 0x4c8f13
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4c8f22
mov eax, 0x50e22c
jmp 0x4c8f2b
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
or word [edi + 0xa], 4
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
add edi, 0x30
dec edx
mov dword [esp + 0x18], edx
test edx, edx
jg 0x4c74b0
mov esi, dword [esp + 0x68]
mov dword [esp + 0x70], eax
test eax, eax
jg 0x4c7492
mov edi, dword [esi + 0xc]
mov ebp, dword [esi + 0x14]
mov dword [esp + 0x18], edi
test edi, edi
jle 0x4c905b
mov ebx, dword [esp + 0xc4]
test byte [ebp + 0xa], 6
jne 0x4c9044
movzx eax, word [ebp + 0xc]
test al, 0x82
je 0x4c9044
test eax, 0x800
je 0x4c9044
mov ecx, dword [esp + 0x30]
cmp dword [ebp + 0x14], ecx
jne 0x4c9044
mov eax, dword [esp + 0x74]
test byte [eax + 0x24], 8
jne 0x4c9044
mov eax, dword [ebp]
push 0
push 0x83
push dword [esp + 0xe4]
mov dword [esp + 0x84], eax
push dword [esp + 0xe4]
push dword [ebp + 0x1c]
push ecx
push esi
call fcn.004c9ff0
mov esi, eax
add esp, 0x1c
test esi, esi
je 0x4c9040
test byte [esi + 0xa], 4
jne 0x4c9040
test byte [esi + 0xc], 1
je 0x4c9004
mov eax, dword [esi]
test dword [eax + 4], 0x800
je 0x4c9004
mov eax, dword [eax + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
jg 0x4c9040
mov esi, dword [esi]
lea edi, [esp + 0x8c]
mov eax, dword [esp + 0x78]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
push 0x10
push dword [esp + 0x80]
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x94]
push eax
push ebx
call fcn.00497630
mov edi, dword [esp + 0x28]
add esp, 0x10
mov esi, dword [esp + 0x68]
dec edi
add ebp, 0x30
mov dword [esp + 0x18], edi
test edi, edi
jg 0x4c8f74
mov ebx, dword [esp + 0xc8]
mov ebp, dword [esp + 0xd4]
mov edx, dword [ebp]
test edx, edx
je 0x4c910e
mov eax, dword [ebx + 0x6c]
mov dword [ebp + 0x1c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4c908d
push 0
push edx
push 1
push 0x45
push ebx
call fcn.004752f0
add esp, 0x14
jmp 0x4c90bc
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x45
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 ebx, dword [esp + 0x68]
xor edi, edi
mov esi, dword [esi + 0x14]
cmp dword [ebx + 0xc], edi
jle 0x4c910e
lea ebx, [ebx]
test byte [esi + 0xa], 6
jne 0x4c9105
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [ebp + 0x50]
and eax, dword [ebp + 0x54]
or ecx, eax
jne 0x4c9105
push 0x10
push dword [esp + 0x80]
push dword [esi]
push dword [esp + 0xd0]
call fcn.00497630
add esp, 0x10
or word [esi + 0xa], 4
inc edi
add esi, 0x30
cmp edi, dword [ebx + 0xc]
jl 0x4c90d0
mov eax, dword [ebp + 0x50]
mov edx, dword [ebp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xb0
ret