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

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xc8
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp + 0x74], esi
call fcn.004d3543
cmp dword [ebx + 8], esi
mov dword [ebp + 0x64], esi
mov dword [ebp + 0x38], esi
jbe 0x4d78b0
mov edx, dword [ebx + 0x60]
mov ecx, dword [ebx + 0x14]
mov esi, dword [ebx + 8]
mov eax, dword [ecx]
cmp edx, dword [eax]
jne 0x4d78aa
mov eax, dword [eax + 8]
cmp dword [ebp + 0x64], eax
ja 0x4d78aa
inc eax
mov dword [ebp + 0x64], eax
add ecx, 4
dec esi
jne 0x4d7898
test byte [ebx + 0x90], 1
je 0x4d7a01
mov ecx, dword [ebx + 0xc]
xor eax, eax
test ecx, ecx
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x5c], eax
jbe 0x4d7a01
mov ecx, dword [ebx + 0x18]
mov esi, dword [ecx + eax*4]
mov ecx, esi
call fcn.004cf723
test eax, eax
jne 0x4d79f1
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4d79f1
mov edx, dword [esi + 0x10]
mov edx, dword [edx]
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx + edx*4]
mov edx, dword [edx]
mov edi, dword [ebx + 0x10]
mov edx, dword [edi + edx*4]
test byte [edx + 4], 0x10
je 0x4d79f1
xor edx, edx
cmp edx, dword [esi + 4]
jae 0x4d7934
mov edi, dword [esi + 8]
mov dword [ebp + 0x68], edi
mov edi, dword [ebp + 0x68]
mov edi, dword [edi]
mov edi, dword [ecx + edi*4]
cmp edx, dword [edi + 0xc]
jne 0x4d7931
add dword [ebp + 0x68], 4
inc edx
cmp edx, dword [esi + 4]
jb 0x4d791a
cmp edx, dword [esi + 4]
je 0x4d79f1
push 0xffffffffffffffff
and eax, 0xffffff
push 0xffffffffffffffff
or eax, 0x10000000
push eax
mov ecx, ebx
call fcn.004cf1b8
cmp eax, 0xffffffff
je 0x4d8c21
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + eax*4]
push esi
mov ecx, eax
mov dword [ebp + 0x68], eax
call fcn.004cf6cf
and dword [ebp + 0x6c], 0
cmp dword [esi + 0xc], 0
jbe 0x4d79e7
mov eax, dword [ebp + 0x6c]
fldz
mov ecx, dword [esi + 0x10]
mov edx, dword [ebp + 0x68]
mov edx, dword [edx + 0x10]
mov edi, eax
shl edi, 2
mov ecx, dword [edi + ecx]
push ecx
push ecx
fstp qword [esp]
push eax
push dword [ebp + 0x64]
mov dword [edi + edx], ecx
push dword [ebx + 0x60]
mov ecx, ebx
call fcn.004cf15c
mov ecx, dword [esi + 0x10]
mov dword [edi + ecx], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [ebp + 0x68]
mov edx, dword [eax + 8]
mov ecx, dword [edi + ecx]
mov dword [edi + edx], ecx
mov eax, dword [eax + 8]
mov ecx, dword [edi + eax]
cmp ecx, 0xffffffff
je 0x4d8c21
mov edx, dword [ebp + 0x68]
mov edx, dword [edx + 0x10]
mov eax, dword [ebx + 0x14]
mov edx, dword [edi + edx]
mov edx, dword [eax + edx*4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edx + 0x18]
inc dword [ebp + 0x6c]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp + 0x6c]
cmp eax, dword [esi + 0xc]
jb 0x4d7974
inc dword [ebp + 0x64]
mov dword [ebp + 0x74], 1
mov eax, dword [ebp + 0x5c]
inc eax
cmp eax, dword [ebp + 0x50]
mov dword [ebp + 0x5c], eax
jb 0x4d78d0
test byte [ebx + 0x93], 2
je 0x4d7b6a
and dword [ebp + 0x70], 0
cmp dword [ebx + 0xc], 0
jbe 0x4d7b6a
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp + 0x70]
mov esi, dword [eax + ecx*4]
mov ecx, esi
mov dword [ebp + 0x5c], esi
call fcn.004cf7d2
test eax, eax
je 0x4d7b5b
lea ecx, [ebp + 0x60]
xor eax, eax
inc eax
push ecx
mov dword [ebp + 0x68], eax
push eax
mov ecx, esi
jmp 0x4d7b4b
xor ecx, ecx
test eax, eax
jbe 0x4d7a65
mov edx, dword [ebx + 0x14]
mov esi, dword [ebp + 0x60]
mov esi, dword [esi + ecx*4]
mov esi, dword [edx + esi*4]
cmp dword [esi + 0xc], ecx
jne 0x4d7a65
inc ecx
cmp ecx, eax
jb 0x4d7a52
cmp ecx, eax
je 0x4d7b3e
mov eax, dword [ebp + 0x58]
push 0xffffffffffffffff
and eax, 0xffffff
push 0xffffffffffffffff
or eax, 0x10000000
push eax
mov ecx, ebx
call fcn.004cf1b8
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp + 0x50], edi
je 0x4d8c21
mov eax, dword [ebx + 0x18]
mov esi, dword [eax + edi*4]
push dword [ebp + 0x5c]
mov ecx, esi
call fcn.004cf6cf
and dword [ebp + 0x6c], 0
cmp dword [ebp + 0x58], 0
jbe 0x4d7b26
mov ecx, dword [esi + 8]
fldz
mov eax, dword [ebp + 0x6c]
mov edx, dword [ebp + 0x60]
push ecx
push ecx
fstp qword [esp]
mov edi, eax
push eax
push dword [ebp + 0x64]
shl edi, 2
mov edx, dword [edi + edx]
mov dword [edi + ecx], edx
push dword [ebx + 0x60]
mov ecx, ebx
call fcn.004cf15c
mov ecx, dword [ebp + 0x60]
mov dword [edi + ecx], eax
mov ecx, dword [ebp + 0x60]
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + ecx]
mov dword [edi + eax], ecx
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + eax]
cmp ecx, 0xffffffff
je 0x4d8c21
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x14]
mov edx, dword [edi + edx]
mov edx, dword [eax + edx*4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edx + 0x18]
inc dword [ebp + 0x6c]
mov dword [eax + 0x18], ecx
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp + 0x58]
jb 0x4d7aae
mov edi, dword [ebp + 0x50]
jmp 0x4d7b26
lea eax, [eax + edi*4]
mov ecx, dword [eax - 4]
mov dword [eax], ecx
dec edi
cmp edi, dword [ebp + 0x70]
mov eax, dword [ebx + 0x18]
ja 0x4d7b1d
inc dword [ebp + 0x70]
inc dword [ebp + 0x64]
mov dword [eax + edi*4], esi
mov dword [ebp + 0x74], 1
inc dword [ebp + 0x68]
mov ecx, dword [ebp + 0x5c]
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x68]
call fcn.004cf6e9
test eax, eax
mov dword [ebp + 0x58], eax
jne 0x4d7a49
inc dword [ebp + 0x70]
mov eax, dword [ebp + 0x70]
cmp eax, dword [ebx + 0xc]
jb 0x4d7a1c
and dword [ebp + 0x70], 0
cmp dword [ebx + 0xc], 0
jbe 0x4d7d0c
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp + 0x70]
mov edi, dword [eax + ecx*4]
mov eax, dword [edi]
and eax, 0xff000000
cmp eax, 0x34000000
mov dword [ebp + 0x5c], edi
jne 0x4d7cfd
cmp dword [edi + 4], 4
jne 0x4d7be9
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x14]
mov edx, dword [eax]
mov edx, dword [ecx + edx*4]
mov esi, dword [ebx + 0x10]
mov dword [ebp + 0x50], edx
mov edx, dword [edx]
mov edx, dword [esi + edx*4]
test byte [edx + 5], 1
jne 0x4d7be9
mov edx, dword [ebp + 0x50]
cmp dword [edx + 0xc], 0
jne 0x4d7be9
mov edx, dword [eax + 4]
mov edx, dword [ecx + edx*4]
cmp dword [edx + 0xc], 1
jne 0x4d7be9
mov edx, dword [eax + 8]
mov edx, dword [ecx + edx*4]
cmp dword [edx + 0xc], 2
jne 0x4d7be9
mov eax, dword [eax + 0xc]
mov eax, dword [ecx + eax*4]
cmp dword [eax + 0xc], 3
je 0x4d7cfd
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x10000004
mov ecx, ebx
call fcn.004cf1b8
push 0xffffffffffffffff
push 0xffffffffffffffff
mov esi, eax
push 0x34000004
mov ecx, ebx
mov dword [ebp + 0x50], esi
call fcn.004cf1b8
cmp esi, 0xffffffff
je 0x4d8c21
cmp eax, 0xffffffff
je 0x4d8c21
mov ecx, dword [ebx + 0x18]
mov esi, dword [ecx + esi*4]
mov eax, dword [ecx + eax*4]
push edi
mov ecx, esi
mov dword [ebp + 0x68], eax
call fcn.004cf6cf
mov ecx, dword [ebp + 0x68]
push edi
call fcn.004cf6cf
and dword [ebp + 0x74], 0
mov eax, dword [ebp + 0x5c]
mov ecx, dword [eax + 4]
mov edx, dword [ebp + 0x74]
cmp edx, ecx
mov eax, dword [eax + 8]
jae 0x4d7c56
mov eax, dword [eax + edx*4]
jmp 0x4d7c5a
mov eax, dword [eax + ecx*4 - 4]
mov ecx, dword [ebp + 0x74]
fldz
mov edx, dword [esi + 8]
push ecx
push ecx
fstp qword [esp]
push ecx
push dword [ebp + 0x64]
mov edi, ecx
shl edi, 2
mov dword [edi + edx], eax
push dword [ebx + 0x60]
mov ecx, ebx
call fcn.004cf15c
mov ecx, dword [ebp + 0x68]
mov edx, dword [ecx + 8]
mov dword [edi + edx], eax
mov eax, dword [ecx + 8]
mov ecx, dword [esi + 0x10]
mov eax, dword [edi + eax]
mov dword [edi + ecx], eax
mov eax, dword [esi + 0x10]
mov ecx, dword [edi + eax]
cmp ecx, 0xffffffff
je 0x4d8c21
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x14]
mov edx, dword [edi + edx]
mov edx, dword [eax + edx*4]
mov eax, dword [eax + ecx*4]
inc dword [ebp + 0x74]
cmp dword [ebp + 0x74], 4
mov ecx, dword [edx + 0x18]
mov dword [eax + 0x18], ecx
jb 0x4d7c41
mov ecx, dword [ebp + 0x50]
jmp 0x4d7ccd
lea eax, [eax + ecx*4]
mov edx, dword [eax - 4]
mov dword [eax], edx
dec ecx
cmp ecx, dword [ebp + 0x70]
mov eax, dword [ebx + 0x18]
ja 0x4d7cc4
mov edi, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x5c]
mov dword [eax + edi*4], esi
xor esi, esi
inc esi
inc edi
push esi
mov dword [ebp + 0x70], edi
call fcn.004cee13
dec dword [ebx + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp + 0x68]
inc dword [ebp + 0x64]
mov dword [eax + edi*4], ecx
mov dword [ebp + 0x74], esi
inc dword [ebp + 0x70]
mov eax, dword [ebp + 0x70]
cmp eax, dword [ebx + 0xc]
jb 0x4d7b78
test byte [ebx + 0x90], 6
je 0x4d8264
xor edx, edx
cmp dword [ebx + 0xc], edx
mov dword [ebp + 0x60], edx
jbe 0x4d7f39
mov eax, dword [ebx + 0x18]
mov esi, dword [eax + edx*4]
mov eax, dword [esi]
and eax, 0xff000000
cmp eax, 0x10000000
mov dword [ebp + 0x3c], esi
jne 0x4d7f2c
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx]
mov eax, dword [ebx + 0x14]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx]
mov edi, dword [ebx + 0x10]
mov ecx, dword [edi + ecx*4]
test byte [ecx + 4], 0x10
jne 0x4d7f2c
and dword [ebp + 0x6c], 0
cmp dword [esi + 0xc], 0
jbe 0x4d7d99
mov ecx, dword [esi + 8]
mov edi, dword [ecx]
mov edi, dword [eax + edi*4]
mov edi, dword [edi + 0x2c]
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x68], ecx
mov ecx, dword [ebp + 0x68]
mov ecx, dword [ecx]
mov ecx, dword [eax + ecx*4]
mov edi, dword [ebp + 0x50]
cmp edi, dword [ecx + 0x2c]
jne 0x4d7d99
inc dword [ebp + 0x6c]
mov ecx, dword [ebp + 0x6c]
add dword [ebp + 0x68], 4
cmp ecx, dword [esi + 0xc]
jb 0x4d7d7a
mov eax, dword [ebp + 0x6c]
cmp eax, dword [esi + 0xc]
je 0x4d7f2c
mov eax, dword [esi + 4]
and dword [ebp + 0x70], 0
and dword [ebp + 0x74], 0
test eax, eax
jbe 0x4d7ece
mov edx, dword [ebp + 0x74]
mov ecx, dword [esi + 8]
lea edi, [ecx + edx*4]
mov edx, dword [edi]
cmp edx, 0xffffffff
je 0x4d7ea3
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx + edx*4]
mov edx, dword [edx + 0x2c]
mov dword [ebp + 0x54], edx
xor edx, edx
cmp dword [ebp + 0x74], eax
jae 0x4d7e07
sub eax, dword [ebp + 0x74]
mov dword [ebp + 0x68], edi
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0x68]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x4d7dfe
mov eax, dword [ecx + eax*4]
mov edi, dword [ebp + 0x54]
cmp edi, dword [eax + 0x2c]
jne 0x4d7dfe
inc edx
add dword [ebp + 0x68], 4
dec dword [ebp + 0x5c]
jne 0x4d7de8
push 0xffffffffffffffff
and edx, 0xffffff
push 0xffffffffffffffff
or edx, 0x10000000
push edx
mov ecx, ebx
call fcn.004cf1b8
cmp eax, 0xffffffff
je 0x4d8c21
mov ecx, dword [ebx + 0x18]
mov edi, dword [ecx + eax*4]
push esi
mov ecx, edi
mov dword [ebp + 0x4c], edi
call fcn.004cf6cf
mov eax, dword [ebp + 0x74]
inc dword [ebp + 0x70]
cmp eax, dword [esi + 4]
mov dword [ebp + 0x6c], eax
jae 0x4d7ea3
and dword [ebp + 0x5c], 0
mov eax, dword [ebp + 0x6c]
mov ecx, dword [esi + 8]
shl eax, 2
mov ecx, dword [eax + ecx]
cmp ecx, 0xffffffff
je 0x4d7e98
mov edx, dword [ebx + 0x14]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ebp + 0x54]
cmp edx, dword [ecx + 0x2c]
jne 0x4d7e98
mov edx, dword [edi + 0x10]
mov ecx, dword [esi + 0x10]
mov edi, dword [eax + ecx]
mov ecx, dword [ebp + 0x5c]
mov dword [ecx + edx], edi
mov edx, dword [esi + 8]
mov edi, dword [ebp + 0x4c]
mov edi, dword [edi + 8]
mov edx, dword [eax + edx]
mov dword [ecx + edi], edx
mov edx, dword [esi + 8]
or dword [eax + edx], 0xffffffff
mov edi, dword [ebp + 0x4c]
add ecx, 4
mov dword [ebp + 0x5c], ecx
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [esi + 4]
jb 0x4d7e4b
inc dword [ebp + 0x74]
mov eax, dword [esi + 4]
cmp dword [ebp + 0x74], eax
jb 0x4d7db8
cmp dword [ebp + 0x70], 0
jbe 0x4d7ece
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x18]
sub eax, ecx
lea esi, [edx + eax*4]
lea edi, [ebp]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 0x3c]
mov eax, dword [ebx + 0xc]
dec eax
cmp eax, dword [ebp + 0x60]
jbe 0x4d7ef1
mov edx, eax
sub edx, dword [ebp + 0x70]
shl edx, 2
mov ecx, dword [ebx + 0x18]
mov edi, dword [ecx + edx]
sub edx, 4
dec eax
cmp eax, dword [ebp + 0x60]
mov dword [ecx + eax*4], edi
ja 0x4d7edf
xor eax, eax
cmp dword [ebp + 0x70], eax
jbe 0x4d7f11
mov ecx, dword [ebp + 0x60]
shl ecx, 2
mov edi, dword [ebp + eax*4]
mov edx, dword [ebx + 0x18]
mov dword [ecx + edx], edi
inc eax
add ecx, 4
cmp eax, dword [ebp + 0x70]
jb 0x4d7efe
xor edi, edi
inc edi
push edi
mov ecx, esi
call fcn.004cee13
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x70]
dec dword [ebx + 0xc]
lea edx, [eax + ecx - 1]
mov dword [ebp + 0x74], edi
inc edx
cmp edx, dword [ebx + 0xc]
mov dword [ebp + 0x60], edx
jb 0x4d7d27
and dword [ebp + 0x60], 0
cmp dword [ebx + 0xc], 0
jbe 0x4d8264
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebx + 0x18]
shl eax, 2
mov edi, dword [eax + ecx]
mov eax, dword [edi]
and eax, 0xff000000
cmp eax, 0x10000000
mov dword [ebp + 0x50], edi
jne 0x4d8255
mov esi, dword [edi + 0x10]
mov eax, dword [ebx + 0x14]
mov ecx, dword [esi]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx]
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + ecx*4]
test byte [ecx + 4], 0x10
jne 0x4d8255
mov edx, dword [edi + 0xc]
xor ecx, ecx
and dword [ebp + 0x6c], ecx
and dword [ebp + 0x70], ecx
test edx, edx
jbe 0x4d8003
mov edx, dword [edi + 8]
mov dword [ebp + 0x68], esi
sub dword [ebp + 0x68], edx
mov dword [ebp + 0x48], edx
mov edx, dword [ebp + 0x48]
mov esi, dword [edx]
mov esi, dword [eax + esi*4]
mov esi, dword [esi + 0xc]
mov dword [ebp + 0x5c], esi
mov esi, dword [ebp + 0x68]
mov edx, dword [esi + edx]
mov edx, dword [eax + edx*4]
mov edx, dword [edx + 0xc]
cmp edx, dword [ebp + 0x5c]
jne 0x4d7fc0
inc ecx
and dword [ebp + 0x58], 0
cmp dword [ebp + 0x70], 0
jbe 0x4d7ff4
mov edx, dword [edi + 8]
mov dword [ebp + 0x44], edx
mov edx, dword [ebp + 0x44]
mov edx, dword [edx]
mov edx, dword [eax + edx*4]
mov esi, dword [ebp + 0x5c]
cmp dword [edx + 0xc], esi
je 0x4d7ff1
inc dword [ebp + 0x58]
mov edx, dword [ebp + 0x58]
add dword [ebp + 0x44], 4
cmp edx, dword [ebp + 0x70]
jb 0x4d7fd0
jmp 0x4d7ff4
inc dword [ebp + 0x6c]
inc dword [ebp + 0x70]
mov edx, dword [edi + 0xc]
add dword [ebp + 0x48], 4
cmp dword [ebp + 0x70], edx
jb 0x4d7fa0
cmp ecx, edx
je 0x4d8255
mov eax, dword [ebp + 0x6c]
inc eax
cmp eax, edx
je 0x4d8255
cmp ecx, 1
ja 0x4d8026
cmp dword [ebp + 0x6c], 0
je 0x4d8255
and dword [ebp + 0x70], 0
cmp ecx, 1
jbe 0x4d80cf
push 0xffffffffffffffff
and ecx, 0xffffff
or ecx, 0x10000000
push 0xffffffffffffffff
push ecx
mov ecx, ebx
call fcn.004cf1b8
cmp eax, 0xffffffff
je 0x4d8c21
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + eax*4]
push edi
mov ecx, eax
mov dword [ebp + 0x5c], eax
call fcn.004cf6cf
xor eax, eax
cmp dword [edi + 0xc], eax
mov dword [ebp + 0x70], 1
mov dword [ebp + 0x6c], eax
jbe 0x4d80cf
mov dword [ebp + 0x54], eax
mov eax, dword [ebp + 0x6c]
mov esi, dword [edi + 8]
mov ecx, dword [edi + 0x10]
mov edx, dword [ebx + 0x14]
shl eax, 2
mov esi, dword [eax + esi]
mov esi, dword [edx + esi*4]
mov ecx, dword [eax + ecx]
mov edx, dword [edx + ecx*4]
mov edx, dword [edx + 0xc]
cmp edx, dword [esi + 0xc]
jne 0x4d80c4
mov edx, dword [ebp + 0x5c]
mov esi, dword [edx + 0x10]
mov edx, dword [ebp + 0x54]
mov dword [edx + esi], ecx
mov ecx, dword [edi + 8]
mov esi, dword [ebp + 0x5c]
mov ecx, dword [eax + ecx]
mov esi, dword [esi + 8]
mov dword [edx + esi], ecx
mov ecx, dword [edi + 8]
or dword [eax + ecx], 0xffffffff
add edx, 4
mov dword [ebp + 0x54], edx
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [edi + 0xc]
jb 0x4d8079
mov eax, dword [edi + 4]
and dword [ebp + 0x74], 0
test eax, eax
jbe 0x4d81d8
mov edx, dword [ebp + 0x74]
mov ecx, dword [edi + 8]
lea esi, [ecx + edx*4]
mov edx, dword [esi]
cmp edx, 0xffffffff
je 0x4d81c9
mov ecx, dword [ebx + 0x14]
mov edx, dword [ecx + edx*4]
mov edx, dword [edx + 0xc]
mov dword [ebp + 0x54], edx
xor edx, edx
cmp dword [ebp + 0x74], eax
jae 0x4d812d
sub eax, dword [ebp + 0x74]
mov dword [ebp + 0x48], esi
mov dword [ebp + 0x5c], eax
mov eax, dword [ebp + 0x48]
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x4d8124
mov eax, dword [ecx + eax*4]
mov esi, dword [ebp + 0x54]
cmp esi, dword [eax + 0xc]
jne 0x4d8124
inc edx
add dword [ebp + 0x48], 4
dec dword [ebp + 0x5c]
jne 0x4d810e
push 0xffffffffffffffff
and edx, 0xffffff
push 0xffffffffffffffff
or edx, 0x10000000
push edx
mov ecx, ebx
call fcn.004cf1b8
cmp eax, 0xffffffff
je 0x4d8c21
mov ecx, dword [ebx + 0x18]
mov esi, dword [ecx + eax*4]
push edi
mov ecx, esi
mov dword [ebp + 0x4c], esi
call fcn.004cf6cf
mov eax, dword [ebp + 0x74]
inc dword [ebp + 0x70]
cmp eax, dword [edi + 4]
mov dword [ebp + 0x6c], eax
jae 0x4d81c9
and dword [ebp + 0x5c], 0
mov eax, dword [ebp + 0x6c]
mov ecx, dword [edi + 8]
shl eax, 2
mov ecx, dword [eax + ecx]
cmp ecx, 0xffffffff
je 0x4d81be
mov edx, dword [ebx + 0x14]
mov ecx, dword [edx + ecx*4]
mov edx, dword [ebp + 0x54]
cmp edx, dword [ecx + 0xc]
jne 0x4d81be
mov edx, dword [esi + 0x10]
mov ecx, dword [edi + 0x10]
mov esi, dword [eax + ecx]
mov ecx, dword [ebp + 0x5c]
mov dword [ecx + edx], esi
mov edx, dword [edi + 8]
mov esi, dword [ebp + 0x4c]
mov esi, dword [esi + 8]
mov edx, dword [eax + edx]
mov dword [ecx + esi], edx
mov edx, dword [edi + 8]
or dword [eax + edx], 0xffffffff
mov esi, dword [ebp + 0x4c]
add ecx, 4
mov dword [ebp + 0x5c], ecx
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [edi + 4]
jb 0x4d8171
inc dword [ebp + 0x74]
mov eax, dword [edi + 4]
cmp dword [ebp + 0x74], eax
jb 0x4d80de
cmp dword [ebp + 0x70], 0
jbe 0x4d81f4
mov ecx, dword [ebp + 0x70]
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x18]
sub eax, ecx
lea esi, [edx + eax*4]
lea edi, [ebp]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x50]
mov eax, dword [ebx + 0xc]
dec eax
cmp eax, dword [ebp + 0x60]
jbe 0x4d8217
mov edx, eax
sub edx, dword [ebp + 0x70]
shl edx, 2
mov ecx, dword [ebx + 0x18]
mov esi, dword [ecx + edx]
sub edx, 4
dec eax
cmp eax, dword [ebp + 0x60]
mov dword [ecx + eax*4], esi
ja 0x4d8205
xor eax, eax
cmp dword [ebp + 0x70], eax
jbe 0x4d8237
mov ecx, dword [ebp + 0x60]
shl ecx, 2
mov esi, dword [ebp + eax*4]
mov edx, dword [ebx + 0x18]
mov dword [ecx + edx], esi
inc eax
add ecx, 4
cmp eax, dword [ebp + 0x70]
jb 0x4d8224
xor esi, esi
inc esi
push esi
mov ecx, edi
call fcn.004cee13
mov eax, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x70]
dec dword [ebx + 0xc]
lea eax, [eax + ecx - 1]
mov dword [ebp + 0x60], eax
mov dword [ebp + 0x74], esi
inc dword [ebp + 0x60]
mov eax, dword [ebp + 0x60]
cmp eax, dword [ebx + 0xc]
jb 0x4d7f47
cmp dword [ebp + 0x74], 0
je 0x4d8271
mov ecx, ebx
call fcn.004d3543
mov esi, dword [ebp + 0x64]
shl esi, 2
push esi
call fcn.00548137
test eax, eax
pop ecx
mov dword [ebp + 0x38], eax
je 0x4d8c21
mov ecx, esi
mov esi, dword [ebp + 0x38]
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
xor edx, edx
rep stosb byte es:[edi], al
cmp dword [ebx + 8], edx
jbe 0x4d82ce
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + edx*4]
and dword [eax + 0x40], 0
mov ecx, dword [ebx + 0x60]
cmp ecx, dword [eax]
jne 0x4d82c8
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
lea ecx, [esi + ecx*4]
cmp eax, dword [ecx]
jb 0x4d82c8
inc eax
mov dword [ecx], eax
inc edx
cmp edx, dword [ebx + 8]
jb 0x4d82a7
mov eax, dword [ebx + 0xc]
test eax, eax
ja 0x4d82f0
and dword [ebp + 0x68], 0
push dword [ebp + 0x38]
call fcn.00547cdc
mov eax, dword [ebp + 0x68]
pop ecx
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret
mov eax, dword [ebp + 0x5c]
mov ecx, dword [ebx + 0x18]
dec eax
mov esi, dword [ecx + eax*4]
mov ecx, esi
mov dword [ebp + 0x5c], eax
call fcn.004cf723
test eax, eax
jne 0x4d8c12
mov edi, dword [esi]
and edi, 0xffffff
cmp dword [esi + 0xc], eax
je 0x4d83fb
mov ecx, esi
call fcn.004cf766
test eax, eax
je 0x4d8334
push 1
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 0x10]
jmp 0x4d83f4
mov ecx, esi
call fcn.004cf79c
test eax, eax
je 0x4d835f
push 1
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 0x10]
mov ecx, ebx
call fcn.004d3464
push 0
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 8]
jmp 0x4d83f4
mov ecx, esi
call fcn.004cf7ae
test eax, eax
je 0x4d839e
push 1
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 0x10]
mov ecx, ebx
call fcn.004d3464
push 0
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 8]
mov ecx, ebx
call fcn.004d3464
mov ecx, dword [esi + 8]
push 0
lea eax, [ebp + 0x20]
push edi
push eax
mov eax, dword [esi + 0xc]
lea eax, [ecx + eax*4]
jmp 0x4d83f3
mov ecx, esi
call fcn.004cf7c0
test eax, eax
je 0x4d83fb
push 1
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 0x10]
mov ecx, ebx
call fcn.004d3464
push 0
push edi
lea eax, [ebp + 0x20]
push eax
push dword [esi + 8]
mov ecx, ebx
call fcn.004d3464
mov ecx, dword [esi + 8]
push 0
push edi
lea eax, [ebp + 0x20]
push eax
mov eax, dword [esi + 0xc]
lea eax, [ecx + eax*4]
push eax
mov ecx, ebx
call fcn.004d3464
mov ecx, dword [esi + 8]
push 0
lea eax, [ebp + 0x20]
push edi
push eax
mov eax, dword [esi + 0xc]
lea eax, [ecx + eax*8]
push eax
mov ecx, ebx
call fcn.004d3464
xor eax, eax
lea edi, [ebp + 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ecx, esi
stosd dword es:[edi], eax
call fcn.004cf730
test eax, eax
je 0x4d84ff
mov eax, dword [esi + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + eax*4]
mov edx, dword [ebx + 0x10]
mov dword [ebp + 0x4c], eax
mov eax, dword [eax]
mov edi, dword [edx + eax*4]
mov eax, dword [edi + 4]
test al, 4
jne 0x4d84ff
test byte [ebx + 0x90], 1
je 0x4d8445
test al, 0x10
jne 0x4d84ff
mov eax, dword [esi + 8]
mov edx, dword [eax]
mov edx, dword [ecx + edx*4]
mov edi, dword [ebx + 0x60]
cmp edi, dword [edx]
jne 0x4d84ff
and dword [ebp + 0x74], 0
cmp dword [esi + 4], 0
jbe 0x4d84ff
mov edx, dword [ebx + 0x34]
mov dword [ebp + 0x48], eax
and edx, 8
lea eax, [ebp + 0x10]
sub dword [ebp + 0x48], eax
mov dword [ebp + 0x50], edx
cmp dword [ebp + 0x50], 0
mov edx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x48]
lea eax, [eax + edx*4]
mov eax, dword [ebp + eax + 0x10]
mov eax, dword [ecx + eax*4]
mov edi, dword [eax + 0x2c]
mov edx, dword [ebx + 0x18]
mov edx, dword [edx + edi*4]
je 0x4d84ac
mov edi, dword [ebp + 0x4c]
mov edi, dword [edi + 0x44]
test edi, edi
je 0x4d84ac
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4d84ac
cmp edi, eax
jne 0x4d84ff
mov eax, dword [edx + 0xc]
and dword [ebp + 0x6c], 0
test eax, eax
mov dword [ebp + 0x54], eax
jbe 0x4d84dd
mov edx, dword [edx + 0x10]
mov eax, dword [edx]
mov eax, dword [ecx + eax*4]
mov edi, dword [ebp + 0x5c]
cmp edi, dword [eax + 0x38]
jne 0x4d84dd
cmp edi, dword [eax + 0x3c]
jne 0x4d84dd
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
add edx, 4
cmp eax, dword [ebp + 0x54]
jb 0x4d84bd
mov eax, dword [ebp + 0x54]
cmp dword [ebp + 0x6c], eax
jne 0x4d84f0
mov eax, dword [ebp + 0x74]
mov dword [ebp + eax*4 + 0x10], 1
inc dword [ebp + 0x74]
mov eax, dword [ebp + 0x74]
cmp eax, dword [esi + 4]
jb 0x4d8478
mov ecx, esi
call fcn.004cf79c
test eax, eax
jne 0x4d852c
mov ecx, esi
call fcn.004cf7ae
test eax, eax
jne 0x4d852c
mov ecx, esi
call fcn.004cf7c0
test eax, eax
jne 0x4d852c
mov dword [ebp + eax*4 - 0x20], eax
inc eax
cmp eax, 4
jb 0x4d8520
jmp 0x4d8563
and dword [ebp + 0x6c], 0
cmp dword [esi + 0xc], 0
jbe 0x4d8563
mov eax, dword [esi + 0x10]
mov ecx, dword [ebx + 0x14]
lea edx, [ebp - 0x20]
sub eax, edx
mov edx, dword [ebp + 0x6c]
shl edx, 2
inc dword [ebp + 0x6c]
lea edi, [eax + edx]
mov edi, dword [ebp + edi - 0x20]
mov edi, dword [ecx + edi*4]
mov edi, dword [edi + 0xc]
mov dword [ebp + edx - 0x20], edi
mov edx, dword [ebp + 0x6c]
cmp edx, dword [esi + 0xc]
jb 0x4d8541
and dword [ebp + 0x54], 0
lea eax, [ebp + 0x60]
push eax
push 0
jmp 0x4d8b52
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor ecx, ecx
cmp dword [ebp + 0x58], ecx
stosd dword es:[edi], eax
mov dword [ebp + 0x70], ecx
mov dword [ebp + 0x4c], ecx
stosd dword es:[edi], eax
mov dword [ebp + 0x74], ecx
jbe 0x4d875f
mov ecx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x60]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebx + 0x60]
cmp ecx, dword [eax]
mov dword [ebp + 0x68], eax
jne 0x4d874a
mov edx, dword [eax + 0x2c]
cmp edx, 0xffffffff
je 0x4d874a
cmp dword [eax + 0x40], 0
je 0x4d85c5
mov dword [ebp + 0x70], 1
mov eax, dword [eax + 0xc]
lea eax, [ebp + eax*4 - 0x10]
mov ecx, dword [eax]
test ecx, ecx
jne 0x4d85d5
inc dword [ebp + 0x4c]
inc ecx
mov dword [eax], ecx
mov eax, dword [ebx + 0x18]
mov edi, dword [eax + edx*4]
mov ecx, edi
mov dword [ebp + 0x3c], edi
call fcn.004cf79c
test eax, eax
jne 0x4d8622
mov ecx, edi
call fcn.004cf7ae
test eax, eax
jne 0x4d8622
mov ecx, edi
call fcn.004cf7c0
test eax, eax
jne 0x4d8622
inc eax
cmp dword [edi + 0xc], eax
jbe 0x4d8617
mov ecx, dword [ebp + 0x74]
mov edx, dword [ebp + 0x68]
cmp ecx, dword [edx + 0xc]
jne 0x4d8738
mov ecx, dword [ebp + 0x68]
mov ecx, dword [ecx + 0xc]
jmp 0x4d8732
mov edx, dword [ebp + 0x68]
cmp dword [edx + 0x40], 0
je 0x4d871c
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + eax*4 - 0x20]
cmp ecx, dword [edx + 0xc]
mov dword [ebp + 0x34], ecx
je 0x4d871c
mov ecx, dword [edi + 0xc]
or dword [ebp + 0x44], 0xffffffff
or dword [ebp + 0x6c], 0xffffffff
and dword [ebp + 0x64], 0
test ecx, ecx
mov dword [ebp + 0x50], ecx
jbe 0x4d871c
mov ecx, dword [ebp + 0x60]
lea eax, [ecx + eax*4]
mov ecx, dword [edi + 0x10]
mov dword [ebp + 0x40], eax
mov eax, dword [eax]
mov dword [ebp + 0x30], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp + 0x48], ecx
mov ecx, dword [ebp + 0x48]
mov ecx, dword [ecx]
cmp dword [ebp + 0x30], ecx
jne 0x4d8683
mov edx, dword [ebp + 0x64]
mov dword [ebp + 0x44], edx
mov ecx, dword [eax + ecx*4]
mov edx, dword [ebp + 0x34]
cmp edx, dword [ecx + 0xc]
jne 0x4d8694
mov ecx, dword [ebp + 0x64]
mov dword [ebp + 0x6c], ecx
inc dword [ebp + 0x64]
mov ecx, dword [ebp + 0x64]
add dword [ebp + 0x48], 4
cmp ecx, dword [ebp + 0x50]
jb 0x4d8673
mov edx, dword [ebp + 0x44]
cmp edx, 0xffffffff
je 0x4d871c
mov eax, dword [ebp + 0x6c]
cmp eax, 0xffffffff
je 0x4d871c
mov ecx, eax
mov eax, dword [edi + 8]
mov edx, dword [eax + edx*4]
shl ecx, 2
cmp edx, dword [eax + ecx]
mov dword [ebp + 0x30], ecx
jne 0x4d871c
mov edx, dword [ebp + 0x50]
lea ecx, [edx + edx]
cmp dword [edi + 4], ecx
mov dword [ebp + 0x34], ecx
jb 0x4d86ec
mov edi, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x6c]
add edi, edx
mov edi, dword [eax + edi*4]
add ecx, edx
cmp edi, dword [eax + ecx*4]
jne 0x4d8719
mov ecx, dword [ebp + 0x34]
mov edi, dword [ebp + 0x3c]
lea edx, [edx + edx*2]
cmp dword [edi + 4], edx
jb 0x4d8709
mov edi, dword [ebp + 0x44]
mov edx, dword [ebp + 0x6c]
add edi, ecx
add edx, ecx
mov ecx, dword [eax + edi*4]
cmp ecx, dword [eax + edx*4]
jne 0x4d8719
mov edi, dword [ebp + 0x3c]
mov eax, dword [edi + 0x10]
mov ecx, dword [ebp + 0x30]
mov eax, dword [ecx + eax]
mov ecx, dword [ebp + 0x40]
mov dword [ecx], eax
jmp 0x4d871c
mov edi, dword [ebp + 0x3c]
push dword [edi]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x20]
test eax, eax
je 0x4d873b
mov eax, dword [ebp + 0x68]
mov ecx, dword [eax + 0xc]
xor eax, eax
inc eax
cmp dword [ebp + ecx*4 - 0x10], eax
jbe 0x4d873b
mov dword [ebp + 0x70], eax
inc dword [ebp + 0x74]
mov eax, dword [ebp + 0x74]
cmp eax, dword [ebp + 0x58]
jb 0x4d858f
mov eax, dword [ebp + 0x58]
cmp dword [ebp + 0x74], eax
jae 0x4d8759
mov dword [ebp + 0x70], 1
cmp dword [ebp + 0x70], 0
jne 0x4d87c4
mov ecx, esi
call fcn.004cf730
test eax, eax
jne 0x4d8788
mov ecx, dword [ebp + eax*4 - 0x10]
cmp ecx, dword [ebp + 0x58]
je 0x4d877b
inc eax
cmp eax, 4
jb 0x4d876a
jmp 0x4d8782
mov dword [ebp + 0x70], 1
cmp dword [ebp + 0x70], 0
jne 0x4d87c4
mov eax, dword [ebp + 0x60]
mov eax, dword [eax]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x4c]
cmp edx, dword [ecx + eax*4]
je 0x4d87d2
xor ecx, ecx
xor eax, eax
cmp dword [esi + 0xc], ecx
jbe 0x4d87d2
cmp dword [ebp + eax*4 + 0x10], ecx
je 0x4d87b8
inc eax
cmp eax, dword [esi + 0xc]
jb 0x4d87aa
jmp 0x4d87bf
mov dword [ebp + 0x70], 1
cmp dword [ebp + 0x70], ecx
je 0x4d87d2
xor eax, eax
lea edi, [ebp + 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
jmp 0x4d8b48
xor eax, eax
cmp dword [ebp + 0x58], eax
mov dword [ebp + 0x74], eax
jbe 0x4d8890
jmp 0x4d87e5
mov eax, dword [ebp + 0x74]
cmp dword [ebp + eax*4 + 0x10], 0
je 0x4d87fb
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + eax*4]
mov dword [ebp + eax*4 - 0x30], ecx
jmp 0x4d8880
mov ecx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x60]
mov edx, dword [ebx + 0x14]
mov eax, dword [eax + ecx*4]
mov edi, dword [edx + eax*4]
mov edx, dword [edi + 0xc]
cmp dword [ebp + edx*4 - 0x10], 1
jne 0x4d8821
mov dword [ebp + ecx*4 - 0x30], eax
mov eax, dword [ebp + ecx*4 - 0x20]
mov dword [edi + 0xc], eax
jmp 0x4d8883
mov eax, dword [ebp + 0x74]
fldz
push ecx
push ecx
fstp qword [esp]
push dword [ebp + eax*4 - 0x20]
mov ecx, ebx
push dword [edi + 8]
push dword [edi]
call fcn.004cf15c
cmp eax, 0xffffffff
mov ecx, dword [ebp + 0x74]
mov dword [ebp + ecx*4 - 0x30], eax
je 0x4d8c21
mov ecx, dword [ebx + 0x14]
shl eax, 2
mov ecx, dword [eax + ecx]
push edi
mov dword [ebp + 0x40], eax
call fcn.004cf989
mov eax, dword [ebx + 0x14]
mov ecx, dword [ebp + 0x40]
mov eax, dword [ecx + eax]
mov ecx, dword [edi + 0x18]
mov dword [eax + 0x18], ecx
mov eax, dword [edi + 8]
mov ecx, dword [ebp + 0x38]
lea eax, [ecx + eax*4]
inc dword [eax]
mov eax, dword [edi + 0xc]
lea eax, [ebp + eax*4 - 0x10]
dec dword [eax]
mov ecx, dword [ebp + 0x74]
inc ecx
cmp ecx, dword [ebp + 0x58]
mov dword [ebp + 0x74], ecx
jb 0x4d87e2
and dword [ebp + 0x6c], 0
cmp dword [ebp + 0x58], 0
jbe 0x4d8b1e
mov ecx, dword [ebp + 0x60]
mov eax, dword [ebp + 0x6c]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebx + 0x14]
mov eax, dword [ecx + eax*4]
cmp dword [eax + 0x40], 0
mov dword [ebp + 0x44], eax
jne 0x4d8b0f
and dword [ebp + 0x64], 0
mov edx, dword [ebp + 0x6c]
jmp 0x4d88f7
mov eax, dword [ebp + 0x60]
mov eax, dword [eax + edx*4]
mov ecx, dword [ebx + 0x14]
mov edi, dword [ebp + 0x44]
mov ecx, dword [ecx + eax*4]
mov edi, dword [edi + 0x2c]
cmp edi, dword [ecx + 0x2c]
jne 0x4d88f6
mov edi, dword [ebp + 0x64]
shl edi, 2
inc dword [ebp + 0x64]
mov dword [ebp + edi - 0x40], eax
mov eax, dword [ebp + edx*4 - 0x30]
mov dword [ebp + edi - 0x50], eax
mov dword [ecx + 0x40], 1
inc edx
cmp edx, dword [ebp + 0x58]
jb 0x4d88c3
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebx + 0x18]
mov eax, dword [eax + 0x2c]
mov edi, dword [ecx + eax*4]
mov ecx, edi
call fcn.004cf79c
test eax, eax
jne 0x4d896e
mov ecx, edi
call fcn.004cf7ae
test eax, eax
jne 0x4d896e
mov ecx, edi
call fcn.004cf7c0
test eax, eax
jne 0x4d896e
and dword [ebp + 0x68], eax
cmp dword [edi + 0xc], eax
jbe 0x4d8b0f
mov eax, dword [edi + 0x10]
mov edx, dword [ebp + 0x68]
lea eax, [eax + edx*4]
mov dword [ebp + 0x40], eax
mov eax, dword [eax]
xor ecx, ecx
mov edx, dword [ebp + 0x60]
cmp eax, dword [edx + ecx*4]
je 0x4d8955
inc ecx
cmp ecx, dword [ebp + 0x58]
jb 0x4d8945
jmp 0x4d895e
mov eax, dword [ebp + ecx*4 - 0x30]
mov ecx, dword [ebp + 0x40]
mov dword [ecx], eax
inc dword [ebp + 0x68]
mov eax, dword [ebp + 0x68]
cmp eax, dword [edi + 0xc]
jb 0x4d8935
jmp 0x4d8b0f
and dword [ebp + 0x74], 0
cmp dword [ebp + 0x64], 0
jbe 0x4d89b6
mov edx, dword [edi + 0xc]
and dword [ebp + 0x68], 0
test edx, edx
jbe 0x4d89ab
mov eax, dword [ebp + 0x74]
mov ecx, dword [ebp + eax*4 - 0x40]
mov eax, dword [edi + 0x10]
cmp dword [eax], ecx
je 0x4d89a1
inc dword [ebp + 0x68]
mov edx, dword [edi + 0xc]
add eax, 4
cmp dword [ebp + 0x68], edx
jb 0x4d898d
jmp 0x4d89ab
mov eax, dword [ebp + 0x68]
mov ecx, dword [ebp + 0x74]
mov dword [ebp + ecx*4], eax
inc dword [ebp + 0x74]
mov eax, dword [ebp + 0x74]
cmp eax, dword [ebp + 0x64]
jb 0x4d897b
push 0x38
call fcn.00548137
test eax, eax
pop ecx
je 0x4d89ce
mov ecx, eax
call fcn.004cf396
mov dword [ebp + 0x70], eax
jmp 0x4d89d2
and dword [ebp + 0x70], 0
cmp dword [ebp + 0x70], 0
je 0x4d8c21
mov ecx, edi
call fcn.004cf79c
test eax, eax
je 0x4d89ec
mov eax, dword [ebp + 0x64]
jmp 0x4d8a01
mov ecx, edi
call fcn.004cf7ae
test eax, eax
mov eax, dword [ebp + 0x64]
je 0x4d89fe
add eax, eax
jmp 0x4d8a01
lea eax, [eax + eax*2]
mov ecx, dword [ebp + 0x70]
push 0
push dword [ebp + 0x64]
push eax
mov eax, dword [edi]
xor eax, dword [ebp + 0x64]
and eax, 0xffffff
xor eax, dword [edi]
push eax
call fcn.004cf3ed
test eax, eax
mov dword [ebp + 0x68], eax
jl 0x4d8c2d
mov ecx, dword [ebp + 0x70]
push edi
call fcn.004cf6cf
test eax, eax
mov dword [ebp + 0x68], eax
jl 0x4d8c2d
mov eax, dword [ebp + 0x64]
and dword [ebp + 0x74], 0
test eax, eax
jbe 0x4d8ae9
lea ecx, [eax + eax*2]
mov dword [ebp + 0x40], ecx
lea ecx, [eax + eax]
shl ecx, 2
shl eax, 2
mov dword [ebp + 0x3c], ecx
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp + 0x74]
mov edx, dword [ebp + eax*4 - 0x50]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp + eax*4]
mov ecx, dword [edi + 8]
mov eax, dword [ecx + eax*4]
mov edx, dword [ebp + 0x70]
mov ecx, dword [ebp + 0x74]
mov edx, dword [edx + 8]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp + 0x64]
mov ecx, dword [ebp + 0x70]
add eax, eax
cmp dword [ecx + 4], eax
jb 0x4d8aab
mov eax, dword [edi + 0xc]
mov edx, dword [ebp + 0x74]
add eax, dword [ebp + edx*4]
mov edx, dword [edi + 8]
mov eax, dword [edx + eax*4]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp + 0x4c]
mov dword [edx + ecx], eax
mov eax, dword [ebp + 0x40]
mov ecx, dword [ebp + 0x70]
cmp dword [ecx + 4], eax
jb 0x4d8ad2
mov edx, dword [edi + 0xc]
mov eax, dword [ebp + 0x74]
mov eax, dword [ebp + eax*4]
mov ecx, dword [ecx + 8]
lea eax, [eax + edx*2]
mov edx, dword [edi + 8]
mov eax, dword [edx + eax*4]
mov edx, dword [ebp + 0x3c]
mov dword [edx + ecx], eax
inc dword [ebp + 0x74]
mov eax, dword [ebp + 0x74]
add dword [ebp + 0x4c], 4
add dword [ebp + 0x3c], 4
cmp eax, dword [ebp + 0x64]
jb 0x4d8a5f
mov eax, dword [ebp + 0x44]
mov eax, dword [eax + 0x2c]
mov ecx, dword [ebx + 0x18]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x4d8b00
push 1
call fcn.004cee13
mov eax, dword [ebp + 0x44]
mov eax, dword [eax + 0x2c]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebp + 0x70]
mov dword [ecx + eax*4], edx
inc dword [ebp + 0x6c]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp + 0x58]
jb 0x4d889e
xor eax, eax
cmp dword [ebp + 0x58], eax
jbe 0x4d8b48
mov ecx, dword [ebp + eax*4 - 0x30]
mov edx, dword [ebp + 0x60]
mov dword [edx + eax*4], ecx
mov ecx, dword [ebp + 0x60]
mov ecx, dword [ecx + eax*4]
mov edx, dword [ebx + 0x14]
mov ecx, dword [edx + ecx*4]
inc eax
cmp eax, dword [ebp + 0x58]
mov dword [ecx + 0x40], 1
jb 0x4d8b25
inc dword [ebp + 0x54]
lea eax, [ebp + 0x60]
push eax
push dword [ebp + 0x54]
mov ecx, esi
call fcn.004cf6e9
test eax, eax
mov dword [ebp + 0x58], eax
jne 0x4d8572
mov ecx, esi
call fcn.004cf730
test eax, eax
je 0x4d8c12
xor edx, edx
xor ecx, ecx
cmp dword [esi + 0xc], edx
mov dword [ebp + 0x54], edx
jbe 0x4d8bf4
cmp dword [ebp + edx*4 + 0x10], 0
jne 0x4d8b9e
mov eax, dword [esi + 0x10]
mov edx, dword [eax + edx*4]
mov dword [eax + ecx*4], edx
mov eax, dword [esi + 8]
mov edx, dword [ebp + 0x54]
mov edx, dword [eax + edx*4]
mov dword [eax + ecx*4], edx
inc ecx
jmp 0x4d8be8
mov edi, dword [esi + 0x10]
mov edx, dword [ebx + 0x14]
mov eax, ecx
shl eax, 2
mov edi, dword [eax + edi]
mov edi, dword [edx + edi*4]
cmp dword [edi + 0x44], 0
mov dword [ebp + 0x40], edi
jne 0x4d8be8
mov edi, dword [esi + 8]
mov edi, dword [eax + edi]
mov edx, dword [edx + edi*4]
mov edx, dword [edx + 0x44]
mov edi, dword [ebp + 0x40]
mov dword [edi + 0x44], edx
mov edi, dword [esi + 8]
mov edi, dword [eax + edi]
mov edx, dword [ebx + 0x14]
mov edx, dword [edx + edi*4]
mov edi, dword [esi + 0x10]
mov edi, dword [eax + edi]
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + edi*4]
mov edx, dword [edx + 0x48]
mov dword [eax + 0x48], edx
mov edx, dword [ebp + 0x54]
inc edx
cmp edx, dword [esi + 0xc]
mov dword [ebp + 0x54], edx
jb 0x4d8b7f
mov edx, ecx
and edx, 0xffffff
mov eax, ecx
or edx, 0x10000000
neg eax
sbb eax, eax
and eax, edx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 0xc], ecx
cmp dword [ebp + 0x5c], 0
ja 0x4d82ed
jmp 0x4d82d5
mov dword [ebp + 0x68], 0x8007000e
jmp 0x4d82d9
mov ecx, dword [ebp + 0x70]
push 1
call fcn.004cee13
jmp 0x4d82d9