Function at 0x471a70
Capabilities:
Authenticate hmac
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
mov eax, dword [0x519008]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
mov ebx, edx
mov dword [esp + 0x48], 0
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
mov dword [esp + 0x38], edx
lea eax, [edx + 0x50]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x14], edi
mov eax, dword [edi]
mov dword [esp + 0x58], eax
mov eax, dword [esi + 0x40]
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 0x2c]
mov dword [esp + 0x10], esi
lea ecx, [eax + eax*8]
mov eax, dword [edx + 4]
mov edx, dword [edx + 0x1ec]
lea eax, [eax + ecx*8]
xor ecx, ecx
add eax, 8
mov dword [esp + 0x78], eax
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x30], eax
test edx, edx
jle 0x471b0b
mov eax, dword [esp + 0x38]
add eax, 0x1f0
mov ebx, dword [esp + 0x30]
cmp dword [eax], ebx
mov ebx, dword [esp + 0x64]
je 0x471bfe
inc ecx
add eax, 4
cmp ecx, edx
jl 0x471af3
xor eax, eax
xor edx, edx
mov ecx, dword [esp + 0x38]
not eax
and eax, dword [ebp + 0x14]
not edx
and edx, dword [ebp + 0x18]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edx
mov eax, dword [ecx + 0x40]
mov edx, dword [ecx + 0x44]
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.00421a70
mov ecx, dword [esp + 0x10]
and eax, 1
mov edx, dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [edi + 0x38]
dec eax
mov dword [edi + 0x38], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0xc], eax
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x38]
dec eax
mov dword [edi + 0x38], eax
cmp byte [ecx + 0x2c], 0
mov dword [esp + 0x84], eax
mov dword [ecx + 0x18], eax
jbe 0x471b92
test byte [edx + 0x24], 8
je 0x471b92
mov eax, dword [edi + 0x2c]
mov edx, 0x46
inc eax
mov dword [edi + 0x2c], eax
push eax
mov dword [ecx], eax
mov ecx, ebx
push 0
call fcn.004c8180
mov edx, dword [esp + 0x80]
add esp, 8
mov ecx, esi
test esi, esi
jle 0x471bbd
mov edi, dword [esp + 0x38]
lea eax, [esi + esi*4]
shl eax, 4
add edi, 0x2f0
add eax, edi
lea ebx, [ebx]
cmp dword [eax], 0
jne 0x471bbd
dec ecx
sub eax, 0x50
test ecx, ecx
jg 0x471bb0
lea eax, [ecx + ecx*4]
mov ecx, dword [esp + 0x38]
add eax, eax
test byte [edx + 0x28], 0x10
mov edi, dword [ecx + eax*8 + 0x2fc]
mov dword [esp + 0x60], edi
je 0x471ca9
mov ecx, dword [ebx + 0x6c]
mov esi, dword [edx + 0x1c]
mov edx, dword [edx + 0x18]
cmp dword [ebx + 0x70], ecx
jg 0x471c0f
push edx
push 0
push esi
mov edx, 0xd
mov ecx, ebx
call fcn.004c8320
add esp, 0xc
jmp 0x471c3a
mov eax, 1
xor edx, edx
call fcn.00421a50
jmp 0x471b0f
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 0x471c6a
push 0
push dword [esp + 0x2c]
mov edx, 0xe
mov ecx, ebx
push esi
call fcn.004c8320
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [eax + 0x34], edx
mov byte [eax + 0x2d], 0xb
jmp 0x4737ad
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 + 0x28]
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 eax, dword [esp + 0x10]
mov dword [eax + 0x34], edx
mov byte [eax + 0x2d], 0xb
jmp 0x4737ad
mov eax, dword [esp + 0x2c]
mov edx, dword [eax + 0x24]
test edx, 0x400
je 0x47212a
mov edx, eax
movzx edi, word [edx + 0x28]
lea ecx, [edi + 2]
cmp ecx, 1
jne 0x471cf6
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x13]
test al, al
jne 0x471ce1
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x1c], eax
jmp 0x471d32
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x94]
mov dword [esp + 0x1c], eax
jmp 0x471d32
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0x1c]
mov esi, dword [eax + 0x20]
mov dword [esp + 0x1c], esi
cmp ecx, edx
jg 0x471d1b
lea eax, [esi + ecx]
sub edx, ecx
mov esi, dword [esp + 0x14]
mov ecx, esi
mov dword [esi + 0x20], eax
mov dword [ecx + 0x1c], edx
jmp 0x471d2e
mov eax, dword [eax + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], edx
mov dword [ecx + 0x2c], eax
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
xor esi, esi
mov eax, dword [eax + 0xc]
mov dword [esp + 0x4c], eax
test edi, edi
je 0x471d9c
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x30]
mov edx, dword [eax + esi*4]
test edx, edx
je 0x471d8b
lea eax, [ebx + 2]
add eax, esi
test byte [edx + 0xc], 1
je 0x471d7b
push eax
push dword [esp + 0x44]
push esi
push dword [esp + 0x1c]
call fcn.00474760
mov eax, dword [esp + 0x20]
add esp, 0x10
mov eax, dword [eax + 0x10]
mov dword [esp + 0x4c], eax
jmp 0x471d8b
mov edx, dword [edx]
push 1
push eax
mov edx, dword [edx + 0x10]
call fcn.004740a0
add esp, 8
mov ecx, dword [esp + 0x14]
inc esi
mov edx, dword [esp + 0x2c]
cmp esi, edi
jl 0x471d47
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x6c]
mov edx, dword [esi + 0x18]
cmp dword [ebx + 0x70], ecx
jg 0x471dc3
push 0
push dword [esp + 0x20]
mov ecx, ebx
push edx
mov edx, 0x46
call fcn.004c8320
add esp, 0xc
jmp 0x471df2
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 + 0x1c]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x6c]
inc edx
cmp dword [ebx + 0x70], ecx
jg 0x471e14
push 0
push edx
push edi
mov edx, 0x46
mov ecx, ebx
call fcn.004c8320
add esp, 0xc
jmp 0x471e43
mov esi, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
movzx edx, byte [esi + 0x1c]
mov eax, dword [esi + 0x20]
neg edx
mov esi, dword [ebx + 0x6c]
sbb edx, edx
mov dword [esp + 0x5c], eax
and edx, 0xfffffffa
dec edx
mov dword [esp + 0x24], edx
cmp dword [ebx + 0x70], esi
jg 0x471e81
push dword [esp + 0x1c]
mov edx, 9
mov ecx, ebx
push dword [esp + 0x50]
push dword [esp + 0x38]
call fcn.004c8320
add esp, 0xc
mov esi, eax
jmp 0x471eb4
mov edx, 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], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx]
mov edx, dword [esp + 0x24]
cmp byte [ecx + 0x51], 0
je 0x471ecf
mov esi, dword [esp + 0x5c]
push esi
call fcn.004c7440
add esp, 4
jmp 0x471f05
test esi, esi
jns 0x471ed7
mov esi, dword [ebx + 0x6c]
dec esi
mov eax, dword [ebx + 0x68]
lea ecx, [esi + esi*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov esi, dword [esp + 0x5c]
jne 0x471ef7
test esi, esi
je 0x471f05
mov dword [eax + 0x10], esi
mov byte [eax + 1], dl
jmp 0x471f05
push edx
push esi
mov edx, eax
mov ecx, ebx
call fcn.004c71e0
add esp, 8
mov eax, dword [esp + 0x2c]
lea ecx, [edi - 1]
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x18], ecx
mov byte [eax + 0x1c], 0
mov eax, dword [esp + 0x38]
mov dword [esi + 0x30], edx
mov al, byte [eax + 0x31]
neg al
sbb al, al
and al, 0x6e
add al, 0x3c
mov byte [esi + 0x2d], al
mov eax, dword [ebx + 0x6c]
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x38]
test ecx, ecx
js 0x4737ad
lea edx, [eax + eax*4]
shl edx, 2
mov dword [esp + 0x28], edx
lea esp, [esp]
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x30]
mov edi, dword [eax + ecx*4]
cmp ecx, 0x10
jge 0x471f80
mov eax, dword [esp + 0x2c]
mov ax, word [eax + 0x1e]
shr ax, cl
test al, 1
je 0x471f7c
mov edx, edi
mov ecx, esi
call fcn.00474fb0
jmp 0x472110
mov ecx, dword [esp + 0x18]
test byte [edi + 0xc], 1
je 0x472118
mov eax, dword [esp + 0x58]
cmp byte [eax + 0x51], 0
jne 0x472031
mov eax, dword [esi + 0x3c]
sub edx, 0x14
mov dword [esp + 0x28], edx
mov ecx, dword [eax + edx + 4]
test ecx, ecx
jns 0x471fae
mov ecx, dword [ebx + 0x6c]
dec ecx
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x471fbd
mov eax, 0x51e9d8
jmp 0x471fc6
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]
mov al, byte [eax]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 0x6c]
mov byte [esp + 0x4b], al
cmp dword [ebx + 0x70], ecx
jg 0x471ff6
push edx
push esi
push dword [esp + 0x2c]
movzx edx, al
mov ecx, ebx
call fcn.004c8320
add esp, 0xc
jmp 0x472031
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov bl, byte [esp + 0x4b]
mov byte [eax + ecx*4], bl
xor ebx, ebx
mov word [eax + ecx*4 + 2], bx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x64]
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov eax, dword [esp + 0x14]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.004ece50
mov esi, eax
add esp, 8
test esi, esi
je 0x47210c
push 0x34
push 0
push esi
call fcn.00405490
add esp, 0xc
mov byte [esi], 0x35
or eax, 0xffffffff
mov ecx, esi
mov word [esi + 0x22], ax
call fcn.004b0310
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x472088
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.004e9ae0
add esp, 0xc
mov eax, dword [edi]
mov ecx, dword [esp + 0x58]
push 0
push 0x35
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
call fcn.004ece50
mov edi, eax
add esp, 8
test edi, edi
je 0x4720cd
push 0x34
push 0
push edi
call fcn.00405490
add esp, 0xc
mov byte [edi], 0xa8
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 0x4720fa
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add ecx, 2
add eax, ecx
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x10]
push 0
push dword [eax + 0x18]
push esi
push dword [esp + 0x20]
call fcn.004a8d60
add esp, 0x10
mov ecx, dword [esp + 0x58]
mov edx, esi
mov dword [esi + 0xc], 0
call fcn.004afa70
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
sub ecx, 1
mov dword [esp + 0x18], ecx
jns 0x471f50
jmp 0x4737ad
test dl, 5
setne cl
bt edx, 8
setb al
test al, cl
je 0x472207
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
mov edx, esi
mov eax, dword [esp + 0x14]
inc dword [eax + 0x2c]
mov edi, dword [eax + 0x2c]
push edi
push ecx
push 0
push dword [esp + 0x1c]
mov ecx, eax
call fcn.00474760
mov edx, eax
add esp, 0x10
cmp edx, edi
je 0x47218c
test edi, edi
je 0x47218c
mov ecx, dword [esp + 0x14]
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x47218c
movzx eax, al
mov dword [ecx + eax*4 + 0x94], edi
inc byte [ecx + 0x13]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0x6c]
mov edi, dword [eax + 0x10]
cmp dword [ebx + 0x70], ecx
jg 0x4721b2
push edx
push edi
push dword [esp + 0x38]
mov edx, 0x1e
mov ecx, ebx
call fcn.004c8320
add esp, 0xc
jmp 0x4721e1
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 + 0x64]
mov dword [eax + ecx*4], 0x1e
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [esp + 0x10]
mov byte [edi + 0x2d], 0xaa
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edi + 0x48]
and eax, dword [edi + 0x4c]
or ecx, eax
jne 0x4737ad
or word [esi + 0xa], 4
jmp 0x4737ad
mov eax, edx
and eax, 0x102
cmp eax, 0x102
jne 0x472488
xor edi, edi
mov dword [esp + 0x4c], 0xaa
xor esi, esi
mov dword [esp + 0x3c], 0
test dl, 0x20
je 0x472240
mov eax, dword [esp + 0x2c]
lea ecx, [edi + 4]
mov eax, dword [eax + 0x30]
mov esi, dword [eax]
jmp 0x472242
xor ecx, ecx
test dl, 0x10
je 0x472251
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 0x30]
mov edi, dword [ecx + eax]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x472263
mov eax, esi
mov esi, edi
mov edi, eax
mov eax, dword [esp + 0x40]
test esi, esi
je 0x47234d
mov ecx, dword [esi]
mov dword [esp + 0x18], 0x18161719
mov dword [esp + 0x24], ecx
mov edx, dword [ecx + 0x10]
mov al, byte [edx]
cmp al, 0xa8
jne 0x472285
mov al, byte [edx + 0x26]
cmp al, 0xa9
jne 0x47228e
lea eax, [edx + 0x14]
jmp 0x472295
cmp al, 0x83
jne 0x4722e6
mov eax, dword [edx + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
jle 0x4722e6
mov edx, dword [esp + 0x14]
mov al, byte [edx + 0x13]
test al, al
jne 0x4722af
inc dword [edx + 0x2c]
mov esi, dword [edx + 0x2c]
jmp 0x4722be
dec al
mov byte [edx + 0x13], al
movzx eax, al
mov esi, dword [edx + eax*4 + 0x94]
mov edx, dword [ecx + 0x10]
mov ecx, dword [esp + 0x14]
push 1
push esi
call fcn.004740a0
mov eax, dword [esp + 0x2c]
add esp, 8
mov ecx, esi
movzx eax, byte [eax]
inc eax
and eax, 2
or eax, 1
mov al, byte [esp + eax + 0x18]
jmp 0x472319
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x60]
push eax
call fcn.004a9ad0
mov ecx, dword [esp + 0x14]
add esp, 4
mov edx, esi
mov dword [esp + 0x70], eax
call fcn.00474fb0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x60]
movzx ecx, byte [eax]
mov al, byte [esp + ecx - 0x1e]
mov ecx, dword [esp + 0x70]
push ecx
push dword [esp + 0x2c]
movzx edx, al
mov ecx, ebx
push dword [esp + 0x38]
call fcn.004c82b0
mov ecx, dword [esp + 0x20]
add esp, 0xc
test esi, esi
je 0x47236d
mov al, byte [ecx + 0x13]
cmp al, 8
jae 0x47236d
movzx eax, al
mov dword [ecx + eax*4 + 0x94], esi
inc byte [ecx + 0x13]
jmp 0x47236d
push dword [esp + 0x60]
xor eax, 1
mov ecx, ebx
push dword [esp + 0x34]
lea edx, [eax*4 + 0x20]
call fcn.004c8180
mov ecx, dword [esp + 0x1c]
add esp, 8
test edi, edi
je 0x47240d
mov esi, dword [edi]
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
push 1
mov edx, dword [esi + 0x10]
push eax
mov dword [esp + 0x44], eax
call fcn.004740a0
mov ecx, dword [esi + 0x10]
add esp, 8
mov dl, byte [ecx]
mov al, dl
cmp al, 0xa8
jne 0x47239d
mov al, byte [ecx + 0x26]
cmp al, 0xa9
jne 0x4723a6
lea eax, [ecx + 0x14]
jmp 0x4723ad
cmp al, 0x83
jne 0x4723b4
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
jg 0x4723be
mov al, byte [esi]
cmp al, 0x38
je 0x4723cb
cmp al, 0x36
je 0x4723cb
mov eax, dword [esp + 0x40]
lea eax, [eax*2 + 0x36]
jmp 0x4723d9
mov eax, dword [esp + 0x40]
xor eax, 1
lea eax, [eax*2 + 0x37]
mov dword [esp + 0x4c], eax
cmp dl, 0xa8
jne 0x4723e5
mov dl, byte [ecx + 0x26]
cmp dl, 0xa9
jne 0x4723ef
lea eax, [ecx + 0x14]
jmp 0x4723f7
cmp dl, 0x83
jne 0x4723fe
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
jg 0x47240d
mov esi, dword [esp + 0x10]
mov edx, edi
mov ecx, esi
call fcn.00474fb0
jmp 0x472411
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x40], 0
mov ecx, dword [ebx + 0x6c]
mov edi, dword [esp + 0x4c]
sete al
mov edx, dword [esp + 0x30]
add al, 4
mov byte [esi + 0x2d], al
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], ecx
cmp edi, 0xaa
je 0x4737ad
mov eax, dword [esp + 0x14]
mov ecx, ebx
inc dword [eax + 0x2c]
mov esi, dword [eax + 0x2c]
push esi
push edx
mov edx, 0x80
call fcn.004c8180
push esi
push dword [esp + 0x34]
mov edx, edi
mov ecx, ebx
push dword [esp + 0x4c]
call fcn.004c82b0
mov eax, dword [ebx + 0x6c]
add esp, 0x14
test eax, eax
jle 0x4737ad
lea ecx, [eax + eax*4]
mov edx, 0x53
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4737ad
test edx, 0x200
je 0x472e15
mov edi, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x54], 0
mov dword [esp + 0x18], 0
movzx eax, word [edi + 0x1a]
movzx ecx, word [edi + 0x18]
mov dword [esp + 0x3c], eax
movzx eax, word [edi + 0x1c]
mov dword [esp + 0x74], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov byte [esp + 0x23], al
mov byte [esp + 0x4b], al
mov eax, dword [edi + 0x20]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x44], eax
mov edi, dword [edi + 8]
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x38]
test byte [edi + 0x2c], 1
je 0x472502
cmp byte [edi + 0x2f], 0
jle 0x472502
cmp word [eax + 0x32], cx
jbe 0x472502
mov byte [esp + 0x23], 1
mov esi, 1
movzx edi, cx
mov dword [esp + 0x68], edi
mov ecx, edi
test dl, 0x20
je 0x472531
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x2c]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + ecx*4]
inc ecx
mov dword [esp + 0x54], eax
movzx eax, word [ebx + 0x1a]
mov ebx, dword [esp + 0x64]
cmp esi, eax
ja 0x472531
mov esi, eax
test dl, 0x10
je 0x4725d6
mov edx, dword [esp + 0x2c]
mov eax, dword [edx + 0x30]
mov ecx, dword [eax + ecx*4]
movzx eax, word [edx + 0x1c]
mov dword [esp + 0x18], ecx
cmp esi, eax
ja 0x472552
mov esi, eax
mov eax, 0x100
test word [ecx + 0xa], ax
je 0x4725a5
mov ecx, dword [esp + 0x14]
mov edx, 0x46
mov eax, dword [ecx + 0x2c]
inc eax
mov dword [ecx + 0x2c], eax
mov ecx, dword [esp + 0x10]
push eax
push 1
mov dword [ecx + 0x24], eax
mov ecx, ebx
call fcn.004c8180
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov eax, dword [ebx + 0x6c]
add esp, 8
shl dword [edx + 0x24], 1
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 0x1c]
cmp byte [edi + eax], 1
sete cl
xor ecx, dword [esp + 0x40]
or dword [edx + 0x24], ecx
cmp dword [esp + 0x54], 0
jne 0x4725d6
mov ecx, dword [esp + 0x44]
mov eax, dword [ecx + 4]
movsx edx, word [eax + edi*2]
test edx, edx
js 0x4725cc
mov eax, dword [ecx + 0xc]
mov ecx, edx
add ecx, ecx
mov eax, dword [eax + 4]
cmp byte [eax + ecx*8 + 0xc], 0
je 0x4725d1
cmp edx, 0xfffffffe
jne 0x4725d6
mov byte [esp + 0x23], 1
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x6c]
movzx edx, word [ecx + 0x32]
cmp ax, dx
jae 0x4725fc
mov eax, dword [ecx + 0x1c]
xor ecx, ecx
cmp byte [edi + eax], cl
sete cl
cmp dword [esp + 0x40], ecx
je 0x472608
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x40], 0
je 0x47263b
cmp dx, ax
jne 0x47263b
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x54], eax
mov al, byte [esp + 0x23]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x74]
mov byte [esp + 0x4b], al
mov eax, dword [esp + 0x3c]
movzx ecx, cx
movzx eax, al
mov byte [esp + 0x23], 0
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x74], eax
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x5c]
mov ecx, dword [esp + 0x14]
push eax
push esi
push dword [esp + 0x48]
call fcn.004742f0
mov esi, dword [esp + 0x68]
add esp, 0xc
mov edx, eax
mov dword [esp + 0x34], edx
test esi, esi
je 0x472689
cmp word [esp + 0x74], 0
je 0x472689
lea edx, [esi + edi]
test edx, edx
jne 0x472678
mov dword [esp + 0x28], edx
jmp 0x472685
mov ecx, dword [esp + 0x58]
call fcn.004ecc20
mov dword [esp + 0x28], eax
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x54]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x4c], eax
test ecx, ecx
je 0x4726aa
test byte [ecx + 0xc], 0x28
mov dword [esp + 0x50], 0
je 0x4726b2
mov dword [esp + 0x50], 1
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4726c4
test byte [eax + 0xc], 0x28
jne 0x4726c4
xor eax, eax
jmp 0x4726c9
mov eax, 1
mov dword [esp + 0x24], eax
test ecx, ecx
jne 0x4727a2
cmp word [esp + 0x6c], cx
ja 0x4727a2
mov dword [esp + 0x6c], ecx
mov al, byte [esp + 0x23]
mov dword [esp + 0x3c], edi
test al, al
je 0x472720
lea eax, [edx + edi]
mov ecx, ebx
push eax
push 0
mov edx, 0x49
call fcn.004c8180
lea eax, [edi + 1]
mov dword [esp + 0x58], 0
mov dword [esp + 0x44], eax
add esp, 8
mov al, byte [esp + 0x23]
mov dword [esp + 0x6c], 1
mov edx, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x40]
mov ecx, esi
movzx eax, al
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.00474f60
mov ecx, dword [esp + 0x34]
add esp, 8
movzx eax, word [ecx + 0x2a]
test ax, ax
je 0x472752
cmp esi, eax
je 0x472882
test dword [ecx + 0x24], 0x40000
je 0x47276e
push dword [esp + 0x1c]
mov edx, 0x77
mov ecx, ebx
call fcn.004c81f0
add esp, 4
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x6c]
push esi
mov esi, dword [esp + 0x38]
push esi
push dword [esp + 0x54]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x4c]
push dword [esp + 0x28]
movzx edx, byte [ecx + eax*2 + 0x506178]
mov ecx, ebx
call fcn.004c7b60
add esp, 0x10
jmp 0x472886
mov dword [esp + 0x6c], 1
test ecx, ecx
je 0x4726e4
mov eax, dword [ecx]
lea ecx, [edx + edi]
mov esi, dword [eax + 0x10]
mov edx, esi
mov eax, dword [esp + 0x3c]
movzx eax, ax
push eax
push ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x44], eax
call fcn.004740a0
mov eax, dword [esp + 0x5c]
mov ecx, 0x100
add esp, 8
test word [eax + 0xa], cx
je 0x4727ef
mov edx, dword [esp + 0x10]
mov ecx, ebx
call fcn.00474290
mov ecx, esi
call fcn.004ade00
test eax, eax
je 0x472814
mov eax, dword [esp + 0x34]
mov edx, 0x32
push dword [esp + 0x4c]
add eax, edi
mov ecx, ebx
push eax
call fcn.004c8180
add esp, 8
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x47282d
mov edx, dword [esp + 0x3c]
add eax, edi
push eax
mov ecx, esi
call fcn.00474e90
add esp, 4
mov eax, edi
add eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov al, byte [esi]
cmp al, 0xa8
jne 0x472840
mov al, byte [esi + 0x26]
cmp al, 0xa9
jne 0x472849
lea eax, [esi + 0x14]
jmp 0x472850
cmp al, 0x83
jne 0x47286a
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
jle 0x47286a
mov esi, dword [esp + 0x5c]
xor al, al
mov dword [esp + 0x50], 1
jmp 0x472720
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
call fcn.00474fb0
mov esi, dword [esp + 0x5c]
xor al, al
jmp 0x472720
mov esi, dword [esp + 0x34]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x47298b
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov esi, dword [eax + 0x10]
mov edx, esi
mov eax, dword [esp + 0x74]
movzx edi, ax
mov eax, dword [esp + 0x68]
add eax, dword [esp + 0x34]
push edi
push eax
mov dword [esp + 0x44], eax
call fcn.004740a0
mov eax, dword [esp + 0x20]
mov ecx, 0x100
add esp, 8
test word [eax + 0xa], cx
je 0x4728d4
mov edx, dword [esp + 0x10]
mov ecx, ebx
call fcn.00474290
mov ecx, esi
call fcn.004ade00
test eax, eax
je 0x4728f6
push dword [esp + 0x4c]
mov edx, 0x32
mov ecx, ebx
push dword [esp + 0x40]
call fcn.004c8180
add esp, 8
mov eax, dword [esp + 0x28]
test eax, eax
je 0x472921
push eax
mov edx, edi
mov ecx, esi
call fcn.00474e90
mov eax, dword [esp + 0x2c]
add esp, 4
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
push eax
push edi
call fcn.00474f60
add esp, 8
mov al, byte [esi]
add dword [esp + 0x68], edi
cmp al, 0xa8
jne 0x47292e
mov al, byte [esi + 0x26]
cmp al, 0xa9
jne 0x472937
lea eax, [esi + 0x14]
jmp 0x47293e
cmp al, 0x83
jne 0x472950
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
jle 0x472950
mov edi, dword [esp + 0x68]
mov esi, 1
jmp 0x472965
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
call fcn.00474fb0
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
test ecx, ecx
je 0x4729d9
test edx, edx
je 0x4729cc
cmp dword [edx + 0x1e8], 0
je 0x4729ac
mov edx, ecx
mov ecx, dword [esp + 0x58]
call fcn.004ed280
jmp 0x4729d5
cmp byte [esp + 0x4b], 0
je 0x472961
lea eax, [esi + edi]
mov edx, 0x49
push eax
push 0
mov ecx, ebx
call fcn.004c8180
add esp, 8
xor esi, esi
inc edi
jmp 0x472965
cmp ecx, dword [edx + 0x138]
jb 0x4729cc
cmp ecx, dword [edx + 0x13c]
jae 0x4729cc
mov eax, dword [edx + 0x134]
mov dword [ecx], eax
mov dword [edx + 0x134], ecx
jmp 0x4729d9
push ecx
call fcn.004ed2c0
add esp, 4
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x472a24
test edx, edx
je 0x472a1b
cmp dword [edx + 0x1e8], 0
je 0x4729fb
mov edx, ecx
mov ecx, dword [esp + 0x58]
call fcn.004ed280
jmp 0x472a24
cmp ecx, dword [edx + 0x138]
jb 0x472a1b
cmp ecx, dword [edx + 0x13c]
jae 0x472a1b
mov eax, dword [edx + 0x134]
mov dword [ecx], eax
mov dword [edx + 0x134], ecx
jmp 0x472a24
push ecx
call fcn.004ed2c0
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + 0x34], eax
test edi, edi
je 0x472a58
mov eax, dword [esp + 0x40]
mov ecx, ebx
push edi
push dword [esp + 0x38]
mov edi, dword [esp + 0x24]
push dword [esp + 0x54]
movzx edx, byte [esi + eax*2 + str.__]
push edi
call fcn.004c7b60
add esp, 0x10
jmp 0x472a5c
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x2c]
mov eax, dword [esi + 0x24]
test eax, 0x40000
je 0x472a7f
push 1
push edi
mov edx, 0x77
mov ecx, ebx
call fcn.004c8180
mov eax, dword [esi + 0x24]
add esp, 8
test al, 0x40
je 0x472a9e
mov ecx, dword [esp + 0x38]
test byte [ecx + 0x2c], 0x20
jne 0x472a9e
mov edx, dword [esp + 0x44]
mov dword [esp + 0x50], 1
jmp 0x472c40
mov edx, dword [esp + 0x44]
mov dword [esp + 0x50], 0
mov ecx, dword [edx + 0xc]
test byte [ecx + 0x24], 0x20
jne 0x472b26
mov ecx, dword [esp + 0x38]
movzx eax, word [ecx + 0x2c]
test eax, 0x400
jne 0x472aea
test eax, 0x1000
je 0x472acf
cmp byte [ecx + 0x31], 1
je 0x472aea
push edi
mov edi, dword [esp + 0x34]
push edi
call fcn.00474140
mov edx, dword [esp + 0x4c]
add esp, 8
mov ecx, dword [esp + 0x38]
jmp 0x472c44
mov eax, dword [esp + 0x14]
mov edx, 0x87
mov ecx, ebx
inc dword [eax + 0x2c]
mov esi, dword [eax + 0x2c]
push esi
push edi
call fcn.004c8180
mov edi, dword [esp + 0x38]
mov edx, 0x1f
push esi
push 0
push edi
mov ecx, ebx
call fcn.004c82b0
mov edx, dword [esp + 0x58]
add esp, 0x14
mov ecx, dword [esp + 0x38]
jmp 0x472c44
cmp dword [esp + 0x30], edi
je 0x472c3c
call fcn.004a0930
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], eax
movzx edx, word [eax + 0x32]
call fcn.004a7d20
mov edi, eax
xor esi, esi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x60], esi
movzx ecx, word [eax + 0x32]
mov edx, ecx
cmp si, cx
jae 0x472c12
lea esp, [esp]
mov edx, dword [esp + 0x44]
xor ecx, ecx
movzx edx, word [edx + 0x34]
test edx, edx
je 0x472b9d
mov eax, dword [eax + 4]
movzx esi, word [eax + esi*2]
mov eax, dword [esp + 0x44]
mov eax, dword [eax + 4]
lea esp, [esp]
cmp si, word [eax]
je 0x472bc2
inc ecx
add eax, 2
cmp ecx, edx
jl 0x472b90
or eax, 0xffffffff
mov ecx, dword [ebx + 0x6c]
movsx edx, ax
cmp dword [ebx + 0x70], ecx
jg 0x472bc7
push edi
push edx
push dword [esp + 0x24]
mov edx, 0x5a
mov ecx, ebx
call fcn.004c8320
add esp, 0xc
jmp 0x472bf2
movzx eax, cx
jmp 0x472ba0
mov esi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x24]
inc edi
mov esi, dword [esp + 0x3c]
inc esi
mov dword [esp + 0x3c], esi
movzx ecx, word [eax + 0x32]
cmp esi, ecx
jl 0x472b70
mov edi, dword [esp + 0x70]
mov edx, ecx
movzx eax, dx
mov ecx, ebx
push eax
push edi
push dword [esp + 0x8c]
mov edi, dword [esp + 0x3c]
mov edx, 0x1c
push edi
call fcn.004c7b60
mov edx, dword [esp + 0x54]
add esp, 0x10
mov ecx, dword [esp + 0x38]
jmp 0x472c44
mov ecx, dword [esp + 0x38]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x10]
cmp dword [esi], 0
jne 0x472da6
test byte [ecx + 0x2c], 0x20
jne 0x472da6
mov eax, dword [edx + 0x28]
mov dword [esp + 0x60], eax
test eax, eax
je 0x472da6
lea esi, [esp + 0x94]
mov dword [esp + 0x98], edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0xbc], esi
xor esi, esi
mov dword [esp + 0xa4], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xa8], 0x474050
mov dword [esp + 0x9c], edi
mov dword [esp + 0x28], esi
cmp dword [eax], esi
jle 0x472dd8
lea ebx, [eax + 4]
lea ecx, [ecx]
mov eax, dword [edx + 4]
cmp word [eax + esi*2], 0xfffe
jne 0x472d8a
mov edx, dword [ecx + 0x10]
mov dword [esp + 0xa0], esi
mov eax, dword [ebx]
mov dword [esp + 0x94], eax
test edx, edx
je 0x472d15
lea ecx, [esp + 0xa4]
call fcn.004b3e10
mov ecx, dword [esp + 0x38]
mov edi, dword [ecx + 8]
test edi, edi
je 0x472d4b
mov esi, dword [edi]
add edi, 4
test esi, esi
jle 0x472d47
mov edx, dword [edi]
test edx, edx
je 0x472d3b
lea ecx, [esp + 0xa4]
call fcn.004b3e10
test eax, eax
jne 0x472d43
dec esi
add edi, 0x18
test esi, esi
jg 0x472d25
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov edi, dword [ecx + 0xc]
test edi, edi
je 0x472d86
mov esi, dword [edi]
add edi, 4
test esi, esi
jle 0x472d82
jmp 0x472d60
mov edx, dword [edi]
test edx, edx
je 0x472d76
lea ecx, [esp + 0xa4]
call fcn.004b3e10
test eax, eax
jne 0x472d7e
dec esi
add edi, 0x18
test esi, esi
jg 0x472d60
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x60]
inc esi
add ebx, 0x18
mov dword [esp + 0x28], esi
cmp esi, dword [eax]
jl 0x472ce0
mov ebx, dword [esp + 0x64]
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x1c]
mov ecx, dword [edx + 0x24]
test ecx, ecx
je 0x472dc5
push dword [esp + 0x7c]
mov edx, dword [esp + 0x34]
call fcn.00473c50
mov edx, dword [esp + 0x48]
add esp, 4
mov ecx, dword [esp + 0x2c]
test dword [ecx + 0x24], 0x1000
je 0x472dde
mov byte [esi + 0x2d], 0xaa
jmp 0x472deb
mov esi, dword [esp + 0x10]
jmp 0x472daa
cmp dword [esp + 0x40], 0
sete al
add al, 4
mov byte [esi + 0x2d], al
mov dword [esi + 0x30], edi
mov al, byte [ecx + 0x26]
and al, 1
mov byte [esi + 0x2e], al
test byte [ecx + 0x24], 0xf
jne 0x472e00
mov byte [esi + 0x2f], 1
mov ecx, dword [esp + 0x50]
neg ecx
sbb ecx, ecx
not ecx
and ecx, edx
mov dword [esp + 0x50], ecx
jmp 0x4737af
test edx, 0x2000
je 0x473766
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x74], 0
mov dword [esp + 0x44], 0
mov eax, dword [edi + 0x28]
dec dword [edi + 0x38]
inc dword [edi + 0x2c]
mov dword [esp + 0x90], eax
inc eax
mov dword [edi + 0x28], eax
mov eax, dword [edi + 0x38]
mov edx, dword [edi + 0x2c]
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x34], 0
mov dword [esp + 0x60], 0
mov eax, dword [eax + 0x30]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x68], ecx
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov byte [eax + 0x2d], 0x42
mov dword [eax + 0x30], edx
mov eax, dword [esp + 0x38]
mov al, byte [eax + 0x2e]
cmp al, 1
jbe 0x472fbd
movzx eax, al
sub eax, esi
dec eax
mov dword [esp + 0x70], eax
lea eax, [eax + eax*8]
lea ecx, [eax*8 + 0x50]
mov eax, dword [esp + 0x58]
test eax, eax
je 0x472ed5
push 0
push ecx
mov ecx, eax
call fcn.004ece50
add esp, 8
mov ecx, eax
jmp 0x472ef1
mov eax, ecx
or eax, 0
je 0x472eef
push 0
push ecx
call fcn.004ed420
add esp, 8
mov dword [esp + 0x54], eax
mov ecx, eax
jmp 0x472ef5
xor ecx, ecx
mov dword [esp + 0x54], ecx
test ecx, ecx
jne 0x472f14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x70]
lea edi, [ecx + 8]
mov esi, dword [esp + 0x78]
lea eax, [edx + 1]
movzx eax, al
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x38]
mov ecx, dword [edi + 4]
add ecx, 8
mov dword [esp + 0x70], ecx
cmp edx, 1
jl 0x472f83
mov ebx, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
add ebx, 0x50
add eax, 0x7c
mov dword [esp + 0x24], eax
movzx eax, byte [eax]
mov edi, ebx
add ebx, 0x48
lea eax, [eax + eax*8]
lea esi, [ecx + eax*8]
mov eax, dword [esp + 0x24]
mov ecx, 0x12
add eax, 0x50
mov dword [esp + 0x24], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x70]
sub edx, 1
jne 0x472f56
mov ebx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
test byte [edx + 0x2c], 0x10
jne 0x473016
test byte [ecx + 0x24], 0x20
jne 0x472fca
inc dword [edi + 0x2c]
mov edx, 0x49
mov eax, dword [edi + 0x2c]
mov ecx, ebx
push eax
push 0
mov dword [esp + 0x4c], eax
call fcn.004c8180
add esp, 8
jmp 0x47300c
mov eax, dword [esp + 0x38]
mov eax, dword [eax + 4]
mov dword [esp + 0x54], eax
jmp 0x472f8b
mov esi, dword [ecx + 8]
test esi, esi
je 0x472fe1
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
je 0x472fe1
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x472fd1
mov ecx, dword [edi + 0x28]
mov edx, 0x71
mov dword [esp + 0x44], ecx
lea eax, [ecx + 1]
mov dword [edi + 0x28], eax
movzx eax, word [esi + 0x32]
push eax
push ecx
mov ecx, ebx
call fcn.004c8180
add esp, 8
mov edx, esi
mov ecx, edi
call fcn.004c70d0
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x34], eax
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x70], edx
cmp dword [ebx + 0x70], edx
jg 0x47303f
push 0
push dword [esp + 0x60]
mov edx, 0x46
mov ecx, ebx
push 0
call fcn.004c8320
add esp, 0xc
mov dword [esp + 0x70], eax
jmp 0x473072
lea eax, [edx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [ebx + 0x68]
mov edx, dword [esp + 0x5c]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x7c]
mov eax, dword [edx + 0xc]
cmp eax, 1
jle 0x47316e
xor edi, edi
test eax, eax
jle 0x47316e
mov ecx, dword [esp + 0x2c]
xor esi, esi
mov eax, dword [edx + 0x14]
add eax, esi
cmp eax, ecx
je 0x4730e7
test byte [eax + 0xa], 6
jne 0x4730e7
mov ebx, 0x1fff
test word [eax + 0xc], bx
mov ebx, dword [esp + 0x14]
je 0x4730e7
mov edx, dword [eax]
test edx, edx
je 0x4730c8
mov ecx, dword [esp + 0x58]
push 0
push 0
call fcn.004af580
add esp, 8
jmp 0x4730ca
xor eax, eax
mov edx, dword [esp + 0x1c]
mov ecx, ebx
push eax
call fcn.004afe90
mov ecx, dword [esp + 0x30]
add esp, 4
mov edx, dword [esp + 0x7c]
mov dword [esp + 0x1c], eax
jmp 0x4730eb
mov eax, dword [esp + 0x1c]
inc edi
add esi, 0x30
cmp edi, dword [edx + 0xc]
jl 0x473092
mov ebx, dword [esp + 0x64]
test eax, eax
je 0x47316e
mov edi, dword [esp + 0x14]
push 0
push 0x34
mov ecx, dword [edi]
call fcn.004ece50
mov esi, eax
add esp, 8
test esi, esi
je 0x47315f
push 0x34
push 0
push esi
call fcn.00405490
or eax, 0xffffffff
mov byte [esi], 0x2c
mov word [esi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x1c]
mov ecx, esi
mov dword [esi + 0x10], eax
mov eax, dword [eax + 4]
and eax, 0x200104
or dword [esi + 4], eax
call fcn.004b0310
mov eax, dword [edi]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x47316a
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push edi
call fcn.004e9ae0
add esp, 0xc
jmp 0x47316a
mov edx, dword [esp + 0x1c]
mov ecx, dword [edi]
call fcn.004afa70
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x38]
mov ecx, 0x400
mov esi, dword [esp + 0x14]
push str.MULTI_INDEX_OR
push 1
mov ax, word [eax + 0x2c]
and ax, cx
or ax, 0x20
movzx eax, ax
push esi
mov dword [esp + 0xa0], eax
call fcn.004c7d40
mov eax, dword [esp + 0x48]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x40], ecx
cmp dword [eax + 0xc], ecx
jle 0x4735f0
mov edi, dword [esp + 0x30]
xor edx, edx
mov dword [esp + 0x24], edx
lea ecx, [ecx]
mov eax, dword [eax + 0x14]
cmp dword [eax + edx + 0x14], edi
je 0x4731dd
mov ebx, 0x400
test word [eax + edx + 0xc], bx
mov ebx, dword [esp + 0x64]
je 0x4735d7
mov esi, dword [eax + edx]
xor edi, edi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], edi
test eax, eax
je 0x4731f3
mov dword [eax + 0xc], esi
mov esi, eax
lea eax, [ecx + 1]
push eax
push str.INDEX__d
push 1
push dword [esp + 0x20]
call fcn.004c7d40
push dword [esp + 0xa0]
mov edx, dword [esp + 0x68]
push dword [esp + 0xa8]
push 0
push 0
push esi
mov esi, dword [esp + 0x38]
mov ecx, esi
call fcn.00468310
add esp, 0x24
mov dword [esp + 0x80], eax
test eax, eax
je 0x4735cb
mov edx, dword [esp + 0x54]
lea ecx, [eax + 0x2f0]
push 0
push ecx
mov ecx, esi
call fcn.00475020
mov eax, dword [esp + 0x40]
add esp, 8
test byte [eax + 0x2c], 0x10
jne 0x4734b2
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov eax, dword [eax + 0xc]
dec eax
cmp ecx, eax
jne 0x473279
or edi, 0xffffffff
mov dword [esp + 0x4c], edi
jmp 0x47327f
mov edi, ecx
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x68]
test byte [eax + 0x24], 0x20
jne 0x4732c1
mov edx, dword [esp + 0x34]
mov ecx, ebx
push edx
push 0xffffffffffffffff
push dword [esp + 0x38]
mov edx, eax
call fcn.004aaf90
add esp, 0xc
mov edx, 0x2a
mov ecx, ebx
push edi
push dword [esp + 0x38]
push 0
push dword [esp + 0x50]
call fcn.004c7b60
add esp, 0x10
mov edi, eax
jmp 0x4734b2
mov ecx, eax
call fcn.004a0930
mov dword [esp + 0x88], eax
movzx ecx, word [eax + 0x32]
mov edx, ecx
mov eax, ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x28], edx
cmp edx, 1
jne 0x473307
mov cl, byte [esi + 0x13]
test cl, cl
jne 0x4732f6
inc dword [esi + 0x2c]
mov edi, dword [esi + 0x2c]
jmp 0x473329
dec cl
movzx eax, cl
mov byte [esi + 0x13], cl
mov edi, dword [esi + eax*4 + 0x94]
jmp 0x473329
mov ecx, dword [esi + 0x1c]
mov edi, dword [esi + 0x20]
cmp edx, ecx
jg 0x47331e
lea eax, [edi + edx]
sub ecx, edx
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], ecx
jmp 0x473329
mov eax, dword [esi + 0x2c]
lea edi, [eax + 1]
add eax, edx
mov dword [esi + 0x2c], eax
xor eax, eax
xor esi, esi
cmp ax, word [esp + 0x8c]
jae 0x473363
mov edx, dword [esp + 0x68]
lea eax, [esi + edi]
push eax
mov eax, dword [esp + 0x8c]
mov ecx, ebx
mov eax, dword [eax + 4]
movsx eax, word [eax + esi*2]
push eax
push dword [esp + 0x38]
call fcn.004aaf90
inc esi
add esp, 0xc
cmp esi, dword [esp + 0x28]
jl 0x473337
mov esi, dword [esp + 0x4c]
test esi, esi
je 0x4733e5
mov edx, dword [ebx + 0x6c]
mov dword [esp + 0x18], edx
cmp dword [ebx + 0x70], edx
jg 0x473395
push edi
push 0
push dword [esp + 0x4c]
mov edx, 0x1d
mov ecx, ebx
call fcn.004c8320
mov edx, eax
add esp, 0xc
mov dword [esp + 0x18], edx
jmp 0x4733c8
mov esi, dword [esp + 0x44]
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 + 0x4c]
mov dword [eax + ecx*4], 0x1d
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
jne 0x4733e3
mov eax, dword [ebx + 0x68]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x28]
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
test esi, esi
mov esi, dword [esp + 0x28]
js 0x473470
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x47340e
push dword [esp + 0x34]
mov edx, 0x5c
mov ecx, ebx
push esi
push edi
call fcn.004c8320
add esp, 0xc
jmp 0x473439
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x5c
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]
mov edx, 0x84
mov ecx, ebx
push dword [esp + 0x50]
call fcn.004c7b60
add esp, 0x10
cmp dword [esp + 0x4c], 0
je 0x473470
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x473470
lea ecx, [eax + eax*4]
mov edx, 0x10
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
cmp word [esp + 0x8c], 1
jne 0x473499
mov esi, dword [esp + 0x14]
test edi, edi
je 0x4734ae
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x4734ae
movzx eax, al
mov dword [esi + eax*4 + 0x94], edi
inc byte [esi + 0x13]
jmp 0x4734ae
mov eax, dword [esp + 0x14]
cmp esi, dword [eax + 0x1c]
jle 0x4734ac
mov dword [eax + 0x1c], esi
mov esi, eax
mov dword [esi + 0x20], edi
jmp 0x4734ae
mov esi, eax
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x4734d5
push 0
push dword [esp + 0x70]
mov edx, 0xc
mov ecx, ebx
push dword [esp + 0x64]
call fcn.004c8320
add esp, 0xc
jmp 0x473508
mov edx, dword [esp + 0x5c]
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 + 0x6c]
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 0x47352f
mov edx, dword [ebx + 0x6c]
jns 0x473514
lea edi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x473523
mov eax, 0x51e9d8
jmp 0x47352c
mov eax, dword [ebx + 0x68]
lea ecx, [edi + edi*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x80]
cmp byte [edx + 0x32], 0
je 0x473544
mov dword [esp + 0x60], 1
mov ecx, dword [edx + 0x330]
test dword [ecx + 0x24], 0x200
je 0x473582
cmp dword [esp + 0x40], 0
je 0x473563
mov eax, dword [esp + 0x74]
cmp dword [ecx + 0x20], eax
jne 0x473582
mov eax, dword [esp + 0x68]
test byte [eax + 0x24], 0x20
je 0x473579
mov eax, dword [ecx + 0x20]
mov eax, dword [eax + 0x38]
and al, 3
cmp al, 2
je 0x473582
mov edi, dword [ecx + 0x20]
mov dword [esp + 0x74], edi
jmp 0x47358a
mov dword [esp + 0x74], 0
mov ecx, edx
call fcn.00467a10
mov ecx, dword [esi + 0xd4]
test ecx, ecx
jne 0x47359f
xor eax, eax
jmp 0x4735c5
mov edx, dword [esi + 8]
test ecx, ecx
jns 0x4735aa
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x4735b9
mov eax, 0x51e9d8
jmp 0x4735c2
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [esi + 0xd4], eax
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
inc ecx
add edx, 0x30
mov dword [esp + 0x40], ecx
mov dword [esp + 0x24], edx
cmp ecx, dword [eax + 0xc]
jl 0x4731c0
mov ecx, dword [esi + 0xd4]
test ecx, ecx
jne 0x4735fe
xor eax, eax
jmp 0x473624
mov edx, dword [esi + 8]
test ecx, ecx
jns 0x473609
mov ecx, dword [edx + 0x6c]
dec ecx
mov eax, dword [edx]
cmp byte [eax + 0x51], 0
je 0x473618
mov eax, 0x51e9d8
jmp 0x473621
mov eax, dword [edx + 0x68]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov eax, dword [eax + 8]
mov dword [esi + 0xd4], eax
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x74]
mov dword [esi + 0x38], eax
test eax, eax
je 0x473643
mov eax, dword [esp + 0x90]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x58]
test eax, eax
je 0x47365f
mov edx, eax
mov dword [eax + 0xc], 0
mov ecx, edi
call fcn.004afa70
mov ecx, dword [esp + 0x70]
mov edx, dword [ebx + 0x6c]
test ecx, ecx
jns 0x47366d
lea ecx, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x47367c
mov eax, 0x51e9d8
jmp 0x473685
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 [esi + 0xc]
cmp dword [ebx + 0x70], ecx
jg 0x4736a9
push 0
push edx
push 0
mov edx, 0xb
mov ecx, ebx
call fcn.004c8320
add esp, 0xc
jmp 0x4736d8
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 + 0x6c]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4736f6
push edx
mov edx, ebx
call fcn.004c7a90
add esp, 4
jmp 0x4736ff
mov ecx, dword [ecx + 0x40]
mov eax, dword [ebx + 0x6c]
mov dword [ecx + edx*4], eax
mov eax, dword [esp + 0x38]
cmp byte [eax + 0x2e], 1
jbe 0x473752
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x473752
test edi, edi
je 0x473749
cmp dword [edi + 0x1e8], 0
je 0x473729
mov edx, ecx
mov ecx, edi
call fcn.004ed280
jmp 0x473752
cmp ecx, dword [edi + 0x138]
jb 0x473749
cmp ecx, dword [edi + 0x13c]
jae 0x473749
mov eax, dword [edi + 0x134]
mov dword [ecx], eax
mov dword [edi + 0x134], ecx
jmp 0x473752
push ecx
call fcn.004ed2c0
add esp, 4
cmp dword [esp + 0x60], 0
jne 0x4737ad
mov edx, dword [esp + 0x2c]
mov ecx, esi
call fcn.00474fb0
jmp 0x4737ad
mov eax, dword [esp + 0x78]
test byte [eax + 0x28], 0x20
je 0x47377a
mov eax, dword [esp + 0x10]
mov byte [eax + 0x2d], 0xaa
jmp 0x4737ad
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x10]
push edi
mov al, byte [ecx + 0x50a2b4]
movzx edx, byte [ecx + 0x50aac8]
mov ecx, ebx
mov byte [esi + 0x2d], al
mov eax, dword [esp + 0x34]
push eax
mov dword [esi + 0x30], eax
call fcn.004c8180
add esp, 8
mov byte [esi + 0x2f], 1
inc eax
mov dword [esi + 0x34], eax
xor ecx, ecx
mov esi, dword [esp + 0x7c]
neg ecx
sbb ecx, ecx
add ecx, 2
mov dword [esp + 0x60], ecx
mov edi, edi
mov edx, dword [esi + 0xc]
xor eax, eax
mov edi, dword [esi + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], edx
test edx, edx
jle 0x4739d7
jmp 0x4737e0
movzx edx, word [edi + 0xa]
xor esi, esi
test dl, 6
jne 0x4739b5
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
mov ecx, dword [edi + 0x28]
and ecx, dword [eax + 0x48]
mov eax, dword [edi + 0x2c]
and eax, dword [ebx + 0x4c]
or ecx, eax
mov ebx, dword [esp + 0x64]
je 0x473818
mov eax, dword [esp + 0x38]
mov byte [eax + 0x32], 1
jmp 0x4739b1
mov eax, dword [esp + 0x78]
mov ecx, dword [edi]
mov dword [esp + 0x88], ecx
test byte [eax + 0x24], 8
je 0x473835
test byte [ecx + 4], 1
je 0x4739b1
mov eax, dword [esp + 0x60]
cmp eax, 1
jne 0x4738c4
mov eax, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0xa4], esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
mov eax, dword [eax + 4]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x94], eax
lea eax, [esp + 0x94]
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb8], edx
mov dword [esp + 0xa8], 0x4a8310
mov dword [esp + 0xbc], eax
test ecx, ecx
je 0x4738b2
mov edx, ecx
lea ecx, [esp + 0xa4]
call fcn.004b3e10
mov edx, dword [esp + 0xb8]
test dl, dl
je 0x4738c9
mov eax, 2
mov dword [esp + 0x18], eax
jmp 0x4739b5
cmp eax, 3
jge 0x4738ef
movzx edx, word [edi + 0xa]
test edx, 0x1000
je 0x4738ef
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4739b5
mov eax, 3
mov dword [esp + 0x18], eax
jmp 0x4739b5
test edx, 0x200
je 0x473969
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x473969
mov esi, dword [ebx + 0x6c]
mov edx, eax
and eax, 1
shr edx, 1
lea eax, [eax*2 + 0x12]
mov dword [esp + 0x80], eax
cmp dword [ebx + 0x70], esi
jg 0x473934
push 0
push 0
push edx
mov edx, eax
mov ecx, ebx
call fcn.004c8320
add esp, 0xc
mov esi, eax
jmp 0x473969
lea eax, [esi + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [ebx + 0x68]
mov ebx, dword [esp + 0x80]
mov byte [eax + ecx*4], bl
xor ebx, ebx
mov word [eax + ecx*4 + 2], bx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], ebx
mov byte [eax + ecx*4 + 1], bl
mov ebx, dword [esp + 0x64]
mov dword [eax + ecx*4 + 4], edx
push 0x10
push dword [esp + 0x88]
push dword [esp + 0x90]
push dword [esp + 0x20]
call fcn.004a8d60
add esp, 0x10
test esi, esi
je 0x4739ac
mov edx, dword [ebx + 0x6c]
jns 0x473991
lea esi, [edx - 1]
mov eax, dword [ebx]
cmp byte [eax + 0x51], 0
je 0x4739a0
mov eax, 0x51e9d8
jmp 0x4739a9
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 + 0x18]
mov edx, dword [esp + 0x34]
add edi, 0x30
dec edx
mov dword [esp + 0x34], edx
test edx, edx
jg 0x4737e0
mov esi, dword [esp + 0x7c]
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 0x14]
mov dword [esp + 0x34], edx
mov dword [esp + 0x60], eax
test eax, eax
jg 0x4737c0
test edx, edx
jle 0x473b7d
mov ebx, dword [esp + 0x14]
lea esi, [edi + 0xc]
mov dword [esp + 0x50], esi
test byte [esi - 2], 6
jne 0x473b65
movzx eax, word [esi]
mov edi, 0xb
test al, 0x82
setne cl
bt ax, di
setb al
test al, cl
je 0x473b65
mov eax, dword [esp + 0x30]
cmp dword [esi + 8], eax
jne 0x473b65
mov eax, dword [esp + 0x10]
cmp dword [eax], 0
jne 0x473b65
mov eax, dword [esi - 0xc]
xor edi, edi
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x80], eax
mov eax, dword [esi + 0x10]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0xe4], edi
mov word [esp + 0xe8], 0x100
mov dword [esp + 0xe0], edi
mov dword [esp + 0xec], 0x83
mov dword [esp + 0xf0], edi
mov dword [esp + 0xf4], ecx
mov byte [esp + 0xea], 1
cmp eax, 0xfffffffe
je 0x473afb
lea ecx, [esp + 0xd8]
mov word [esp + 0x120], ax
call fcn.0046eb00
mov esi, eax
test esi, esi
je 0x473afb
mov edx, dword [esi + 0x20]
mov ecx, edx
mov edi, dword [esi + 0x24]
mov eax, edi
and ecx, dword [ebp + 0x14]
and eax, dword [ebp + 0x18]
or ecx, eax
jne 0x473ae5
or edx, edi
jne 0x473ad5
test byte [esi + 0xc], 0x82
jne 0x473afd
mov edi, dword [esp + 0x24]
test edi, edi
jne 0x473ae9
mov edi, esi
mov dword [esp + 0x24], edi
jmp 0x473ae9
mov edi, dword [esp + 0x24]
lea ecx, [esp + 0xd8]
call fcn.0046eb00
mov esi, eax
test esi, esi
jne 0x473ab7
mov esi, edi
test esi, esi
je 0x473b5d
test byte [esi + 0xa], 4
jne 0x473b5d
test byte [esi + 0xc], 1
je 0x473b22
mov eax, dword [esi]
test dword [eax + 4], 0x800
je 0x473b22
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
cmp dword [eax], 1
jg 0x473b5d
mov esi, dword [esi]
lea edi, [esp + 0xa4]
mov eax, dword [esp + 0x80]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov eax, dword [eax + 0xc]
push 0x10
push dword [esp + 0x88]
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xac]
push eax
push ebx
call fcn.004a8d60
add esp, 0x10
mov esi, dword [esp + 0x50]
mov edx, dword [esp + 0x34]
dec edx
add esi, 0x30
mov dword [esp + 0x34], edx
mov dword [esp + 0x50], esi
test edx, edx
jg 0x4739f6
mov ebx, dword [esp + 0x64]
mov edx, dword [esp + 0x10]
mov esi, dword [edx]
test esi, esi
je 0x473c2f
mov eax, dword [ebx + 0x6c]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebx + 0x6c]
cmp dword [ebx + 0x70], ecx
jg 0x473bb3
push 0
push esi
push 1
mov edx, 0x46
mov ecx, ebx
call fcn.004c8320
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x473be2
lea eax, [ecx + 1]
mov dword [ebx + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [ebx + 0x68]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x7c]
xor edi, edi
mov esi, dword [ebx + 0x14]
cmp dword [ebx + 0xc], edi
jle 0x473c2f
test byte [esi + 0xa], 6
jne 0x473c22
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x2c]
and ecx, dword [edx + 0x48]
and eax, dword [edx + 0x4c]
or ecx, eax
jne 0x473c22
push 0x10
push dword [esp + 0x88]
push dword [esi]
push dword [esp + 0x20]
call fcn.004a8d60
add esp, 0x10
or word [esi + 0xa], 4
mov edx, dword [esp + 0x10]
inc edi
add esi, 0x30
cmp edi, dword [ebx + 0xc]
jl 0x473bf0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
pop ebx
mov eax, dword [ecx + 0x48]
mov edx, dword [ecx + 0x4c]
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.00403d8c
mov esp, ebp
pop ebp
ret