Function at 0x4ed130
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 + 0x18], ecx
push esi
xorps xmm0, xmm0
mov dword [esp + 0x54], ebx
push edi
mov edx, dword [ebx]
movlpd qword [esp + 0x60], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x48], 0
mov eax, dword [edx]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x10], eax
mov byte [esp + 0xf], 0
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
cmp byte [ecx + 0x51], 0
jne 0x4edd6f
mov ecx, dword [ebp + 8]
mov esi, dword [ebx + 0x14]
lea ecx, [ecx + ecx*2]
shl ecx, 4
add esi, ecx
mov dword [esp + 0x14], ecx
lea ecx, [edx + 0x1e8]
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], ecx
mov edi, dword [esi]
mov dword [esp + 0x6c], edi
mov edx, dword [edi + 0xc]
test edx, edx
je 0x4ed1c4
call fcn.004edf10
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], edx
jmp 0x4ed1da
movlpd qword [esp + 0x70], xmm0
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x40], ecx
movzx ecx, byte [edi]
mov dword [esp + 0x28], ecx
cmp ecx, 0x31
jne 0x4ed215
mov edx, edi
mov ecx, eax
call fcn.004b34a0
test eax, eax
jne 0x4edd6f
test dword [edi + 4], 0x800
mov edx, dword [edi + 0x14]
mov ecx, dword [esp + 0x24]
je 0x4ed20e
call fcn.004ece10
jmp 0x4ed24d
call fcn.004ee010
jmp 0x4ed24d
cmp ecx, 0x32
jne 0x4ed22a
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
jmp 0x4ed253
mov edx, dword [edi + 0x10]
test edx, edx
je 0x4ed23c
mov ecx, dword [esp + 0x24]
call fcn.004edf10
jmp 0x4ed24d
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], edx
mov eax, dword [esp + 0x24]
mov edx, edi
mov ecx, eax
mov dword [eax], 0
call fcn.004edf10
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
cmp dword [ecx], 0
je 0x4ed280
mov edx, 0x1000
or word [esi + 0xa], dx
test byte [edi + 4], 1
je 0x4ed2e5
movsx edx, word [edi + 0x24]
call fcn.004ee310
or dword [esp + 0x30], edx
mov ecx, eax
mov eax, dword [esp + 0x2c]
or eax, ecx
mov dword [esp + 0x38], ecx
add dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x3c], edx
adc dword [esp + 0x3c], 0xffffffff
shrd dword [esp + 0x50], eax, 1
shr eax, 1
cmp eax, edx
jb 0x4ed2f7
ja 0x4ed2cd
cmp dword [esp + 0x50], ecx
jb 0x4ed2f7
push str.ON_clause_references_tables_to_its_right
push dword [esp + 0x14]
call fcn.0047b1c0
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x38], ecx
jmp 0x4ed2fb
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 eax, dword [esp + 0x28]
mov dword [esi + 0x14], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
cmp eax, 0x31
je 0x4ed470
cmp eax, 0x35
jb 0x4ed334
cmp eax, 0x39
jbe 0x4ed470
cmp eax, 0x32
je 0x4ed470
cmp eax, 0x2d
je 0x4ed470
mov al, byte [edi]
cmp al, 0x30
jne 0x4ed447
cmp byte [ebx + 8], 0x2c
jne 0x4ed447
mov eax, dword [edi + 0x14]
add eax, 4
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], eax
nop dword [eax]
mov edx, dword [eax]
test edx, edx
je 0x4ed38a
mov ecx, dword [esp + 0x1c]
push 0
push 0
call fcn.004b0600
add esp, 8
mov esi, eax
jmp 0x4ed38c
xor esi, esi
mov edx, dword [edi + 0xc]
test edx, edx
je 0x4ed3a5
mov ecx, dword [esp + 0x1c]
push 0
push 0
call fcn.004b0600
add esp, 8
jmp 0x4ed3a7
xor eax, eax
mov ecx, dword [esp + 0x10]
push esi
push eax
mov eax, dword [esp + 0x58]
movzx edx, byte [eax + 0x6c5f58]
call fcn.004affe0
add esp, 8
test eax, eax
je 0x4ed3d5
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.004ebd70
mov ecx, dword [esp + 0x24]
add esp, 4
mov esi, eax
mov edx, ebx
push esi
call fcn.004ed130
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 [ecx + esi + 8]
mov word [ecx + edx*8 + 8], ax
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x50]
inc ecx
mov dword [esp + 0x50], ecx
inc byte [eax + esi + 0xe]
mov eax, dword [esp + 0x54]
add eax, 0x18
mov dword [esp + 0x54], eax
cmp ecx, 2
jl 0x4ed370
jmp 0x4ed67a
cmp al, 0x2b
jne 0x4ed67e
push dword [ebp + 8]
mov ecx, dword [esp + 0x24]
mov edx, ebx
call fcn.004ec5d0
mov esi, dword [ebx + 0x14]
add esp, 4
add esi, dword [esp + 0x14]
mov dword [esp + 0x18], esi
jmp 0x4ed67e
mov edx, dword [edi + 0xc]
test edx, edx
je 0x4ed487
test dword [edx + 4], 0x1000
je 0x4ed487
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x4ed477
mov eax, dword [edi + 0x10]
mov dword [esp + 0x50], eax
test eax, eax
je 0x4ed4a6
test dword [eax + 4], 0x1000
je 0x4ed4a2
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4ed492
mov dword [esp + 0x50], eax
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [esp + 0x40]
and eax, dword [esp + 0x44]
or ecx, eax
mov dword [esp + 0x54], 0x1fff
je 0x4ed4c8
mov dword [esp + 0x54], 0x800
mov eax, dword [esi + 0x18]
test eax, eax
jle 0x4ed4d9
lea ecx, [eax + eax*2]
mov eax, dword [edx + 0x14]
mov edx, dword [eax + ecx*8 - 0x14]
push dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push edx
push dword [esp + 0x4c]
lea edx, [esp + 0x7c]
push dword [esp + 0x4c]
call fcn.004ed0b0
add esp, 0x10
test eax, eax
je 0x4ed51a
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x74]
mov dword [esi + 0x1c], eax
call fcn.004ebf70
and ax, word [esp + 0x54]
mov word [esi + 0xc], ax
mov ecx, dword [esp + 0x28]
mov eax, 0x800
cmp ecx, 0x2d
jne 0x4ed52c
or word [esi + 0xa], ax
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4ed67e
push ecx
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x74]
push eax
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.004ed0b0
add esp, 0x10
test eax, eax
je 0x4ed67e
cmp dword [esi + 0x14], 0
mov dword [esp + 0x60], 0
jl 0x4ed613
mov esi, dword [esp + 0x1c]
mov edx, edi
push 0
push 0
mov ecx, esi
call fcn.004b0600
add esp, 8
mov dword [esp + 0x50], eax
cmp byte [esi + 0x51], 0
je 0x4ed5a0
test eax, eax
je 0x4edd6f
mov edx, eax
mov ecx, esi
call fcn.004b03b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 3
mov edx, eax
mov ecx, ebx
call fcn.004ebd70
add esp, 4
test eax, eax
je 0x4edd6f
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.004ec480
add esp, 4
cmp dword [esp + 0x28], 0x2d
jne 0x4ed5e3
mov eax, 0x800
or word [esi + 0xa], ax
mov esi, dword [ebx + 0x14]
add esi, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], esi
or word [esi + 0xa], 8
call fcn.004ecd70
test eax, eax
je 0x4ed61b
mov eax, 0x800
or word [esi + 0xc], ax
mov dword [esp + 0x60], eax
jmp 0x4ed61b
mov dword [esp + 0x50], edi
mov dword [esp + 0x5c], esi
mov esi, dword [esp + 0x50]
mov edx, esi
mov ecx, dword [esp + 0x10]
call fcn.004ebee0
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x44]
or ecx, dword [esp + 0x3c]
or word [edx + 0xa], ax
mov eax, dword [esp + 0x70]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x74]
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.004ebf70
add ax, word [esp + 0x60]
and ax, word [esp + 0x54]
mov word [edx + 0xc], ax
mov esi, dword [esp + 0x18]
cmp byte [ebx + 8], 0x2c
jne 0x4edd5a
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.004ebfa0
add esp, 0xc
test eax, eax
je 0x4ed932
mov eax, dword [edi + 0x14]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x60], eax
test ecx, ecx
je 0x4ed6db
push 0
mov edx, ecx
mov ecx, dword [esp + 0x20]
push 0
call fcn.004b0600
mov ecx, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x44], eax
jmp 0x4ed6e3
mov dword [esp + 0x44], 0
cmp dword [esp + 0x4c], 0
je 0x4ed74b
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
cmp byte [eax + 0x51], 0
jne 0x4ed74b
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 0x4ed74b
mov edi, dword [esp + 0x34]
mov ebx, eax
movzx edx, cl
movzx eax, byte [edx + 0x6c64c0]
and al, 0x20
not al
and al, cl
mov byte [ebx], al
mov eax, dword [esp + 0x44]
mov ecx, dword [eax + 8]
movzx eax, byte [edx + 0x6c6f10]
mov byte [esi + ecx], al
inc esi
mov ebx, dword [edi + 8]
add ebx, esi
mov cl, byte [ebx]
test cl, cl
jne 0x4ed714
mov edi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x1c]
cmp byte [ecx + 0x51], 0
jne 0x4ed7af
mov eax, dword [esp + 0x44]
mov edx, dword [eax + 8]
test edx, edx
jne 0x4ed764
xor ecx, ecx
jmp 0x4ed77f
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ed770
sub ecx, esi
and ecx, 0x3fffffff
mov al, byte [edx + ecx - 1]
add edx, ecx
cmp dword [esp + 0x4c], 0
mov ecx, dword [esp + 0x48]
je 0x4ed7a0
xor esi, esi
cmp al, 0x40
movzx eax, al
cmove ecx, esi
mov al, byte [eax + 0x6c6f10]
inc al
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x1c]
mov byte [edx - 1], al
jmp 0x4ed7b7
mov eax, dword [esp + 0x48]
mov dword [esp + 0x54], eax
cmp dword [esp + 0x4c], 0
mov eax, 0x6c6998
mov esi, 0x70a48c
cmove esi, eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x6c], esi
test eax, eax
je 0x4ed7e5
push 0
push 0
mov edx, eax
call fcn.004b0600
add esp, 8
jmp 0x4ed7e7
xor eax, eax
push dword [esp + 0x34]
mov edx, eax
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov ecx, esi
call fcn.004af350
add esp, 8
mov edx, 0x39
mov ecx, esi
push eax
call fcn.004affe0
add esp, 8
test eax, eax
je 0x4ed822
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.004ebd70
mov ecx, dword [esp + 0x24]
add esp, 4
mov edx, ebx
mov dword [esp + 0x5c], eax
push eax
call fcn.004ed130
mov eax, dword [esp + 0x64]
add esp, 4
test eax, eax
je 0x4ed862
mov ecx, dword [esp + 0x1c]
mov edx, eax
push 0
push 0
call fcn.004b0600
add esp, 8
jmp 0x4ed864
xor eax, eax
push dword [esp + 0x44]
mov edx, eax
push ecx
push dword [esp + 0x74]
mov ecx, esi
call fcn.004af350
add esp, 8
mov edx, 0x38
mov ecx, esi
push eax
call fcn.004affe0
add esp, 8
test eax, eax
je 0x4ed89e
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.004ebd70
mov ecx, dword [esp + 0x24]
add esp, 4
mov edx, ebx
mov dword [esp + 0x6c], eax
push eax
call fcn.004ed130
mov ecx, dword [ebx + 0x14]
add esp, 4
cmp dword [esp + 0x54], 0
mov eax, dword [esp + 0x14]
lea esi, [ecx + eax]
mov dword [esp + 0x18], esi
je 0x4ed932
mov eax, dword [esp + 0x5c]
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 + 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 + 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 0x4edd5a
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.004ec2c0
add esp, 0xc
test eax, eax
jle 0x4edb40
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 + 0x6c], eax
test esi, esi
je 0x4ed99f
mov ecx, dword [esp + 0x24]
mov edx, esi
call fcn.004edf10
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x48], edx
jmp 0x4ed9b4
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
mov eax, dword [esp + 0x74]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x50], eax
test ecx, ecx
je 0x4ed9c9
mov edx, ecx
mov ecx, dword [esp + 0x24]
call fcn.004edf10
jmp 0x4ed9da
xorps xmm0, xmm0
movlpd qword [esp + 0x70], xmm0
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
and eax, dword [esp + 0x50]
and edx, dword [esp + 0x48]
or eax, edx
jne 0x4edb20
test esi, esi
je 0x4eda00
mov ecx, dword [esp + 0x1c]
mov edx, esi
push eax
push eax
call fcn.004b0600
add esp, 8
jmp 0x4eda02
xor eax, eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x10]
push 0
push 0x34
mov ecx, dword [eax]
call fcn.00478070
mov esi, eax
add esp, 8
test esi, esi
je 0x4eda71
push 0x34
push 0
push esi
call fcn.00639410
or eax, 0xffffffff
mov byte [esi], 0x2e
mov word [esi + 0x22], ax
add esp, 0xc
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4eda4b
mov dword [esi + 0x10], eax
mov eax, dword [eax + 4]
and eax, 0x200104
or dword [esi + 4], eax
mov ecx, esi
call fcn.004afd10
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x78]
cmp dword [esi + 0x18], eax
jle 0x4eda86
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ecx
call fcn.0047b1c0
add esp, 0xc
jmp 0x4eda86
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4eda86
mov edx, eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
call fcn.004b03b0
test byte [edi + 4], 1
je 0x4eda94
test esi, esi
je 0x4eda94
or dword [esi + 4], 1
push 3
mov edx, esi
mov ecx, ebx
call fcn.004ebd70
mov esi, dword [ebx + 0x14]
add esp, 4
mov ecx, dword [esp + 0x4c]
lea edx, [eax + eax*2]
mov eax, dword [esp + 0x50]
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 + 0x6c]
mov dword [esp + 0x60], esi
test eax, eax
jg 0x4ed981
mov esi, dword [esp + 0x18]
cmp byte [ebx + 8], 0x2c
jne 0x4edd5a
mov al, byte [edi]
cmp al, 0x35
je 0x4edb58
cmp al, 0x2d
jne 0x4edc91
mov edx, dword [edi + 0xc]
mov al, byte [edx]
cmp al, 0xab
jne 0x4edb64
mov al, byte [edx + 0x26]
cmp al, 0xac
jne 0x4edb6d
mov eax, dword [edx + 0x14]
jmp 0x4edb7a
cmp al, 0x86
jne 0x4edc91
mov eax, dword [edx + 0x14]
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esp + 0x60], ecx
cmp ecx, 1
jle 0x4edc91
mov eax, dword [edi + 0x10]
mov bl, byte [eax]
mov byte [esp + 0xf], bl
cmp bl, 0xab
mov ebx, dword [esp + 0x58]
jne 0x4edba6
mov bl, byte [eax + 0x26]
mov byte [esp + 0xf], bl
mov ebx, dword [esp + 0x58]
cmp byte [esp + 0xf], 0xac
jne 0x4edbbb
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x10]
jmp 0x4edbda
cmp byte [esp + 0xf], 0x86
jne 0x4edbd2
mov eax, dword [eax + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x58], eax
mov eax, dword [edi + 0x10]
jmp 0x4edbda
mov dword [esp + 0x58], 1
cmp dword [esp + 0x58], ecx
jne 0x4edc91
test dword [edx + 4], 0x800
je 0x4edbfa
test dword [eax + 4], 0x800
jne 0x4edc91
xor eax, eax
mov dword [esp + 0x58], eax
test ecx, ecx
jle 0x4edc7f
mov edx, dword [edi + 0xc]
mov ecx, dword [esp + 0x10]
push eax
call fcn.004af7f0
mov edx, dword [edi + 0x10]
add esp, 4
mov ecx, dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x58]
call fcn.004af7f0
movzx edx, byte [edi]
add esp, 4
mov ecx, dword [esp + 0x10]
push eax
push esi
call fcn.004affe0
add esp, 8
test eax, eax
je 0x4edc53
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.004ebd70
mov ecx, dword [esp + 0x24]
add esp, 4
mov edx, ebx
push eax
call fcn.004ed130
mov eax, dword [esp + 0x5c]
add esp, 4
inc eax
mov dword [esp + 0x58], eax
cmp eax, dword [esp + 0x60]
jl 0x4edc08
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 0x4edd5a
cmp byte [edi], 0x31
jne 0x4edd5a
cmp dword [esi + 0x18], 0
jne 0x4edd5a
mov eax, dword [edi + 0xc]
cmp byte [eax], 0xac
jne 0x4edd5a
mov eax, dword [edi + 0x14]
cmp dword [eax + 0x34], 0
jne 0x4edd5a
xor edx, edx
mov dword [esp + 0x58], edx
nop dword [eax]
mov ecx, dword [edi + 0xc]
mov al, byte [ecx]
cmp al, 0xab
jne 0x4edcdc
mov al, byte [ecx + 0x26]
cmp al, 0xac
jne 0x4edce7
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
jmp 0x4edcf9
cmp al, 0x86
jne 0x4edcf4
mov eax, dword [ecx + 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
jmp 0x4edcf9
mov eax, 1
cmp edx, eax
jge 0x4edd5a
push 2
mov edx, edi
mov ecx, ebx
call fcn.004ebd70
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 + 0x24]
call fcn.004ed130
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 0x4edcd0
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