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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
push ebx
mov ebx, edx
mov dword [esp + 0x1c], ecx
push esi
xorps xmm0, xmm0
mov dword [esp + 0x68], ebx
push edi
mov edx, dword [ebx]
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x38], 0
mov dword [esp + 0x4c], 0
mov ecx, dword [edx]
mov dword [esp + 0x50], 0
mov dword [esp + 0x14], ecx
mov byte [esp + 0x13], 0
mov eax, dword [ecx]
mov dword [esp + 0x20], eax
cmp byte [eax + 0x51], 0
jne 0x4b9bc6
mov eax, dword [ebp + 8]
lea esi, [eax + eax*2]
shl esi, 4
lea eax, [edx + 0x1e8]
mov dword [esp + 0x18], esi
add esi, dword [ebx + 0x14]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], eax
mov edi, dword [esi]
mov dword [esp + 0x68], edi
mov edx, dword [edi + 0xc]
test edx, edx
je 0x4b8f60
mov ecx, eax
call fcn.004b9de0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], edx
jmp 0x4b8f72
movlpd qword [esp + 0x70], xmm0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x44], eax
mov al, byte [edi]
mov byte [esp + 0x12], al
movzx eax, al
mov dword [esp + 0x54], eax
cmp eax, 0x31
jne 0x4b8fb5
mov edx, edi
call fcn.0047b520
test eax, eax
jne 0x4b9bc6
test dword [edi + 4], 0x800
mov edx, dword [edi + 0x14]
mov ecx, dword [esp + 0x28]
je 0x4b8fae
call fcn.004b8b90
jmp 0x4b8ff0
call fcn.004b9f50
jmp 0x4b8ff0
cmp eax, 0x32
jne 0x4b8fcd
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
jmp 0x4b8ff0
mov edx, dword [edi + 0x10]
test edx, edx
je 0x4b8fdf
mov ecx, dword [esp + 0x28]
call fcn.004b9de0
jmp 0x4b8ff0
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x28]
mov ecx, eax
mov dword [esi + 0x24], edx
mov edx, edi
mov dword [eax], 0
call fcn.004b9de0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
cmp dword [ecx], 0
je 0x4b9023
mov edx, 0x1000
or word [esi + 0xa], dx
test byte [edi + 4], 1
je 0x4b9088
movsx edx, word [edi + 0x24]
call fcn.004ba340
or dword [esp + 0x34], edx
mov ecx, eax
mov eax, dword [esp + 0x30]
or eax, ecx
mov dword [esp + 0x3c], ecx
add dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x40], edx
adc dword [esp + 0x40], 0xffffffff
shrd dword [esp + 0x2c], eax, 1
shr eax, 1
cmp eax, edx
jb 0x4b909a
ja 0x4b9070
cmp dword [esp + 0x2c], ecx
jb 0x4b909a
push str.ON_clause_references_tables_to_its_right
push dword [esp + 0x18]
call fcn.0043e570
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x3c], ecx
jmp 0x4b909e
mov eax, dword [esp + 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x2c], eax
xor eax, eax
mov word [esi + 0xc], ax
mov al, byte [esp + 0x12]
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
cmp al, 0x31
je 0x4b9210
cmp al, 0x35
jb 0x4b90d4
cmp al, 0x39
jbe 0x4b9210
cmp al, 0x32
je 0x4b9210
cmp al, 0x2d
je 0x4b9210
mov al, byte [edi]
cmp al, 0x30
jne 0x4b91e7
cmp byte [ebx + 8], 0x2c
jne 0x4b9bb1
mov eax, dword [edi + 0x14]
add eax, 4
mov dword [esp + 0x48], 0
mov dword [esp + 0x58], eax
nop word [eax + eax]
mov edx, dword [eax]
test edx, edx
je 0x4b912a
mov ecx, dword [esp + 0x20]
push 0
push 0
call fcn.00478450
add esp, 8
mov esi, eax
jmp 0x4b912c
xor esi, esi
mov edx, dword [edi + 0xc]
test edx, edx
je 0x4b9145
mov ecx, dword [esp + 0x20]
push 0
push 0
call fcn.00478450
add esp, 8
jmp 0x4b9147
xor eax, eax
mov ecx, dword [esp + 0x14]
push esi
push eax
mov eax, dword [esp + 0x50]
movzx edx, byte [eax + 0x519db8]
call fcn.00477d00
add esp, 8
test eax, eax
je 0x4b9175
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.004b78f0
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, eax
mov edx, ebx
push esi
call fcn.004b8ed0
mov ecx, dword [ebx + 0x14]
lea edx, [esi + esi*2]
mov eax, dword [esp + 0x1c]
add edx, edx
mov esi, dword [esp + 0x1c]
add eax, ecx
mov dword [esp + 0x20], 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 + 0x48]
inc ecx
mov dword [esp + 0x48], ecx
inc byte [eax + esi + 0xe]
mov eax, dword [esp + 0x58]
add eax, 0x14
mov dword [esp + 0x58], eax
cmp ecx, 2
jl 0x4b9110
jmp 0x4b9546
cmp al, 0x2b
jne 0x4b954a
push dword [ebp + 8]
mov ecx, dword [esp + 0x28]
mov edx, ebx
call fcn.004b82b0
mov esi, dword [ebx + 0x14]
add esp, 4
add esi, dword [esp + 0x18]
mov dword [esp + 0x1c], esi
jmp 0x4b954a
mov edx, dword [edi + 0xc]
test edx, edx
je 0x4b9227
test dword [edx + 4], 0x1000
je 0x4b9227
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x4b9217
mov eax, dword [edi + 0x10]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x4b9246
test dword [eax + 4], 0x1000
je 0x4b9242
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4b9232
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x48]
and ecx, dword [esi + 0x20]
and eax, dword [esi + 0x24]
or ecx, eax
mov dword [esp + 0x58], 0x1fff
je 0x4b9268
mov dword [esp + 0x58], 0x800
mov eax, dword [esi + 0x18]
test eax, eax
jle 0x4b9279
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x14]
mov edx, dword [eax + ecx*4 - 0x10]
push dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
push edx
push dword [esp + 0x50]
lea edx, [esp + 0x7c]
push dword [esp + 0x50]
call fcn.004b8e40
mov edx, dword [esp + 0x64]
add esp, 0x10
test eax, eax
je 0x4b92bc
mov eax, dword [esp + 0x70]
mov ecx, edx
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x74]
mov dword [esi + 0x1c], eax
call fcn.004b7b50
and ax, word [esp + 0x58]
mov word [esi + 0xc], ax
cmp byte [esp + 0x12], 0x2d
mov eax, 0x800
jne 0x4b92cc
or word [esi + 0xa], ax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4b954a
mov ecx, dword [esp + 0x24]
push edx
push eax
push dword [esi + 0x24]
lea edx, [esp + 0x7c]
push dword [esi + 0x20]
call fcn.004b8e40
add esp, 0x10
test eax, eax
je 0x4b954a
cmp dword [esi + 0x14], 0
mov dword [esp + 0x5c], 0
jl 0x4b942f
mov esi, dword [esp + 0x20]
mov edx, edi
push 0
push 0
mov ecx, esi
call fcn.00478450
add esp, 8
mov dword [esp + 0x2c], eax
cmp byte [esi + 0x51], 0
je 0x4b9340
test eax, eax
je 0x4b9bc6
mov edx, eax
mov ecx, esi
call fcn.00478210
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 3
mov edx, eax
mov ecx, ebx
call fcn.004b78f0
add esp, 4
test eax, eax
je 0x4b9bc6
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 + 0x58], esi
call fcn.004b8130
add esp, 4
cmp byte [esp + 0x12], 0x2d
jne 0x4b9383
mov eax, 0x800
or word [esi + 0xa], ax
mov esi, dword [ebx + 0x14]
add esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
or word [esi + 0xa], 8
mov eax, dword [ecx]
test byte [eax + 0x4c], 0x80
jne 0x4b943b
mov eax, dword [esp + 0x2c]
mov dl, byte [eax]
cmp dl, 0x35
je 0x4b93b7
cmp dl, 0x2d
jne 0x4b943b
test byte [eax + 4], 1
jne 0x4b943b
mov ecx, dword [eax + 0xc]
call fcn.00476c90
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x12], al
mov ecx, dword [ecx + 0x10]
call fcn.00476c90
mov cl, al
mov al, byte [esp + 0x12]
cmp al, cl
je 0x4b93ec
cmp al, 0x43
jl 0x4b9437
cmp cl, 0x43
jl 0x4b9437
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
call fcn.00477220
test eax, eax
je 0x4b9420
cmp dword [eax + 0xc], fcn.004cc7c0
je 0x4b9420
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
push dword [eax + 0x10]
mov edx, dword [eax + 0xc]
call fcn.00477020
add esp, 4
test eax, eax
je 0x4b9437
mov eax, 0x800
or word [esi + 0xc], ax
mov dword [esp + 0x5c], eax
jmp 0x4b9437
mov dword [esp + 0x2c], edi
mov dword [esp + 0x54], esi
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x2c]
mov edx, dword [esi + 0xc]
cmp byte [edx], 0xae
je 0x4b94d9
mov eax, dword [esi + 0x10]
mov dword [esp + 0x60], eax
cmp byte [eax], 0xae
je 0x4b94d9
test dword [edx + 4], 0x100
jne 0x4b948c
test eax, eax
je 0x4b9475
test dword [eax + 4], 0x100
je 0x4b9475
mov edx, eax
jmp 0x4b948c
call fcn.00476e60
mov ecx, eax
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x4b9495
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x14]
call fcn.00476e60
mov dword [esp + 0x2c], eax
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
mov dword [esp + 0x60], eax
test dword [edx + 4], 0x100
jne 0x4b94ca
test eax, eax
je 0x4b94b9
test dword [eax + 4], 0x100
je 0x4b94b9
mov edx, eax
jmp 0x4b94ca
mov ecx, dword [esp + 0x14]
call fcn.00476e60
test eax, eax
jne 0x4b94d3
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x14]
call fcn.00476e60
cmp dword [esp + 0x2c], eax
je 0x4b94e0
xor dword [esi + 4], 0x200
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 0x4b94fa
sub al, 0x36
xor al, 2
add al, 0x36
mov byte [esi], al
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x48]
or ecx, dword [esp + 0x40]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x74]
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x44]
or eax, dword [esp + 0x3c]
mov dword [edx + 0x20], eax
mov eax, dword [esp + 0x30]
mov dword [edx + 0x28], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 0x24], ecx
mov dword [edx + 0x2c], eax
movzx ecx, byte [esi]
call fcn.004b7b50
add ax, word [esp + 0x5c]
and ax, word [esp + 0x58]
mov word [edx + 0xc], ax
mov esi, dword [esp + 0x1c]
cmp byte [ebx + 8], 0x2c
jne 0x4b9bb1
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x50]
mov edx, edi
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004b7b80
add esp, 0xc
test eax, eax
je 0x4b97f5
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x5c], eax
test ecx, ecx
je 0x4b95a7
push 0
mov edx, ecx
mov ecx, dword [esp + 0x24]
push 0
call fcn.00478450
mov ecx, dword [esp + 0x40]
add esp, 8
mov dword [esp + 0x48], eax
jmp 0x4b95af
mov dword [esp + 0x48], 0
cmp dword [esp + 0x50], 0
je 0x4b9615
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
jne 0x4b9615
mov eax, 0x400
or word [esi + 0xa], ax
xor esi, esi
mov eax, dword [ecx + 8]
mov dword [esp + 0x60], eax
mov cl, byte [eax]
test cl, cl
je 0x4b9615
mov edi, dword [esp + 0x38]
mov ebx, eax
movzx edx, cl
mov al, byte [edx + 0x51a810]
and al, 0x20
not al
and al, cl
mov byte [ebx], al
mov eax, dword [esp + 0x48]
mov ecx, dword [eax + 8]
mov al, byte [edx + 0x51b350]
mov byte [esi + ecx], al
inc esi
mov ebx, dword [edi + 8]
add ebx, esi
mov cl, byte [ebx]
test cl, cl
jne 0x4b95e0
mov edi, dword [esp + 0x68]
mov ebx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x20]
cmp byte [ecx + 0x51], 0
jne 0x4b9672
mov eax, dword [esp + 0x48]
mov edx, dword [eax + 8]
test edx, edx
jne 0x4b962e
xor ecx, ecx
jmp 0x4b9642
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b9633
sub ecx, esi
and ecx, 0x3fffffff
mov al, byte [edx + ecx - 1]
add edx, ecx
cmp dword [esp + 0x50], 0
mov ecx, dword [esp + 0x4c]
je 0x4b9663
xor esi, esi
cmp al, 0x40
movzx eax, al
cmove ecx, esi
mov al, byte [eax + 0x51b350]
inc al
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x20]
mov byte [edx - 1], al
jmp 0x4b967a
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x58], eax
cmp dword [esp + 0x50], 0
mov eax, 0x51ad4c
mov esi, str.NOCASE
cmove esi, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], esi
test eax, eax
je 0x4b96a8
push 0
push 0
mov edx, eax
call fcn.00478450
add esp, 8
jmp 0x4b96aa
xor eax, eax
push dword [esp + 0x38]
mov edx, eax
push ecx
push esi
mov esi, dword [esp + 0x20]
mov ecx, esi
call fcn.00476d80
add esp, 8
mov edx, 0x39
mov ecx, esi
push eax
call fcn.00477d00
add esp, 8
test eax, eax
je 0x4b96e5
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.004b78f0
mov ecx, dword [esp + 0x28]
add esp, 4
mov edx, ebx
mov dword [esp + 0x68], eax
push eax
call fcn.004b8ed0
mov eax, dword [esp + 0x60]
add esp, 4
test eax, eax
je 0x4b9725
mov ecx, dword [esp + 0x20]
mov edx, eax
push 0
push 0
call fcn.00478450
add esp, 8
jmp 0x4b9727
xor eax, eax
push dword [esp + 0x48]
mov edx, eax
push ecx
push dword [esp + 0x74]
mov ecx, esi
call fcn.00476d80
add esp, 8
mov edx, 0x38
mov ecx, esi
push eax
call fcn.00477d00
add esp, 8
test eax, eax
je 0x4b9761
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.004b78f0
mov ecx, dword [esp + 0x28]
add esp, 4
mov edx, ebx
mov dword [esp + 0x6c], eax
push eax
call fcn.004b8ed0
mov ecx, dword [ebx + 0x14]
add esp, 4
cmp dword [esp + 0x58], 0
mov eax, dword [esp + 0x18]
lea esi, [ecx + eax]
mov dword [esp + 0x1c], esi
je 0x4b97f5
mov eax, dword [esp + 0x68]
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 + 0x18]
movzx eax, word [ecx + eax + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x18]
inc byte [eax + ecx + 0xe]
mov eax, dword [esp + 0x6c]
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 + 0x18]
movzx eax, word [ecx + eax + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x18]
inc byte [eax + ecx + 0xe]
cmp byte [ebx + 8], 0x2c
jne 0x4b9bb1
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x60], 0
push eax
lea eax, [esp + 0x1b]
mov dword [esp + 0x60], 0
push eax
mov edx, edi
call fcn.004b7f70
add esp, 0xc
test eax, eax
jle 0x4b9a0b
mov esi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x50], ecx
dec eax
mov dword [esp + 0x6c], eax
test esi, esi
je 0x4b9862
mov ecx, dword [esp + 0x28]
mov edx, esi
call fcn.004b9de0
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x4c], edx
jmp 0x4b9877
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x54], eax
test ecx, ecx
je 0x4b988c
mov edx, ecx
mov ecx, dword [esp + 0x28]
call fcn.004b9de0
jmp 0x4b989d
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
and eax, dword [esp + 0x54]
and edx, dword [esp + 0x4c]
or eax, edx
jne 0x4b99eb
test esi, esi
je 0x4b98c3
mov ecx, dword [esp + 0x20]
mov edx, esi
push eax
push eax
call fcn.00478450
add esp, 8
jmp 0x4b98c5
xor eax, eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x14]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.0043b020
mov esi, eax
add esp, 8
test esi, esi
je 0x4b9934
push 0x34
push 0
push esi
call sub.VCRUNTIME140.dll_memset
or eax, 0xffffffff
mov byte [esi], 0x2e
mov word [esi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4b990e
mov dword [esi + 0x10], eax
mov eax, dword [eax + 4]
and eax, 0x200104
or dword [esi + 4], eax
mov ecx, esi
call fcn.00477a40
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4b9949
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.0043e570
add esp, 0xc
jmp 0x4b9949
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4b9949
mov edx, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.00478210
test byte [edi + 4], 1
je 0x4b995f
test esi, esi
je 0x4b995f
or dword [esi + 4], 1
mov ax, word [edi + 0x24]
mov word [esi + 0x24], ax
push 3
mov edx, esi
mov ecx, ebx
call fcn.004b78f0
mov esi, dword [ebx + 0x14]
add esp, 4
mov ecx, dword [esp + 0x50]
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 + 0x4c]
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 + 0x13]
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 + 0x18]
mov ax, word [ecx + eax + 8]
mov word [ecx + edx + 8], ax
mov eax, dword [ebx + 0x14]
mov edx, dword [esp + 0x18]
inc byte [eax + edx + 0xe]
mov ecx, dword [ebx + 0x14]
add ecx, edx
mov dword [esp + 0x1c], 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 + 0x5c]
mov eax, dword [esp + 0x50]
mov ecx, esi
mov esi, eax
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x5c], esi
test eax, eax
jg 0x4b9844
mov esi, dword [esp + 0x1c]
cmp byte [ebx + 8], 0x2c
jne 0x4b9bb1
mov al, byte [edi]
cmp al, 0x35
je 0x4b9a23
cmp al, 0x2d
jne 0x4b9b19
mov eax, dword [edi + 0xc]
mov cl, byte [eax]
cmp cl, 0xad
jne 0x4b9a30
mov cl, byte [eax + 2]
cmp cl, 0xae
jne 0x4b9a3a
mov edx, dword [eax + 0x14]
jmp 0x4b9a49
cmp cl, 0x88
jne 0x4b9b19
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 0x1c]
mov edx, dword [edx]
mov dword [esp + 0x6c], edx
cmp edx, 1
jle 0x4b9b19
mov ecx, dword [edi + 0x10]
call fcn.004773b0
cmp eax, edx
jne 0x4b9b19
mov eax, dword [edi + 0xc]
test dword [eax + 4], 0x800
je 0x4b9a81
test dword [ecx + 4], 0x800
jne 0x4b9b19
xor eax, eax
mov dword [esp + 0x58], eax
test edx, edx
jle 0x4b9b07
nop
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
push eax
call fcn.00477430
mov edx, dword [edi + 0x10]
add esp, 4
mov ecx, dword [esp + 0x14]
mov esi, eax
push dword [esp + 0x58]
call fcn.00477430
movzx edx, byte [edi]
add esp, 4
mov ecx, dword [esp + 0x14]
push eax
push esi
call fcn.00477d00
add esp, 8
test eax, eax
je 0x4b9adb
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.004b78f0
mov ecx, dword [esp + 0x28]
add esp, 4
mov edx, ebx
push eax
call fcn.004b8ed0
mov eax, dword [esp + 0x5c]
add esp, 4
inc eax
mov dword [esp + 0x58], eax
cmp eax, dword [esp + 0x6c]
jl 0x4b9a90
mov esi, dword [ebx + 0x14]
add esi, dword [esp + 0x18]
or word [esi + 0xa], 6
xor eax, eax
mov word [esi + 0xc], ax
cmp byte [ebx + 8], 0x2c
jne 0x4b9bb1
cmp byte [edi], 0x31
jne 0x4b9bb1
cmp dword [esi + 0x18], 0
jne 0x4b9bb1
mov ecx, dword [edi + 0xc]
cmp byte [ecx], 0xae
jne 0x4b9bb1
mov eax, dword [edi + 0x14]
cmp dword [eax + 0x34], 0
jne 0x4b9bb1
cmp dword [eax + 0x44], 0
jne 0x4b9bb1
xor edx, edx
mov dword [esp + 0x58], edx
call fcn.004773b0
test eax, eax
jle 0x4b9bb1
push 2
mov edx, edi
mov ecx, ebx
call fcn.004b78f0
mov ecx, dword [ebx + 0x14]
mov esi, eax
mov eax, dword [esp + 0x5c]
add esp, 4
inc eax
mov dword [esp + 0x58], eax
lea edx, [esi + esi*2]
add edx, edx
push esi
mov dword [ecx + edx*8 + 0x18], eax
mov edx, ebx
mov ecx, dword [esp + 0x28]
call fcn.004b8ed0
add esp, 4
mov edx, esi
mov ecx, ebx
push dword [ebp + 8]
call fcn.004b8130
mov ecx, dword [edi + 0xc]
add esp, 4
call fcn.004773b0
cmp dword [esp + 0x58], eax
jl 0x4b9b60
mov eax, dword [ebx + 0x14]
add eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
or dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x40]
or dword [eax + 0x24], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret