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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
mov ebx, edx
mov dword [esp + 0x1c], ecx
push esi
push edi
mov dword [esp + 0x50], ebx
mov edx, dword [ebx]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x34], 0
mov ecx, dword [edx]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x10], ecx
mov eax, dword [ecx]
mov dword [esp + 0x1c], eax
mov byte [esp + 0xf], 0
cmp byte [eax + 0x51], 0
jne 0x4702a4
mov eax, dword [ebp + 8]
lea esi, [eax + eax*2]
shl esi, 4
lea eax, [edx + 0x1e8]
mov dword [esp + 0x14], esi
add esi, dword [ebx + 0x14]
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
mov edi, dword [esi]
mov dword [esp + 0x64], edi
mov edx, dword [edi + 0xc]
test edx, edx
je 0x46f5fb
mov ecx, eax
call fcn.0046f270
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
jmp 0x46f60b
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov al, byte [edi]
mov byte [esp + 0xe], al
movzx eax, al
mov dword [esp + 0x54], eax
cmp eax, 0x31
jne 0x46f64a
mov edx, edi
call fcn.004ac620
test eax, eax
jne 0x4702a4
test dword [edi + 4], 0x800
mov edx, dword [edi + 0x14]
mov ecx, dword [esp + 0x20]
je 0x46f643
call fcn.00470470
jmp 0x46f665
call fcn.0046f1e0
jmp 0x46f665
cmp eax, 0x32
je 0x46f661
mov edx, dword [edi + 0x10]
test edx, edx
je 0x46f661
mov ecx, dword [esp + 0x20]
call fcn.0046f270
jmp 0x46f665
xor eax, eax
xor edx, edx
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x20]
mov ecx, eax
mov dword [esi + 0x24], edx
mov edx, edi
mov dword [eax], 0
call fcn.0046f270
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
cmp dword [edx], 0
je 0x46f698
mov ecx, 0x1000
or word [esi + 0xa], cx
test byte [edi + 4], 1
je 0x46f732
mov edx, dword [edx + 4]
xor ecx, ecx
test edx, edx
jle 0x46f6c6
mov eax, dword [esp + 0x20]
add eax, 8
movsx ebx, word [edi + 0x24]
cmp dword [eax], ebx
mov ebx, dword [esp + 0x50]
je 0x46f71e
inc ecx
add eax, 4
cmp ecx, edx
jl 0x46f6b2
xor ecx, ecx
xor edx, edx
mov eax, dword [esp + 0x2c]
or dword [esp + 0x30], edx
or eax, ecx
mov dword [esp + 0x38], ecx
add dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], edx
adc dword [esp + 0x3c], 0xffffffff
shrd dword [esp + 0x28], eax, 1
shr eax, 1
cmp eax, edx
jb 0x46f72e
ja 0x46f706
cmp dword [esp + 0x28], ecx
jb 0x46f72e
push str.ON_clause_references_tables_to_its_right
push dword [esp + 0x14]
call fcn.004e9ae0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
xor edx, edx
call fcn.00421a50
mov ecx, eax
jmp 0x46f6ca
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x2c], eax
xor eax, eax
mov word [esi + 0xc], ax
mov al, byte [esp + 0xe]
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
cmp al, 0x31
je 0x46f8a0
cmp al, 0x35
jb 0x46f768
cmp al, 0x39
jbe 0x46f8a0
cmp al, 0x32
je 0x46f8a0
cmp al, 0x2d
je 0x46f8a0
mov al, byte [edi]
cmp al, 0x30
jne 0x46f877
cmp byte [ebx + 8], 0x2c
jne 0x47028f
mov eax, dword [edi + 0x14]
add eax, 4
mov dword [esp + 0x44], 0
mov dword [esp + 0x58], eax
mov edi, edi
mov edx, dword [eax]
test edx, edx
je 0x46f7ba
mov ecx, dword [esp + 0x1c]
push 0
push 0
call fcn.004af580
add esp, 8
mov esi, eax
jmp 0x46f7bc
xor esi, esi
mov edx, dword [edi + 0xc]
test edx, edx
je 0x46f7d5
mov ecx, dword [esp + 0x1c]
push 0
push 0
call fcn.004af580
add esp, 8
jmp 0x46f7d7
xor eax, eax
mov ecx, dword [esp + 0x10]
push esi
push eax
mov eax, dword [esp + 0x4c]
movzx edx, byte [eax + 0x506714]
call fcn.004aff90
add esp, 8
test eax, eax
je 0x46f805
mov ecx, dword [edi + 4]
and ecx, 1
or dword [eax + 4], ecx
mov cx, word [edi + 0x24]
mov word [eax + 0x24], cx
push 3
mov edx, eax
mov ecx, ebx
call fcn.00471830
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov edx, ebx
push esi
call fcn.0046f560
mov ecx, dword [ebx + 0x14]
lea edx, [esi + esi*2]
mov eax, dword [esp + 0x18]
add edx, edx
mov esi, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x1c], eax
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ecx + edx*8 + 0x10], eax
mov ecx, dword [ebx + 0x14]
mov ax, word [esi + ecx + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x44]
inc ecx
mov dword [esp + 0x44], ecx
inc byte [eax + esi + 0xe]
mov eax, dword [esp + 0x58]
add eax, 0x18
mov dword [esp + 0x58], eax
cmp ecx, 2
jl 0x46f7a0
jmp 0x46fbb3
cmp al, 0x2b
jne 0x46fbb7
push dword [ebp + 8]
mov ecx, dword [esp + 0x28]
mov edx, ebx
call fcn.004707f0
mov esi, dword [ebx + 0x14]
add esp, 4
add esi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
jmp 0x46fbb7
mov ecx, dword [edi + 0xc]
call fcn.004b0f10
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x28], eax
call fcn.004b0f10
mov edx, dword [esi + 0x20]
mov ecx, dword [esi + 0x24]
and edx, dword [esp + 0x40]
and ecx, dword [esp + 0x44]
or edx, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x58], 0x1fff
je 0x46f8da
mov dword [esp + 0x58], 0x800
mov eax, dword [esi + 0x18]
test eax, eax
jle 0x46f8f1
lea ecx, [eax + eax*2]
mov eax, dword [esp + 0x28]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + ecx*8 - 0x14]
jmp 0x46f8f5
mov eax, dword [esp + 0x28]
push dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x6c]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.004702b0
mov edx, dword [esp + 0x64]
add esp, 0x10
test eax, eax
je 0x46f938
mov eax, dword [esp + 0x68]
mov ecx, edx
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [esi + 0x1c], eax
call fcn.00471750
and ax, word [esp + 0x58]
mov word [esi + 0xc], ax
cmp byte [esp + 0xe], 0x2d
mov eax, 0x800
jne 0x46f948
or word [esi + 0xa], ax
mov eax, dword [esp + 0x60]
test eax, eax
je 0x46fbb7
mov ecx, dword [esp + 0x24]
push edx
push eax
push dword [esi + 0x24]
lea edx, [esp + 0x74]
push dword [esi + 0x20]
call fcn.004702b0
add esp, 0x10
test eax, eax
je 0x46fbb7
cmp dword [esi + 0x14], 0
mov dword [esp + 0x60], 0
jl 0x46fae8
mov esi, dword [esp + 0x1c]
mov edx, edi
push 0
push 0
mov ecx, esi
call fcn.004af580
add esp, 8
mov dword [esp + 0x28], eax
cmp byte [esi + 0x51], 0
je 0x46f9bc
test eax, eax
je 0x4702a4
mov edx, eax
mov ecx, esi
call fcn.004afa70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 3
mov edx, eax
mov ecx, ebx
call fcn.00471830
add esp, 4
test eax, eax
je 0x4702a4
mov ecx, dword [ebp + 8]
lea esi, [eax + eax*2]
shl esi, 4
mov edx, eax
add esi, dword [ebx + 0x14]
push ecx
mov ecx, ebx
mov dword [esp + 0x60], esi
call fcn.00471170
add esp, 4
cmp byte [esp + 0xe], 0x2d
jne 0x46f9ff
mov eax, 0x800
or word [esi + 0xa], ax
mov esi, dword [ebx + 0x14]
add esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], esi
or word [esi + 0xa], 8
mov eax, dword [ecx]
test byte [eax + 0x4c], 0x80
jne 0x46faf4
mov eax, dword [esp + 0x28]
mov dl, byte [eax]
cmp dl, 0x35
je 0x46fa33
cmp dl, 0x2d
jne 0x46faf4
test byte [eax + 4], 1
jne 0x46faf4
mov ecx, dword [eax + 0xc]
call fcn.004b1020
mov ecx, dword [esp + 0x28]
mov byte [esp + 0xe], al
mov ecx, dword [ecx + 0x10]
call fcn.004b1020
mov cl, al
mov al, byte [esp + 0xe]
cmp al, cl
je 0x46fa70
cmp al, 0x43
jl 0x46faf0
cmp cl, 0x43
jl 0x46faf0
mov eax, dword [esp + 0x28]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x54], ecx
test dword [edx + 4], 0x100
jne 0x46faa9
test ecx, ecx
je 0x46fa98
test dword [ecx + 4], 0x100
je 0x46fa98
mov edx, ecx
jmp 0x46faa9
mov ecx, dword [esp + 0x10]
call fcn.004b0d90
test eax, eax
jne 0x46fab6
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x10]
call fcn.004b0d90
test eax, eax
je 0x46fad9
cmp dword [eax + 0xc], fcn.0045cf60
je 0x46fad9
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push dword [eax + 0x10]
mov edx, dword [eax + 0xc]
call fcn.004b0d00
add esp, 4
test eax, eax
je 0x46faf0
mov eax, 0x800
or word [esi + 0xc], ax
mov dword [esp + 0x60], eax
jmp 0x46faf0
mov dword [esp + 0x28], edi
mov dword [esp + 0x5c], esi
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x54], 0x100
mov edx, dword [esi + 0x10]
movzx eax, word [edx + 4]
and ax, word [esp + 0x54]
movzx eax, ax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0xc]
movzx eax, word [eax + 4]
and ax, word [esp + 0x54]
cmp word [esp + 0x28], ax
jne 0x46fb4d
cmp word [esp + 0x28], 0
je 0x46fb37
and dword [edx + 4], 0xfffffeff
jmp 0x46fb4d
mov edx, dword [esi + 0xc]
call fcn.004b0d90
test eax, eax
je 0x46fb4d
mov eax, dword [esi + 0xc]
or dword [eax + 4], 0x100
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0x10], eax
mov al, byte [esi]
mov dword [esi + 0xc], ecx
cmp al, 0x36
jb 0x46fb67
sub al, 0x36
xor al, 2
add al, 0x36
mov byte [esi], al
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x44]
or ecx, dword [esp + 0x3c]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x6c]
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x40]
or eax, dword [esp + 0x38]
mov dword [edx + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 0x24], ecx
mov dword [edx + 0x2c], eax
movzx ecx, byte [esi]
call fcn.00471750
add ax, word [esp + 0x60]
and ax, word [esp + 0x58]
mov word [edx + 0xc], ax
mov esi, dword [esp + 0x18]
cmp byte [ebx + 8], 0x2c
jne 0x47028f
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x4c]
mov edx, edi
push eax
lea eax, [esp + 0x3c]
push eax
call fcn.00471390
add esp, 0xc
test eax, eax
je 0x46fe79
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x60], eax
test ecx, ecx
je 0x46fc14
push 0
mov edx, ecx
mov ecx, dword [esp + 0x20]
push 0
call fcn.004af580
mov ecx, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x44], eax
jmp 0x46fc1c
mov dword [esp + 0x44], 0
cmp dword [esp + 0x4c], 0
je 0x46fc85
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
jne 0x46fc85
mov eax, 0x400
or word [esi + 0xa], ax
xor esi, esi
mov eax, dword [ecx + 8]
mov dword [esp + 0x5c], eax
mov cl, byte [eax]
test cl, cl
je 0x46fc85
mov edi, dword [esp + 0x34]
mov ebx, eax
lea ecx, [ecx]
movzx edx, cl
mov al, byte [edx + 0x506d10]
and al, 0x20
not al
and al, cl
mov byte [ebx], al
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 8]
mov al, byte [edx + 0x5077b0]
mov byte [esi + ecx], al
inc esi
mov ebx, dword [edi + 8]
add ebx, esi
mov cl, byte [ebx]
test cl, cl
jne 0x46fc50
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x50]
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x51], 0
jne 0x46fcf7
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 8]
test edx, edx
jne 0x46fc9e
xor ecx, ecx
jmp 0x46fcb2
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46fca3
sub ecx, esi
and ecx, 0x3fffffff
cmp dword [esp + 0x4c], 0
lea esi, [edx + ecx]
mov dl, byte [esi - 1]
je 0x46fce4
xor ecx, ecx
movzx eax, dl
cmp dl, 0x40
sete cl
mov dl, byte [eax + 0x5077b0]
dec ecx
and ecx, dword [esp + 0x48]
inc dl
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x1c]
mov byte [esi - 1], dl
jmp 0x46fcff
mov eax, dword [esp + 0x48]
inc dl
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov byte [esi - 1], dl
jmp 0x46fcff
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], eax
cmp dword [esp + 0x4c], 0
mov esi, str.NOCASE
jne 0x46fd10
mov esi, 0x5071e8
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], esi
test eax, eax
je 0x46fd2c
push 0
push 0
mov edx, eax
call fcn.004af580
add esp, 8
jmp 0x46fd2e
xor eax, eax
push dword [esp + 0x34]
mov edx, eax
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.004b0f40
add esp, 8
mov edx, 0x39
mov ecx, esi
push eax
call fcn.004aff90
add esp, 8
test eax, eax
je 0x46fd69
mov ecx, dword [edi + 4]
and ecx, 1
or dword [eax + 4], ecx
mov cx, word [edi + 0x24]
mov word [eax + 0x24], cx
push 0x103
mov edx, eax
mov ecx, ebx
call fcn.00471830
mov ecx, dword [esp + 0x28]
add esp, 4
mov edx, ebx
mov dword [esp + 0x64], eax
push eax
call fcn.0046f560
mov eax, dword [esp + 0x64]
add esp, 4
test eax, eax
je 0x46fda9
mov ecx, dword [esp + 0x1c]
mov edx, eax
push 0
push 0
call fcn.004af580
add esp, 8
jmp 0x46fdab
xor eax, eax
push dword [esp + 0x44]
mov edx, eax
push ecx
push dword [esp + 0x64]
mov ecx, esi
call fcn.004b0f40
add esp, 8
mov edx, 0x38
mov ecx, esi
push eax
call fcn.004aff90
add esp, 8
test eax, eax
je 0x46fde5
mov ecx, dword [edi + 4]
and ecx, 1
or dword [eax + 4], ecx
mov cx, word [edi + 0x24]
mov word [eax + 0x24], cx
push 0x103
mov edx, eax
mov ecx, ebx
call fcn.00471830
mov ecx, dword [esp + 0x28]
add esp, 4
mov edx, ebx
mov dword [esp + 0x60], eax
push eax
call fcn.0046f560
mov ecx, dword [ebx + 0x14]
add esp, 4
cmp dword [esp + 0x58], 0
mov eax, dword [esp + 0x14]
lea esi, [ecx + eax]
mov dword [esp + 0x18], esi
je 0x46fe79
mov eax, dword [esp + 0x64]
lea edx, [eax + eax*2]
mov eax, dword [ebp + 8]
add edx, edx
mov dword [ecx + edx*8 + 0x10], eax
mov ecx, dword [ebx + 0x14]
mov eax, dword [esp + 0x14]
movzx eax, word [ecx + eax + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x14]
inc byte [eax + ecx + 0xe]
mov eax, dword [esp + 0x60]
mov ecx, dword [ebp + 8]
lea edx, [eax + eax*2]
mov eax, dword [ebx + 0x14]
add edx, edx
mov dword [eax + edx*8 + 0x10], ecx
mov ecx, dword [ebx + 0x14]
mov eax, dword [esp + 0x14]
movzx eax, word [ecx + eax + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x14]
inc byte [eax + ecx + 0xe]
cmp byte [ebx + 8], 0x2c
jne 0x47028f
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x64], 0
push eax
lea eax, [esp + 0x17]
mov dword [esp + 0x64], 0
push eax
mov edx, edi
call fcn.004711d0
add esp, 0xc
test eax, eax
jle 0x470075
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x60], esi
mov dword [esp + 0x4c], ecx
dec eax
mov dword [esp + 0x64], eax
test esi, esi
je 0x46feea
mov ecx, dword [esp + 0x20]
mov edx, esi
call fcn.0046f270
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x48], edx
jmp 0x46fefa
mov dword [esp + 0x54], 0
mov dword [esp + 0x48], 0
test ecx, ecx
je 0x46ff0b
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.0046f270
jmp 0x46ff0f
xor eax, eax
xor edx, edx
and eax, dword [esp + 0x54]
and edx, dword [esp + 0x48]
or eax, edx
jne 0x470055
test esi, esi
je 0x46ff35
mov ecx, dword [esp + 0x1c]
mov edx, esi
push eax
push eax
call fcn.004af580
add esp, 8
jmp 0x46ff37
xor eax, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x10]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.004ece50
mov esi, eax
add esp, 8
test esi, esi
je 0x46ffa6
push 0x34
push 0
push esi
call fcn.00405490
or eax, 0xffffffff
mov byte [esi], 0x2e
mov word [esi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x58]
test eax, eax
je 0x46ff80
mov dword [esi + 0x10], eax
mov eax, dword [eax + 4]
and eax, 0x200104
or dword [esi + 4], eax
mov ecx, esi
call fcn.004b0310
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x46ffbb
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.004e9ae0
add esp, 0xc
jmp 0x46ffbb
mov eax, dword [esp + 0x58]
test eax, eax
je 0x46ffbb
mov edx, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
call fcn.004afa70
test byte [edi + 4], 1
je 0x46ffc9
test esi, esi
je 0x46ffc9
or dword [esi + 4], 1
push 3
mov edx, esi
mov ecx, ebx
call fcn.00471830
mov esi, dword [ebx + 0x14]
add esp, 4
mov ecx, dword [esp + 0x4c]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x54]
shl edx, 4
add esi, edx
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x48]
mov dword [esi + 0x24], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x14], eax
movsx eax, word [ecx + 0x20]
mov ecx, dword [ebp + 8]
mov dword [esi + 0x1c], eax
mov eax, 0x40
mov word [esi + 0xc], ax
mov al, byte [esp + 0xf]
mov byte [esi + 0xf], al
mov eax, dword [ebx + 0x14]
mov dword [eax + edx + 0x10], ecx
mov ecx, dword [ebx + 0x14]
mov eax, dword [esp + 0x14]
mov ax, word [ecx + eax + 8]
mov word [ecx + edx + 8], ax
mov eax, dword [ebx + 0x14]
mov edx, dword [esp + 0x14]
inc byte [eax + edx + 0xe]
mov ecx, dword [ebx + 0x14]
add ecx, edx
mov dword [esp + 0x18], ecx
mov eax, dword [ecx + 0x28]
or word [ecx + 0xa], 8
mov dword [esi + 0x28], eax
mov eax, dword [ecx + 0x2c]
mov dword [esi + 0x2c], eax
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x4c]
mov ecx, esi
mov esi, eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x64]
mov dword [esp + 0x60], esi
test eax, eax
jg 0x46fec8
mov esi, dword [esp + 0x18]
cmp byte [ebx + 8], 0x2c
jne 0x47028f
mov al, byte [edi]
cmp al, 0x35
je 0x47008d
cmp al, 0x2d
jne 0x4701c9
mov edx, dword [edi + 0xc]
mov al, byte [edx]
cmp al, 0xa8
jne 0x470099
mov al, byte [edx + 0x26]
cmp al, 0xa9
jne 0x4700a2
lea eax, [edx + 0x14]
jmp 0x4700ad
cmp al, 0x83
jne 0x4701c9
mov eax, dword [edx + 0x14]
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esp + 0x64], ecx
cmp ecx, 1
jle 0x4701c9
mov eax, dword [edi + 0x10]
mov bl, byte [eax]
mov byte [esp + 0xe], bl
cmp bl, 0xa8
mov ebx, dword [esp + 0x50]
jne 0x4700db
mov bl, byte [eax + 0x26]
mov byte [esp + 0xe], bl
mov ebx, dword [esp + 0x50]
cmp byte [esp + 0xe], 0xa9
jne 0x4700f0
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x10]
jmp 0x47010f
cmp byte [esp + 0xe], 0x83
jne 0x470107
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x10]
jmp 0x47010f
mov dword [esp + 0x58], 1
cmp dword [esp + 0x58], ecx
jne 0x4701c9
test dword [edx + 4], 0x800
je 0x47012f
test dword [eax + 4], 0x800
jne 0x4701c9
xor eax, eax
mov dword [esp + 0x58], eax
test ecx, ecx
jle 0x4701b7
lea esp, [esp]
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x10]
push eax
call fcn.004b08e0
mov edx, dword [edi + 0x10]
add esp, 4
mov ecx, dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x58]
call fcn.004b08e0
movzx edx, byte [edi]
add esp, 4
mov ecx, dword [esp + 0x10]
push eax
push esi
call fcn.004aff90
add esp, 8
test eax, eax
je 0x47018b
mov ecx, dword [edi + 4]
and ecx, 1
or dword [eax + 4], ecx
mov cx, word [edi + 0x24]
mov word [eax + 0x24], cx
push 1
mov edx, eax
mov ecx, ebx
call fcn.00471830
mov ecx, dword [esp + 0x28]
add esp, 4
mov edx, ebx
push eax
call fcn.0046f560
mov eax, dword [esp + 0x5c]
add esp, 4
inc eax
mov dword [esp + 0x58], eax
cmp eax, dword [esp + 0x64]
jl 0x470140
mov esi, dword [ebx + 0x14]
add esi, dword [esp + 0x14]
or word [esi + 0xa], 6
xor eax, eax
mov word [esi + 0xc], ax
cmp byte [ebx + 8], 0x2c
jne 0x47028f
cmp byte [edi], 0x31
jne 0x47028f
cmp dword [esi + 0x18], 0
jne 0x47028f
mov eax, dword [edi + 0xc]
cmp byte [eax], 0xa9
jne 0x47028f
mov eax, dword [edi + 0x14]
cmp dword [eax + 0x34], 0
jne 0x47028f
xor edx, edx
mov dword [esp + 0x58], edx
mov ecx, dword [edi + 0xc]
mov al, byte [ecx]
cmp al, 0xa8
jne 0x470211
mov al, byte [ecx + 0x26]
cmp al, 0xa9
jne 0x47021c
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
jmp 0x47022e
cmp al, 0x83
jne 0x470229
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x47022e
mov eax, 1
cmp edx, eax
jge 0x47028f
push 2
mov edx, edi
mov ecx, ebx
call fcn.00471830
mov ecx, dword [ebx + 0x14]
add esp, 4
mov edx, dword [esp + 0x58]
inc edx
lea esi, [eax + eax*2]
mov dword [esp + 0x58], edx
add esi, esi
push eax
mov dword [ecx + esi*8 + 0x18], edx
mov edx, ebx
mov ecx, dword [esp + 0x28]
call fcn.0046f560
mov eax, dword [ebx + 0x14]
add esp, 4
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x14]
mov dword [eax + esi*8 + 0x10], ecx
mov ecx, dword [ebx + 0x14]
mov ax, word [ecx + edx + 8]
mov word [ecx + esi*8 + 8], ax
mov eax, dword [ebx + 0x14]
inc byte [eax + edx + 0xe]
mov edx, dword [esp + 0x58]
jmp 0x470205
mov eax, dword [ebx + 0x14]
add eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
or dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x3c]
or dword [eax + 0x24], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret