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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
mov ebx, dword [ebp + 8]
xor ecx, ecx
push edi
xor eax, eax
mov dword [ebp - 0x44], ecx
mov byte [ebp - 1], 0
mov edi, dword [ebx + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], edi
mov ecx, dword [edi + 0x6c]
mov dword [ebp - 0x48], ecx
cmp dword [edi + 0x70], ecx
jg 0x4e37f0
push eax
push eax
push eax
push 0x11
push edi
call fcn.004efc20
add esp, 0x14
mov dword [ebp - 0x48], eax
jmp 0x4e3823
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp + 0x10]
xor edx, edx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 0x18], edx
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], edx
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
add eax, esi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 0x48]
mov dword [ebp - 0x24], eax
cmp esi, dword [ebp - 0x34]
jae 0x4e3b02
jmp 0x4e3863
mov eax, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x24]
mov eax, dword [eax]
mov edi, dword [esi]
or eax, dword [ebx + 4]
mov ebx, dword [ebp + 8]
jne 0x4e39d9
test byte [esi + 0xa], 2
jne 0x4e39d9
test byte [edi + 4], 1
jne 0x4e39d9
mov eax, 3
mov dword [ebp - 0x6c], fcn.004e9960
mov word [ebp - 0x5c], ax
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x70]
push edi
push eax
mov dword [ebp - 0x68], 0x529310
call fcn.0054d8e0
add esp, 8
cmp word [ebp - 0x5c], 0
je 0x4e39d6
push 0
push 0
push edi
push dword [ebx]
call fcn.004e8f30
mov edx, dword [ebp - 0x14]
add esp, 0x10
mov ecx, dword [ebx]
mov edi, eax
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], ecx
test edx, edx
je 0x4e39d3
test edi, edi
je 0x4e39d6
mov eax, dword [edx + 4]
and eax, 0x20000001
cmp eax, 0x20000000
je 0x4e3909
mov eax, dword [edi + 4]
and eax, 0x20000001
cmp eax, 0x20000000
jne 0x4e394d
cmp byte [ebx + 0xc8], 2
jae 0x4e394d
push edx
push ecx
call fcn.00511640
push edi
mov edi, dword [ebp - 0x3c]
push edi
call fcn.00511640
push 0
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], 0x572dd0
push eax
push 0x98
push edi
mov dword [ebp - 0x50], 1
call fcn.0050e4c0
add esp, 0x20
mov dword [ebp - 0x14], eax
jmp 0x4e39d6
push 0
push 0x34
push ecx
call fcn.0050c410
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4e39ba
push 0x34
push 0
push edi
call fcn.0048e2e0
or eax, 0xffffffff
mov byte [edi], 0x2c
mov word [edi + 0x22], ax
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x10], eax
push edi
mov eax, dword [eax + 4]
and eax, 0x200104
or dword [edi + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xc], eax
mov eax, dword [eax + 4]
and eax, 0x200104
or dword [edi + 4], eax
call fcn.004e9e20
mov eax, dword [ebx]
add esp, 0x10
mov eax, dword [eax + 0x78]
cmp dword [edi + 0x18], eax
jle 0x4e39d3
push eax
push str.Expression_tree_is_too_large__maximum_depth__d_
push ebx
call fcn.0050e160
add esp, 0xc
jmp 0x4e39d3
mov eax, dword [ebp - 0x14]
push eax
push dword [ebx]
call fcn.00511640
mov eax, dword [ebp - 0x40]
push eax
push dword [ebx]
call fcn.00511640
add esp, 0x10
mov dword [ebp - 0x14], edi
mov edx, dword [ebp - 8]
mov edi, dword [ebp + 0x10]
mov eax, dword [esi + 0x14]
cmp eax, dword [edi + 0x2c]
jne 0x4e3af0
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4e3af0
test byte [edi + 0x24], 8
je 0x4e3a0b
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4e3a0b
test cl, cl
js 0x4e3af0
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0x14]
and eax, dword [ebp + 0x18]
or ecx, eax
jne 0x4e3af0
mov eax, dword [esi + 0x1c]
test eax, eax
js 0x4e3af0
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*4 + 0xd]
mov byte [ebp - 0x38], al
push dword [ebp - 0x38]
push dword [esi]
call fcn.005190f0
add esp, 8
test eax, eax
je 0x4e3aed
mov ecx, dword [esi + 0x1c]
xor edi, edi
cmp ecx, 0x40
jl 0x4e3a60
mov ebx, 0x80000000
jmp 0x4e3a75
mov eax, ecx
xor ebx, ebx
bts edi, eax
cmp eax, 0x20
cmovae ebx, edi
xor edi, ebx
cmp eax, 0x40
cmovae ebx, edi
cmp byte [ebp - 1], 0
jne 0x4e3a9f
mov edx, dword [ebp - 0x28]
lea ecx, [ecx + ecx*4]
mov eax, dword [edx + 4]
push dword [eax + ecx*4]
push dword [edx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.004d8420
add esp, 0x10
mov byte [ebp - 1], 1
mov ecx, edi
mov eax, ebx
and ecx, dword [ebp - 0x18]
and eax, dword [ebp - 0x1c]
or ecx, eax
jne 0x4e3aea
mov eax, dword [ebp - 8]
inc eax
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.00550b70
add esp, 0xc
test eax, eax
jne 0x4e4307
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 8]
or dword [ebp - 0x18], edi
or dword [ebp - 0x1c], ebx
mov eax, dword [eax + 0x30]
mov ebx, dword [ebp + 8]
mov dword [eax + edx*4], esi
mov edx, dword [ebp - 0x40]
mov dword [ebp - 8], edx
jmp 0x4e3af0
mov ebx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
add esi, 0x30
cmp esi, dword [ebp - 0x34]
jb 0x4e3860
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
movzx eax, dx
not esi
mov edx, dword [ebp - 0x24]
mov word [edx + 0x28], ax
mov word [edx + 0x18], ax
mov eax, dword [ebp - 0x1c]
not eax
mov dword [edx + 0x24], 0x4241
mov edx, dword [ecx + 0x38]
or eax, 0x80000000
and eax, dword [ecx + 0x3c]
and esi, edx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x18], esi
mov esi, 0x3f
mov dword [ebp - 0x3c], edx
movzx ecx, word [eax + 0x2a]
mov dword [ebp - 0x40], ecx
movzx eax, cx
cmp si, cx
jge 0x4e3b53
mov dword [ebp - 0x38], esi
jmp 0x4e3b60
movsx esi, cx
mov dword [ebp - 0x38], esi
xor esi, esi
cmp si, ax
jge 0x4e3b9c
mov edi, dword [ebp - 0x38]
xor esi, esi
mov ebx, dword [ebp - 0x1c]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [ebp - 0x18]
and ecx, ebx
or edx, ecx
je 0x4e3b8b
inc dword [ebp - 8]
inc esi
cmp esi, edi
jl 0x4e3b68
mov ebx, dword [ebp + 8]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x3c], 0
jg 0x4e3bb9
jl 0x4e3bab
test edx, edx
jae 0x4e3bb9
movsx eax, cx
mov ecx, dword [ebp - 8]
add ecx, 0xffffffc1
add ecx, eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebx]
movzx eax, ax
inc eax
movzx eax, ax
movsx esi, ax
mov dword [ebp - 0x30], eax
lea edx, [esi*4 + 7]
and edx, 0xfffffff8
lea eax, [esi*4 + 9]
add eax, esi
mov dword [ebp - 0x3c], edx
and eax, 0xfffffff8
add edx, 0x48
add eax, edx
mov dword [ebp - 0x40], eax
cdq
push edx
push eax
test ecx, ecx
je 0x4e3bfe
push ecx
call fcn.0050c410
add esp, 0xc
jmp 0x4e3c06
call fcn.0051c920
add esp, 8
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4e430a
push dword [ebp - 0x40]
push 0
push eax
call fcn.0048e2e0
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov edx, dword [ebp - 8]
lea eax, [ecx + 0x48]
mov dword [ecx + 0x20], eax
add eax, dword [ebp - 0x3c]
mov dword [ecx + 8], eax
lea eax, [eax + esi*2]
add eax, 2
mov dword [ecx + 4], eax
lea eax, [eax + esi*2]
mov esi, dword [ebp + 0xc]
mov dword [ecx + 0x1c], eax
mov eax, dword [ebp - 0x30]
mov word [ecx + 0x34], ax
movzx eax, dx
mov word [ecx + 0x32], ax
mov eax, dword [ebp - 0x24]
mov dword [eax + 0x20], ecx
mov eax, dword [ebp - 0x28]
mov dword [ecx + 0xc], eax
xor eax, eax
mov dword [ecx], str.auto_index
mov esi, dword [esi + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp - 0x34]
jae 0x4e3dc8
mov edx, dword [ebp + 0x10]
mov edi, ecx
mov eax, dword [esi + 0x14]
cmp eax, dword [edx + 0x2c]
jne 0x4e3db6
movzx ecx, word [esi + 0xc]
test cl, 0x82
je 0x4e3db6
test byte [edx + 0x24], 8
je 0x4e3cb1
mov eax, dword [esi]
test byte [eax + 4], 1
jne 0x4e3cb1
test cl, cl
js 0x4e3db6
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x24]
and ecx, dword [ebp + 0x14]
and eax, dword [ebp + 0x18]
or ecx, eax
jne 0x4e3db6
mov eax, dword [esi + 0x1c]
test eax, eax
js 0x4e3db6
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x10]
mov eax, dword [eax + 4]
mov al, byte [eax + ecx*4 + 0xd]
mov byte [ebp - 0x4c], al
push dword [ebp - 0x4c]
push dword [esi]
call fcn.005190f0
add esp, 8
test eax, eax
je 0x4e3db3
mov eax, dword [esi + 0x1c]
xor edx, edx
movzx ecx, ax
mov dword [ebp - 0x50], ecx
cmp eax, 0x40
jl 0x4e3d0c
mov esi, 0x80000000
jmp 0x4e3d1f
xor esi, esi
bts edx, eax
cmp eax, 0x20
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
cmovae esi, edx
mov ecx, edx
mov eax, esi
and ecx, dword [ebp - 0x3c]
and eax, dword [ebp - 0x40]
or ecx, eax
jne 0x4e3db0
mov ecx, dword [ebp - 0x30]
or dword [ebp - 0x40], esi
mov eax, dword [edi + 4]
mov esi, dword [ebp - 0x10]
mov ecx, dword [ecx]
or dword [ebp - 0x3c], edx
mov edx, dword [ebp - 0x50]
mov word [eax + esi*2], dx
test dword [ecx + 4], 0x200
je 0x4e3d5a
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
jmp 0x4e3d60
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0xc]
test dword [ecx + 4], 0x100
mov dword [ebp - 0x50], eax
je 0x4e3d6f
push ecx
jmp 0x4e3d90
test eax, eax
je 0x4e3d7f
test dword [eax + 4], 0x100
je 0x4e3d7f
push eax
jmp 0x4e3d90
push ecx
push ebx
call fcn.005111d0
add esp, 8
test eax, eax
jne 0x4e3d9d
push dword [ebp - 0x50]
push ebx
call fcn.005111d0
add esp, 8
test eax, eax
je 0x4e3da1
mov ecx, dword [eax]
jmp 0x4e3da6
mov ecx, 0x58b880
mov eax, dword [edi + 0x20]
mov dword [eax + esi*4], ecx
inc esi
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x30]
mov edx, dword [ebp + 0x10]
add esi, 0x30
mov dword [ebp - 0x30], esi
cmp esi, dword [ebp - 0x34]
jb 0x4e3c82
mov edi, dword [ebp - 0x20]
xor esi, esi
cmp dword [ebp - 0x38], esi
jle 0x4e3e17
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [ebp - 0x18]
and ecx, dword [ebp - 0x1c]
or edx, ecx
je 0x4e3e08
mov eax, dword [ebx + 4]
mov word [eax + edi*2], si
mov eax, dword [ebx + 0x20]
mov dword [eax + edi*4], 0x58b880
inc edi
inc esi
cmp esi, dword [ebp - 0x38]
jl 0x4e3dd5
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x3c], 0
jg 0x4e3e63
jl 0x4e3e28
cmp dword [eax + 0x38], 0
jae 0x4e3e63
mov eax, dword [ebp - 0x28]
mov ecx, 0x3f
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
cmp cx, word [eax + 0x2a]
jge 0x4e3e69
mov edi, eax
mov edi, edi
mov eax, dword [esi + 4]
mov word [eax + edx*2], cx
inc ecx
mov eax, dword [esi + 0x20]
mov dword [eax + edx*4], 0x58b880
inc edx
movsx eax, word [edi + 0x2a]
cmp ecx, eax
jl 0x4e3e40
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x10], edx
jmp 0x4e3e69
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [esi + 4]
or ecx, 0xffffffff
mov word [eax + edx*2], cx
mov eax, dword [esi + 0x20]
mov ecx, dword [ebp + 0x1c]
mov dword [eax + edx*4], 0x58b880
mov eax, dword [ebx + 0x28]
mov edx, dword [ebp - 8]
mov dword [ecx + 8], eax
inc edx
inc dword [ebx + 0x28]
mov esi, dword [ecx + 8]
mov ecx, dword [edi + 0x6c]
cmp dword [edi + 0x70], ecx
jg 0x4e3ea9
push 0
push edx
push esi
push 0x63
push edi
call fcn.004efc20
add esp, 0x14
jmp 0x4e3ed7
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [ebp - 0x20]
mov dword [eax + ecx*4], 0x63
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
push dword [ebp - 0xc]
mov esi, dword [ebx + 8]
push ebx
call fcn.0051b4f0
mov edx, eax
add esp, 8
test edx, edx
je 0x4e3f22
mov eax, dword [esi]
cmp byte [eax + 0x51], 0
je 0x4e3f10
cmp dword [eax + 0x1f8], 0
jne 0x4e3f22
add dword [edx], 0xffffffff
jne 0x4e3f22
push edx
push dword [edx + 0xc]
call fcn.0050c300
add esp, 8
jmp 0x4e3f22
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov edx, dword [ebp + 0x1c]
movzx eax, byte [edx + 0x34]
lea ecx, [eax + eax*8]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 0x30], 0x10
lea esi, [eax + ecx*8]
mov dword [ebp + 0xc], esi
je 0x4e4026
mov ecx, dword [edi + 0x6c]
mov edx, dword [esi + 0x24]
mov dword [ebp + 0x10], edx
mov dword [ebp - 0x44], ecx
cmp dword [edi + 0x70], ecx
jg 0x4e3f6f
push 0
push 0
push 0
push 0x45
push edi
call fcn.004efc20
mov edx, dword [ebp + 0x10]
add esp, 0x14
mov dword [ebp - 0x44], eax
jmp 0x4e3fa5
mov ebx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
mov esi, dword [esi + 0x20]
cmp dword [edi + 0x70], ecx
jg 0x4e3fc4
push esi
push 0
push edx
push 0xd
push edi
call fcn.004efc20
mov edx, dword [ebp + 0x10]
add esp, 0x14
jmp 0x4e3ff2
mov ebx, dword [ebp + 8]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x4e400e
push 0
push 0
push edx
push 0xe
push edi
call fcn.004efc20
add esp, 0x14
mov esi, eax
jmp 0x4e4077
mov ebx, dword [ebp + 8]
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xe
jmp 0x4e405b
mov esi, dword [edi + 0x6c]
mov edx, dword [edx + 4]
cmp dword [edi + 0x70], esi
jg 0x4e4045
push 0
push 0
push edx
push 0x25
push edi
call fcn.004efc20
add esp, 0x14
mov esi, eax
jmp 0x4e4077
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov edi, dword [ebp - 0x20]
mov dword [eax + ecx*4], 0x25
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4e409e
dec dword [ebx + 0x38]
mov ecx, dword [ebx + 0x38]
push 0x10
push ecx
push eax
push ebx
mov dword [ebp - 0x2c], ecx
call fcn.00511920
mov eax, dword [ebp - 0x24]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov al, byte [ebx + 0x13]
test al, al
jne 0x4e40ad
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
jmp 0x4e40bc
dec al
mov byte [ebx + 0x13], al
movzx eax, al
mov eax, dword [ebx + eax*4 + 0x94]
push 0
push 0
push 0
push 0
push eax
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x1c]
push dword [eax + 4]
push dword [ebp - 0xc]
push ebx
call fcn.005174b0
mov ecx, dword [edi + 0x6c]
add esp, 0x20
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x1c]
mov eax, dword [eax + 8]
mov dword [ebp - 0x50], eax
cmp dword [edi + 0x70], ecx
jg 0x4e4105
mov edx, dword [ebp + 0x10]
push 0
push edx
push eax
push 0x82
push edi
call fcn.004efc20
add esp, 0x14
jmp 0x4e4136
mov edx, dword [ebp - 0x50]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [ebp + 0x10]
mov dword [eax + ecx*4], 0x82
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
test ecx, ecx
jle 0x4e4150
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 0x10
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [edi + 0x6c]
cmp dword [ebp - 0x14], 0
je 0x4e417c
mov edx, dword [edi + 0xc]
not dword [ebp - 0x2c]
mov eax, dword [edx + 0x3c]
add eax, dword [edx + 0x38]
jns 0x4e4173
push dword [ebp - 0x2c]
push edi
push edx
call fcn.004fd830
add esp, 0xc
jmp 0x4e417c
mov eax, dword [edx + 0x40]
mov edx, dword [ebp - 0x2c]
mov dword [eax + edx*4], ecx
mov edx, dword [ebp + 0xc]
test byte [edx + 0x30], 0x10
je 0x4e422a
mov ecx, dword [ebp - 0x44]
test ecx, ecx
jns 0x4e4194
mov ecx, dword [edi + 0x6c]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x4e41a3
mov ecx, 0x5b6fa4
jmp 0x4e41ac
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x4c]
mov ebx, dword [ebp + 8]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x1c]
push dword [eax + 8]
push dword [edx + 0x28]
push dword [eax + 4]
push esi
push ebx
call fcn.00546360
mov ecx, dword [edi + 0x6c]
add esp, 0x14
cmp dword [edi + 0x70], ecx
jg 0x4e41f2
push 0
push esi
push 0
push 0xb
push edi
call fcn.004efc20
mov ecx, dword [ebp + 0xc]
add esp, 0x14
and dword [ecx + 0x30], 0xffffffef
jmp 0x4e4297
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebp + 0xc]
and dword [ecx + 0x30], 0xffffffef
jmp 0x4e4297
mov eax, dword [ebp + 0x1c]
lea edx, [esi + 1]
mov ecx, dword [edi + 0x6c]
mov eax, dword [eax + 4]
mov dword [ebp + 0x1c], eax
cmp dword [edi + 0x70], ecx
jg 0x4e424f
push 0
push edx
push eax
push 5
push edi
call fcn.004efc20
add esp, 0x14
jmp 0x4e4280
mov ebx, dword [ebp + 0x1c]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [ebp + 8]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x4e4297
lea ecx, [eax + eax*4]
mov edx, 3
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4e42a9
mov eax, 0x5b6fa4
jmp 0x4e42ba
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], edx
test ecx, ecx
je 0x4e42d8
mov al, byte [ebx + 0x13]
cmp al, 8
jae 0x4e42d8
movzx eax, al
mov dword [ebx + eax*4 + 0x94], ecx
inc byte [ebx + 0x13]
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x4e42ed
mov eax, 0x5b6fa4
mov dword [eax + 8], edx
jmp 0x4e430a
mov ecx, dword [ebp - 0x48]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4e430a
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
pop esi
test eax, eax
je 0x4e431d
push eax
push dword [ebx]
call fcn.00511640
add esp, 8
pop edi
pop ebx
mov esp, ebp
pop ebp
ret